Re: [Netmod-ver-dt] Balazs Review of draft-verdt-netmod-yang-semver-01

"Joe Clarke (jclarke)" <jclarke@cisco.com> Fri, 13 September 2019 13:55 UTC

Return-Path: <jclarke@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 ED17C120071 for <netmod-ver-dt@ietfa.amsl.com>; Fri, 13 Sep 2019 06:55:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, 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=B+3TlzUw; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=u9f1B7OW
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 a0rhHZ56SNXe for <netmod-ver-dt@ietfa.amsl.com>; Fri, 13 Sep 2019 06:55:01 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B2553120047 for <netmod-ver-dt@ietf.org>; Fri, 13 Sep 2019 06:55:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=25095; q=dns/txt; s=iport; t=1568382901; x=1569592501; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=NCBWcIDeBN/KB8rs6TGcuQXGRevou2YRW/eNFluA8pE=; b=B+3TlzUw6SG4YoCDn8xC4Ps4FfEoWyVVVg4cf9uM38vBxrZdARa4jg9b 0I3TNUcSwkbDougrIzbIx2o19ZpPuvyL5CTSFKOuzuRJPQJOunhr0qqaL FJsNxKmqkBkfO8ixce1/QvGo9BuI4z6BAjAGotZOfiZWdXKqOD5o2RS9G o=;
IronPort-PHdr: 9a23:NP9dcBRoo/sDDqW3N+goyLHZZtpsv++ubAcI9poqja5Pea2//pPkeVbS/uhpkESXBdfA8/wRje3QvuigQmEG7Zub+FE6OJ1XH15g640NmhA4RsuMCEn1NvnvOi4xGM1YV1JN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CbBQAOn3td/5BdJa1mHAEBAQQBAQcEAQGBZ4EWL1ADbVYgBAsqhCGDRwOKbZpMgUKBEANUCQEBAQwBARgBCgoCAQGDekUCF4JJIzgTAgMBAwIDAQEEAQEBAgEGBG2FLgyFSwIBAwEBEBEdAQEsCwEPAgEIPwMCAgIlCxQRAQEEDgUigwABgR1NAx0BAgyfLgKBOIhhc4Eygn0BAQWCR4I9GIIWAwaBNIUAhngYgUA/gREnH4JMPoJhAQGBLgESATYWgl4ygiaND4IxhSEkiHSNZG4KgiGUdxuCNIthinWmbQIEAgQFAg4BAQWBaSFncXAVOyoBgkFQEBSBToNyhRSFP3OBKYw6gkUBAQ
X-IronPort-AV: E=Sophos;i="5.64,501,1559520000"; d="scan'208,217";a="336916511"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 13 Sep 2019 13:55:00 +0000
Received: from XCH-ALN-008.cisco.com (xch-aln-008.cisco.com [173.36.7.18]) by rcdn-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id x8DDt01Z014703 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 13 Sep 2019 13:55:00 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-ALN-008.cisco.com (173.36.7.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 13 Sep 2019 08:55:00 -0500
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 13 Sep 2019 08:54:58 -0500
Received: from NAM03-DM3-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 13 Sep 2019 08:54:58 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FnZL8r6xE+cZyW9leR2r/lHl8bS3vifcuV+bJA2y48/nFO9MJYxtk4fBh1ErDqKzdHUBLxu08pUAoQzRmHLXFDn5tS+lF8PGWFlXgdD5KW0O8UMkA/4QJQj3g3vsdu5MymZn1ullOtOLzUlkU24AT+qk5s6xFSwk+HyfnQa4tDTxkuNkJY0yBMhRCZsaTCNCzdU2tEV7WwfYqIozAq+rUCfiTt4R1e2ddbT887p3/0iz7+IRSlmajXb/kupAFnrMZ2lrhnriis/1GiklQsacPFchx071wbpHti46kTD/4Qrg6SCz2a/7haXd4mEXt+KbbSC8E6GzTDsvxmINhe93og==
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=NCBWcIDeBN/KB8rs6TGcuQXGRevou2YRW/eNFluA8pE=; b=AMdlFKCJAOUlp8pgxgpqxTaECnli9WqdCVD72VMKvNa49N+14+44oHrxw4X4J7DUCu78VsSqY1E9jvjN3rnfABTkiymBNPhmaOZUR+QlkU5qOLIX1VszD5BMPB0SuNG6RPBmJDrR05HOHSt1bCTe0/2N9BGtFeLFrl/tMqHr6cbpLpJeoCHJy0snqxv19FBhq8aLra/FSvs7GFvkZPBJLOxicaJgay/ZttnLlVANp4yqKqER+rn3cGtTOdsQXITi3aaYk88P2/SijEWqOgycpBVui6uK4evaXdlRuOWetvD+71PnwRFNVWjhu0Ad7Ddf7PiRBfH3H5MeWku8/0DQEg==
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=NCBWcIDeBN/KB8rs6TGcuQXGRevou2YRW/eNFluA8pE=; b=u9f1B7OWb+DASqg41830MuPrNSn/aOn0puYguayAtP8LJIEsmPyqZ3xmAuqtqqO0bKlwI+739jrJ64/dvYQ9Zt9mGXFQG0DwbVl93zP/R96uQzBkIrFRTdL22HdJAq43H2XDMgCvNJ395lA/bIvbL0yAXHgMtJxrn/+5RzbJkm0=
Received: from DM6PR11MB3418.namprd11.prod.outlook.com (20.177.219.223) by DM6PR11MB4057.namprd11.prod.outlook.com (20.176.125.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.18; Fri, 13 Sep 2019 13:54:57 +0000
Received: from DM6PR11MB3418.namprd11.prod.outlook.com ([fe80::ddcd:cbad:9978:4c68]) by DM6PR11MB3418.namprd11.prod.outlook.com ([fe80::ddcd:cbad:9978:4c68%5]) with mapi id 15.20.2241.022; Fri, 13 Sep 2019 13:54:57 +0000
From: "Joe Clarke (jclarke)" <jclarke@cisco.com>
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
CC: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: [Netmod-ver-dt] Balazs Review of draft-verdt-netmod-yang-semver-01
Thread-Index: AdVqNKnthC5BjNxRS1GW8Oyeg5frcwABikwA
Date: Fri, 13 Sep 2019 13:54:57 +0000
Message-ID: <F822466C-939D-49E4-9C41-1E66A0B24B8F@cisco.com>
References: <VI1PR0701MB22860937DD03832F4B6CBF09F0B30@VI1PR0701MB2286.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR0701MB22860937DD03832F4B6CBF09F0B30@VI1PR0701MB2286.eurprd07.prod.outlook.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=jclarke@cisco.com;
x-originating-ip: [2600:1700:b00:b239:816f:dbed:f534:c683]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d6286df0-c2f9-4c32-be46-08d73851f678
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM6PR11MB4057;
x-ms-traffictypediagnostic: DM6PR11MB4057:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <DM6PR11MB40570A4E73262D6CBC8740B1B8B30@DM6PR11MB4057.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0159AC2B97
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(39860400002)(366004)(376002)(346002)(396003)(199004)(189003)(51914003)(6246003)(236005)(486006)(86362001)(5660300002)(6512007)(6116002)(478600001)(66446008)(66946007)(76116006)(25786009)(256004)(66556008)(966005)(66574012)(66476007)(2906002)(99286004)(316002)(606006)(64756008)(8936002)(8676002)(54896002)(14454004)(36756003)(7736002)(81156014)(71200400001)(71190400001)(81166006)(91956017)(229853002)(76176011)(11346002)(33656002)(446003)(476003)(6436002)(6506007)(6306002)(6486002)(46003)(186003)(102836004)(2616005)(4326008)(6916009)(53936002)(53546011); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB4057; H:DM6PR11MB3418.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: iX032H5m994Vk02BPPrIwTW/tlyBbCXdHxgF0dekZAfWazIkGfPuLGX+XUyJs2pJMSYLkzNxluR25tDrt/NvvKllCkyyxg3sXNco/BVbrBSKnLRlgOnfXCyPUfUK1xU1xEKsgKT1izJ7hOsy1bUnMDrhRRxv4QOUX1+rumQJT+VQtEY5UCZq6jKxFGCIPLmFHRFuz5ps7ew+TqrBmgo6pk0bTVYtlp8hf7FqCMw4/mbOIwOd3uiGRC/rsQf7aF6UyFFaYJ8Tmk942Eipr2Z0aduF5WiUg2Oa2s/ceTZgDwAnH+9EjEAYWEqTl9X6IkakMt7NXn/ThC022aT20OwxZR7Q7tsw84G5MMg8l4tG7aC1KjDHFPzMcFglfPwKUq6NJHtWqO5J6BZylTmklein1l6Nzz+lHXjeWPvb1yinR80=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_F822466C939D49E49C411E66A0B24B8Fciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: d6286df0-c2f9-4c32-be46-08d73851f678
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Sep 2019 13:54:57.3020 (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: Y9CUmfHRBZRXc33DEybOi3XJ0Az5OGZfSMaz1ziNmyumeCLqjwVArtNqsN7hHQ0EdmCDvR4b0KhL/Dzc2I+/aA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4057
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.18, xch-aln-008.cisco.com
X-Outbound-Node: rcdn-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/W0CJ88K74Zlq-UwlZjrwvO_ZJII>
Subject: Re: [Netmod-ver-dt] Balazs Review of draft-verdt-netmod-yang-semver-01
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: Fri, 13 Sep 2019 13:55:05 -0000


On Sep 13, 2019, at 09:34, Balázs Lengyel <balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>> wrote:

Hello Joe,
Some comments:
General: I would like this to be merged with module-versioning.

  *   I would like this to be main-stream. It may be optional, but it should be the single recommended scheme.

I like keeping this separate and having the label schemes modular.  This is especially true when you consider other consumers like packages.


  *
  *   Putting restrictions on “other” schemes that use the revision label can not be enforced. If they don’t support this draft/RFC they will never know what they are not allowed to do.

That’s fair.  This text is a restatement of what will also be in module-versioning, and may become just a reference to there.  If one uses the revision label concept, then, they would know that the semver pattern is reserved.


  *
  *   A YANG module with a single typedef looks really strange.

I agree, but maybe no more odd than a single extension statement.  We discussed perhaps making this part of the module version module, but since you have packages as consumers, breaking it out might be okay.  We saw similar things when they packed yang-data into RESTCONF.

I’ll review your inline changes as I make further changes to the text today.  Thanks for the review!

Joe


  *

After workgroup adoption I would raise this issue again.

Ch 1)
Add something like:
“The goal is to add a human readable version label that provides compatibility information for the module without comparing or parsing the module’s body.”
This is the whole reason to create this draft.

Ch 2. And General) We really need to give our versioning scheme a “name” and refer to it as such. I propose “yangver”.

Ch 3.1 paragraph after the bullets)
Do we need to specify different metadata  types? Or is this text directly from semver?

Reword as it is hard to understand:
Old text:
   Versioning schemes that are not this modified semver MUST NOT use
   this same version pattern.  Other schemes may, for example, use
   additional leading characters to distinguish them from this semantic
   versioning scheme.
New text:
   Other version schemes MUST use versioning strings that do not match the format and the pattern specified for yangver , e.g. use
   additional leading characters to distinguish them from yangver.

Ch 3.4.2) I have not read the package draft recently, but does this example imply that a package has a single revision-label? IMHO for each revision a description, reference and revision label is needed.

Ch 4) Shouldn’t we allow any BC version to be used for import even if it is not in the revision history.

Ch 5.) I would find a more descriptive name for the typedef e.g. yangver

Regards Balazs

--
Balazs Lengyel                    Senior Specialist                       Ericsson Hungary Ltd.
Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com<mailto:Balazs.Lengyel@ericsson.com>

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