Re: [yang-doctors] [Lsr] Yangdoctors last call review of draft-ietf-isis-sr-yang-19

Reshad Rahman <reshad@yahoo.com> Sun, 21 January 2024 00:03 UTC

Return-Path: <reshad@yahoo.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 3971EC14F603 for <yang-doctors@ietfa.amsl.com>; Sat, 20 Jan 2024 16:03:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 FFylMnGj7gWk for <yang-doctors@ietfa.amsl.com>; Sat, 20 Jan 2024 16:03:58 -0800 (PST)
Received: from sonic321-27.consmr.mail.bf2.yahoo.com (sonic321-27.consmr.mail.bf2.yahoo.com [74.6.133.82]) (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 4116CC14F5FB for <yang-doctors@ietf.org>; Sat, 20 Jan 2024 16:03:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705795437; bh=9UgJM4CLhRSZvulKsFa+4n//KPsHJLrR6s43PssvBsI=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=NMcaoy1/1qhkwtpMe3yUEWMumkfmp4cIm9V65RPZdy/nhFFyWdfJRw/UIFh9pN+4zJTHR+4+HuE4/FHRjNd+i0dlbai777QrT3A+Rwkx4P74Jqm5gp7gWoswZqa4MIMatEHFjXhafcqhygNK0cnFyHLRqO23QP9O0rjZEKqSjwlJ8avrf5Plx0cKIA1VOGc4FzK1rr1xsZWGLUJsyNFtq8S0zYV95H2Y3ZeVlfUfXnJFJ0RnLLS4FecX7DHbn7ogEmZiQ23FLlsol1ObrtRFAGRAhlbbgXbxu+2BxIKqhjCGvEU9lvlVU3po4LJi4oZn0AI3lnZpKhkPanp+V5q7KA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705795437; bh=jRm0MOxOgWk0Uk5ROyf8Ia/iMHjVqKU8sqfjpG3vPL8=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=VClIHCtMkCzQi3NKpnAtH7LOe3NB8EsyBbPIcLZl8aegVDSyuYzWvQFHOAdV0JmCutED3cLN5s9R6bXwYtFEoSEdvbSw9KPWst8OD/RKsUP3D66+CoopQv/O4hxN4giLUgqAD3OybnBHj0JYTekwufUSNohTIy3Gd/X0nsqXtnM42HrHVKb++J3k1mCe+7336DiCHF5lnL2IhzsBN3X9ab+4+Tv1WH8kPoeGlu08w8lWZX1aMKm+uHPenHVup+YpZwocOY0Er+9FtH9rqWP2PMxjOEpKTWPSqTZiIMG7XmSAzCAJNHcgGp5QzY4vL5UiEoyYDsSnnPWsZNR/XJrUDA==
X-YMail-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j93jJY71bwbqApB5Ipjwol2VNhUb.yiYA5LWv2JCCdIbWg wdpDhBD1.T3HAuhLD.7sHvRriydU7rDRya_5wgaH5LmJprMiEpiYjX7t1wlB.EqwLr3uP1xTvMJi DNmuRW3WCC23nMkojM7y16nBJwVAKbYEk8x68P7waRH7Tf4eUDfpHNzprgkttdDgElWeRkqLxhsS EH2JiL04ybjCBplo92UiHfrA2Hu6rEsjEAkrmzfwAMy43xRdKa4uMVphStKVcpWmZ23zbHnS6
X-Sonic-MF: <reshad@yahoo.com>
X-Sonic-ID: 65374bc6-1c9f-4b55-825b-c471ced75ab6
Received: from sonic.gate.mail.ne1.yahoo.com by sonic321.consmr.mail.bf2.yahoo.com with HTTP; Sun, 21 Jan 2024 00:03:57 +0000
Date: Sat, 20 Jan 2024 23:53:52 +0000
From: Reshad Rahman <reshad@yahoo.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
To: Yingzhen Qu <yingzhen.ietf@gmail.com>
Cc: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "draft-ietf-isis-sr-yang.all@ietf.org" <draft-ietf-isis-sr-yang.all@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "lsr@ietf.org" <lsr@ietf.org>
Message-ID: <457672390.513436.1705794832190@mail.yahoo.com>
In-Reply-To: <CABY-gOPzVTaCxfV=AWQwnitxyvMZUZozJP1mERZKn-8WDGeerA@mail.gmail.com>
References: <170519187203.2829.6087985821024655929@ietfa.amsl.com> <CABY-gOPzVTaCxfV=AWQwnitxyvMZUZozJP1mERZKn-8WDGeerA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_513435_2142558672.1705794832187"
X-Mailer: WebService/1.1.22027 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/gMQM3Brvq6MxZCJpELNJlYAqNRE>
Subject: Re: [yang-doctors] [Lsr] Yangdoctors last call review of draft-ietf-isis-sr-yang-19
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: Sun, 21 Jan 2024 00:03:59 -0000

 Hi Yingzhen,
Please see inline.
    On Thursday, January 18, 2024, 04:49:28 PM EST, Yingzhen Qu <yingzhen.ietf@gmail.com> wrote:  
 
 HI Reshad,
Thanks for the review. I've uploaded version -20 to address your comments. Details below inline.
Thanks,Yingzhen
On Sat, Jan 13, 2024 at 4:24 PM Reshad Rahman via Datatracker <noreply@ietf.org> wrote:

Reviewer: Reshad Rahman
Review result: Ready with Issues

Hi all,

This is my YANG Doctor review of -19. Thanks to the authors for making the
effort to align with draft-ietf-ospf-yang (as previously requested).

Comments
========

Section 3 (YANG Tree)

- There are a few instances of perfix-sid-flags, should bd prefix-sid-flags


[Yingzhen]: fixed. 

- For the list below, can there be overlaps between different entries? If not,
this should be documented (ideally should have been documented in RFC9020)

       +--rw protocol-srgb {sr-mpls:protocol-srgb}?
          +--rw srgb* [lower-bound upper-bound]
             +--rw lower-bound    uint32
             +--rw upper-bound    uint32


[Yingzhen]: There should not be overlaps. Agreed with you, this should have been documented in RFC 9020.  
YANG Model

- The identities such as r-bit, n-bit etc should all have a reference (not just
the document but also the section)


[Yingzhen]: I added reference to each base identity. 


- All those identities are called x-bit but the description says flag. Which
terminology is typically used in IS-IS?


[Yingzhen]: changed to -flag. 
- Leaf Sid, how do we know whether it’s a 32-bit SID or a 20-bit label (not
sure if we need to know)?


[Yingzhen]: Same as ospf-sr-mpls.yang, added length, and updated sid description. 
- For global-blocks and local-blocks, a reference would help.


[Yingzhen]: Done. 
- In grouping sid-sub-tlv, is the container sid-sub-tlv needed?


[Yingzhen]: A container would help to identify the boundary of a TLV. In an ISIS LSP, there are multiple TLVs and sub-tlvs. 
- In grouping srlb , can there be an overlap of the advertised local blocks?
Need some enhanced description here iMO.  Same question for sr-capability and
global blocks.


[Yingzhen]: please see the above answers.  

- In list global-block, why not add a key? I’m assuming the sid would be
unique? Same comment for local-block.


[Yingzhen]:  SRGB is defined in RFC 9020, which is common for both OSPF and ISIS. Here, we're defining protocol specific SRGB, and the key is defined in the grouping in the ietf-segment-routing-common.yang. SRLB is defined in RFC 9020, which applies to all protocols. 

- In grouping srms-preference, leaf preference, no need for the range 0..255
since it is a uint8.


[Yingzhen]: fixed. 
- Nit: a few instances of “This group …”, it should be “This grouping …”


[Yingzhen]: fixed. 
- Leaf ‘af’, nit/suggestion: I would rename to address-family.


[Yingzhen] : Done. 
- In grouping segment-routing-binding-tlv, leaf range, is that description
accurate?


[Yingzhen]: Thanks for catching this. I've updated the description.<Reshad> I looked at the changes in -20. That grouping is now gone and the (mt-)sid-binding-tlvs lists have no key, is that the intent?Also container mt-sid-binding-tlvs should be renamed to mt-sid-binding-tlv.

 
- Augment with neighbor-system-id, should the leaf node be mandatory?


[Yingzhen]: added "mandatory true". Also did the same for ospf.

- Container selection-tie-breakers, can both protection types be enabled
simultaneously?


[Yingzhen]: yes, it's possible to enable both of them, one or none. 
There should be an appendix with a fairly complete config example and also an
operational state example.


[Yingzhen]: Operational state is not easy to do with the IGP database since we don't have an implementation yet. <Reshad> I agree that it's not easy but that's the case for most YANG documents at IETF. I've found yanglint to be a very useful tool for this. Up to the WG to decide.
Regards,Reshad.
 
Regards,
Reshad.




_______________________________________________
Lsr mailing list
Lsr@ietf.org
https://www.ietf.org/mailman/listinfo/lsr