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

tom petch <ietfc@btconnect.com> Mon, 02 November 2020 09:55 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3DEB13A0D65; Mon, 2 Nov 2020 01:55:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
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: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30UP3pZQDw1w; Mon, 2 Nov 2020 01:55:57 -0800 (PST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140139.outbound.protection.outlook.com [40.107.14.139]) (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 C28293A0D63; Mon, 2 Nov 2020 01:55:56 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Barh2sHU5iPNS1LXfIugnYQ3skN+UrSUzVRq+9MEPBWt9AlxCZzIyo9A8BBkkmDYR7AhW6Cb2EubVKSUyZ97Uxj+GA/x2iLgDkoHY8SbeR16DN1wfQkzAIx9y+Qoj2Ic36Ea9Xi9tvuDyikDBI8ec+ghfBE1o+etl35w3lUl0vS3aOLPgW+YBDpCbgVi5lsBZvpLb4yYLUZC6xgSwdOIBZi+5IJUpGVu04mWBctdG0Dyy06OnNAwjb3MlNx27PHcT7VgJMwnx3f2iDq8M4PM9lUSBnRgumjfgfPf7WG2611j1UYy/1sdf0pqla2fIe1Vgb9fzHVnymYl0ohsWj5FeQ==
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-SenderADCheck; bh=nVuDRwrSJVcq9CNnEBgU3wQMzuw6KdXeSxKs1AZZDyk=; b=OQEo+HM7Z8usDSIoxfsiaH0mMYj97y0Gc/0NJPThVHWRA5qQr6FidBp5OwdVff3tVu7bVWv5CKXID3gWXa/DKtRxYOaxjddC/3ZZIeBbUrD7I9NvxECPo5vE6Sd82I6KoD0FJQZhXw/pHoEu7+9IIuAcfsq9zZ3JEt9ow78yY6eBVXYg0S81r72epoPVdSuBiEC/EDFrdcGJTByyubT7HxArFTJPh0c0VdmS4UxtKdVDo1b/RLdcGJ948nWblk3RUWZ3B883BGvfwgjkWCKew/VB/jWzDXaK80wq0idF/jIxMN8Damz8F32N8q2Lkn//2JHnWT9K5nhCB1dm2KaebQ==
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=nVuDRwrSJVcq9CNnEBgU3wQMzuw6KdXeSxKs1AZZDyk=; b=hEMR6D0p87hEauIS6O0XJdSsHGVuWThaty2b2A8CxBsFMrwljAnzjRjn3ugREEiTrs0bfKUI3Y38YSVVNAlFbXJ8nHe1Ax5c/qr4DvguJPlkZ9kTbKdbfFgSdB6cDm2YPT0zswOMD+eNT6m/sG+siF5RTUDBmVuu1zKgYLIBRjw=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM6PR07MB5398.eurprd07.prod.outlook.com (2603:10a6:20b:83::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.10; Mon, 2 Nov 2020 09:55:53 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::ad44:1086:3767:a804]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::ad44:1086:3767:a804%7]) with mapi id 15.20.3541.010; Mon, 2 Nov 2020 09:55:53 +0000
From: tom petch <ietfc@btconnect.com>
To: Daniele Ceccarelli <daniele.ceccarelli@ericsson.com>, Italo Busi <Italo.Busi@huawei.com>, "'teas@ietf.org'" <teas@ietf.org>, "ccamp@ietf.org" <ccamp@ietf.org>
CC: "draft-ietf-ccamp-otn-topo-yang.all@ietf.org" <draft-ietf-ccamp-otn-topo-yang.all@ietf.org>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>
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/ShaCXr97p0RfGEvolIEdqtpAABzVwuAAHOM+ACWuGjJA==
Date: Mon, 02 Nov 2020 09:55:53 +0000
Message-ID: <AM7PR07MB6248AD722A6AEE1478EA8D81A0100@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <2f249df343f14c0799cccb38574914fe@huawei.com> <AM7PR07MB62483BD8298654CA1B04BC59A01C0@AM7PR07MB6248.eurprd07.prod.outlook.com>, <HE1PR07MB4156E24671500EDE9A577C0DF01C0@HE1PR07MB4156.eurprd07.prod.outlook.com>
In-Reply-To: <HE1PR07MB4156E24671500EDE9A577C0DF01C0@HE1PR07MB4156.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ericsson.com; dkim=none (message not signed) header.d=none; ericsson.com; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [86.146.121.140]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e8ec6f6f-4c52-4068-d654-08d87f157cd5
x-ms-traffictypediagnostic: AM6PR07MB5398:
x-microsoft-antispam-prvs: <AM6PR07MB539806DAED9E6A021202C130A0100@AM6PR07MB5398.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: mWJO7hEv859FjHGGB7JvwyEcET/OqQQQJn+H8xnXJCyBKqVpiwHa/h1qsjNF3/JLTOPK/HH5xFMBljH4j13rv2HWy3ODnye/DFHCC9+B2ohsGUWzIYEGLKZ+fbZ2LDcLwsQPHFHREfXO5nw+SE2f0k5V+u3O1wo60+iQVdNPV4H/bm2p5gQjimTH34hCl0TdlQqanOz/gUHzACv9U1SsbntiF8tcHkROSgJNoMnEsDssV/QhlrG8l0Z6C8c8SqEbZmkBWWYRIP1hbklTCK/BV/HtKUCGkbrESv6rXbMmU/10TItbFJChuMdNLU4nQiTf5DhvBuW+DXl1y/xJB2o4QsgieaJ4O82r75WopNipe2/cf5PkkSVXqYtWuEO6xtnA
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(396003)(346002)(376002)(366004)(136003)(66446008)(66556008)(110136005)(54906003)(83380400001)(316002)(478600001)(91956017)(64756008)(66476007)(53546011)(76116006)(71200400001)(5660300002)(52536014)(6506007)(7696005)(26005)(186003)(9686003)(55016002)(66946007)(33656002)(86362001)(2906002)(8936002)(8676002)(4326008)(491001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: NHwPhn61acZRqS8osQB81RDlwsh/NNT4UkbuwyMD1RNELa1KjzhMUEFPFnaMO8teh83cfMd2Zn5OSb4qTEJ7i4zO1WDZrJCohoqPu0omoeik5AAth5Gh/TiyE+SaZ0LCi++kPU5PzxxXkS+eZg/Rq4/4os4ShX+M1qebhZphysyHPCgfwqVqV7V+zH1p6XaMcg/Gtp196FNQjWAQ2l2lRp3+cd5soZ7a5BRaKnS8BkEPUMrUYHvyeAlF3drZ8swjl8T1ceCPzKHMy9SIsckJrf/CZabp46Px5sjiIjVkhb5uMr1ixQNE5jIQDRKQrpBG1JV3KbhYwoFooU0gVtTvhFj+jWVxjGwTZohs3ZbaXcDKyF+JqWIUvkmWKLKHatvhmPNlAfLDXVh1SD8+t4lStjn8vNd5T82iBaAeQOoyEL090rLT6bDPacNEeGUYOBQ+NZdWfCjiSzCBVXmdxc8ppe5ZPW7yipcg6y+4e5Pw8Ak6cMtKajOKPXqlPrIXmSF0JwEcDbyv/vrazpvTLcxFWT9c+T2BKL2sEOJodsrqkLXfasAFR1ZPSyflxV8zcLYLJWGdNEKOO+9Lpr4Yu1FPimARKFsuDT5OmJaa1QGRIHlWQwxeWHbcjMtSBjAhv9ZVjAHojFUaNF8X8YKXomFcJg==
x-ms-exchange-transport-forked: True
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: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e8ec6f6f-4c52-4068-d654-08d87f157cd5
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2020 09:55:53.7608 (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: 3eL2GfKoHYDfYIiuBY72gVB4X6CH3L26x6SNGFHHTHejsMxQnOTCaZmWVYph4v0CCb7kK+CoHDsP5F4ZUybQwQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5398
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/Pi5mTy4oOoA-_gFaUSYWZf8VgOo>
Subject: Re: [CCAMP] Common rules for TE-related YANG modules prefixes (was Yangdoctors last call review of draft-ietf-ccamp-otn-topo-yang-11)
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Nov 2020 09:55:59 -0000

From: Daniele Ceccarelli <daniele.ceccarelli@ericsson.com>
Sent: 21 October 2020 11:15

Hi,

I think it's a good idea.
Changing the naming for the WSON documents is not a problem, that can be done at the RFC editor stage.

Tom, regarding you comment I would say that all the modules that the authors are referring to are TE based .Even if it's a multidimensional issue I would say we can use TE as the leading dimension.

<tp>
We can and for those whose world revolves around TE it might be useful but there is more to running a network than TE (shock, horror) and so an alternative dimension would be more useful - well it would for me.  Should RSVP-TE be renamed TE-RSVP in all our documents?

Tom Petch

BR
Daniele



-----Original Message-----
From: tom petch <ietfc@btconnect.com>
Sent: den 21 oktober 2020 11:33
To: Italo Busi <Italo.Busi@huawei.com>; 'teas@ietf.org' <teas@ietf.org>; ccamp@ietf.org
Cc: draft-ietf-ccamp-otn-topo-yang.all@ietf.org; yang-doctors@ietf.org; last-call@ietf.org
Subject: Re: Common rules for TE-related YANG modules prefixes (was Yangdoctors last call review of draft-ietf-ccamp-otn-topo-yang-11)

From: CCAMP <ccamp-bounces@ietf.org> on behalf of Italo Busi <Italo.Busi@huawei.com>
Sent: 21 October 2020 09:26
To: 'teas@ietf.org'; ccamp@ietf.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:

<tp>
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 [mailto:noreply@ietf.org]
Sent: venerdì 16 ottobre 2020 15:33
To: yang-doctors@ietf.org
Cc: ccamp@ietf.org; draft-ietf-ccamp-otn-topo-yang.all@ietf.org; last-call@ietf.org
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.