[Netmod-ver-dt] FW: [netmod-wg/yang-ver-dt] 7d8c59: Updates to module versioning draft

"Rob Wilton (rwilton)" <rwilton@cisco.com> Wed, 18 September 2019 14:29 UTC

Return-Path: <rwilton@cisco.com>
X-Original-To: netmod-ver-dt@ietfa.amsl.com
Delivered-To: netmod-ver-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2853112081F for <netmod-ver-dt@ietfa.amsl.com>; Wed, 18 Sep 2019 07:29:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, 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=joPDfqav; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=apk7KO8x
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 M8Eb6tQyTcRf for <netmod-ver-dt@ietfa.amsl.com>; Wed, 18 Sep 2019 07:29:46 -0700 (PDT)
Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B4A3120811 for <netmod-ver-dt@ietf.org>; Wed, 18 Sep 2019 07:29:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3321; q=dns/txt; s=iport; t=1568816984; x=1570026584; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=3GeO+5IrTuEPb5A2xNzNHriCZeUZpIxc6BQDIndNxaI=; b=joPDfqavLdeXclvmdKWVAAAbGu9fzbjdhCdZhCv2GbwV1EaltE/dAZqM lU0pB9c33G/0+hwdys/w7lrz4Z/Nobz/c+DjPf3Ygfm9AlMLC0jQHtbg4 Kh5oQ+NGmDil5XE3GLoBWnk3AI5dld5Kym0t8H1/AeNRz3x9kJl6LKnCR U=;
IronPort-PHdr: 9a23:Dz3+2hI0sNDRNQ4SodmcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeBvad2lFGcW4Ld5roEkOfQv636EU04qZea+DFnEtRXUgMdz8AfngguGsmAXFfkLfr2aCoSF8VZX1gj9Ha+YgBY
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0A0AQAaPoJd/4UNJK1mHQEBBQEHBQGBVQYBCwGBRFADbVYgBAsqCodfA4p4TYIPl3OBLoEkA1QJAQEBDAEBGA8GAgEBg3pFAoMDIzYHDgIDCQEBBAEBAQIBBQRthS0BC4VKAQEBAQMBARAoBgEBLAQICwQCAQgRAwEBAR8QJwsbAQEFAwIEEwgagwGBagMdAQIMpTUCgTiIYYIlgn0BAQWBMwGDVBiCFwMGgTQBjAgYgUA/gRFGgkw+gmEBAQKBYYM7giaMc6AOCoIihwWOGpkhjhCID5B7AgQCBAUCDgEBBYFZBiuBWHAVO4JsUBAUgU44gzqFFIU/cwqBH44qAYEiAQE
X-IronPort-AV: E=Sophos;i="5.64,520,1559520000"; d="scan'208";a="633184886"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 18 Sep 2019 14:29:43 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by alln-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id x8IEThT6015951 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <netmod-ver-dt@ietf.org>; Wed, 18 Sep 2019 14:29:43 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.1473.3; Wed, 18 Sep 2019 09:29:43 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 18 Sep 2019 09:29:42 -0500
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 18 Sep 2019 09:29:42 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g/Xc6+hb8wxcMtXNF9AS7dZfxrUlg2+SBirvDqgOI469l818GYrR0N9MJ+51/XO6VRB9qoGE+gKcApFgw+YxjRf0otJ+KMELaAyfAz4ZDf4Mxr/v4To1OBqqfNNWWIrx7XT69n8fHHSicdIyLs3X4zvA4U+1u7WTphFipHymwwBtEHnOaoAc8ubEIjEOWHgatOGbIrgR8nsdmVmA7yPXLDVWGijzYgnd4qmp5GUs/ouJkd1o1WaSw7d0ol4hpoUzO+/itvpGy9v1X2vCOBxF8fFkBSdKMvKBkr4uch/kOt+baX8zfwn7HTWyiovsbRhEz22wKlC9zSoabC12pH/zvg==
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=SJospPfkvCuumHfQ36CiZa4OGBYX9NrRyAfOj3f7p20=; b=CEdJ4gZl3fQYOg1UKvkxGB49ugK+E+gEmNlnoiltTdZIHsN3bVKtXoOZvvf297sk7RCefg6veuI4pAbfzbqZhmACKgCPpIM0zslI05qRpAHA6VwotbEhrMI11lw0BE6OYBoOKhuLcpf+HvUBTfLUFBUJzTQQOyBtPfzOUtzh3Z6vtaKKt78W1lGDcaqCEBtsBhbGh0H++nLqb9R12mscpgV/vRp+OSjMgIxmPASnM0tocsFpuKuQMbsYFAX8S0RuyyFiA1i8qArr0JZXaxWNQOOaU77rZYX7XmtldagQNhN5hIf7Kbs0iNM24KuMXmkCKRqYn/l7sQLEo11ihtgFIQ==
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=SJospPfkvCuumHfQ36CiZa4OGBYX9NrRyAfOj3f7p20=; b=apk7KO8x7VmnJqoU+BvbAEW4WfiHxTGrgmAu14EIUwn/xGnhCh34Xq3FRPFXbncrel5ps9u8RAhXWnvjQwsOT305RbcYfTCREF0xRiuEshQsdHajXckqEYXmW+JMwJz2jzkZQlnzfNJ5bNtgqhMBQyBZh1PVrmMMo69ek7JnEoc=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (52.135.38.209) by MN2PR11MB4031.namprd11.prod.outlook.com (10.255.181.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.17; Wed, 18 Sep 2019 14:29:41 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::6db3:f4c:467b:30f6]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::6db3:f4c:467b:30f6%7]) with mapi id 15.20.2263.023; Wed, 18 Sep 2019 14:29:40 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] [netmod-wg/yang-ver-dt] 7d8c59: Updates to module versioning draft
Thread-Index: AQHVbipH7oGOmUpEekCBDuaCv7k6sacxeaiA
Date: Wed, 18 Sep 2019 14:29:40 +0000
Message-ID: <MN2PR11MB4366BFAA4FD5AF8C0A6ECC53B58E0@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <netmod-wg/yang-ver-dt/push/refs/heads/develop/638aa5-7d8c59@github.com>
In-Reply-To: <netmod-wg/yang-ver-dt/push/refs/heads/develop/638aa5-7d8c59@github.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rwilton@cisco.com;
x-originating-ip: [173.38.220.61]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ac409ed2-5528-4297-d8e6-08d73c44a468
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR11MB4031;
x-ms-traffictypediagnostic: MN2PR11MB4031:
x-ms-exchange-purlcount: 4
x-microsoft-antispam-prvs: <MN2PR11MB403157C7D4C40B6256B032A3B58E0@MN2PR11MB4031.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 01644DCF4A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(396003)(346002)(366004)(136003)(376002)(189003)(199004)(53754006)(13464003)(316002)(478600001)(8936002)(14454004)(2351001)(305945005)(3846002)(7736002)(256004)(86362001)(486006)(5660300002)(11346002)(2501003)(446003)(74316002)(2906002)(476003)(6116002)(99286004)(15650500001)(66066001)(53546011)(186003)(25786009)(6506007)(9686003)(7696005)(26005)(6916009)(8676002)(76176011)(52536014)(5640700003)(33656002)(2473003)(102836004)(71190400001)(81166006)(229853002)(66446008)(66556008)(66476007)(66946007)(966005)(71200400001)(6436002)(55016002)(81156014)(76116006)(6306002)(64756008)(21314003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4031; H:MN2PR11MB4366.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 7bltcTpmWs9GhhtsF4ZhaZFPzGRUFvcm9IiVtRi0MiNYTlcNoFK3np5l/JAmeO4UADVqKuaKDCvDkv0VggZ+HAC+fHl4Y+phElJ9lcDc4VliuETkjQx+QO5SN9CE/LeBD9QYkNFzYca4JrIezyCWPZPQ4CCYqu0qzQjJzJXEx26FncoIpiIfkJozZFjObTWkF3JxjKKmIcsWnjJpAZpqi0GbJIx5qHGTqn8IvqWE74p4nhnb0hxP1UvD2NrYCQSK6du98xiP9tD+vqZrNWT4TpPIUZhPlORs++qHVk/SY2pkvD0ea+tnxQ46MwVCTDmZn/Mq7xevH48l29Ss/rqTwtbpFU3ZW4lfwBeh5s5A5A9o0gZWdsoA2TWHJSPjTz8K4kDYSpOvM7MUJEPf9pblOJenw/pjyA9inTfo1co3rgM=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: ac409ed2-5528-4297-d8e6-08d73c44a468
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2019 14:29:40.8852 (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: mRo0lPwkK14hMdWEsBykTsG3Xmw2q7d3y4xdU/CBPJVY370GSTgf6SldClQZ1FEY/9p4dEYt73RCJw/9DHCpww==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4031
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.13, xch-aln-003.cisco.com
X-Outbound-Node: alln-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/R1cT8HmixMJU7Dlq-OnekXoj7zE>
Subject: [Netmod-ver-dt] FW: [netmod-wg/yang-ver-dt] 7d8c59: Updates to module versioning draft
X-BeenThere: netmod-ver-dt@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NetMod WG YANG Model Versioning Design Team <netmod-ver-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod-ver-dt>, <mailto:netmod-ver-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod-ver-dt/>
List-Post: <mailto:netmod-ver-dt@ietf.org>
List-Help: <mailto:netmod-ver-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod-ver-dt>, <mailto:netmod-ver-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Sep 2019 14:29:49 -0000

Hi All,

As promised, some updates to the YANG module versioning draft.  Balazs, does this alleviate some of your concerns regarding scope of the YANG semver draft and its scope?

https://github.com/netmod-wg/yang-ver-dt/commit/7d8c5939c690fd4361d6df7d3f38837033db6a65#diff-0206db30260581b3a629ee924d97c7f8

1. Added the following text to revision label to indicate relationship to YANG semver:

   YANG Semver [XXX verdt-netmod-yang-semver] defines a versioning
   scheme based on Semver 2.0.0 [semver] that can be used as a revision
   label.  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.

2. Changes revision label examples to be unquoted strings, e.g. 3.1.0 rather than "3.1.0"
3. Slightly restructured the YANG library section and added a tree diagram for the YL augmentations.
4. Added the following text to the section 7.1, Guidelines:

   All IETF YANG modules MUST include revision-label statements for all
   newly published YANG modules, and all newly published revisions of
   existing YANG modules.  The revision-label MUST take the form of a
   YANG semantic version number [XXX verdt-netmod-yang-versioning].

5. Use RFC6991bis for definition of revision-date rather than redefining it.
6. Fixed module boilerplate text.
7. Changed the typedef definition from "label-string" to "revision-label"

8. Added the following text to "revision label" typedef to explain that if it looks like a YANG semver version then it MUST be treated as a YANG semver version:

          Revision labels that classify as YANG semantic versions,
          as defined by the ietf-yang-semver:version typedef,
          MUST conform to the versioning behaviour defined in
          XXXX [verdt]: YANG Semantic Versioning.";

9. Beefed up the references in the module
10. Added a YANG semver number to ietf-yl-revisions.yang.  I.e. eat your own dog food.  I don't think that we can do this for ietf-yang-revisions.yang because it would be a slightly circular use of an extension.

Everyone happy with these changes?

Thanks,
Rob


-----Original Message-----
From: Netmod-ver-dt <netmod-ver-dt-bounces@ietf.org> On Behalf Of Robert Wilton
Sent: 18 September 2019 15:06
To: netmod-ver-dt@ietf.org
Subject: [Netmod-ver-dt] [netmod-wg/yang-ver-dt] 7d8c59: Updates to module versioning draft

  Branch: refs/heads/develop
  Home:   https://github.com/netmod-wg/yang-ver-dt
  Commit: 7d8c5939c690fd4361d6df7d3f38837033db6a65
      https://github.com/netmod-wg/yang-ver-dt/commit/7d8c5939c690fd4361d6df7d3f38837033db6a65
  Author: rwilton <rwilton@cisco.com>
  Date:   2019-09-18 (Wed, 18 Sep 2019)

  Changed paths:
    M yang-mod-ver/draft-verdt-netmod-yang-module-versioning.txt
    M yang-mod-ver/draft-verdt-netmod-yang-module-versioning.xml
    M yang-mod-ver/ietf-yang-revisions.yang
    A yang-mod-ver/ietf-yang-types@2019-07-21.yang
    M yang-mod-ver/ietf-yl-revisions.yang

  Log Message:
  -----------
  Updates to module versioning draft


_______________________________________________
Netmod-ver-dt mailing list
Netmod-ver-dt@ietf.org
https://www.ietf.org/mailman/listinfo/netmod-ver-dt