Re: [yang-doctors] Yangdoctors last call review of draft-ietf-lsr-ospfv3-extended-lsa-yang-14

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 27 June 2023 23:40 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F40E9C1516E2; Tue, 27 Jun 2023 16:40:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.095
X-Spam-Level:
X-Spam-Status: No, score=-6.095 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 Ffs4p2WiMqTa; Tue, 27 Jun 2023 16:40:06 -0700 (PDT)
Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (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 86B9DC151557; Tue, 27 Jun 2023 16:40:06 -0700 (PDT)
Received: by mail-qk1-x730.google.com with SMTP id af79cd13be357-76547539775so414794885a.3; Tue, 27 Jun 2023 16:40:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687909205; x=1690501205; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=7BFQEtDQLKU+3vjVFg5X0ZiaCjKkhcQiwMx0amClk9M=; b=M0qa2VMQZMWpJXfFgAzUYyYlPyaURiI2pVQO1ME3dt2Ea1qFcMW59bqlwLPDjhZnhn ccmTT95Kp1toaCCbYkyrwjI4bHPMfCzeiR7g6k0KjQV8zfoUqEZyJk2LUDg9piSuqLOA jll1JRd8/cjTFuMITNGQCasahog5oMKAOorEjLrAem6dllLg81J5y0nEfsTzREiiDOwf OJJ2T8XPT8r/aifUtJKvWOX+54xejoY/H7Iu+IXzP2rK7EkLZTHEy5Hua6MR/XGBcqey f4+V/pRQCwVQo65KZqXFJrvDOM1E6TJ+u1skRAjv5ZnQk+Kgq/UH4cmha4H0cGq1hRGB EHgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687909205; x=1690501205; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7BFQEtDQLKU+3vjVFg5X0ZiaCjKkhcQiwMx0amClk9M=; b=OU8BMfTWNxZhUS7tnbMpsKaxHXhsaLRSRXSKEer8xJ7DP8GjYKboNPOCB+4GLIn3pE GvRShwvkHEdrB/1Rf5Ru/Ee2BMOG1epnykVoE2vqUbiO3oROxYjCUe2I+r4BqwldmlKt PXMbfFhlZV5QW+FYoGFETO/NHNk0Uz7zeJr44EnbGb170GlAHcKnHvNbDo06qvpl8Dl7 i1GTQaAJJb+FQrv0bphj42prwCb9r6wJuc+0IhZZugIm9JK3vU79WBZ61uVajDltSBR8 v5YMbnv+JCjJex1ScAWpegQ+E7sRICBnKdDULgshP2pCiRqL8r6uBgVwFeKAUUuG8fIh kZ8w==
X-Gm-Message-State: AC+VfDwHUw7Lo2xAgqsHaXI8MXZjVQzil2sJ6ug42Hb96SFaHCdOBDai 5BZ2ASDJSGvPXw3vD+ALCKT7iEMComQ=
X-Google-Smtp-Source: ACHHUZ4uBpyMyorKRgsZdK4qChj+vnhW16nBSynZ9YcAMNjtWvVYMwsUXQ3qa9usQ9sPH8fMpqTvtw==
X-Received: by 2002:a05:620a:2a65:b0:765:a407:783a with SMTP id q37-20020a05620a2a6500b00765a407783amr9710106qkp.58.1687909205465; Tue, 27 Jun 2023 16:40:05 -0700 (PDT)
Received: from smtpclient.apple ([70.234.233.187]) by smtp.gmail.com with ESMTPSA id x10-20020ae9f80a000000b0075d031ba684sm4438616qkh.99.2023.06.27.16.40.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jun 2023 16:40:04 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <E303A700-F118-4E5D-87AA-D611CB1139F2@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_46FACDB2-86E4-4940-AB05-3D702EE9B5FC"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
Date: Tue, 27 Jun 2023 16:40:03 -0700
In-Reply-To: <CABY-gOMcBzv04NWXw9O7VOHdC3fXwmYut7PJaYNCzwyuOC_r5A@mail.gmail.com>
Cc: Acee Lindem <acee.ietf@gmail.com>, YANG Doctors <yang-doctors@ietf.org>, draft-ietf-lsr-ospfv3-extended-lsa-yang.all@ietf.org, Last Call <last-call@ietf.org>, lsr@ietf.org
To: Yingzhen Qu <yingzhen.ietf@gmail.com>
References: <168686390127.21246.1020447065154658425@ietfa.amsl.com> <2AC4934D-05FC-47E4-98A2-478445AAC976@gmail.com> <CABY-gOMcBzv04NWXw9O7VOHdC3fXwmYut7PJaYNCzwyuOC_r5A@mail.gmail.com>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/M2Qmnp28unooovvuWzF7mPeJYWA>
Subject: Re: [yang-doctors] Yangdoctors last call review of draft-ietf-lsr-ospfv3-extended-lsa-yang-14
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jun 2023 23:40:09 -0000

Acee/Yingzhen,

Thanks for addressing my comments. 

> On Jun 27, 2023, at 1:23 PM, Yingzhen Qu <yingzhen.ietf@gmail.com> wrote:
> 
> Hi Mahesh,
> 
> We just uploaded version -17 and added a configuration example. Please let us know if you have any other comments.
> 
> Thanks,
> Yingzhen
> 
> On Mon, Jun 26, 2023 at 1:44 PM Acee Lindem <acee.ietf@gmail.com <mailto:acee.ietf@gmail.com>> wrote:
> Hi Mahesh, 
> 
> Thanks for the review - a lot of good comments. See inline and -16 version.  
> 
> > On Jun 15, 2023, at 5:18 PM, Mahesh Jethanandani via Datatracker <noreply@ietf.org <mailto:noreply@ietf.org>> wrote:
> > 
> > Reviewer: Mahesh Jethanandani
> > Review result: On the Right Track
> > 
> > Document reviewed: draft-ietf-lsr-ospfv3-extended-lsa-yang
> > 
> > Status: On the right track
> > 
> > I have marked it as On the Right Track, because of some of the points discussed
> > below.
> > 
> > Summary:
> > 
> > This document defines a YANG data model augmenting the IETF OSPF YANG model to
> > provide support for OSPFv3 Link State Advertisement (LSA) Extensibility as
> > defined in RFC 8362. OSPFv3 Extended LSAs provide extensible TLV-based LSAs for
> > the base LSA types defined in RFC 5340.
> > 
> > Nits
> > 
> > Please add a section on Instructions to RFC editors stating what they should do
> > with references such as RFC XXXX.
> > 
> > It would be nice to have some consistency between having description and
> > reference statements start on a new line or on the same line as the statement.
> > Right now, they are all over the place.
> > 
> > Some of the descriptions are very cryptic. E.g.
> > 
> >      leaf forwarding-address {
> >        type inet:ipv4-address;
> >        description
> >          "Forwarding address";
> 
> I updated the ones that were brief and cryptic. Note that you almost have to have knowledge of RFC 5340 and RFC 8362 to understand the encodings. 
> 
> 
> > 
> > s/Description/description in the YANG model. Actually, I was surprised that
> > pyang did not complain, but yanglint did.
> > 
> > libyang err : Invalid character sequence "Description", expected a keyword.
> > (Line number 318.) libyang err : Parsing module "ietf-ospfv3-extended-lsa"
> > failed. YANGLINT[E]: Parsing schema module
> > "ietf-ospfv3-extended-lsa@2023-06-08.yang" failed.
> 
> 
> Fixed - I’m surprised pyang didn’t complain as well. 
> 
> 
> > 
> > s/Addrss/Address/
> 
> Fixed. 
> 
> 
> > 
> > s/E-/Extended / in all descriptions.
> 
> When referring to the actual LSAs, it is should be “E-“. For example, E-Router-LSA. In other cases, it is spelled out. See RFC 8362. 
> 
> 
> > 
> > Comments:
> > 
> > The grouping such as ospfv3-e-lsa-as, ospfv3-e-lsa-area, ipv6-fwd-addr-sub-tlv
> > etc. are used in one place only. Is there a reason why this has not been pulled
> > inline where it is used? Did not check for all groupings, but if there is only
> > one use of them, ideally they should be inlined.
> 
> I consolidated these for the link, area, and AS scoped LSDBs. I left the fowarding-address Sub-TLV in its own grouping consistent with the other Sub-TLVs. 
> 
> 
> 
> > 
> > No need to repeat parent name in the child. Just length will do in the
> > following. See Section 4.3.1 of RFC 8407. E.g.
> > 
> >    container route-tag-sub-tlv {
> >      description
> >        "Route Tag Sub-TLV";
> >      leaf route-tag-sub-tlv-length {
> 
> Fixed.
> 
> 
> > 
> > Why a double -- in  container unknown--tlv {?
> 
> Fixed.
> 
> > 
> > A pyang compilation of the model with —ietf and —lint option was clean.
> > 
> > There are no examples of configuration instance data in the draft. It would be
> > helpful not only to validate the model, but also help folks who want to use the
> > model.
> 
> There are only two booleans that are config=true. We can look at this though.
> 
> > 
> > A idnits run of the draft reveals a few issues. Please address them.
> > 
> >   Checking boilerplate required by RFC 5378 and the IETF Trust (see
> >  https://trustee.ietf.org/license-info <https://trustee.ietf.org/license-info>):
> >  ---------------------------------------------------------------------
> > 
> >     No issues found here.
> > 
> >  Checking nits according to
> >  https://www.ietf.org/id-info/1id-guidelines.txt <https://www.ietf.org/id-info/1id-guidelines.txt>:
> >  ---------------------------------------------------------------------
> > 
> >     No issues found here.
> > 
> >  Checking nits according to https://www.ietf.org/id-info/checklist <https://www.ietf.org/id-info/checklist> :
> >  ---------------------------------------------------------------------
> > 
> >     No issues found here.
> > 
> >  Miscellaneous warnings:
> >  ---------------------------------------------------------------------
> > 
> >  == The copyright year in the IETF Trust and authors Copyright Line
> >     does not match the current year
> > 
> >  == Line 1266 has weird spacing: '... allows  a rou...'
> > 
> >  -- The document date (October 17, 2019) is 1337 days in the past.
> >     Is this intentional?
> > 
> >  Checking references for intended status: Proposed Standard
> >  ---------------------------------------------------------------------
> > 
> >     (See RFCs 3967 and 4897 for information about using normative
> >     references to lower-maturity documents in RFCs)
> > 
> >  == Outdated reference: draft-ietf-bfd-yang has been published as RFC
> >     9127
> > 
> >  ** Downref: Normative reference to an Experimental RFC: RFC 1765
> > 
> >  ** Downref: Normative reference to an Experimental RFC: RFC 4973
> > 
> >  ** Downref: Normative reference to an Informational RFC: RFC 5309
> > 
> >  ** Downref: Normative reference to an Informational RFC: RFC 5714
> > 
> >  ** Downref: Normative reference to an Informational RFC: RFC 6987
> 
> 
> These idnits are fixed.
> 
> 
> Thanks,
> Acee
> 
> 
> > 
> >     Summary: 5 errors (**), 0 flaws (~~), 3 warnings (==), 1 comment
> >     (--).
> > 
> > 
> > 
> 


Mahesh Jethanandani
mjethanandani@gmail.com