Re: [Teas] Common rules for TE-related YANG modules prefixes (was Yangdoctors last call review of draft-ietf-ccamp-otn-topo-yang-11)

tom petch <> Wed, 21 October 2020 09:32 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 4D9173A14CE; Wed, 21 Oct 2020 02:32:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id gaw9vhmGp8mM; Wed, 21 Oct 2020 02:32:45 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 4513A3A14CD; Wed, 21 Oct 2020 02:32:41 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=mJ8ubvpcjdFKUwX7jGN2fU5kw4jsJEv4fmKNXdpgpGyT3Re6908r14/ZAp0bJPiOrd410pLaZSGHKLzTYaqTSIryTeKWd+Qz4P2Si9VjyEJW1TAX8ocwy1wtv1CYlKcWOULWYdsnlkuu9vfAbGAohsKgYlJqFdNWaYCML0iFiv3cM7Co7hMDBFc46uGkCeoFscQOwXXhWZhvSYhhvAkmL1+q6QXdYF/OJZeASroSVtyW1YihAlJAYfxIMNMwjOQoUc7xgYbhRBfxTfP+6XpiLf0F5kFUJcPzaJpKMTlZhZI2C6+LKoF6RoNL+swyuLe1W9zz1X3YD4QuMqS/hhZChA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4MHWIWDBQHZlrjrCluDGvkT1BWQM+2ZPR4XZ4sWNwyc=; b=NZyOvL3xJdSPBIwuMXGiEscoUrJGKw78zXhj2tJ/4qTmSjVjY7sYnVMt0DLloecue+p6q6ZRKIKfW4GKgkGeNAO0wDE9/ju/nbGLnP+Csm5Yjz/OX49fyaSDOIw6fq+/PMNerP3n12F0QlMbIVPv42BDxXOSBol3l6/faIJ64uNjvgcleY2Eyr1C0SUKa11pZgjqzcjMUJ1SA/LOTM7a4zJxbbtX8dUurq/5E2k4rAs7zMXsyg5WDbRnoAPJKJkErASJlfTOOCmZwcA3iVJbghirmvFdnEUu0q1nex+noYuUgSC1/HVBXGnfSmIxd7VciOJjO03CrCpHHNnOT4X/Wg==
ARC-Authentication-Results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4MHWIWDBQHZlrjrCluDGvkT1BWQM+2ZPR4XZ4sWNwyc=; b=MvfAnxjvqyi7Nok9h8OIZb20WsTrHQU8D5X8zRtDyjtWR+ADYcnMWVZGSLgGsN32AtjkTnahLH2/JNlpo+sZxieiwG9QxnITroKnbMSl6Pw4OARoc8R/q/8H00wz0wQa910+S9KoxOh/FTcM+Bn0H5MJ+H0/F/L9zzVRyJow0qk=
Received: from (2603:10a6:20b:134::11) by (2603:10a6:20b:35::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.14; Wed, 21 Oct 2020 09:32:38 +0000
Received: from ([fe80::ad44:1086:3767:a804]) by ([fe80::ad44:1086:3767:a804%7]) with mapi id 15.20.3499.019; Wed, 21 Oct 2020 09:32:38 +0000
From: tom petch <>
To: Italo Busi <>, "''" <>, "" <>
CC: "" <>, "" <>, "" <>
Thread-Topic: Common rules for TE-related YANG modules prefixes (was Yangdoctors last call review of draft-ietf-ccamp-otn-topo-yang-11)
Thread-Index: Adang/ShaCXr97p0RfGEvolIEdqtpAABzVwu
Date: Wed, 21 Oct 2020 09:32:38 +0000
Message-ID: <>
References: <>
In-Reply-To: <>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-Hashtags: #NewslettersPlus
authentication-results:; dkim=none (message not signed) header.d=none;; dmarc=none action=none;
x-originating-ip: []
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bf76a3a8-99b7-4f2b-dbe2-08d875a44065
x-ms-traffictypediagnostic: AM6PR07MB5108:
x-microsoft-antispam-prvs: <>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: dna1LVH+cE8KRd/nauGrZ6CCBgvqLI5AE49DE/MtUvp424z/nHLvatuRBRKkzzzxKLlLxmSeF8p+jEmDDGcwLccSAVSS+cv8nHhqmqUQGVO6Hdi4wsbsfsEkeokXwBaGMi2KTsRDnkHy5XZGiiJwvj/7N7jXo404FL+/uM/1583l5cjw3Ba8J+fC43zSAxYoUji2WSGCbToNkaNLp6Y5gYc9ctjCw5nwFSq45BhOo/TTD6FUz7k2HlBPJ0nq2prr4gBLDJoab5+5crHpeYC9AWnk83Wlzf+WvixFYj85BrlPqVm3TLGePMwFhrvQgqmqbzo/dCDhcIs8FgERJiaS6Gm479qTLQxxMsrHdtSul2ZGa6cLNo6p7DBt8AUhHYoC
x-forefront-antispam-report: CIP:; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM;; PTR:; CAT:NONE; SFS:(396003)(136003)(366004)(346002)(39860400002)(376002)(5660300002)(52536014)(91956017)(76116006)(64756008)(71200400001)(66556008)(33656002)(478600001)(66946007)(66476007)(66446008)(55016002)(6506007)(53546011)(26005)(54906003)(186003)(7696005)(316002)(110136005)(4326008)(83380400001)(8676002)(9686003)(8936002)(86362001)(2906002)(491001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: Y4+f20opt3b3bIflqS2vo/l9JFS2jzqQFE/TMRNVl0chp7USLq9yxTiTVPIjKCKwR509irqUfpPvGj1TRMfmP4YmIgcasPCAw24GpC7IGa4FNXg4bpm3PnjrmYDVQ7O+VHu2S0iCBOxIMJGswIbS1RzvB7QU9tTvHyVdRDQ70S4rrjwjAtc5JzF1g18PgdpSPrjTBG3dk697AjYRypbO/337Tv9CbDbX/hnLVPpB508qKmM3Nt3mhR+GaYEqNEizM4rSR5NFp59S3205CVGqlmAGRqRHTKBI3bt9cesmWf4MNYU3JBge78r3fJWsASLqoZIAOZ4Bf5B1w8og8owkwGsl0QX/1voC+6cmsG83AilGH05kpbAvQIJMmk/E3LnY7ye9WTXEGX8td9WJ0JH2m8K52F+rXRyos/rUxDP0H1A8DBb5/5O786W7uDNpyqnCx9mP8ApDNr/W8hVs13GErz9Hgef2+Cicj4KufBL3YZp/1l0rzi4gL71SyQKi/UEmQ98Ex4uCgQIb0OUJeX4OdmI+hL9mj9zIc9IYGhmCk7vFaaszyIy4euPIHGNYnrbywWM6D+jXBd5A4zqqz9Uw1J0zRQ+1P9Ttt0Ucd1AkEvRAuo+HF8CJYbUTBHh5nQMOmC9K6nWfZvG51X+UsImH/g==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-Network-Message-Id: bf76a3a8-99b7-4f2b-dbe2-08d875a44065
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2020 09:32:38.7413 (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: VXo+Y4KNRadRQab2N0UNEI7W9DpQqJS4+qgcPVR39yi1zUOGShhfuNtK+iGkNo2Zz+ZtlZTF8CjHgcwr/NgA1w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5108
Archived-At: <>
Subject: Re: [Teas] Common rules for TE-related YANG modules prefixes (was Yangdoctors last call review of draft-ietf-ccamp-otn-topo-yang-11)
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 21 Oct 2020 09:32:48 -0000

From: CCAMP <> on behalf of Italo Busi <>
Sent: 21 October 2020 09:26
To: ''.org';

Hi all,

We have got a YANG doctor review comment on OTN topology YANG model advocating that "modules from a common group could use some common and obvious rules for prefixes" (see mail below).

While the comment seems reasonable to us, we have noted that, up to now, there are no such rules, as summarized in this table:

There are no such rules, as in YANG Guidelines, but it is a good idea, probably taken as read by those who have been around the block a few times and have had to live with the (lack of) naming conventions in older management software, and incorporated automatically by such; and it has been regularly commented on by those reviewing YANG modules.  I have made such comments recently on BGP and on NSF modules.

But it should be noted that this is a multidimensional issue whereas the suggested changes below only take traffic engineering into account, as if that was the only attribute that matters.  I think this  wrong.  Thus which matters more, that modules have traffic engineering in common or that they have e.g. WSON in common?  I think that latter matters more in making it easier for users to understand so no, nothing else should start with te.   Note too that there is often a separate types module and many such use a suffix of the letter 't'  for this so having 'tet' somewhere in the string I also think likely to confuse.

Tom Petch

TE      OTN     WSON    Flexi-Grid      ETH-TE  MPLS-TE
Topology        tet     otntopo wson    flexi-grid      ethtetopo       tet-mpls
Tunnel  te      otn-tunnel      wson-tunnel     flexi-grid-media-channel        eth-tunnel      te-mpls
Path Computation        te-pc

In order to have such common rules, the prefixes could be changed as:

TE      OTN     WSON    Flexi-Grid      ETH-TE  MPLS-TE
Topology        tet     tet-otn tet-wson        tet-flexig      tet-eth tet-mpls
Tunnel  te      te-otn  te-wson te-flexig       te-eth  te-mpls
Path Computation        tep     tep-otn tep-wson        tep-flexig      tep-eth tep-mpls

It is worth noting that

  *   the prefix used by TE topology cannot be changed since it has been already published as RFC8795
  *   we do not know whether we can change the prefix for the WSON topology since the draft has already passed IETF Last Call (our assumption is that this would still be possible)

We would like to gather CCAMP and TEAS WGs opinion about whether:

  1.  Having common rules for TE YANG modules is valuable
  2.  The proposed prefixes are acceptable

Aihua, Haomian and Italo (on behalf of co-authors)

-----Original Message-----
From: Radek Krejčí via Datatracker []
Sent: venerdì 16 ottobre 2020 15:33
Subject: Yangdoctors last call review of draft-ietf-ccamp-otn-topo-yang-11

Reviewer: Radek Krejčí
Review result: Ready with Issues

This is my yang doctor review of draft draft-ietf-ccamp-otn-topo-yang-11 with the ietf-otn-topology@2020-09-21 YANG module.

Despite the size of the module, its structure is very simple repeatedly following a pattern of augmenting ietf-te-topology by groupings defined in ietf-layer1-types module.

Datatracker's validation with yanglint reports a number of warnings, but they are false positive (fixed in yanglint 1.9.16 - the fixed version still reports warnings, but they are all from the imported ietf-layer1-type module).

My only note to the module itself is about the two defined groupings - I'm not sure about the reusability of the groupings in other modules. If the reusability is not the concern, I don't see any reason to define them.

Regarding the draft, as a reader, I would appreciate a more targeted description in section 3. Instead of just dumping the tree diagram in section 3.2, it would be useful to split it into several areas with some brief descriptions and examples.

The list of paths is introduced in Section 6 as "the subtrees and data nodes and their sensitivity/vulnerability", but I don't see explained/described the mentioned sensitivity/vulnerability of those paths.

The prefix of the YANG module (also referred to in Section 7 ) - 'otntopo' - seems inconsistent to me. The relevant ietf-te-topology has 'tet' (so I would expect 'otnt' here), on the other hand, the ietf-otn-tunnel has 'otn-tunnel'
prefix (then I would expect 'otn-topo' prefix here). The 'otntopo' seems to introduce just another format. As a reader/user, I would prefer if the modules from a common group could use some common and obvious rules for prefixes.