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

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Mon, 22 June 2020 19:25 UTC

Return-Path: <rrahman@cisco.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 B7F563A07EC for <netmod@ietfa.amsl.com>; Mon, 22 Jun 2020 12:25:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=b4lbmccd; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=qmVe6qbT
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 6LEMcnGY0_l8 for <netmod@ietfa.amsl.com>; Mon, 22 Jun 2020 12:25:40 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 18DB53A07D8 for <netmod@ietf.org>; Mon, 22 Jun 2020 12:25:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11319; q=dns/txt; s=iport; t=1592853940; x=1594063540; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=+dxuK7ZbOpFF0CkDA6cdOHBK8K0W8lKay8+Lji/oNZo=; b=b4lbmccdHP8HdtHJSJLM2niOJ1N6Bm2k8Tcur/OTBc6AIJxeSS1g5JCX yMq/L1FzUfn25vAf1y40qlz5t8k9u/I5df2jOF+Ex9OwTsknA+OzjkCM3 J+8Kbi8O0TLJrHtd/nKi0grVmd7+X5VQKV2G4dtfzg6qVOySq6yCIRCAe g=;
IronPort-PHdr: =?us-ascii?q?9a23=3AcoamoBGmE6G8R71l07ZH4J1GYnJ96bzpIg4Y7I?= =?us-ascii?q?YmgLtSc6Oluo7vJ1Hb+e401QObW4LY6vsCgO3T4OjsWm0FtJCGtn1KMJlBTA?= =?us-ascii?q?QMhshemQs8SNWEBkv2IL+PDWQ6Ec1OWUUj8yS9Nk5YS8D5ZFzb5Ha16G1aFh?= =?us-ascii?q?D2LwEgIOPzF8bbhNi20Obn/ZrVbk1IiTOxbKk0Ig+xqFDat9Idhs1pLaNixw?= =?us-ascii?q?=3D=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AZBgDxBPFe/5tdJa1cChwBAQEBAQE?= =?us-ascii?q?HAQESAQEEBAEBggqBIy9RB29YLywKhBqDRgONHyWTbIRoglIDVQsBAQEMAQE?= =?us-ascii?q?jCgIEAQGERwIXghQCJDgTAgMBAQsBAQUBAQECAQYEbYVbDIVyAQEBAQMSER0?= =?us-ascii?q?BATgPAgEIEQMBAQErAgICMB0IAQEEARIigwQBgX5NAy4BDqwIAoE5iGF2gTK?= =?us-ascii?q?DAQEBBYVRGIIOAwaBOIJnhXmEAxqBQT+BEScMEIJNPoJcAoEyTQ2CZzOCLY5?= =?us-ascii?q?2gzOGOospj0mBAgqCWohCkGcDHZ57kSuKFZQzAgQCBAUCDgEBBYFqIoFWcBV?= =?us-ascii?q?lAYI+UBcCDY4eg3GKVnQ3AgYBBwEBAwl8jnsBgRABAQ?=
X-IronPort-AV: E=Sophos;i="5.75,268,1589241600"; d="scan'208,217";a="530022497"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 22 Jun 2020 19:25:39 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 05MJPdBF018370 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 22 Jun 2020 19:25:39 GMT
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 22 Jun 2020 14:25:38 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 22 Jun 2020 14:25:38 -0500
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 22 Jun 2020 14:25:38 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fuBpWo6a70SQW9CUEjsyTWZzLTK+9BPSjtFh/wg82Tjt2afzqga4m+mfMC+RazvTe+xCinr4/HX8nUH+CnuCz7xrrzioif78hmNTWS7+tDFc9ktMoLuz5IBbE5dpc19Dgdqo6K+VD1fLbw2iXTP5EbJVVXCojqKQg90QjDFFuYkGnGydI+bG43thtIrnK2CsuEPy8BWa2FxrT04B3O5ryk3eOfeJhgeHSG6b7YZHYevObC9ZNxCuVVQl6wjkT9O+dHJe39jyw+OKOr8PpUmLJwOYCls++eUc3R/as5u1W8otJYDpDLNgxzD+jEIOEusrmCNE/HppDmA5mPVYyQITgw==
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=+dxuK7ZbOpFF0CkDA6cdOHBK8K0W8lKay8+Lji/oNZo=; b=SzOvglJ6KbZE7pIjU39CxgvFDodsVblrKcfsQbjeYZ1k5DlF9MH1k06auMuLi8dXp3xsAXLP6/15methU5STFon39M0fWtNjUVAFfzBZixS+TnYyYQ5VGVykplyUfJa+vItPy6niYymHhXp9kcc154sH6eqylifSregd5VCwbzcvw+CXILwUbE4+bzwWq4h04po4x7auEV7D/rZY/0ltDnMqZpP3Jagd0c2fq0kasjqdtqH90bTbEWQcy0cQTqHIrVU4QjZ73OHZGA9s1MW08cy6wN1Yx6hmliPjNovnWmKG36gqX5/jQwv5c4wRmUPcAmZbrU3z4rQpvOZZkpzKzA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+dxuK7ZbOpFF0CkDA6cdOHBK8K0W8lKay8+Lji/oNZo=; b=qmVe6qbT06iu9t965VZnY7v21iAFalaPj65L5IeuJPXSNzk7ZiFEvtgJgKJaVpr0j6BEthO9AoPiMna5Nud4K7EkJbuBoz3zo05Sxvot9fe/+PAm8TriWEyFpDbN/zQxVM6mDHZr15lrKiAd8B9dRsKyOSJ5457VCvmiBIIsGE4=
Received: from BN6PR11MB3875.namprd11.prod.outlook.com (2603:10b6:405:80::37) by BN6PR11MB1523.namprd11.prod.outlook.com (2603:10b6:405:10::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.21; Mon, 22 Jun 2020 19:25:37 +0000
Received: from BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::3076:a505:335e:a8ff]) by BN6PR11MB3875.namprd11.prod.outlook.com ([fe80::3076:a505:335e:a8ff%6]) with mapi id 15.20.3109.027; Mon, 22 Jun 2020 19:25:37 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.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///T24A=
Date: Mon, 22 Jun 2020 19:25:37 +0000
Message-ID: <CD16C7C9-A496-4697-9998-9DA20C6A6678@cisco.com>
References: <DM5PR08MB2633D05106D67BA0130BE4059B970@DM5PR08MB2633.namprd08.prod.outlook.com> <DM5PR08MB263344671E98D5DCCCA88F159B970@DM5PR08MB2633.namprd08.prod.outlook.com>
In-Reply-To: <DM5PR08MB263344671E98D5DCCCA88F159B970@DM5PR08MB2633.namprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.37.20051002
authentication-results: nokia.com; dkim=none (message not signed) header.d=none;nokia.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [142.113.229.50]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d387b3fc-c750-4829-c90f-08d816e20ae9
x-ms-traffictypediagnostic: BN6PR11MB1523:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <BN6PR11MB1523F643F6A9CF8BF9AF4037AB970@BN6PR11MB1523.namprd11.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: EI7xoqI6roRxVVVBfpSS1+EwGMy80TY0VNftPUVbq/gohIbW0Owu4MbN2dL6NC373VWGqrFRWNJz6Pqezw2axnGLRjcYvuSeVBZKtRMzZ1iwA/WPL2Pxuhh9oUn/am5j/1vxNpYyZnHUiWfXh7f6rMBHkNbgBkEaVGHUroBm2f9dl4IcrdM1ccX44wRVM4kY95zLOKdMJq99tJ9PzYO5B8IZVgbNod0aK2tji/vD0I6PrpolWDbis+DL6WmvLcu3buCX1dXcOt/XvrQiycD9rRRY2ncDxTtFLaq/DtE/3jyq0Z5c8o70WLq1etpwTPbd382p47sWhDGOej0hc8CmLKCR4IqfghPwn59Zrw13i2MuCULCLpo2xKf6I8kUjKxKA4wqUhvte5b3kDGC0s4nrw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB3875.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(39860400002)(136003)(396003)(376002)(346002)(110136005)(6512007)(966005)(478600001)(6486002)(166002)(296002)(36756003)(186003)(26005)(6506007)(53546011)(33656002)(316002)(2616005)(2906002)(86362001)(91956017)(66476007)(66446008)(66946007)(8936002)(8676002)(5660300002)(71200400001)(76116006)(66556008)(64756008); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: Z42X8YOM0VNEdAJ2z58udJjHq468MuUPhkPXDOG5iO7xf6w7b2vfXUpPw533qHLtfz8Im1nE78NvuNZbkp8zsuTRT10ktZxKENWPdo9jSywvquPPZWobS6KUMgHgrHnPlxQxs5XSYONECcjyI4Wn2ms8MHQ2S3zp7M3e7tK200gPrzK3h1vhCQyO3ufhLZGgNFdu/FkADi+AI2QCXovA3qX0NihoJ9sdvKXspsJkGUlk6g9es92h7fSfOuLA9qziAN2WsT3892eR9MaziOacNjbXRXNdL7ANv55ELKbrQIPPByTjI/qNXpUVcls5+wgdCpgbsYWe3ZGSYYYvWFlMC5KQclq0vOmDpCQylFiv9sCkBga2WBTFRGrUhbyiGuS+joiQJzUawjpQJgWtvhNNMigN+Lt6GfBcENOPHQvXMZocBxmYGaIkQQ/L1sBROeo/8tYcCIUw0T3B5n5nvsBNiSJ+0O1wHCvLPBR01to6LxbQM+b2vrnihBEFRAVWF8jb
Content-Type: multipart/alternative; boundary="_000_CD16C7C9A496469799989DA20C6A6678ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: d387b3fc-c750-4829-c90f-08d816e20ae9
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jun 2020 19:25:37.1910 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: uxTY5BLGJ+10118WW4oe7Gml+98aK2Pagi1O8xmw96kQQpl3x6UDVpEw3mffP5Z5IzVZ1xmZhyMsMh+4g9cv5w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1523
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.13, xch-aln-003.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/hTOa8GJBeC3viSQD83gTXgchSuk>
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 19:25:42 -0000

From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
Date: Monday, June 22, 2020 at 2:04 PM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "Joe Clarke (jclarke)" <jclarke@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Subject: RE: YANG versioning issue #48 (interpreting revision labels)

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.

<RR> Yes we had agreed to remove the above.

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.
<RR> Let’s discuss in tomorrow’s weekly meeting. Not sure yet this is the right recommendation.

Regards,
Reshad.

Jason