[yang-doctors] Re: Yangdoctors last call review of draft-ietf-lsr-ospf-admin-tags-16
Yingzhen Qu <yingzhen.ietf@gmail.com> Thu, 30 May 2024 00:52 UTC
Return-Path: <yingzhen.ietf@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 28543C1D4CC3; Wed, 29 May 2024 17:52:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.094
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, 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 iKlAMNpDKaqI; Wed, 29 May 2024 17:52:35 -0700 (PDT)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (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 26186C1D4CDE; Wed, 29 May 2024 17:52:30 -0700 (PDT)
Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2e724bc466fso3681481fa.3; Wed, 29 May 2024 17:52:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717030348; x=1717635148; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zDbydcuOY8aVmt/JoYsvzH4tN0UFPIXLO2if1VxCiEE=; b=hsIu7Z+6DAp734r7QWY71Dl+EOHBaqHjMjST03yw0jvpOktdqLFBPF4YkFqE2VkbR6 VpiEKkASkCXp5VJvw2TR867DP9xN67H/Woet3jkm5kJf0OkTidiR/d1LnmGvPlh6Fr2/ 9cA6g4dIrZiPyrJ2neVUuV29Z65IZy1a0UKxd8uiidKxh1M/sW6WM53dvg9YoSUO3zkM TBbL2TEv7o9K6FglXo29bqLJ96+IAOZwiA+63aaGkCYAj17+h7sHt1ZAcZzOIplcJvti 0x7YpV1DxKDprnBCMKJTy47NESE2VLVdw62PrcioOmeJ+H5PbAcj9SqedDZJBfz3QFb2 CFJA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717030348; x=1717635148; 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=zDbydcuOY8aVmt/JoYsvzH4tN0UFPIXLO2if1VxCiEE=; b=Lhz2tSKLoOsza1wJBUWcnOV/syKodmfsbI/RORvSrEAGCD3BgSbj1HcGacKu5hORMD B1Jjuc5AmiaVs4Rc8anrULvUG3WlBWps0+4MA3gQVvHK4flM7MRQqS+KC/OXk9IyKarB QEaPF2AJ1xQTubLWX5EiZ7UGl9wjt5mfDCTEHNsIJf7uTlm5AFePg63mUtPu+dDgg0Fh o+0VrFHDXtL+MsHnegws7DTAsCw2gctKCCQft5leXFWEWhdTv+/QrzRSKaHRVt6VReJo 2KblN4fC700HxSXgnkoGQ7kc0CQo1RJCaEq0oJJ1K4NDLLvTaJ+rpj8bYaQqbMqLaJiW JDRg==
X-Forwarded-Encrypted: i=1; AJvYcCW9rSInRXp45LvmcG9htRQiHn6uXN38IO2YCmlkdpK8kUKor5OPnvP8Qrlmrcf6E1uq9iW4BnGWFtOZ8EY1fXTQSJEEnO2aa2gvqLooqVFMpINrOFuSOUoiP/lEg2IZStX7SJ6qgGc7/DWdv43XEj+1lKstlTy7Z1kN7g2T3w==
X-Gm-Message-State: AOJu0YyAsEF38tm1/rstIRzrRkdyRYy5JiQwdMZDW3GxQ6OPmF0CVUQ2 8kcDjKQxp6jDgSj5jePoTdbr8aCzqA7afQJi8o2JHoZ3FT60Kv+qZ2UDQuCVxOkdN/C5LGNcdIB EcjS2dvQPtdpgnF61vxcp4JOg5g==
X-Google-Smtp-Source: AGHT+IEdkQ25ICrt4YWFjL+aJmbOOgsQUzx58j8wCb+8jQcNYKnQ+VQPJJzgBF+3kr0fU4YWWCeRvUWD3d+mTH7FuNU=
X-Received: by 2002:a2e:9094:0:b0:2ea:8308:841b with SMTP id 38308e7fff4ca-2ea847d6864mr5196661fa.31.1717030347475; Wed, 29 May 2024 17:52:27 -0700 (PDT)
MIME-Version: 1.0
References: <171024656117.62707.3167820596100806872@ietfa.amsl.com>
In-Reply-To: <171024656117.62707.3167820596100806872@ietfa.amsl.com>
From: Yingzhen Qu <yingzhen.ietf@gmail.com>
Date: Wed, 29 May 2024 17:52:16 -0700
Message-ID: <CABY-gOMi-kOGJAWmJ2w14R6mruW_SQoYZ146xuK33twEb=70Hg@mail.gmail.com>
To: Qiufang Ma <maqiufang1@huawei.com>
Content-Type: multipart/alternative; boundary="000000000000ee0f940619a147f5"
Message-ID-Hash: Y3LRRLRJLN6WLW232BWAX4QIBU2W37S6
X-Message-ID-Hash: Y3LRRLRJLN6WLW232BWAX4QIBU2W37S6
X-MailFrom: yingzhen.ietf@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-yang-doctors.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: yang-doctors@ietf.org, draft-ietf-lsr-ospf-admin-tags.all@ietf.org, last-call@ietf.org, lsr@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [yang-doctors] Re: Yangdoctors last call review of draft-ietf-lsr-ospf-admin-tags-16
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/Y9G2qZgBvMVxIG2Yg_ybStO2n-Y>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Owner: <mailto:yang-doctors-owner@ietf.org>
List-Post: <mailto:yang-doctors@ietf.org>
List-Subscribe: <mailto:yang-doctors-join@ietf.org>
List-Unsubscribe: <mailto:yang-doctors-leave@ietf.org>
Hi Qiufang, Thanks for the review and sorry for the delayed response. I've uploaded version -18 to address your comments, details below. Thanks, Yingzhen On Tue, Mar 12, 2024 at 5:29 AM Qiufang Ma via Datatracker <noreply@ietf.org> wrote: > Reviewer: Qiufang Ma > Review result: Almost Ready > > Hi, this is my YANG Doctor review of draft-ietf-lsr-ospf-admin-tags-16, I > marked the review as “Almost Ready” with a couple of comments and questions > below. > > (1) For the "ietf-ospf-admin-tags" YANG data model, what is the > consideration > for the “advertise-prefixes” data node to be defined as a list with only > one > child key inside it? Will this list node be populated with new parameters > in > the future? Otherwise I think a simpler definition might be the following: > OLD: > augment /rt:routing/rt:control-plane-protocols > /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area > /ospf:interfaces/ospf:interface: > +--rw admin-tags > +--rw tags* [tag] > +--rw tag uint32 > +--rw advertise-prefixes* [prefix] > +--rw prefix inet:ip-prefix > > NEW: > augment /rt:routing/rt:control-plane-protocols > /rt:control-plane-protocol/ospf:ospf/ospf:areas/ospf:area > /ospf:interfaces/ospf:interface: > +--rw admin-tags > +--rw tags* [tag] > +--rw tag uint32 > +--rw advertise-prefix* inet:ip-prefix > > There is nothing wrong to be defined in the current draft (e.g., PYANG > won’t > complain), but I think it can be hierarchically reduced this way, thoughts? > > [Yingzhen]: we've modified the interface configuration. Please see whether it addressed your comments. > (2) For the grouping "prefix-admin-tag-sub-tlvs", it is defined and used to > augment the OSPF YANG data model and the OSPFv3 Extended LSA YANG data > model. > There is a list defined inside the grouping definition, with only one child > declared as leaf-list. I am wondering why the type and length are not > defined > inside admin-tag-sub-tlv list? Aren’t they part of the admin tag TLV? > > [Yingzhen]: removed the list. As for the type and length, we're following the style as in the base OSPF model (RFC 9129). When a tlv is known to an implementation, the type and length is used to parse the tlv, so only the content is shown under the tlv container. However for unknown TLVs, type and length are shown. > (3) The reference info inside the “revision” statement for this draft is > inconsistent with its real title. It is using “RFC XXXX: YANG Data Model > for > OSPF Prefix Administrative Tags.”, while it should be “RFC XXXX: > Extensions to > OSPF for Advertising Prefix Administrative Tags”. > > [Yingzhen]: fixed. > (4) There are some list/leaf-list data nodes defined in the YANG data model > with their names defined as plural (e.g., tags, advertise-prefixes, > admin-tags), but the naming convention is to have the list/leaf-list name > singular form. See RFC8407bis > ( > https://www.ietf.org/archive/id/draft-ietf-netmod-rfc8407bis-09.html#section-4.3.1 > ) > for the following: “List identifiers SHOULD be singular with the > surrounding > container name plural. Similarly, "leaf-list" identifiers SHOULD be > singular.” > > [Yingzhen]: fixed. (5) There is a YANG tree diagram included in the draft, an informative > reference to RFC 8340 should be added in the draft. See RFC8407bis > ( > https://www.ietf.org/archive/id/draft-ietf-netmod-rfc8407bis-09.html#section-3.4 > ) > for the following: “If YANG tree diagrams are used, then an informative > reference to the YANG tree diagrams specification MUST be included in the > document. Refer to Section 2.2 of [RFC8349] for an example of such a > reference.” > > [Yingzhen]: fixed. > (6) It would be good if the tree structure of the YANG module could be > defined > in a separate section/subsection, so that readers are able to navigate to > the > overview (i.e., tree structure) of the model quickly if they want. Just a > suggestion for the authors to consider. > > [Yingzhen]: split into sub sections now. > (7) Please include a note to the RFC editor requesting RFC XXXX and xxxx(or > even better, use RFC YYYY for draft-ietf-lsr-ospfv3-extended-lsa-yang) is > replaced with the RFC number that is assigned to the document. > > [Yingzhen]: draft-ietf-lsr-ospfv3-extended-lsa-yang is in Auth48 state, and will be published as RFC 9587. Once it's published, we'll update the draft accordingly. (8) I see a couple of “TBD” throughout the draft, did the authors leave them > intentional? > [Yingzhen]: yes, those are TLV types to be assigned by IANA. > > (9) I think it would be useful if some example instance snippets of this > YANG > data model can be added, either throughout the document or in an appendix. > Is > this something the authors would consider to help understand the use of > YANG > module? > [Yingzhen]: The configuration is very straightforward. However it's very difficult to do an example for the database as we don't have an implementation, so we're not planning to add an example for now.
- [yang-doctors] Yangdoctors last call review of dr… Qiufang Ma via Datatracker
- [yang-doctors] Re: Yangdoctors last call review o… Yingzhen Qu
- [yang-doctors] Re: Yangdoctors last call review o… maqiufang (A)
- [yang-doctors] Re: Yangdoctors last call review o… Yingzhen Qu