Re: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19

Italo Busi <Italo.Busi@huawei.com> Sun, 22 October 2023 22:41 UTC

Return-Path: <Italo.Busi@huawei.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6ACF5C15155B; Sun, 22 Oct 2023 15:41:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.905
X-Spam-Level:
X-Spam-Status: No, score=-6.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 W_hASePvOZU4; Sun, 22 Oct 2023 15:41:24 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5AE20C14CE52; Sun, 22 Oct 2023 15:41:24 -0700 (PDT)
Received: from frapeml500008.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4SDCrW3nXRz67n5j; Mon, 23 Oct 2023 06:37:47 +0800 (CST)
Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Mon, 23 Oct 2023 00:41:21 +0200
Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.031; Mon, 23 Oct 2023 00:41:21 +0200
From: Italo Busi <Italo.Busi@huawei.com>
To: tom petch <ietfa@btconnect.com>, "mohamed.boucadair@orange.com" <mohamed.boucadair@orange.com>, "Sergio Belotti (Nokia)" <sergio.belotti@nokia.com>, Vishnu Pavan Beeram <vishnupavan@gmail.com>, TEAS WG <teas@ietf.org>
CC: TEAS WG Chairs <teas-chairs@ietf.org>, "dhruv.ietf@gmail.com" <dhruv.ietf@gmail.com>
Thread-Topic: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19
Thread-Index: AQHaAnUxXEUNnRN9k0mlQ/EMWxIEqbBWY2DA
Date: Sun, 22 Oct 2023 22:41:21 +0000
Message-ID: <4e2d47d0281544b1bd09651fba77c13c@huawei.com>
References: <CA+YzgTvKRaj0mc-Uu_PR=a3f3FdQm8i4iWDVs-ngEgDz1JWYYA@mail.gmail.com> <AM0PR07MB54905E4FFA0D92FEAD94989491D7A@AM0PR07MB5490.eurprd07.prod.outlook.com> <DB7PR07MB5546035A65E303BD6EEB6B7DA2D7A@DB7PR07MB5546.eurprd07.prod.outlook.com> <DU2PR02MB10160C7A9F099726D6F37BD8888D6A@DU2PR02MB10160.eurprd02.prod.outlook.com> <DB7PR07MB5546B2FC6D254F497F0ED909A2D5A@DB7PR07MB5546.eurprd07.prod.outlook.com> <DU2PR02MB10160B97524C1605C7D4946EF88D5A@DU2PR02MB10160.eurprd02.prod.outlook.com> <DB7PR07MB5546FB1A949C9A7EE0A7BD58A2D4A@DB7PR07MB5546.eurprd07.prod.outlook.com>
In-Reply-To: <DB7PR07MB5546FB1A949C9A7EE0A7BD58A2D4A@DB7PR07MB5546.eurprd07.prod.outlook.com>
Accept-Language: it-IT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.45.144.103]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/xN1G7XaKWHmwt_tb6gkfqt7Fog0>
Subject: Re: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teas>, <mailto:teas-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas/>
List-Post: <mailto:teas@ietf.org>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teas>, <mailto:teas-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Oct 2023 22:41:28 -0000

Tom, Med,

I have few comments about this discussion

The node-id is mandatory since it is the key for the node list as defined in RFC8345

The te-node-id is also mandatory when the te presence container is present under the node as specified in the must statement in RFC8795

