Re: [CCAMP] Proposal for YANG model prefix naming

Daniele Ceccarelli <daniele.ceccarelli@ericsson.com> Wed, 03 February 2021 13:57 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 5E89D3A0AD5 for <ccamp@ietfa.amsl.com>; Wed, 3 Feb 2021 05:57:27 -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 SfpYtHrnjLeF for <ccamp@ietfa.amsl.com>; Wed, 3 Feb 2021 05:57:25 -0800 (PST)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10050.outbound.protection.outlook.com [40.107.1.50]) (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 0D4123A0AC5 for <ccamp@ietf.org>; Wed, 3 Feb 2021 05:57:24 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AWlOF+AtmyavClC7H0f0d2JwTgorHvVVU+jEe35/sUOdxeUWWO2cVzHUCp+VpDbU94o9kvlQ6Ru5B5hID6kPoP+UsDQY1hBTLn3zE9iqdW1TGQOzYILzj3MhG8ubYlSzmCa7reXXUguBn8zHj9FRWkAtBP57Wd+eVjTn2CiCyyj9IwrrvW485fXPJ5MNY27+poo9HEbCXv4hhyR6k30ll/5iQIGagN3O5TR6L8PeqYLhA7L7698hPZ9tMR3TuvJ3djtCQjf7keH2Ony+yKB9+vjmY4V9KxR+SsV0EYDstyNAfnT9C2XLtpiqqbNDF0dfr8hzxAO2slCXMdVG1nDKNQ==
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=UTxd/CetGt/dNxnFRQTAd5otTBMtDF3kmX64ifTtpJg=; b=Ci0UW8zAPaxp1ZGGBkRrK5HSsHNn/mrl0OIzDG72NX7YH/QTMOW80QWs9LwmxLmadL0QKv3w05f5p2Dg/hA9ueuI23FkHX5KjaAvum79DJjqV3QPHOFY4PnoiQyVBdfowyenYakiv3HhJx0wkEO3Jfd6tnuniEogBkLrvm7EgZlEQ5fOhu375Nr/q6zniliSmX+rdh21C2iqg++N9+5myNNbwZzVoMYWiL6u29OXbquxE36yEzBprvXlBxDhuuINmGiyMp2rErQ8Ok/88HpfSlcbcQ06dNNbOPV9Kh9ea9kC21rT9/vEROnpwWHJ6K/8Vu2RXzpOgfqKtfFPACYfVw==
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=UTxd/CetGt/dNxnFRQTAd5otTBMtDF3kmX64ifTtpJg=; b=WYh4wWDYoTUldoHwJUPfYM6cpu1Z+NVOpt0Z+1Jrbgux2koFlwtUJu2w/AY4YhGQqrZ10sZMGGztNgDqjqhIGVfF1LLPhikaI2WOe2nNxw/asw2iPtJm78lZNQkvqPROnE1qLzbIfS2LEgfVRyt+eGk98fCnx3nrkYgkJ1d88UQ=
Received: from (2603:10a6:3:2c::25) by HE1PR0702MB3788.eurprd07.prod.outlook.com (2603:10a6:7:8a::25) 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 13:54:16 +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 13:54:16 +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/CNgAfB4sQAAZg4YAAA392UA==
Date: Wed, 03 Feb 2021 13:53:54 +0000
Message-ID: <HE1PR0701MB2282A075D467F43C02827B25F0B49@HE1PR0701MB2282.eurprd07.prod.outlook.com>
References: <08ca01d6f990$e00a0c10$a01e2430$@olddog.co.uk> <HE1PR0701MB228272E318AD31749A9FF9BEF0B49@HE1PR0701MB2282.eurprd07.prod.outlook.com> <00a701d6fa25$cd9fe370$68dfaa50$@olddog.co.uk>
In-Reply-To: <00a701d6fa25$cd9fe370$68dfaa50$@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: 6d254a99-6c89-4679-f69d-08d8c84b3275
x-ms-traffictypediagnostic: HE1PR0702MB3788:
x-microsoft-antispam-prvs: <HE1PR0702MB3788F8A600C0510BDA213B9BF0B49@HE1PR0702MB3788.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: o+YiAMFQ9W4NKA8EQumOulq+qTn43tptKqYlIKU+3H3kox0QCgQfCSszVYUuaLOeTb0KS/EAJ1v1jSiw2rG4RlTxxwBc6VAE3aVYNB35r69Inw5sBye12C8GcAfZhDBjZOdmU5IY9DoGA2R20EfTyBSbRzo6CPTUJShRRX2bci7qDpq8JtE7af5L1MCtrVCmW+9WsljchDeCX4xlGPUGA7Nmoyy9b8CtNT8i6vYgpTMaUO87cAD8MTRuCEySz12/UnByccApWq1wXF5gUS66EFF2/jIOgDgUzTFIcSw4Nkt8+LKe63QwleEeYrRJIJnn8ElcG1lknjND8I0Uy4SjI409DFLR5qEyiZ39T+FQoYAH5NrVn2ZrT+M+JwxVh1dY38atrL3GV3UJ0Ts8KnkzelD/aBgSAB+YqBwHb9WFUK7NdwyaUdU2SUsztPU2OY8gWDN/dKB5MjHjWA5A/wsugqmbK4iAlckcuP+Wnu4t1sDvYXysuhaxoLLdP7M+QownC6zvkMSlpnkf+3YbF7Pkg7/fZ/M0EYoFJV5fa64zk4dsF+vXc3ZdEgbdMDJdD41gEpDtO8XXXjePTtRkN7/70QsGpwIdW29G8grUy8FBIJ5Q+JdpEKDmb+0KD5fs7eSazGYujMlnL28oYVgZ0hT8+g==
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)(366004)(136003)(346002)(396003)(376002)(39860400002)(316002)(6506007)(8936002)(71200400001)(26005)(53546011)(9686003)(966005)(66946007)(76116006)(5660300002)(52536014)(66476007)(2906002)(64756008)(478600001)(6666004)(55016002)(66446008)(33656002)(66556008)(4326008)(44832011)(8676002)(7696005)(86362001)(186003)(83380400001)(110136005)(54906003)(473944003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: uBrH9THNs6QMH8jkMgyhTQIaLCD/H8af4UVL7evkmLG+QT+tJrMAisdPIxDukOcJgMe+qKCV8KBJeJnPWKnfGKV9PkmXzlHymEF4IezWlWnENu9mKi4hXn6XfVQQ0Pf/YYY5K2pHyuRbMYdGdipqhyXA12G+o7GlulgsYjOgxomWEuZcjtrnfgfOY4yOdTkifOFdb4mp08IyijebjqoWJBX4OZ8R5MLoN0sm42N0+pauw9GJa+uuQI5dL2wtnmwX9XKJpQfEo9M4OdMj22kLjsFWsqR5hosUR3g/9mcUmRQQUZgBvf3rBmTP9Mci/IzXxmPyo+adiRlY0VE/RrpmVj53hYMHsvGuEhsF2ph/bjHYLkPC7Tg967ewx4/XePYME+k2M+EcefbmY5imrEv/kJx6Ato1l1gDaBSfbo97cYjS9szV1hQzNCJl8TQR0MxqLepe0Lqv0HE41OhOdqoPIqHbzHVGc8NhiePClZQfz5yDKUW9/Tdals2pUKrLiAL8GJyl5mHBsPg72pLasjhi61xA9SCP6tb4ken8dz9wtUUmdgAvHr1oecdFNNwfmtpXrCGD/eurpxfYN819UBKaeAjBrgh27qs1FbjtWED/JSabhrbh2BdplxbqFjExO9fzfCo+7UebFDoOqT/BSvqOxuh0jMrbWLVNRfKfWfAVFZPkauCRC7tII9zSuEtVvfpptClQDzNDzolhWYEDAOY4JYBcCiWTOe48u8DxYvsIdoZ2pno4WlfL1q5UyIeUeaFf/gIMuLzkBHz375BJKYT7QWhP943sARjt2R6N9sjSBVC0btEIHW0sG8uxtXzfLt+Y5LlP4+E+xtGArlWXy+xVNfVy0PiZhjEm4UfS/iClBP00AhAb1sbrHdatI+nsuXSB9FFk4VsipGdkEWHeqeZ8IiCHJBHcdgviRG4URugIkMH4X7NtuzllErGRV+vlkGcch9Mo8SWBd8UNdXnBYQCu2lnRO4JkoQfzlW10AHMTfIDus5g1FOHBBxC7X9cn/kXo6GteCtDX8oAn5YC99+Q3pEMxxVGLRkWCVjFA24LY9S81DKCGSR5AjUpbkSNDxfOS
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: 6d254a99-6c89-4679-f69d-08d8c84b3275
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2021 13:53:54.0789 (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: 9zkBIU+9L1TUWcOPlYkTzB1cdfRgm87YvSezH9qFQGy+1lV9F+aaXKujdNIBY09rs/Ucf4aFwrzZTQjsQLQnvXBJn5hbkab4baOxJ0mHNk8=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3788
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/hmdZ_n4PHXWrrX9CPkPc1JBraa4>
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 13:57:27 -0000

Hi Adrian,

The drafts are in the editor queue, I think there is still some time to have minor changes. I'll check with the RFC-editor.

Cheers,
Daniele  

-----Original Message-----
From: Adrian Farrel <adrian@olddog.co.uk> 
Sent: den 3 februari 2021 13:12
To: Daniele Ceccarelli <daniele.ceccarelli@ericsson.com>; 'CCAMP' <ccamp@ietf.org>
Cc: rkrejci@cesnet.cz; 'tom petch' <daedulus@btconnect.com>
Subject: RE: [CCAMP] Proposal for YANG model prefix naming

Hi Daniele,

Per the recent exchange with Tom, this whole debate may have elapsed. If the WSON model is now considered to be "beyond edit" then it will go ahead using 'wson' and any battle to achieve consistency among prefixes used in CCAMP models is already lost.

So we should just find a better use of our time (like actually completing the model :-)

I tried to look at Italo's table, but I'm afraid that I go quite confused about which models the prefixes applied to. Possibly this is because I didn't open up any of the expired drafts.

Best,
Adrian

-----Original Message-----
From: Daniele Ceccarelli <daniele.ceccarelli@ericsson.com>
Sent: 03 February 2021 09:12
To: adrian@olddog.co.uk; 'CCAMP' <ccamp@ietf.org>
Cc: rkrejci@cesnet.cz; 'tom petch' <daedulus@btconnect.com>
Subject: RE: [CCAMP] Proposal for YANG model prefix naming

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