Re: [CCAMP] Proposal for YANG model prefix naming

Daniele Ceccarelli <daniele.ceccarelli@ericsson.com> Wed, 03 February 2021 09:12 UTC

Return-Path: <daniele.ceccarelli@ericsson.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 27B4F3A164F for <ccamp@ietfa.amsl.com>; Wed, 3 Feb 2021 01:12:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.351
X-Spam-Level:
X-Spam-Status: No, score=-2.351 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.25, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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=ericsson.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 sZCrkWzEdFRb for <ccamp@ietfa.amsl.com>; Wed, 3 Feb 2021 01:12:14 -0800 (PST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140043.outbound.protection.outlook.com [40.107.14.43]) (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 2AC213A164E for <ccamp@ietf.org>; Wed, 3 Feb 2021 01:12:13 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D8wMgqHTzRjPX5JVro3LEbQleIeZeHUm8z1vnJjp86XCZ5Hc7ZlPZdZ5V5KwJXtkaoFv2udXwxbUbRDgHCgbrxOBp7x9cVwNVS9iUE5+Og7Us8q3X9r5vdNGumu+o2tPgipXpX53N/Zro0RXxe+v2rPgrUM3ypOTXbWZHGD1IC3N67jwyUG4ikluN9PvFk9cEVIqEPScSAnjWcjezmufOe7pRXulGdDu+oO8SoGq7StXQkQAA5PUvDVjIEg5eU7f9CHM7P1Eh6CR1aCVHCKPFZMwGAVKoJP0tIyQjIga0mmKwTi/CXjvqYAxRWZD23GhjM/HmmAbaXmrfj5uOqmc7Q==
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=6OaaR1HDjPzIEfQj+9IiTWrL3vh1Ji/JrATXQenBH28=; b=JbxOgduzHuTK+U0eQKd73EZpFAKYhG5MrnxpTcWvM24MN12yrHoyeIu2FB97mCYor0dXjYhd/OKfkEN16bAW0T0nkan/6OHW64nm8dPHMD3MLSt5AKoq3rskEkNB9gzVprLWjBvZaT5P5WVAhJYidxs5sJsttaKKD7xAqU49qdlXK53+b0uUTbbmFoyaJoPjjjSBnuzE64lUUkmEcoEWDSWNxKZvyUGXO4bDzmnSgFCUFWRLMRYTALH3eI4gFlgE3Z3CNAaD2UYhfBsb7bnK30OaCNTZjQy0Vry6mh3KPPqK13MT6lPnthUXQE4Cfnlb7ZmiwK8RnuctNXlOYHDiTA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6OaaR1HDjPzIEfQj+9IiTWrL3vh1Ji/JrATXQenBH28=; b=GJKdpg2TbOiCTNNHRwAlUALMH6TTav6pt7BIynGCrPKIbEIXbcOMiaXCkXE2Y7XW9pLEv46mHCsl3G3+qcrvuouPrPmE8nsbZBE5g94iK+PpGcn9U/cBE/Trx+pZls/nP3762BM0iSJx40iLdUJFhjVK+iZ3mp5ED4TmVcalmKg=
Received: from (2603:10a6:3:2c::25) by HE1PR0701MB2476.eurprd07.prod.outlook.com (2603:10a6:3:70::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.8; Wed, 3 Feb 2021 09:12:08 +0000
Received: from HE1PR0701MB2282.eurprd07.prod.outlook.com ([fe80::f03a:71f1:8184:1b94]) by HE1PR0701MB2282.eurprd07.prod.outlook.com ([fe80::f03a:71f1:8184:1b94%11]) with mapi id 15.20.3825.020; Wed, 3 Feb 2021 09:12:07 +0000
From: Daniele Ceccarelli <daniele.ceccarelli@ericsson.com>
To: "adrian@olddog.co.uk" <adrian@olddog.co.uk>, 'CCAMP' <ccamp@ietf.org>
CC: "rkrejci@cesnet.cz" <rkrejci@cesnet.cz>, 'tom petch' <daedulus@btconnect.com>
Thread-Topic: [CCAMP] Proposal for YANG model prefix naming
Thread-Index: Adb5kCnf8qqa0/tyT163WY+Rfz/CNgAfB4sQ
Date: Wed, 03 Feb 2021 09:12:07 +0000
Message-ID: <HE1PR0701MB228272E318AD31749A9FF9BEF0B49@HE1PR0701MB2282.eurprd07.prod.outlook.com>
References: <08ca01d6f990$e00a0c10$a01e2430$@olddog.co.uk>
In-Reply-To: <08ca01d6f990$e00a0c10$a01e2430$@olddog.co.uk>
Accept-Language: it-IT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: olddog.co.uk; dkim=none (message not signed) header.d=none;olddog.co.uk; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [151.81.50.110]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b977efe4-6bbe-457b-eb42-08d8c823c81a
x-ms-traffictypediagnostic: HE1PR0701MB2476:
x-microsoft-antispam-prvs: <HE1PR0701MB247610EDFF1C9C1953B69834F0B49@HE1PR0701MB2476.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: u2pJZVTryKfI2j9pFh45jZgGB5Yd+zOxQzAC6voXvCzO6ybj72L9sHz5BbHLJ1SqM9thcvKDHLY39OgN2v1apD2jaREyc8puvVNljXPyVOqcZoMCGMnHwKdiLIukKB28oAksp/kXhkrn5YlLen+gtL8KbWsOjtBNA/MvWtaD0Z7hIYwB67s+S2Y30pdiiLTyAl7Nmdz5ZfDke4olV4Gi9eC3i8hdNBAHlFsOJktJeL32JX2v4AwAX4zOS4mFoM98Fyo87bzRlI3TV8EOdkU/vWas4I7RsdmrMJwy2Cek//33j27kDqLATOKPbbRtuEhJ6mB58AsCHDp6IIkxLtjX35NMDVUpIeyEwlUB0SfbkuOZRYw3158NsLygHf7jGCHVCouMtotKngP/CD7dTY2ATtcl2UzjHMH6CQ7TQQ8tuel5aKIiXvBoLu3hvdy02oPKFmdviifh5ZUvBfMQ6cA9yi3WhnmalSyVZXH1m9CyNoIpd0uETU0chnZvpOREbsX/2D4XzSBh7zpLb6ForiTsZR/xuIPDAPC8VHsIEnAGXwiGkBbR0DqUVvNYq5YWeTg9HZpzbCQUSQreoP+8zbwyTM71fMwf9S0TKLtNSrNquG7YdePlqzEzB0kQ5Fi3vrZ/4l8+bMah7dOn4Bo8Zh7Urw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0701MB2282.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(39860400002)(136003)(366004)(346002)(71200400001)(33656002)(8936002)(8676002)(9686003)(4326008)(86362001)(55016002)(966005)(5660300002)(6506007)(53546011)(186003)(478600001)(2906002)(44832011)(66446008)(66946007)(76116006)(66556008)(64756008)(66476007)(316002)(52536014)(54906003)(26005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piyp0c8gCzPy6z+6guV8ioNO2YoYOrPusHR0FThXUvv02nN9S07zVltZlo8OUMQks2+JZzu45iVISjT6lX
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0701MB2282.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b977efe4-6bbe-457b-eb42-08d8c823c81a
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2021 09:12:07.8343 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: lajSsUp3rNnT5ld2hd/6fJbY84aEKZoIIzSNgBQKafyXKPsOHXM4gAKk6UyynsJ9yhcsK+XqCTn5ApaevSgciru2mIjQ64JAzefEI4ExKAs=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2476
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/b7MVtftT1lI202o2eBbnS9kI1lg>
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 09:12:16 -0000

Hi Adrian,

Thanks for reviving this discussion.

Together with Italo we tried to propose a sync up with TEAS before Christmas but we didn't have a big success.

Italo tried again to bring this up a couple of weeks ago: https://mailarchive.ietf.org/arch/msg/ccamp/4R6Bh4Pxo-DZJ6I4R918c1PwrMw/

I agree with you that we should limit the scope to CCAMP. What would be your proposal to fill Italo's table?

Cheers,
Daniele  

-----Original Message-----
From: CCAMP <ccamp-bounces@ietf.org> On Behalf Of Adrian Farrel
Sent: den 2 februari 2021 19:26
To: 'CCAMP' <ccamp@ietf.org>
Cc: rkrejci@cesnet.cz; 'tom petch' <daedulus@btconnect.com>
Subject: [CCAMP] Proposal for YANG model prefix naming

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'

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-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