Re: Last Call: <draft-ietf-rtgwg-yang-rib-extend-14.txt> (RIB Extension YANG Data Model) to Proposed Standard

Acee Lindem <acee.ietf@gmail.com> Thu, 04 May 2023 15:03 UTC

Return-Path: <acee.ietf@gmail.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 81DF6C137397; Thu, 4 May 2023 08:03:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.098
X-Spam-Level:
X-Spam-Status: No, score=-7.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8DWtJ_nZo_7y; Thu, 4 May 2023 08:03:07 -0700 (PDT)
Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B8E4C169502; Thu, 4 May 2023 08:02:58 -0700 (PDT)
Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-74de7182043so25458285a.3; Thu, 04 May 2023 08:02:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683212577; x=1685804577; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bhaQ6GgrTJ9KNz+TH+fj6VYymVCXMLmTdjV61xU8yJk=; b=EX95j/cJEF1LX31AoscHEQpsr0HTzhg6j0VnZ0ombPEsSRcRz+dc4o2AV+QTCXnBSb oUHahaxRTD0imedvnYppJPD73c3jWRW550NBTd+ASmj/mV1b6CQ00dna0UfD4KPkXqXQ pPTR1ApeDGy8dnOaq37ydCnhXGcEu8YdkhF6mVybMVyDYk/XidGMU2CpLlEK8fAu0xkW DEcj1OM4kVVpmXX+qJNuDxO4bULkLLbzA8o+8V0hEYQK0K+WHJNMJ51BSchi7h39yUzu TNLEWJs+ImmTP+vcSEEIl9ryDltLqiw4hXYWteSh372JwNRUWMJ+4UWIGSADSWNYlAS0 bUUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683212577; x=1685804577; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bhaQ6GgrTJ9KNz+TH+fj6VYymVCXMLmTdjV61xU8yJk=; b=gTpjmU15Wzl0CbyQVQM9xfSW01qpmWlFExuqrowrPZ1aTkUoa4OzvGnPAP+r7nZaut 2xhsZdqc5w9M4gDp/5loORD/2JRFawLrs9jXgvAI6hvyqGwD1owPT2F72J/woj35lwpy nEVTUxJKMdc2CvddCNFT/UUhRKyK4rqc9cpp6BGPIn/DHnyIzpqWDorXfL+7dJmPit4O M4Jn0PDGknFjjlD8VET6GD+HwkO8RC/78tuHYp/PnvWiZ/TaB2JUO0cinfza0IxKXXf2 TJvNpJDp1K0yzxz5y73zKU0tZnDwxBHSv5ui3FiVM5js69jBlEjICjPf3Wlb+pd8+i8d z8+A==
X-Gm-Message-State: AC+VfDwHgQzrLJ8wOWNTQFDlVoeZ8fS6VrB+Susx3yP1GV5vIG4hia05 L20xbgckhvXDld998CHV6ck=
X-Google-Smtp-Source: ACHHUZ5z1PeaCeXKncYIfSVHSRnYacdGsajZ5dFGPaZmFagJhRRCwKAqb8LXZYyvTjUrYo0fPk3n2A==
X-Received: by 2002:a05:622a:1747:b0:3ef:5410:4422 with SMTP id l7-20020a05622a174700b003ef54104422mr5989532qtk.48.1683212576896; Thu, 04 May 2023 08:02:56 -0700 (PDT)
Received: from smtpclient.apple ([136.56.20.4]) by smtp.gmail.com with ESMTPSA id e6-20020a0cb446000000b0061c3c18d2efsm587153qvf.143.2023.05.04.08.02.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2023 08:02:53 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\))
Subject: Re: Last Call: <draft-ietf-rtgwg-yang-rib-extend-14.txt> (RIB Extension YANG Data Model) to Proposed Standard
From: Acee Lindem <acee.ietf@gmail.com>
In-Reply-To: <64523B75.8010406@btconnect.com>
Date: Thu, 04 May 2023 11:02:43 -0400
Cc: Yingzhen Qu <yingzhen.ietf@gmail.com>, tom petch <daedulus@btconnect.com>, last-call@ietf.org, james.n.guichard@futurewei.com, rtgwg-chairs@ietf.org, draft-ietf-rtgwg-yang-rib-extend@ietf.org, rtgwg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <7DE42206-240E-4E39-AE1A-26CBBB614898@gmail.com>
References: <168176765523.58407.10544206841356844901@ietfa.amsl.com> <644A40FC.8050409@btconnect.com> <CABY-gOPCfy6+r3PUJieY-hM9Tef-owHOcXfx8ynoeqogEWV1aQ@mail.gmail.com> <64523B75.8010406@btconnect.com>
To: t petch <ietfa@btconnect.com>
X-Mailer: Apple Mail (2.3731.500.231)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/TECRj3QrhjJKOsNgNLrBlKhRWBk>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 May 2023 15:03:08 -0000

