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

Acee Lindem <acee.ietf@gmail.com> Wed, 28 June 2023 22:53 UTC

Return-Path: <acee.ietf@gmail.com>
X-Original-To: last-call@ietfa.amsl.com
Delivered-To: last-call@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A654BC151083; Wed, 28 Jun 2023 15:53:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 8CH2sDR0V_vo; Wed, 28 Jun 2023 15:53:48 -0700 (PDT)
Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 C8426C151082; Wed, 28 Jun 2023 15:53:48 -0700 (PDT)
Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-7658430eb5dso6372185a.2; Wed, 28 Jun 2023 15:53:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687992828; x=1690584828; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=vButqVLlld5EtYo+++L0JBkCOS7lVtq/f8LQw0yu91M=; b=DXphMPCPdHmPpPVRzoFahIth3tabKAEJSeaERIB5FBBXJos2SbknLBtYnIjRIjqv8Z /JwKOMqa8f4zfiP2T2Edw6qP1dMbW8/a1ROAWXq9uU5MvYtR0gI562yvuhnZVE16SfFL bdOTEEPf3MWLPUih/92aes27xrfq6jHuKcpG+4mmdRTLLAu994J86V+wP0ADTM5m2laF Gnz7OEfCGTNDCMWB/iUtDJaEaYylqKMssj2n6zQFFMSGiKpkCpppmhH6x6wfqMP9Cj6b QE4Voja9YVFd0TNSSuagI5cINf7HK06IrhnS+MOIGe1x8Ucav6agQZgo9ht2WENRfX+W oj6A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687992828; x=1690584828; 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=vButqVLlld5EtYo+++L0JBkCOS7lVtq/f8LQw0yu91M=; b=G68eyybJ3WzvqNxdEUAwwGfByfaZ92vjboRcBYVUakQbH3/JDTj5338Q7BXBXFqFnH 51MIRjGkHpAx+W1r3FHjFOf7i/LV/wHrIyygOH8Ov5bnBPwUJqEZhRyCucfhWPJWZKzV wJ07kWQLBamNRZSg+BXEUfdpseF52j/MXvVV7jw3/P0dOnSJ18RWwwOF2AXbUk3aXKfj WaH3IzzMA2F/M+qIm6zYs/5Uaa4Hr/aX3GjQR95F48TCCs6qtXYxfHSgDgpLc6ApXF8h P4BTonr793DMBjJTWlI9mBiVz11rXg6jrL9lYpJO/XNCRDYRIp1JtYZzHCY5ZOS7MCdf uf/A==
X-Gm-Message-State: AC+VfDxh6AP1AJRpD63kRxtJI/kX8QZxqI6GbzP5rpL5pASd9aF6/5Mh z05DRo1TtmposAPVPC5p3LM=
X-Google-Smtp-Source: ACHHUZ4B4zNSlz+6bUk9wGblBTKd88r9Nj145X6+L9YD8Dz2DWYgXQDuh4J9+004Diz6FT/TwGY7pA==
X-Received: by 2002:ae9:d613:0:b0:765:6556:1113 with SMTP id r19-20020ae9d613000000b0076565561113mr14059153qkk.46.1687992827626; Wed, 28 Jun 2023 15:53:47 -0700 (PDT)
Received: from smtpclient.apple ([136.54.43.175]) by smtp.gmail.com with ESMTPSA id h18-20020a05620a10b200b00763a3e5f80dsm3895383qkk.15.2023.06.28.15.53.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jun 2023 15:53:47 -0700 (PDT)
From: Acee Lindem <acee.ietf@gmail.com>
Message-Id: <A9C949E1-D889-43A1-83C6-14B7D0EFB2E5@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_14741EED-E28D-4B47-832A-E4AB73635A9E"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\))
Date: Wed, 28 Jun 2023 18:53:36 -0400
In-Reply-To: <CAChaeg=67OjCELLmKkf6UAf0tpAadnu4BxFeZ7yx0kZZr+haWA@mail.gmail.com>
Cc: Mahesh Jethanandani <mjethanandani@gmail.com>, Yingzhen Qu <yingzhen.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 <lsr@ietf.org>
To: Renato Westphal <renatowestphal@gmail.com>
References: <168686390127.21246.1020447065154658425@ietfa.amsl.com> <2AC4934D-05FC-47E4-98A2-478445AAC976@gmail.com> <CABY-gOMcBzv04NWXw9O7VOHdC3fXwmYut7PJaYNCzwyuOC_r5A@mail.gmail.com> <E303A700-F118-4E5D-87AA-D611CB1139F2@gmail.com> <CAChaeg=67OjCELLmKkf6UAf0tpAadnu4BxFeZ7yx0kZZr+haWA@mail.gmail.com>
X-Mailer: Apple Mail (2.3731.600.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/last-call/xUvd2CwaNL6ElKeSHvXEOfchxeI>
Subject: Re: [Last-Call] [Lsr] Yangdoctors last call review of draft-ietf-lsr-ospfv3-extended-lsa-yang-14
X-BeenThere: last-call@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Last Calls <last-call.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/last-call>, <mailto:last-call-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/last-call/>
List-Post: <mailto:last-call@ietf.org>
List-Help: <mailto:last-call-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/last-call>, <mailto:last-call-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jun 2023 22:53:52 -0000

Thanks for the review Renato - I’ve incorporated both your comments into the latest revision.

Thanks,
Acee

> On Jun 28, 2023, at 09:23, Renato Westphal <renatowestphal@gmail.com> wrote:
> 
> Hi all,
> 
> I think the updated module is looking pretty good. I just have one small piece of feedback to share.
> 
> According to RFC 8362 Section 3.3, the Attached-Routers TLV doesn't support Sub-TLVs. Therefore, I believe it's necessary to remove the "sub-tlvs" list from the "attached-router-tlv" container.
> 
> In the same container, the "Adjacent-neighbor-router-id" leaf-list is capitalized when it shouldn't.
> 
> Regards,
> Renato.
> 
> Em ter., 27 de jun. de 2023 às 20:40, Mahesh Jethanandani <mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>> escreveu:
>> Acee/Yingzhen,
>> 
>> Thanks for addressing my comments. 
>> 
>>> On Jun 27, 2023, at 1:23 PM, Yingzhen Qu <yingzhen.ietf@gmail.com <mailto: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 <mailto: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):
>>>> >  ---------------------------------------------------------------------
>>>> > 
>>>> >     No issues found here.
>>>> > 
>>>> >  Checking nits according to
>>>> >  https://www.ietf.org/id-info/1id-guidelines.txt:
>>>> >  ---------------------------------------------------------------------
>>>> > 
>>>> >     No issues found here.
>>>> > 
>>>> >  Checking nits according to 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 <mailto:mjethanandani@gmail.com>
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Lsr mailing list
>> Lsr@ietf.org <mailto:Lsr@ietf.org>
>> https://www.ietf.org/mailman/listinfo/lsr
> 
> 
> -- 
> Renato Westphal