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

Renato Westphal <renatowestphal@gmail.com> Wed, 28 June 2023 13:24 UTC

Return-Path: <renatowestphal@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 BA6EEC14CE22; Wed, 28 Jun 2023 06:24:05 -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 yCS4Qv8T4RQq; Wed, 28 Jun 2023 06:24:03 -0700 (PDT)
Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) (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 5E4C6C14CE42; Wed, 28 Jun 2023 06:24:03 -0700 (PDT)
Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-38c35975545so5062170b6e.1; Wed, 28 Jun 2023 06:24:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687958642; x=1690550642; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bRYuZwjzoxaeX/fEWmAnYtYWBVraJoYd3wftezqep7M=; b=kRpXp9z8ibTs0eDmu4yFhex2L//mvqu3ecy8G03BnJepx2hW5isXz0/YxjKBwZJxeC t1YlyUGYD2r9AhdwIbRbgjprrFlp05GSkA1stOs6RG0gyGq02Z75zhLnD/xPBKw8k57/ 3OA973gg8QZPI+kFj1lHHNEzQ1zVxSDo2cgJv3MEUNHAs5o3jWhSy1xnRvdESH9XlgQH snZTfD8e4kw3wEyFfGWR9VXLD9W/Kx3M86VEtb3cEDlS5rqVIpXfA0+3zp7gzPgbZ4f8 fqBTdEAwBDmUkL2c/+E0uDE9Al7IBAIGN0zwqKb6euS3dgo/kNPT7V9fhG9rp7JuWhEz c2NQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687958642; x=1690550642; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bRYuZwjzoxaeX/fEWmAnYtYWBVraJoYd3wftezqep7M=; b=We1K8+SntBcluJHI8uyTn6bfuktzfiw47sHnXe9q57CM4gonuGuIEtNEK4hfkYJEu3 PSeAHnTiydU4i+Wk4hGIS3pd8ejJbMGtR2LMWm1j5AcYMmuGP/ElY4lLI680dBcJ6I20 bZDItar8I0T953ufZGcCfNo3cdSlh6ZX4asZpkRG+Y70EimOJ3zFrh+fmGSKKFNAiY/9 bxmIMQOlt8doaEnspRsCbLI9hbXgqNg0V4lr4JmQwqvXva61gtvsuDz6ZfGyZBu9CyRV nJni/kijc9AQ4/1P5v3JhwoiB8tGPq52N7ngQw2S2hns2xeXXSBtRYc5qxt9Ft2AMFrO 0A0Q==
X-Gm-Message-State: AC+VfDwyzDjZYymKWw87OmXiiPS6fmg8tj4NScDg0jFbr9DcxveDtVU+ 1A0eB8cu1Fdk8JDD9jiVk9GZSHuhCGv2+pQbpFWxi2t+1Ld36Q==
X-Google-Smtp-Source: ACHHUZ5/jtv2zYKYpo4mAeirX+H7BGJLr1+k3cTXL4YNeOm8kMJGvYEKctAgrhTHPRShkg4nJGc5fZD8kaLd8ZyMkIg=
X-Received: by 2002:a05:6808:1394:b0:3a1:a57d:fa71 with SMTP id c20-20020a056808139400b003a1a57dfa71mr23227186oiw.32.1687958642129; Wed, 28 Jun 2023 06:24:02 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <E303A700-F118-4E5D-87AA-D611CB1139F2@gmail.com>
From: Renato Westphal <renatowestphal@gmail.com>
Date: Wed, 28 Jun 2023 10:23:50 -0300
Message-ID: <CAChaeg=67OjCELLmKkf6UAf0tpAadnu4BxFeZ7yx0kZZr+haWA@mail.gmail.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Cc: Yingzhen Qu <yingzhen.ietf@gmail.com>, 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
Content-Type: multipart/alternative; boundary="000000000000427f9f05ff307fd8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/xNo4suchRbLvJEpRy2Lia3GVpRI>
Subject: Re: [yang-doctors] [Lsr] 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: Wed, 28 Jun 2023 13:24:05 -0000

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> escreveu:

> 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> 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> 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):
>> >  ---------------------------------------------------------------------
>> >
>> >     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
>
>
>
>
>
>
> _______________________________________________
> Lsr mailing list
> Lsr@ietf.org
> https://www.ietf.org/mailman/listinfo/lsr
>


-- 
Renato Westphal