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

tom petch <ietfa@btconnect.com> Wed, 25 October 2023 11:19 UTC

Return-Path: <ietfa@btconnect.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 76918C151081; Wed, 25 Oct 2023 04:19:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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 (1024-bit key) header.d=btconnect.onmicrosoft.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 z4M01ySS0O-K; Wed, 25 Oct 2023 04:18:56 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2132.outbound.protection.outlook.com [40.107.22.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5734CC151084; Wed, 25 Oct 2023 04:18:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SNVeaXnVStQnqjgmtAp9Su4XaQezw35DwtOjzB6sduU4+rUfjqLQjB0YYE7jZytkGpzuZuVvnmahA9AK8Zsg62DPQc9fnAP1wpQURrsytuJU4uMgtKQj2kXkvoeokg/fnIaeBrDzct/8R6unYVg3krjKJl04ElmlBJy8i63i+UUo2eZxyFMtzHSYxs0w1GFxIVSOI/JLuAF3+jqPzCyNjVpZ7rijkbM9Gun2kuR6UgLpyOflRDB33VZmZT05UpuwjbbNqluWOgQD4UyATrz/bpRiVXSicuqtX6dqFR2It37Hg+8uFlHk5vrYxkFxmqiZi2ETIeb1K29ZqHYQpma4Sw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sW2aKi7QOlErkpdytoTCy8UtZQpTk5baE7nkYds+/fM=; b=evt8f0hYERUbntSwFJ+frUS6zRQVqUd4GJR614gE13n33o5NSO5v0Mr2Qtyehr5zjs++I7sDG6qpfK+5k8cwKR9NvP4AR9IE/tB8tpHuSjGS9czwWL7AIYrcki0gCupo/iZURNmPGCSdJ7EPRvAOFft/QtildMD9GDX16tvhPZ9pS4WWU934hZ+Apk29pL08uHA0N5wH0FeUGRUVlJ/zg4Zk5+Gj9mTetFSl2ZGT4x0EOdTTZ2A8amHAo+ezUF58q+5qspPnluXqRVXLX8Gfq0RpJVRztN/xZdZqPs0QmqoxH9xraqBiJs+mzNeOpzAyWFaPYo5e3D5kAknEQxb2aA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sW2aKi7QOlErkpdytoTCy8UtZQpTk5baE7nkYds+/fM=; b=erVDgn7DX/gSSpVhfC4+ZmX5+96d0zl0oLnwEyvDj+OJo9hcowf5c+MDckLkSBHUpBTFiABlCyFqliPsHNWozdDP1ecwC+OdBV904ODTzp1cFGU1Lt2bUzYQf9H593chR+eZC5gMU43DHK7bUc3LI99qZdNynFNEV8vqQIhVxfg=
Received: from AM6PR07MB5544.eurprd07.prod.outlook.com (2603:10a6:20b:8a::30) by DUZPR07MB9744.eurprd07.prod.outlook.com (2603:10a6:10:4d2::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.33; Wed, 25 Oct 2023 11:18:53 +0000
Received: from AM6PR07MB5544.eurprd07.prod.outlook.com ([fe80::741a:b2a2:b30:d5a7]) by AM6PR07MB5544.eurprd07.prod.outlook.com ([fe80::741a:b2a2:b30:d5a7%4]) with mapi id 15.20.6907.032; Wed, 25 Oct 2023 11:18:53 +0000
From: tom petch <ietfa@btconnect.com>
To: Dhruv Dhody <dhruv.ietf@gmail.com>, Italo Busi <Italo.Busi=40huawei.com@dmarc.ietf.org>
CC: "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>, TEAS WG Chairs <teas-chairs@ietf.org>
Thread-Topic: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19 editorial
Thread-Index: AQHaBzUJecgpbpodhUubMjvs32eD4Q==
Date: Wed, 25 Oct 2023 11:18:52 +0000
Message-ID: <AM6PR07MB5544D6F7823FA742E1135F09A2DEA@AM6PR07MB5544.eurprd07.prod.outlook.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> <4e2d47d0281544b1bd09651fba77c13c@huawei.com> <CAB75xn4THb9qgQq3A-+EGvZ0sZBd4zPZrxp8evNWBRYCisWiEw@mail.gmail.com> <AM6PR07MB55444F44630766D1778DEB29A2DEA@AM6PR07MB5544.eurprd07.prod.outlook.com>
In-Reply-To: <AM6PR07MB55444F44630766D1778DEB29A2DEA@AM6PR07MB5544.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM6PR07MB5544:EE_|DUZPR07MB9744:EE_
x-ms-office365-filtering-correlation-id: 9eb67c72-eaa9-4e7c-e637-08dbd54c2b91
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Ttaf32EhBtvZCjOEotxtjJSrs+2N96akZq7J3fO38sGI9AV7lrbQpYV2ECqwL0zpO/NxL8UPdIAmzzkuJT7vWQ2nAn9Nh5udkaDGbCB8gVdXAZ+RlHvjOZpYP16rQHKss5DpgYraIHboPDsRbL5fcn7RYKcjQl7FKbXOgFlROXMtXpQKEV8BC2S78L/Rmtm5MsQO/RRg6cg7cW87/Hb4zyeyINrVA1hgC0BJEf3EeNAJtyG28hwX82gns7qZlYSGk5pCCORS7L9WgOS6teIZZZ3Cad4cu4bmjsTTsctozCr5BrYTjnf+ZSon+Mbx//eT3b5T7RtBLfeEYTWvuU7Y1Vca4PgPcUq8r+dUFOB9Obk7YKmOJEEq4funuqO57NURgSbjs79yTfpl/UYZqfwNrOSh8hkrLXmL4lVLDFj6iwcjWiP3n3tLDdGwwBdjvVjv6w5M25ja3kC5srJSN6muVym8zzKL/H1T1/3D4aQ4IE0RUJBhsRDkvn7/HsS7I79yBTjhhTj8m2GmTTYL2qnvy+hiHAz0CshqR8eJylvqwCgXtfSgiKUwy5H4rcc/FAUw5sj+rBYTLYhfui1l04AZkgW2U3bkc2Ye7t//nz6oBHIH0YbboXDogtJCt3fPW87q9QRjfs6yTLjwti04e7tBIA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR07MB5544.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(39860400002)(366004)(376002)(346002)(136003)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(86362001)(55016003)(2906002)(91956017)(38100700002)(54906003)(41300700001)(66446008)(66476007)(122000001)(316002)(82960400001)(2940100002)(76116006)(66946007)(66556008)(7696005)(71200400001)(110136005)(6506007)(478600001)(9686003)(53546011)(966005)(83380400001)(64756008)(4326008)(33656002)(52536014)(5660300002)(8676002)(8936002)(26005)(38070700009); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: ybIxVL5jJiNmEN+azWMaMPtTUdRPDh+xdUP3i/IZwofeKepRN+SBuGyCpkr905gcsd18TIqVpOeRZYAUa0o4TGkMRTvuRt8BF3QxJ9IWHfMaHEonTXRZ+eiK19NwrLzuJfszILxuv5mqF9AmpOSdRAvZiAPDpYTQuKcDkSZMObuYZ8sXqNyV/SQyW+0GLf0+i0Or+rnX+KOXli0Ym8M2iFbGNa4Y8m4YOfSUGZ2nX4uNr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Pf3bg3nzJT/TdyveYvNmUXiBrthsii+ZUVwNWuSn6SKf4TxeD8MtpqhFHatSJ+IJ7c4KbBUrgZFZ8H1WBTrKEKOSLcaQ8lQtw8oVB5EaN2SLK2varidvemyfv5p90evfKrmhOIZAkDi2EyheMeJAK/UWpcUJ9ZBV5C0bAHBlmQ3fKwK7U3GObjcAObQXa6T0MShz9Y8gJA4lUjvY6RjXaqSh8IgBcFPYaPPbD0umuKChkZ/8kY+yf59oOomWwE3neNJV709dr7NNc0FtXrf/v4Jc=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM6PR07MB5544.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9eb67c72-eaa9-4e7c-e637-08dbd54c2b91
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2023 11:18:52.7867 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: GSLbtH2fNxmrTQnDDFhC9S1dJTB0G81t227ZEH/YcMsmJIxnYNeq+a5Lu5sdDi67lIQLegssLbaaYE+qyoaABw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR07MB9744
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/IKzG3J7jdLBYdQaD7mojsAWD3bM>
Subject: Re: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19 editorial
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: Wed, 25 Oct 2023 11:19:00 -0000

Some more straightforward comments on -21 for you to consider.

'referred' appears in several places.  This looks right in its first appearance in s.2.1 and in s.8 but elsewhere  I suspect that 'referenced' is intended.

s.3.1
the first line of the diagram is indented one character
/and update/and updates/
{which has been bugging me for years)

s.6
container underlay
/Segement/Segment/

vn-id
unique but within what scope?  I see users get this sort of thing wrong, usually underestimating the scope and then getting duplication and so confusion.  I think that unique should always have a some indication of scope

Appendix A
/this YANG model rely/this YANG module relies/
[[RFC8776] define/[RFC8776] defines/

HTH

Tom Petch
________________________________________
From: Teas <teas-bounces@ietf.org> on behalf of tom petch <ietfa@btconnect.com>
Sent: 25 October 2023 12:00
To: Dhruv Dhody; Italo Busi
Cc: mohamed.boucadair@orange.com; Sergio Belotti (Nokia); Vishnu Pavan Beeram; TEAS WG; TEAS WG Chairs
Subject: Re: [Teas] WG Last Call: draft-ietf-teas-actn-vn-yang-19

From: Dhruv Dhody <dhruv.ietf@gmail.com>
Sent: 23 October 2023 06:41

Based on the example of node-id that I have seen in the wild (for instance here in ODL - https://docs.opendaylight.org/projects/bgpcep/en/latest/bgp/bgp-user-guide-topology-provider.html), the use of dotted-quad string for URI is common in implementations.

But if I look at the ABNF of URI at https://datatracker.ietf.org/doc/html/rfc3986#appendix-A, that is incorrect. And YANG tools are unlikely to flag it.

I am happy to make the change that Med suggests, I am also open to any guidance from netmod/YANGdoctors if they have it.

<tp>

Meanwhile I have looked at -21 and think that it is in worse shape, with more errors than-19.

It is TE where the ants' nest of ID and RFC gets higher by the day and ever more obtuse.  I just spent an hour trying to identify the syntax of the types  used in s.7.2 and with several can see that they are wrong but with others it is just too complicated to tell.

As I said before, I assume that node-id and network-id come from RFC8345 and so must be type uri; some now are, some are not - needs fixing.

With the example being JSON it is much harder to see what is happening and very time consuming to track down the te types.  Some are now uri which I do not think that they should be, or at least need to be and making them so I think confusing.  Thus I believe topology-id is null or a restricted string not a URI.  The examples make it look identical to those that must be a URI; this may or not be valid but I think confusing.

I have some editorial comments which I send separately.

Tom Petch
--

And to answer Tom's original question, we need to include both node-id and "ietf-te-topology:te-node-id", and I tried to simplify things by using the same value for both and thus leading to the confusion that you had...

--

@ Med - Maybe I can sit with you during the IETF week/hackathon to sort out the yang validation via Yangson? I did a test with yanglint earlier...

Thanks!
Dhruv






On Mon, Oct 23, 2023 at 4:11 AM Italo Busi <Italo.Busi=40huawei.com@dmarc.ietf.org<mailto:40huawei.com@dmarc.ietf.org>> wrote:
Tom, Med,