Re: [netmod] versioning procedures (RFC vs. I-D)

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Thu, 02 April 2020 14:46 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 5DC663A13C6 for <netmod@ietfa.amsl.com>; Thu, 2 Apr 2020 07:46:35 -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_H3=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=lbiouOI0; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=EXDlMOdV
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 4SGKh_5jBcaA for <netmod@ietfa.amsl.com>; Thu, 2 Apr 2020 07:46:32 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0585E3A13C2 for <netmod@ietf.org>; Thu, 2 Apr 2020 07:46:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=96027; q=dns/txt; s=iport; t=1585838791; x=1587048391; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=Krg2optgvnQjc/nWArM/3Pe/UOWP2evaa+XWqP6tCwY=; b=lbiouOI0898gYB4/PWU/N/rrx63AHCfUKSZF6TSXI21abqI6kVWsxh1X SQtgzHRJCZq04lyMZXE5La+gNokiR3sINTBicEB7AR3QS5HvIuScOXFXx zIG51bZxc/jodbLmdqNFGFeACNF6V/Sgmlp4Bk/iS4dxsa0z54oa5bSdd Q=;
X-Files: image001.png : 38863
IronPort-PHdr: 9a23:e9n9ghPN8ZmkHlqIgVol6mtXPHoupqn0MwgJ65Eul7NJdOG58o//OFDEu60/l0fHCIPc7f8My/HbtaztQyQh2d6AqzhDFf4ETBoZkYMTlg0kDtSCDBjhNvfqaiU8NM9DT1RiuXq8NBsdFQ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DPAgBS+oVe/5FdJa1mGwEBAQEBAQEFAQEBEQEBAwMBAQGBe4ElLyknBWxYIAQLKgqEEYNFA4pmgl+HSo5IggyBQoEQA1QDBwEBAQkBAgEBLQIEAQGERAIXgiokOBMCAwEBCwEBBQEBAQIBBQRthVYMhXABAQEBAgEFAQwRAggBEgEBMAcBBAsCAQgRAwEBAQEFAQEBGAEGAwICAgUQAQ4MFAkIAgQOBAEGCBEDgwQBgksDDiABpEQCgTmIYnWBMoJ/AQEFhT0YggUHCYE4gwyEKoNcgR8agUE/JoESIIJNPoQZAQsHAQkmCQkMCgKCWjKCLI1vSYJKhX2BKokGhTCCc4c0CoI9hj4CkFsdgkyINZBxjWadWQIEAgQFAg4BAQWBaSIqPXBwFWUBgj5QGA2LP4JeDBeBBAECgkmKVXSBKYtbgTMBgQ8BAQ
X-IronPort-AV: E=Sophos;i="5.72,336,1580774400"; d="png'150?scan'150,208,217,150";a="752155851"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 02 Apr 2020 14:46:30 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by rcdn-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id 032EkTnO028021 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 2 Apr 2020 14:46:30 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 2 Apr 2020 09:46:29 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 2 Apr 2020 09:46:29 -0500
Received: from NAM02-CY1-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.1497.2 via Frontend Transport; Thu, 2 Apr 2020 09:46:29 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mVAVYwivz6K5DkGl13Q0kI2Yg41hACbvXBjgE7uPdLiqeNG5ThqDmiW3BFf/Kj1yUycDx8fRZrbPRahDTyLrhiwtws5RdiCBrQTie4S4RVnI+oOxx2Ffbd+/VtKasQTqZsvS7zY432rMJLCjCh2H72G4XpJw1qwF8rKWEgZxDtComcm5fx1yAzQ1TLDlnHQtm3Hc8sRD41wmm/EQw9bzqMbMqxbEFBJqF5lNzGPTtjK/cNonGTAqPg1DjVsm92dxSyp0Ixb4wePVT74GLwCrBSc34IA3nlJigFfBPgJZF7MuNT/sQYktM/dTKzcLBx1EpKxsNfZN0WFhBWnfqpUS5g==
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=B6PHGlThVYD36QBS+Fr8NuCpNLBkkSGpLwY9ttOxqjw=; b=BenJM+RBsTCEB8De4RO+HZVaWx4PcnpYOKaM0l1xqZJlu3124tjF1WENwCKlXdMc0wfpEA7J0Hb4CVz7VzS+jcXCz8F/EXAfST1ZQDofU17GboJXMaCtv+6GzOtsFRgyamTdnX5Yavvldt+g2ErhwtkbdskdEapHKzbzXAXRTqh3KNFZ3OfRE20L5wswUL91kDFtFKlxhvg8aBFxSk0O3GLWjP+7l9JEbrLFryEt3e9ZKT5gtm1oo4DYxVhL9swL+csLpwXhBHiJWmuwUc3NGrkjQCNg79bw2pfDcOJTxJtUVOu+3AQvOWrjX3aqRO7hbooPTURW4t3yRlx6XnC/tw==
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=B6PHGlThVYD36QBS+Fr8NuCpNLBkkSGpLwY9ttOxqjw=; b=EXDlMOdV1VeQM0YULQpfU4IFunOHetfT0Yrpm3/ntCHLWTjlpJaa7Cd3Ur5lE152hsQdsI2eJNLE3L1aMdqVyMNq/PR5WVhfJ23StEparjjPcLVUQg8h2JYg+WDHA1ggFQKz2jwMIg6iFIy+yiI0tcW93MiCEGXiXgC27HVoKZQ=
Received: from BN6PR11MB1748.namprd11.prod.outlook.com (2603:10b6:404:101::12) by BN6PR11MB3905.namprd11.prod.outlook.com (2603:10b6:405:82::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Thu, 2 Apr 2020 14:46:24 +0000
Received: from BN6PR11MB1748.namprd11.prod.outlook.com ([fe80::d1f9:733e:e200:f972]) by BN6PR11MB1748.namprd11.prod.outlook.com ([fe80::d1f9:733e:e200:f972%6]) with mapi id 15.20.2878.016; Thu, 2 Apr 2020 14:46:24 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Andy Bierman <andy@yumaworks.com>
CC: Italo Busi <Italo.Busi@huawei.com>, "Joe Clarke (jclarke)" <jclarke@cisco.com>, NetMod WG <netmod@ietf.org>
Thread-Topic: [netmod] versioning procedures (RFC vs. I-D)
Thread-Index: AQHWCEsdhK7pv7UtbUSphpF+AjGnn6hkiBIAgAAIEID//76sAIABPIGA///gAQCAAHlfAP//wp+A
Date: Thu, 02 Apr 2020 14:46:24 +0000
Message-ID: <B9DDE091-36C7-4E83-B20C-352E3C111151@cisco.com>
References: <CABCOCHQWssUucRvnsi8O8+GhCHb0-xS--swf3R4q-6P3Qfq0TA@mail.gmail.com> <D63416FC-2C33-4015-BF23-51ABCD75A020@cisco.com> <CABCOCHSTnYJbB9ainkmCuBinjRZAi-wEWgQoFCrhs+m8NBAAYQ@mail.gmail.com> <50052092-0380-44C6-8AE0-1AB3C15C30B4@cisco.com> <b688d8372a1a49e8828c74b5366458c0@huawei.com> <1DE96CAC-43BC-4638-AE96-2E770CA7CE20@cisco.com> <CABCOCHRDKKmU1+BL_4RPkn4sMhjN8w20_5rHWOoBCm8PCTTi1Q@mail.gmail.com>
In-Reply-To: <CABCOCHRDKKmU1+BL_4RPkn4sMhjN8w20_5rHWOoBCm8PCTTi1Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.21.0.200113
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rrahman@cisco.com;
x-originating-ip: [70.31.50.95]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5035a19b-89fd-41e2-ed2d-08d7d7149ddd
x-ms-traffictypediagnostic: BN6PR11MB3905:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <BN6PR11MB3905B330EF5BACBB4C116E48ABC60@BN6PR11MB3905.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:4941;
x-forefront-prvs: 0361212EA8
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB1748.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(39860400002)(396003)(346002)(136003)(366004)(376002)(8676002)(316002)(6916009)(478600001)(66476007)(2906002)(33656002)(6486002)(99936003)(8936002)(81166006)(66556008)(2616005)(64756008)(66616009)(91956017)(66446008)(66946007)(54906003)(76116006)(6512007)(86362001)(6506007)(26005)(81156014)(5660300002)(53546011)(66574012)(186003)(71200400001)(36756003)(4326008); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: KC9sPsip90ZOgbTTEKu9UOiox2ISmrulnKFpAxlNhvGusZyuYVVs8jxziw5Aa51jcU8QhL+NXXd26lyUd8tPq73aefNSmCDQ4C06Sugya0a30AzT9yHuGsx+i2zPHKcUaZpCmiOn8C8BegLomi/PyjEKo6C3qxPoZwa5Rb6FRZPh2uGIywlM6oIAVsrWwgkISuPyZ7bF3V45vH94oYE/cxWFCxdYOnw/QGFjhNhdbkIuQEOmkQ1JCKo1V6NdDNrY3ZwdJjDxsEENVh3fdRpxrVBf/O/Qr972CKQsmgdr5OoBySJnLk21LQDn/wvHIA/SgwisPMKyfjeGBngwyEf93y2Z/7fESbk4JQNzjCI8to/XFDpDmzFQL6J7l/zHoNfN1nlWiFUfmCDgt+MDCCT/F9QjS1Tq+8UHcYua8UxoNNkI4mueBIpwg38BTeJNCzQw
x-ms-exchange-antispam-messagedata: HmKeYQevFcLEu1RFPUFmusSl5z44nLvecJeiMuVrWppahwO9nCF7wjMjNugBiO6oQusNKicwKXOy4QKre/tFNa506y9LOxALM2bcwhzR5ZgnEpwUDtMGc1FzURCvCT0w2E/OSWszzK5qQlgnKCi5jw==
Content-Type: multipart/related; boundary="_004_B9DDE09136C74E83B20C352E3C111151ciscocom_"; type="multipart/alternative"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 5035a19b-89fd-41e2-ed2d-08d7d7149ddd
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2020 14:46:24.1460 (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: 2fftMnaGf2C0I0zD3FjFbcSFBresXwkiv12MMRl3bEnSVXCC2CAXBWqZJQmz3gZ0C4TycUi/psYNrTP5SzkQBQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB3905
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.14, xch-aln-004.cisco.com
X-Outbound-Node: rcdn-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0dOcR03QgYgD7ElgIuORXcnVq3s>
Subject: Re: [netmod] versioning procedures (RFC vs. I-D)
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: Thu, 02 Apr 2020 14:46:36 -0000


From: 'Andy Bierman' <andy@yumaworks.com>
Date: Thursday, April 2, 2020 at 10:26 AM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
Cc: Italo Busi <Italo.Busi@huawei.com>, "Joe Clarke (jclarke)" <jclarke@cisco.com>, NetMod WG <netmod@ietf.org>
Subject: Re: [netmod] versioning procedures (RFC vs. I-D)



On Thu, Apr 2, 2020 at 4:11 AM Reshad Rahman (rrahman) <rrahman@cisco.com<mailto:rrahman@cisco.com>> wrote:
Hi,

From: Italo Busi <Italo.Busi@huawei.com<mailto:Italo.Busi@huawei.com>>
Date: Thursday, April 2, 2020 at 5:06 AM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com<mailto:rrahman@cisco.com>>, 'Andy Bierman' <andy@yumaworks.com<mailto:andy@yumaworks.com>>, "Joe Clarke (jclarke)" <jclarke@cisco.com<mailto:jclarke@cisco.com>>
Cc: NetMod WG <netmod@ietf.org<mailto:netmod@ietf.org>>
Subject: RE: [netmod] versioning procedures (RFC vs. I-D)

Reshad,

My doubt and, if I understand well also Andy’s question, is about the fact that before publishing an RFC-bis with e.g., 1.1.0, we will have a set of Internet-Drafts updating the RFC with 1.0.0

What versions should be used in the YANG modules published in these Internet-Drafts?

Think about the following scenario: -00 version provide BC changes to the RFC module but the -01 version provide NBC changes to what has been added in the -00 module (thus the -01 version is BC with the RFC 1.0.0 module but NBC with the -00 version module)
<RR> So bis 00 would be 1.1.0 (BC with RFC module).
Bis 01 should be updated according to its relationship to the RFC module (bis 00 doesn’t matter anymore), when RFC bis is published it won’t have the full history.

Hope I correctly understood your question.


This semver plan is not very intuitive and not sure it works.

draft-00

   container the-container;             version 0.1.0      OK

draft-01:
   container my-container;             version 0.2.0;   rules violated; NBC should force 1.0.0

draft-02:

    container my-container {           version 0.3.0; should be 1.1.0
        leaf my-leaf { type int32; }
    }

RFC-1:

    container my-container {           version 1.0.0;  should be 2.0.0 according to NBC rules
        leaf my-leaf { type uint32; }
    }

bis-draft-00:

   container my-container {           version 1.1.0; OK
        leaf my-leaf { type uint32; }
        leaf another-leaf { type int32; }
    }

bis-draft-01:

  container my-container {                  diff against RFC-1:  version 1.1.0 but already used; use 1.2.0?
        leaf my-leaf { type uint32; }
        leaf another-leaf { type uint32; }
    }

bis-draft-02:

  container example-my-container {                  diff against RFC-1:  version 2.0.0 but use 1.3.0 instead?
        leaf my-leaf { type uint32; }
        leaf another-leaf { type uint32; }
    }

[repeat NBC step bis-draft-02 10 times.... now up to version 12.0.0 or is it 1.13.0? something else?

RFC-2:   publish draft-12 as RFC-2: now change the label from 1.13.0 to 2.0.0? or leave it 12.0.0?

IMO it is very confusing that the stated rules are so inconsistent and are violated so many ways.
There should be no revision-label at all in Internet Drafts because these documents are unpublished.
They should only be added to the RFC version.

The semver procedures are not intended to work for unpublished modules that are only
meant for review, not for implementation. The revision-label provides only noise in Internet Drafts.
<RR2> I think it’s useful to have a revision label in a draft because it indicates nature of changes (BC v/s NBC) compared to the previous published revision (RFC).
But you are absolutely right that setting the version based on changes with the previous draft revision is useless and confusing.

Regards,
Reshad.


Regards,
Reshad.

Thanks, Italo


Andy


Italo Busi
Principal Optical Transport Network Research Engineer
Huawei Technologies Co., Ltd.
Tel : +39 345 4721946
Email : italo.busi@huawei.com<mailto:italo.busi@huawei.com>
[cid:image001.png@01D608DB.F2E089F0]

This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!

From: Reshad Rahman (rrahman) [mailto:rrahman@cisco.com<mailto:rrahman@cisco.com>]
Sent: mercoledì 1 aprile 2020 20:13
To: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>>; Joe Clarke (jclarke) <jclarke@cisco.com<mailto:jclarke@cisco.com>>
Cc: NetMod WG <netmod@ietf.org<mailto:netmod@ietf.org>>
Subject: Re: [netmod] versioning procedures (RFC vs. I-D)


From: netmod <netmod-bounces@ietf.org<mailto:netmod-bounces@ietf.org>> on behalf of 'Andy Bierman' <andy@yumaworks.com<mailto:andy@yumaworks.com>>
Date: Wednesday, April 1, 2020 at 2:07 PM
To: "Joe Clarke (jclarke)" <jclarke@cisco.com<mailto:jclarke@cisco.com>>
Cc: NetMod WG <netmod@ietf.org<mailto:netmod@ietf.org>>
Subject: Re: [netmod] versioning procedures (RFC vs. I-D)



On Wed, Apr 1, 2020 at 10:39 AM Joe Clarke (jclarke) <jclarke@cisco.com<mailto:jclarke@cisco.com>> wrote:


> On Apr 1, 2020, at 13:28, Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>> wrote:
>
> Hi,
>
> I just want to confirm that all the proposed documentation procedures
> using new extensions are limited in scope to published modules only,
> and not applied to unpublished modules (terms defined in RFC 8407).
>
> IMO it would be harmful to module usability to assign revision-labels or
> include revision-related extensions in unpublished modules (e.g., Internet Drafts).
> Consider how cluttered and confusing the client-server modules would be
> if the 50+ NBC changes and versions were tracked through all the I-Ds.
>
> For IETF modules, the first usage of the revision-label
> should be in the initial RFC, and be set to 1.0.0.
>
> If the RFC is ever republished then one can expect to find an updated
> revision-label and possibly extensions tracking NBC changes.

The semver scheme allocates a major version of 0 for pre-releases where the BC/NBC rules do not apply.  I agree that a first official RFC release should be 1.0.0 (from a semver revision-label standpoint).  From a design team standpoint, I know we mentioned the 0 versioning early on, but I don’t think we spent much time talking about modules under development overall.


IMO it is confusing to ignore the semver rules for the special 0.x.y releases.
There are many NBC changes made at this point which are treated as minor or patch changes.
The procedure is really broken once you consider a WG developing any RFC-bis module.
Now the major version is not 0 and all updates look like real releases.
<RR> I don’t think that’s needed. Initial module in RFC has 1.0.0, module in (released) RFC-bis can go to 1.0.1, 1.1.0 or 2.0.0 depending on the change.

Regards,
Reshad.

My take would align to yours that we wouldn’t clutter a module with development NBC tracking.

Joe

Andy