[Netmod-ver-dt] comments on yang-module-versioning (June 10 version)

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

Return-Path: <jason.sterne@nokia.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 A713A120145 for <netmod-ver-dt@ietfa.amsl.com>; Tue, 11 Jun 2019 11:22:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] 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 hfY2-pfuC6HS for <netmod-ver-dt@ietfa.amsl.com>; Tue, 11 Jun 2019 11:22:46 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0724.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe02::724]) (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 654DE120141 for <netmod-ver-dt@ietf.org>; Tue, 11 Jun 2019 11:22:46 -0700 (PDT)
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=lidjDQngyy7cKFqMGyblUQzgwjpH095YiRk/YJSB+3E=; b=ljB7Gef8C8YF7g4OtmaACa/G88XQI63j8hwjNKcTjLYM1MYhvd6uLpy93PX8yw2yK7bc3Y3iWcj0Adnm5lw9txhUUUA0CMl3Vt51Wkh+Fz+OD07qoL6CKL5+9VfEIAATLnKkMATBlRB40+PIjt8goF+m95Nn8QnQ0+rTg/7kE1A=
Received: from VI1PR07MB3981.eurprd07.prod.outlook.com (52.134.28.141) by VI1PR07MB5453.eurprd07.prod.outlook.com (20.178.14.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.7; Tue, 11 Jun 2019 18:22:43 +0000
Received: from VI1PR07MB3981.eurprd07.prod.outlook.com ([fe80::25cb:d0f3:dd14:3b68]) by VI1PR07MB3981.eurprd07.prod.outlook.com ([fe80::25cb:d0f3:dd14:3b68%6]) with mapi id 15.20.1987.010; Tue, 11 Jun 2019 18:22:43 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: "netmod-ver-dt@ietf.org" <netmod-ver-dt@ietf.org>
Thread-Topic: comments on yang-module-versioning (June 10 version)
Thread-Index: AdUgYBpzpQrR2d7FTc2waIsru+DpQw==
Date: Tue, 11 Jun 2019 18:22:43 +0000
Message-ID: <VI1PR07MB398112F48D0CA7F4312F0AA99BED0@VI1PR07MB3981.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=jason.sterne@nokia.com;
x-originating-ip: [135.245.20.13]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 450efbde-40d1-4f4a-1cf0-08d6ee99cbf6
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VI1PR07MB5453;
x-ms-traffictypediagnostic: VI1PR07MB5453:
x-microsoft-antispam-prvs: <VI1PR07MB5453E5DF85D49C66A8C6B3679BED0@VI1PR07MB5453.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 006546F32A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(376002)(346002)(366004)(136003)(189003)(199004)(6436002)(3846002)(6916009)(6116002)(2501003)(25786009)(6306002)(790700001)(316002)(86362001)(74316002)(476003)(486006)(55016002)(26005)(2351001)(5640700003)(71200400001)(71190400001)(68736007)(5660300002)(19627405001)(54896002)(9686003)(8676002)(76116006)(33656002)(73956011)(102836004)(7736002)(2906002)(14454004)(52536014)(66556008)(81156014)(53936002)(66476007)(66446008)(81166006)(478600001)(64756008)(99286004)(66946007)(8936002)(66066001)(14444005)(256004)(7696005)(186003)(6506007); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB5453; H:VI1PR07MB3981.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: hgV2RfIPB37i2lDVjBvt8Hd7Ab67dE2NDTPV4qrXYPgc2i5xyvMm2Ruq3pbq9MuCMlXp52NQ+6wRYEPszS5Q6kU1uYQnrspzZTZZLl1jt9kgaiTBT5W4eiYpPuw4fXhkZukLwjPMY+1Ibz95/2HmufzZjo9Lx1HTfUabkZ3vUz3F9zLaI6QFy5aWLbDD8zgHOdLzLQY7jwxYfpd3zEkIHOVaQT5Rq+Amd7uMahTw2aMU7ZsWEnX/h6Li+YrvrLO0U2HWF0NwvdZC0efuMeoWThZjv60+B0vOJ9v19VsdcpitI8OCuLkOmMg/pfbGOCIX3WjUvoQ0G98s93vD4LGYYbIDuAthTyHOUIOpSMl//iBCbfqAHVUcPatNACqn6nb+1tiRKzx9VpiH5mpbErQtQm71dczq0rBISGTLJjvc8xw=
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB398112F48D0CA7F4312F0AA99BED0VI1PR07MB3981eurp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 450efbde-40d1-4f4a-1cf0-08d6ee99cbf6
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2019 18:22:43.7425 (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: jason.sterne@nokia.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB5453
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod-ver-dt/dbIogEqYaBAtDuYqWAfJYpzlmWw>
Subject: [Netmod-ver-dt] comments on yang-module-versioning (June 10 version)
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: Tue, 11 Jun 2019 18:22:51 -0000

Hi guys,

A few comments on draft-verdt-netmod-yang-module-versioning.txt (June 10th version).

(A) instance data
Section 6 (instance data) mentions that instance data specifies the content-schema. And then says that the schema should make use of versioning.

But don't we need the instance data file to specify which version of the content-schema the data-set is associated with?

For example: imagine we have a bgp module with versions 1,2 and 3.  An instance data file will indicate that the data is associated with the bgp module. But must it not also say that the data is associated with version 2 of the bgp module?

(B)
Add 's' to the end of 'modification' here:
This document updates [RFC7950]. Section 3 describes modification to

(C)
Replace this:
    This document updates [RFC8407]. Section 7 provides guidelines on

    managing the lifecycle of YANG modules once non-backwards-compatible
   changes and a branched revision history are allowed.
with this:
       This document updates [RFC8407].  Section 7 provides guidelines on managing the lifecycle of YANG modules that may contain non-backwards-compatible changes and a branched revision history.
(i.e. get rid of "allowed")

(D)
Get rid of uses of BC and NBC before they are introduced in section 2.  *or* introduce the acronym somewhere above my putting it in brackets after the full term e.g.   non-backwards-compatible (NBC)

(E)
In section 3 we say "if a module includes submodule then it MUST specify the exact revision-date, or revision-label, of the included submodules".  I'm doubtful we should put this as a MUST.  I believe we said that *if* submodules have a label, then it must be the same as the module's revision-label (note - I don't think we can/should mandate that for revision, i.e. the current YANG 1.1 date based 'revision').  But I'm not sure why we'd require an exact revision-label (and definitely not revision-date) for includes of submodules. That would be problematic for Nokia if it applied to the current date based revision (currently YANG allows different revision dates on submodules and we have different dev teams working on different submodules with their own dates).

(F)
This is too strong on the use of "allow" IMO:

[RFC7950] chapter 11 requires that all updates to a YANG module are
   BC to the previous revision of the module.  This document allows for
   more flexible evolution of YANG modules: NBC changes between module
   revisions are allowed and are documented using a new "nbc-changes"
   extension statement in the module revision history.

How about this?

[RFC7950] chapter 11 requires that all updates to a YANG module are BC to the previous revision of the module and there is no ability to indicate when an NBC change has occurred. This document provides a method for documenting NBC changes between module revisions using a new "nbc-changes" extension statement in the module revision history.

(G)
Section 3.1.1.  Drop the word 'allowable' from this sentence:
The following statements update [RFC7950] chapter 11 to define what
   constitutes an allowable backwards-compatible change to a YANG
module:

(H)
Section 3.3 says that a submodule must have the same date & label *if* a label is used. I'm wondering if we should remove the part about date.
In any case, we should allow a submodule that does *not* have labels, to continue to use different dates than the module (as is allowed today).

(I)
section 4.1.  Do we really want to repeat the same figure here again?  Maybe just ref back?

(J)
section 4.1.  I got confused between the text and the examples (which text applies to which examples). Can we put them each into a subsection?

(K)
remove the comma between 'set' and 'may' here:
In this way, the versioning of a content-schema associated with an instance data set, may help a client

Jason