Re: [CCAMP] Proposal for YANG model prefix naming

Adrian Farrel <adrian@olddog.co.uk> Wed, 03 February 2021 14:00 UTC

Return-Path: <adrian@olddog.co.uk>
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 0F6D53A0B20 for <ccamp@ietfa.amsl.com>; Wed, 3 Feb 2021 06:00:25 -0800 (PST)
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, NO_DNS_FOR_FROM=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 zjy_xWAJ17g3 for <ccamp@ietfa.amsl.com>; Wed, 3 Feb 2021 06:00:21 -0800 (PST)
Received: from mta8.iomartmail.com (mta8.iomartmail.com [62.128.193.158]) (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 55BC23A0B29 for <ccamp@ietf.org>; Wed, 3 Feb 2021 06:00:10 -0800 (PST)
Received: from vs3.iomartmail.com (vs3.iomartmail.com [10.12.10.124]) by mta8.iomartmail.com (8.14.4/8.14.4) with ESMTP id 113CCN3f019839; Wed, 3 Feb 2021 12:12:23 GMT
Received: from vs3.iomartmail.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A7F422206D; Wed, 3 Feb 2021 12:12:13 +0000 (GMT)
Received: from asmtp2.iomartmail.com (unknown [10.12.10.249]) by vs3.iomartmail.com (Postfix) with ESMTPS id 997342206B; Wed, 3 Feb 2021 12:12:13 +0000 (GMT)
Received: from LAPTOPK7AS653V ([195.166.134.180]) (authenticated bits=0) by asmtp2.iomartmail.com (8.14.4/8.14.4) with ESMTP id 113CCAJG002450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 3 Feb 2021 12:12:13 GMT
Reply-To: adrian@olddog.co.uk
From: Adrian Farrel <adrian@olddog.co.uk>
To: 'tom petch' <ietfc@btconnect.com>, 'CCAMP' <ccamp@ietf.org>
Cc: rkrejci@cesnet.cz, 'tom petch' <daedulus@btconnect.com>
References: <08ca01d6f990$e00a0c10$a01e2430$@olddog.co.uk> <AM7PR07MB6248AA17D8F8FFA15DEC59E7A0B49@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB6248AA17D8F8FFA15DEC59E7A0B49@AM7PR07MB6248.eurprd07.prod.outlook.com>
Date: Wed, 03 Feb 2021 12:12:09 -0000
Organization: Old Dog Consulting
Message-ID: <00a801d6fa25$ce2da480$6a88ed80$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-gb
Thread-Index: AQHruOgRwMr1BpOqepbnNlgOeij/oQIWJUhQqgwjL3A=
X-Originating-IP: 195.166.134.180
X-Thinkmail-Auth: adrian@olddog.co.uk
X-TM-AS-GCONF: 00
X-TM-AS-Product-Ver: IMSVA-9.0.0.1623-8.2.0.1013-25942.003
X-TM-AS-Result: No--1.639-10.0-31-10
X-imss-scan-details: No--1.639-10.0-31-10
X-TMASE-Version: IMSVA-9.0.0.1623-8.2.1013-25942.003
X-TMASE-Result: 10--1.639500-10.000000
X-TMASE-MatchedRID: PL66URbwWA8kzrQfI6wWyHFPUrVDm6jtC/ExpXrHizyPpeH2TUh47pKP ruif6Wh89vs27eorq1OnUDjHdNKizJ9vFrcDXJOniH95tLFH8eelAfiiC1VA/SGeZKmZv/3l4xM DWbw3kfqwnmCyjO0r1SUSdauiOgLQUNX2wOo5Bj8WqJ/PBjhtWmkVtS+ZGMtyAkmawJ00tAaC87 HOMUCLAZQCkQQP1gjK8O08K6i/rDQWKZUEbTJHfTKVTrGMDe/DceFKyQwXWybDqO6/8R69QD/zI kvUoSsd5SbMbThI1znOmJxfdCQnvkPeGkRrRhGjCuDAUX+yO6Z4ssIDQ8PtqC99T+uJIleR5vmA Js99yKiDKfh6GnlMtM+pjPZBkh1ghAs+sZfqu7OnUj8n3w8HW1TwUMN+zeHgJHwDAsNOgHj5c7d XaIMw3Vb6vMhynIBmdl8ODpzl5WCQx+WOi6GOwSjtvm0vFhmt9pLnYtQ99xJLpCLN4NR43hYD2E a3Potk4vM1YF6AJbZcLc3sLtjOt9CpCFLDTHZU3QfwsVk0UbvqwGfCk7KUsxgD++/fF/zvX05XL yCRc7AT7w5sxw1zz45KU8zs+Ywn48/PJadxT15fWmVh6CDXz+lVgpmZ9mzVruzn+o9cOti2QpYD XMjBKgkCnkA3h/n1D701dfVAizuSL9OvtUca/e6+D482nHhrftwZ3X11IV0=
X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/gAz_80tUoa3Vr8SnHIEzHtcMUo4>
Subject: Re: [CCAMP] Proposal for YANG model prefix naming
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: Wed, 03 Feb 2021 14:00:25 -0000

Hi Tom,

>> Proposal for YANG model prefix naming.
>>
>> Radek and then Tom raised the issue of consistency in prefix naming based
on
>> the fact that the TE topology model uses 'tet' and the TE topology state
>> model uses 'tet-s'
>
> I think that the starting point is a list of I-D/RFC and I see some
glitches in your list.
>
> draft-ietf-client-signal-yang probably should be
draft-ietf-ccamp-client-signal-yang

Yes, typo.

> I see two flexigrid I-D but you only list one

I'm at https://datatracker.ietf.org/wg/ccamp/documents/ looking at extant WG
documents. 
Looks like draft-ietf-ccamp-flexigrid-media-channel-yang expired almost 6
months ago.

> wson-yang and l1types have been approved by the IESG so I regard those as
fixed
> points that it is now too late to change and which we should build around

Well, colour me confused.
I thought this whole thing came up in debate of the WSON YANG model.
If that debate is now closed, let's all move on and not worry about any of
this any more.

> I have seen more than one wson model

There's an information model in draft-ietf-ccamp-wson-iv-info, but no data
model.
draft-ietf-ccamp-wson-tunnel-model expired almost 6 months ago

> microwave seems to be missing

draft-ietf-ccamp-mw-topo-yang expired almost 18 months ago




CCAMP is currently working on plenty of YANG models, so it might be worth
stepping back and getting the prefixes consistent across all of our work.
I'm not sure this is the most important thing on our list, and perhaps it
would be better to discuss the colour of the bike shed, but to make sure
that we do this just once, here is my attempt.

My conclusion is that, although it would be nice to be consistent with using
just a suffix of 't' to indicate 'topology', this becomes messy with some of
the longer names, and it is clearer to always use 'topo' (leaving the TE
topology model as the odd one out).

This proposal only extends to CCAMP YANG models, and I don't think this list
can debate the wider scoping of prefixes, but I think it would extend well
enough.

The list shows...
Draftname
Modelname (currentprefix)--->(proposedprefix)

draft-ietf-ccamp-client-signal-yang
ietf-eth-tran-service (ethtsvc)--->(etht-svc)
ietf-eth-tran-types (etht-types) --->(etht-types)
ietf-trans-client-service (clntsvc) --->(tclnt-svc)
ietf-trans-client-svc-types (clntsvc-types) --->(tclnt-svc-types)

draft-ietf-ccamp-dwdm-if-param-yang
ietf-ext-xponder-wdm-if (ietf-ext-xponder-wdm-if)--->(ext-xponder-wdm-if)

draft-ietf-ccamp-flexigrid-yang
ietf-flexi-grid-topology (flexi-grid-topology) --->(flexi-grid-topo)

draft-ietf-ccamp-l1csm-yang
ietf-l1csm (l1csm) --->(l1csm)

draft-ietf-ccamp-layer0-types
ietf-layer0-types (l0-types) --->(l0-types)

draft-ietf-ccamp-layer1-types
ietf-layer1-types (l1-types) --->(l1types)

draft-ietf-ccamp-optical-impairment-topology-yang
ietf-optical-impairment-topology (optical-imp-topo) --->(optical-imp-topo)

draft-ietf-ccamp-otn-topo-yang
ietf-otn-topology (otntopo) --->(otn-topo)

draft-ietf-ccamp-otn-tunnel-model
ietf-otn-tunnel (otn-tunnel) --->(otn-tunnel)

draft-ietf-ccamp-wson-yang
ietf-wson-topology  (wson) --->(wson-topo)


_______________________________________________
CCAMP mailing list
CCAMP@ietf.org
https://www.ietf.org/mailman/listinfo/ccamp
=