In past discussions I have been told that a dotted-quad string is a valid URI so the node-id can be set equal to the te-node-id but it does not have to (that's why in some case node-id is set to 'D1' and in other cases is set as a dotted-quad values equal to te-node-id)

However, I have not been able to find any definitive answer (e.g., an on-line validation tool) that confirms or contradicts that a dotted-quad string is a valid URI: do you know some reference?

Last comment: in other documents, I have got the comment that we need to use values in the reserved range defined in RFC5737 also for the dotted-quad identifiers used in the examples

My 2 cents

Italo

> -----Original Message-----
> From: tom petch <ietfa@btconnect.com>
> Sent: giovedì 19 ottobre 2023 12:15
> To: mohamed.boucadair@orange.com; Sergio Belotti (Nokia)
> <sergio.belotti@nokia.com>; Vishnu Pavan Beeram
> <vishnupavan@gmail.com>; TEAS WG <teas@ietf.org>
> Cc: TEAS WG Chairs <teas-chairs@ietf.org>; dhruv.ietf@gmail.com
> Subject: Re: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19
> 
> From: mohamed.boucadair@orange.com
> <mohamed.boucadair@orange.com>
> Sent: 18 October 2023 09:47
> 
> Hi Tom,
> 
> > But is node-id the correct leaf?
> 
> It is correct as the parent is "ietf-network:networks". te-specific data nodes
> are prefixed with "ietf-te-topology" (e.g., "ietf-te-topology:te-node-id").
> 
> <tp>
> I disagree.  'node-id' does not appear anywhere else in the I-D and 'te-node-
> id' does and the example used to contain 'te-node-id'  so while the YANG
> heirarchy may be correct for 'node-id', I suspect that authors have the
> wrong leaf and so the wrond YANG heirarchy.
> 
> Tools will not detect such an error if error it is.
> 
> Tom Petch
> 
> 
> Anyway, I recommend the authors to run yangson against all the examples
> (in addition to fixing all the uri entries as per the erratum I shared earlier).
> 
> Cheers,
> Med
> 
> > -----Message d'origine-----
> > De : tom petch <ietfa@btconnect.com>
> > Envoyé : mercredi 18 octobre 2023 10:29 À : BOUCADAIR Mohamed
> > INNOV/NET <mohamed.boucadair@orange.com>; Sergio Belotti (Nokia)
> > <sergio.belotti@nokia.com>; Vishnu Pavan Beeram
> > <vishnupavan@gmail.com>; TEAS WG <teas@ietf.org> Cc : TEAS WG Chairs
> > <teas-chairs@ietf.org>; dhruv.ietf@gmail.com Objet : Re: [Teas] WG
> > Last Call: draft-ietf-teas-actn-vn-yang-19
> >
> > From: mohamed.boucadair@orange.com
> <mohamed.boucadair@orange.com>
> > Sent: 17 October 2023 12:45
> >
> > Hi Tom, all,
> >
> > >             "node-id": "192.0.2.1",
> >
> > Changing to "example:192.0.2.1" would make it a valid URI.
> >
> > The same fix applies to many similar data nodes in Section 7.
> >
> > BTW, please note that even the examples in RFC8345 with data nodes of
> > type uri are wrong (see for example
> >
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> > rfc-
> >
> editor.org%2Ferrata%2Feid6900&data=05%7C01%7Cmohamed.boucadair%
> 40orang
> >
> e.com%7C6b4f6e40f41c4dcf214e08dbcfb453bf%7C90c7a20af34b40bfbc48b
> 9253b6
> >
> f5d20%7C0%7C0%7C638332145624887074%7CUnknown%7CTWFpbGZsb3d
> 8eyJWIjoiMC4
> >
> wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7
> C%7C%7
> >
> C&sdata=iCVk8eJKCSdtxNdAlsTZE4oLt3yH%2FhjocyofkCl1zDA%3D&reserved
> =0).
> >
> > <tp>
> >
> > But is node-id the correct leaf?
> >
> > A few years ago, the example had both node-id and te-node-id leaves,
> > the former with a value of 'D1', the latter with a value of '2.0.1.1'
> >
> > I note that everywhere else in the I-D there are references to te-
> > node-id and none to node-id.
> >
> > Tom Petch
> >
> >
> > Cheers,
> > Med
> >
> > > -----Message d'origine-----
> > > De : Teas <teas-bounces@ietf.org> De la part de tom petch Envoyé :
> > > lundi 16 octobre 2023 13:11 À : Sergio Belotti (Nokia)
> > > <sergio.belotti@nokia.com>; Vishnu Pavan Beeram
> > > <vishnupavan@gmail.com>; TEAS WG <teas@ietf.org> Cc : TEAS WG
> Chairs
> > > <teas-chairs@ietf.org>; dhruv.ietf@gmail.com Objet : Re: [Teas] WG
> > > Last Call: draft-ietf-teas-actn-vn-yang-19
> > >
> > > Picking a related e-mail to tack my comment onto
> > >
> > > From: Teas <teas-bounces@ietf.org> on behalf of Sergio Belotti
> > (Nokia)
> > > <sergio.belotti@nokia.com>
> > > Sent: 16 October 2023 10:00
> > >
> > > Hi Pavan, WG,
> > >
> > > I support this work (as contributor) and think that it is  ready to
> > > move forward as soon as Adrian's comments have been successfully
> > > addressed.
> > >
> > > <tp>
> > > I am confused.  Looking at the example in e.g. 7.2 I see
> > >
> > > {
> > >   "ietf-network:networks": {
> > >     "network": [
> > >       {
> > > ....
> > >         },
> > >         "node": [
> > >           {
> > >             "node-id": "192.0.2.1",
> > > If this is the node-id of RFC8345 then that is of type node-id which
> > > is a URI.  I am not used to seeing URI in this format.
> > >
> > > If I search the rest of the I-D, I do not see node-id.  Rather s.3.1
> > > has te-node-id which is a different YANG type.
> > >
> > > This confuses me.
> > >
> > > I do have some more, more editorial, comments but am stuck on this
> > > one.
> > >
> > > Tom Petch
> > >
> > >
> > > Thanks
> > > Sergio (as contributor)
> > >
> > >
> > > From: Teas <teas-bounces@ietf.org> On Behalf Of Vishnu Pavan Beeram
> > > Sent: Tuesday, September 12, 2023 2:19 PM
> > > To: TEAS WG <teas@ietf.org>
> > > Cc: TEAS WG Chairs <teas-chairs@ietf.org>
> > > Subject: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19
> > >
> > >
> > > CAUTION: This is an external email. Please be very careful when
> > > clicking links or opening attachments. See the URL nok.it/ext for
> > > additional information.
> > >
> > >
> > > All,
> > >
> > > This starts a two-week working group last call on
> > >
> >
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdata
> > >
> > %2F&data=05%7C01%7Cmohamed.boucadair%40orange.com%7C6b4f6e4
> 0f41c4dcf21
> > >
> >
> 4e08dbcfb453bf%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C63
> 83321456
> > >
> >
> 24887074%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoi
> V2luMzIiL
> > >
> >
> CJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Uidlg8ivXIt
> 48ATDJj
> > > lcbpOEgrqXu4iV9cTA%2FYMq8jY%3D&reserved=0
> > > tracker.ietf.org%2Fdoc%2Fdraft-ietf-teas-actn-vn-
> > >
> >
> yang%2F&data=05%7C01%7Cmohamed.boucadair%40orange.com%7Cd37cf
> deb47e743
> > >
> >
> 9fcc4b08dbce3893db%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0
> %7C638330
> > >
> >
> 514615737399%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC
> JQIjoiV2luM
> > >
> >
> zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=isc5aJp9
> gX5UlZ
> > > CweI%2BYW3B4k5YTFHvzXItnxfREEB4%3D&reserved=0
> > >
> > > The working group last call ends on September 26th, 2023.
> > > Please send your comments to the working group mailing list.
> > >
> > > Positive comments, e.g., "I've reviewed this document and believe it
> > > is ready for publication", are welcome!
> > > This is useful and important, even from authors.
> > >
> > > Note: IPR has been disclosed on this document
> > >
> > > Thank you,
> > > Pavan, Lou and Oscar
> > >
> > > _______________________________________________
> > > Teas mailing list
> > > Teas@ietf.org
> > >
> >
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww%
> >
> 2F&data=05%7C01%7Cmohamed.boucadair%40orange.com%7C6b4f6e40f4
> 1c4dcf214
> >
> e08dbcfb453bf%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C638
> 33214562
> >
> 4887074%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV
> 2luMzIiLC
> >
> JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EyREJi%2Be
> wo3aUl8ym
> > 6kdDAVy%2BsHNgH4Glm2qgnFOnEY%3D&reserved=0.
> > >
> >
> ietf.org%2Fmailman%2Flistinfo%2Fteas&data=05%7C01%7Cmohamed.bouc
> adair%
> > >
> >
> 40orange.com%7Cd37cfdeb47e7439fcc4b08dbce3893db%7C90c7a20af34b4
> 0bfbc48
> > >
> >
> b9253b6f5d20%7C0%7C0%7C638330514615737399%7CUnknown%7CTWFp
> bGZsb3d8eyJW
> > >
> >
> IjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 3000%
> > >
> >
> 7C%7C%7C&sdata=9YMjzkWS1RrsNOCwO9ZkH%2BFVgoP65xUM0lkE4%2Bb
> VzuU%3D&rese
> > > rved=0
> >
> ________________________________________________________________
> ______
> > ______________________________________
> > Ce message et ses pieces jointes peuvent contenir des informations
> > confidentielles ou privilegiees et ne doivent donc pas etre diffuses,
> > exploites ou copies sans autorisation. Si vous avez recu ce message
> > par erreur, veuillez le signaler a l'expediteur et le detruire ainsi
> > que les pieces jointes. Les messages electroniques etant susceptibles
> > d'alteration, Orange decline toute responsabilite si ce message a ete
> > altere, deforme ou falsifie. Merci.
> >
> > This message and its attachments may contain confidential or
> > privileged information that may be protected by law; they should not
> > be distributed, used or copied without authorisation.
> > If you have received this email in error, please notify the sender and
> > delete this message and its attachments.
> > As emails may be altered, Orange is not liable for messages that have
> > been modified, changed or falsified.
> > Thank you.
> 
> ________________________________________________________________
> ____________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites
> ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez
> le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les
> messages electroniques etant susceptibles d'alteration, Orange decline toute
> responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged
> information that may be protected by law; they should not be distributed,
> used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete
> this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been
> modified, changed or falsified.
> Thank you.
> 
>