Re: [netmod] YANG versioning issue #48 (interpreting revision labels)

"Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com> Mon, 22 June 2020 18:03 UTC

Return-Path: <jason.sterne@nokia.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C9D53A1053 for <netmod@ietfa.amsl.com>; Mon, 22 Jun 2020 11:03:48 -0700 (PDT)
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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, 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=nokia.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 NvpMXNnOVknk for <netmod@ietfa.amsl.com>; Mon, 22 Jun 2020 11:03:47 -0700 (PDT)
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2092.outbound.protection.outlook.com [40.107.244.92]) (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 CE4083A1051 for <netmod@ietf.org>; Mon, 22 Jun 2020 11:03:46 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YT6ZDElSRb6if/a4zgSfURDNubmSNn9hhSX6SP/laXzaqw06jys/pfd5oXy3aGsVWuIouNL4yhTJOlhCLY7xaWCwWw158x5Dp5vfmNXVLJynthmmNFbYgQNCapvJkdwnG98lu4Ed9C3CQ0VM63pBiuvgsdZAblB9ZNRptuL2kWFCO5S0aGqMTtk/wac6eE8RUSDlNK0gGVZdRJPFJJmqOYxzajFEc7vEyWTVXOQP7GZ49s0yBbVpQE1JVirk98MpYrNX8QcSd/BaD2xfuQw973IJr8hP0W+mYZMZC6pEqzNRdydJv5JAi4MDjQers+Pa0LKGANcwWkgWXwnU3YmtDA==
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=PJ/vS56XJciDfrc40M1BZTGFfGGWBoo/mJYY0e0hs1s=; b=LpsCuzpeKWmD2yTOfpmpB5SU0/8o7hzuygZqTKYT8q54WjsRkseHTP0l8/19lCg9lUrEy3Xe1FU5IsDsmPBC/Ias/DY9ejZWSrHBtUs/zd+kTs81g142f1alISFNr37h/sZXIfODMxQd2H7cozY0F4c3DwtXkiSl614sf1sxr5ofhBgu0yEqBL+4khPWFjvpzoHeRrwUcCKqOgGHTDVG7dU6aIzZ4GbLWTFfcMq/JN61H0y+c4Pms+Xl8LS5jKHQVtH3gpq9H0HmdqnNNIxnCcgqlfo8NqsLfX8tjadCfOZ+9V4zhyrFJ751sfIpGLbf5n/iu5HpdEx66T9uKgUtXA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PJ/vS56XJciDfrc40M1BZTGFfGGWBoo/mJYY0e0hs1s=; b=K4iGE3Q5KW469L48XgyDjlAeZ9QLuV0mBzBdjvBrzPjwg0OoFsdGZZei6lu7DB+35h0uFnwRN3o2lIs92YEWCE8Fj4RUPeI4ROm7IYPvjcAN5+wdNTVcze/u2/ooUs/fh04z4NE7zwTphMQ7CWahn9RKc8esiIlahZ1xABU6QKk=
Received: from DM5PR08MB2633.namprd08.prod.outlook.com (2603:10b6:3:ca::21) by DM6PR08MB4155.namprd08.prod.outlook.com (2603:10b6:5:8b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Mon, 22 Jun 2020 18:03:45 +0000
Received: from DM5PR08MB2633.namprd08.prod.outlook.com ([fe80::b02f:de62:22d1:444f]) by DM5PR08MB2633.namprd08.prod.outlook.com ([fe80::b02f:de62:22d1:444f%8]) with mapi id 15.20.3109.027; Mon, 22 Jun 2020 18:03:45 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "Joe Clarke (jclarke)" <jclarke@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: YANG versioning issue #48 (interpreting revision labels)
Thread-Index: AdZIv2khTQZN7XK5T++qhHYOLMDpWQAAAbFw
Date: Mon, 22 Jun 2020 18:03:45 +0000
Message-ID: <DM5PR08MB263344671E98D5DCCCA88F159B970@DM5PR08MB2633.namprd08.prod.outlook.com>
References: <DM5PR08MB2633D05106D67BA0130BE4059B970@DM5PR08MB2633.namprd08.prod.outlook.com>
In-Reply-To: <DM5PR08MB2633D05106D67BA0130BE4059B970@DM5PR08MB2633.namprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=nokia.com;
x-originating-ip: [24.226.236.156]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 30b6a8d8-2898-4299-0bb1-08d816d69b4d
x-ms-traffictypediagnostic: DM6PR08MB4155:
x-microsoft-antispam-prvs: <DM6PR08MB4155EF95E257067AE8D16F7C9B970@DM6PR08MB4155.namprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0442E569BC
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 6q/o+DSvut/OaJLfhZSX4jifYKxScF47FHHAI7PdP3dhupMXXUtdB4RieyVCUjtPSkWPiXNN58BHi5a5Uk3zIqZt/JeBWD1do20azSeq+62yQDLsBi67WL4c4U7uAMddiVsRb9asxP3rCxmHE2jxo4gXwz7WjrIN9Od+jUCqX2OI4V5H3i++yZ2NHN5ciVDBmq4uY2iKnnyrLGEkaZ1VrA7E2jVEXDcjcirxwogM/ySEM/eWIHgZCVBqeqluhaLqyi1Q4MzvfbZlLy8NbNarl/gOnk4deRFHaUgV2nPSr6DNMcRXMg7IENHJTbyqdcbmVAgc2Guxl3aGHIApyyj8kxBATjhHYzU5p5JyqP8ms+ekKh7MU3Ijoi0RDdYyGWZFw0IGIeEdCZT3luGHUVYgYg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR08MB2633.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(396003)(136003)(346002)(39860400002)(366004)(5660300002)(478600001)(166002)(71200400001)(66556008)(66946007)(66446008)(66476007)(966005)(2906002)(64756008)(76116006)(8676002)(7696005)(2940100002)(9686003)(33656002)(8936002)(52536014)(186003)(86362001)(55016002)(53546011)(6506007)(26005)(110136005)(316002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: yp+eNlYTvUP8rRqPg4TY6xTY529FaP41upoXr+w9a+18yHrRzenUeGknmCWY0RNkmW7xdn+KruTXMN64cAzdBESW/CDKWUqDygE7yJbJKPUJgyLeSnoiKmUH11uJ76J1QadiOdCVek2Tij4p9mH0XRl9UnUrvqJ5qnjGYizFu5Fgmaw/Ns8c8I/KnzLdneW/Z6i29pgx7nzl2H76R74ohh53H/UJ/3qfRuEsD2RNQPngiHG56xT20VghjVs6YHVskhz84fFEBSWFiXteXQwf3vKhLWAkbd3djgzymrMxnaJVxtp/UfTAq9Gr1kXFr8Ch2rMHxwzJhNiaFZgOZB+t/w12Ttm2xpb50x4kWI8jdKaxKqNIISx7oriQKNjB039MVPA0AFjDElWw9KvviuzCXfNN2AJVQER1hgbVYnXiiVt6w731UpldjyKLozkOUmdtCyFnBRR3UQMtOR+bnnf+8B4B7GB4+GbAtpZMAYNk6tkT0veV77Kaz2haepKfqT7b
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_DM5PR08MB263344671E98D5DCCCA88F159B970DM5PR08MB2633namp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 30b6a8d8-2898-4299-0bb1-08d816d69b4d
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2020 18:03:45.6265 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: iA7z+QEUmLZqYGiSCACKFQOSglY0jiHgcWSTbJ4nWb8s6wpAO5wk1DTGXHQ6nlpwJmSdCYJcE/kbbxjfVB5n4Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR08MB4155
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/2hJ3oezo7nNhK1hLwCpIL0n-x5Q>
Subject: Re: [netmod] YANG versioning issue #48 (interpreting revision labels)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jun 2020 18:03:48 -0000

forgot to add NETMOD...

From: Sterne, Jason (Nokia - CA/Ottawa)
Sent: Monday, June 22, 2020 2:03 PM
To: Reshad Rahman (rrahman) <rrahman@cisco.com>; Joe Clarke (jclarke) <jclarke@cisco.com>
Subject: YANG versioning issue #48 (interpreting revision labels)

Hi all (and particularly Reshad and Joe),

wrt github issue #48:
https://github.com/netmod-wg/yang-ver-dt/issues/48

module-versioning says this:

   All revision labels that match the pattern for the "version"
   typedef in the ietf-yang-semver YANG module MUST be interpreted as
   YANG semantic version numbers.

yang-semver says this:

   Other version schemes MUST NOT use version strings that match this
   same pattern.  For example, they may choose to use leading characters
   to distinguish themselves from YANG semver.

I'd propose we remove that text from both documents. We've decided to use an extension to identify the revision-label scheme in use by a module.

But we should probably add this to module-versioning:

Although an extension is used to identify which revision-label scheme is in use by a YANG module, any new YANG revision-label schemes being proposed SHOULD try to avoid patterns that are very similar to other previously existing standardized schemes. Being able to identify a YANG revision-label scheme by looking at the revision-label value is a useful property.

Jason