Hi Tom,

I believe I’ve addressed your awkward English comments in the -18 version. See a couple more inline responses below. 

> On May 3, 2023, at 6:46 AM, t petch <ietfa@btconnect.com> wrote:
> 
> On 01/05/2023 19:13, Yingzhen Qu wrote:
>> Hi Tom,
>> 
>> Thanks for your review and comments. Please see my answers below inline.
>> 
>> Thanks,
>> Yingzhen
>> 
>> On Thu, Apr 27, 2023 at 2:33 AM tom petch <daedulus@btconnect.com> wrote:
>> 
>>> I thought that I had commented on this Last Call but perhaps not.
>>> 
>>> The English is quirky, e.g. mixed singular and plural, missing definite
>>> and indefinite articles and such like but I do not think that that
>>> impairs my understanding.
>>> 
>>> [Yingzhen]: Would you please provide some details? I expect the RFC editor
>> will fix English grammar issues if there are any.
> 
> In several places, 'RIB' should be 'a RIB' or 'the RIB' and as I commented two years ago, the meaning is slightly different so while the RFC Editor will make a change, it could make a change to the meaning.
> 
> Likewise from two years ago, I want the Abstract to lead into the Introduction which leads into the body of the I-D and I do not see that.  The I-D is bitty, with four sets of augments with little in common, apart from beng related to routing, and I think it easy for a reader to be confused since this is not spelt out and the descriptions do not make this clear to me.
> 
> I think that you should make the descriptions more precise and consistent.  The comment about the next hop list is a small example of this - you have changed the wording but I do not think it an improvement.
> 
> I think you should be explicit about what the augments add; what I see is:
> - for static RIB only, for IPv4 and IPv6, preference and tag are added to the simple next hop and each entry in the next hop list.

Static is a routing protocol and the static routes are configurable. Semantically, it is not the same as the RIBs defined per address family. 

> 
> - for every RIB, without constraint, statistics are added, for active routes and memory used
> 
> - for every route in every RIB, without constraint, metric and tag are added
> 
> - for every next hop, simple or list, in every route in every RIB, without constraint, a repair path is added.

This should be clear in tree diagrams in the draft. As far as the descriptions, it isn’t reasonable to require
the description to completely describe the base module data nodes. 

Thanks,
Acee


> 
> I have to reverse engineer the YANG to get this and think that that is asking too much of some readers.
> 
> It is unusual to have so many augments with no constraints, so I think that that needs mentioning, hence my use of 'every'.
> 
> Tom Petch
>> 
>> 
>>> Contacts needs https:
>>> 
>> [Yingzhen]: fixed.
>> 
>> 
>>> The examples use the line folding convention which needs a reference
>>> else our XML reviewers will complain
>>> 
>> [Yingzhen]: Added a reference to RFC 8792.
>> 
>> What makes life more difficult is the terminology which I find
>>> inconsistent e.g. tag, route tag, administrative tag - are these the
>>> same or different? and if different, which is the YANG leaf tag?  RIP
>>> has a tag which I think different but perhaps confusing to those who are
>>> familiar with it.
>>> 
>> [Yingzhen]:  There is no RFC for a RIB definition, and we picked commonly
>> used terms in the industry. when you say "RIP has a tag", do you mean the
>> RIP example in Appendix C in RFC 8349? If so, leaf "tag" applies to a route.
>> 
>> 
>>> The Introduction sounds very generic in its talk of routing protocols
>>> but I think that it promises more than it delivers; the YANG description
>>> seem to do the same in places. The reality is that in some places only
>>> static routes are augmented; what about dynamic routes?  And where they
>>> are augmented then I think that that needs calling out.  In a similar
>>> vein, I think the first paragraph of s.3 wrong.
>>> 
>>> [Yingzhen]: Dynamic routes are augmented by routing protocol models, for
>> example, OSPF model (RFC 9129) has the following:
>> 
>>   augment /rt:routing/rt:ribs/rt:rib/rt:routes/rt:route:
>> 
>>     +--ro metric?       uint32
>> 
>>     +--ro tag?          uint32
>>     +--ro route-type?   route-type
>> 
>> 
>>> 'The following tree snapshot' looks like an extract to me, not a snapshot.
>>> 
>> [Yingzhen]: It's part of the entire tree. What do you suggest as the right
>> term?
>> 
>> 
>>> I have commented in the past about active route and I still find it
>>> tautological.
>>> 
>>> Authors address gmail.com.com?
>>> 
>>  [Yingzhen]: fixed.
>> 
>> Tom Petch
>>> 
>>> On 17/04/2023 22:40, The IESG wrote:
>>>> 
>>>> The IESG has received a request from the Routing Area Working Group WG
>>>> (rtgwg) to consider the following document: - 'RIB Extension YANG Data
>>> Model'
>>>>    <draft-ietf-rtgwg-yang-rib-extend-14.txt> as Proposed Standard
>>>>