Re: [netmod] status-description

"Rob Wilton (rwilton)" <rwilton@cisco.com> Tue, 05 May 2020 10:06 UTC

Return-Path: <rwilton@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 2A8C93A1616 for <netmod@ietfa.amsl.com>; Tue, 5 May 2020 03:06:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 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, 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=OOkBiri9; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=gdTKR2bR
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 6SWxsWkx9exQ for <netmod@ietfa.amsl.com>; Tue, 5 May 2020 03:06:04 -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 BB8613A0765 for <netmod@ietf.org>; Tue, 5 May 2020 03:06:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=23544; q=dns/txt; s=iport; t=1588673163; x=1589882763; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=NFrfDwigvQWZeNsyMtWKcPK91Ytp/hO/EnRQ67PYKoE=; b=OOkBiri9lImAFrFsgltmav53mMDHrZn8UGhDbx6rMbkuvo9H0ItNaO4W Cv58KvAnpECsHqj/zvA+lGIRitTVhquOjv7OAq7/MNVIMKPf2s0JMgvSW rqAy9c7kpaWtW3Lgd6liTV6D4VQ8dzNnkvSdmPMBtNCwFNpQHFbYskRb8 U=;
IronPort-PHdr: =?us-ascii?q?9a23=3AO0oBVB/+obqVgf9uRHGN82YQeigqvan1NQcJ65?= =?us-ascii?q?0hzqhDabmn44+7ZRSNuasz3BnSUNaT5/FFjr/QtKbtESwF7I2auX8POJpLS1?= =?us-ascii?q?ceiMoQkgBhZazNCUDyIPPwKSBvGsNEWQw5oS/rd1NYS47yYlTIqSi06jgfUh?= =?us-ascii?q?z0KQtyILHzHYjfx8S63uy/4dvdeQJN0TG8erh1ah6xqFbc?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0C2AABCObFe/49dJa1cChoBAQEBAQE?= =?us-ascii?q?BAQEBAwEBAQESAQEBAQICAQEBAUCBR4FUUQVuWC8qCoQZg0YDjUeYNYFCgRA?= =?us-ascii?q?DVAsBAQEMAQEYCwoCBAEBg39FAheCFiQ4EwIDAQELAQEFAQEBAgEFBG2FKgY?= =?us-ascii?q?mDIVxAQEBAQIBAQEQEREMAQEsCwEEBwQCAQgRAwEBAQECAiMDAgICJQsUAQg?= =?us-ascii?q?IAgQBDQUIGoMFgksDDiABAwunZgKBOYhhdoEygwABAQWFUxiCDgMGgQ4qgmO?= =?us-ascii?q?CSQ6HChqBQT+BEUOCTT6CZwEBAoE2ExwFECECglgzgi2OPgEDLoJZhj6aTgq?= =?us-ascii?q?CSIgYkBuCW5VShHOQF4FYh3yTSAIEAgQFAg4BAQWBaSKBVnAVO4JpUBgNiBi?= =?us-ascii?q?IKoNyhRSFQnQCNQIGAQcBAQMJfJA6AYEPAQE?=
X-IronPort-AV: E=Sophos;i="5.73,354,1583193600"; d="scan'208";a="756494103"
Received: from rcdn-core-7.cisco.com ([173.37.93.143]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 05 May 2020 10:06:00 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by rcdn-core-7.cisco.com (8.15.2/8.15.2) with ESMTPS id 045A60No008658 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 5 May 2020 10:06:00 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 5 May 2020 05:06:00 -0500
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 5 May 2020 05:05:59 -0500
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 5 May 2020 05:05:59 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MgFRNd1TnubQwkzqaHqAB7HihSK4el/SgukHu11492Z2AnlrGSHS5I3p19peIpN8Ard58GlyDKEj0wW9KPJUPafU5BkNKF46IETp5lQdb0+I4zrZQZjOIrlC+/iGeEW/OBylr2sNfNcZAjIyJACQ3nYjFgZsmb9xVzrHqRJaZEad9GOTt5xE1b1OxiN7RDEwe3VAdHU9Sr5kd8mKVHY536j6PUPvtfRMYULKOTa6ojT9CakZ+quBRU2xe0G5yIZpi/7hGXYLqaMvfB+X4V1j+OuLqMNnx59OXOjpmh/LbLfPlStOkN4Wsx6Nuq9x55M6Qss6u6Z0W/0OIoIGp08MZQ==
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=NFrfDwigvQWZeNsyMtWKcPK91Ytp/hO/EnRQ67PYKoE=; b=BsBoDNNRShtXan13c/Fd7Qa1f8CgRldyoaZ9crkn/kIdblv/LZP5+B/cLIekFW7zyhNnF3yIdiVov0orJXskXQ1E0BX2mKPRvvzmxz9BNuD2PRL9OMR1DEZ8d5H7qKZlASow5+WwUv7MhCwyV3Jab/xvlaYisfndPDxLLaVG8JnFO1s9Kgg312hzrjyKZ7FwFjlE7VWaFeMJIDI4lHC6gsZQh6yx4GhvlGKw4iOpdxoN7R5m97gtCup52WOkgo3u9tAEscI/hyLL35nc1jvxRhzahgZXpUz/fJdEHg+jWij1Tv+uWxqSIhf8WGtNY1uFKmGTsrcSiY2+orHDbSP8Jg==
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=NFrfDwigvQWZeNsyMtWKcPK91Ytp/hO/EnRQ67PYKoE=; b=gdTKR2bRkdWMdbGdHPLK4r8bbbKh6y22alYN00Rh6zCBl++fEgrnhGZpdlWadqoPS/reqD7afBx0dxd1zhumeK1gog0UhjBc3Lr3dv8XPXN1UE24XAEZ2W+mJK87OiixJnPWqVwdglktQIv1UdbZuLEMgWVa9AZgrAXniEz5hi8=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (2603:10b6:208:190::17) by MN2PR11MB3855.namprd11.prod.outlook.com (2603:10b6:208:f6::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.29; Tue, 5 May 2020 10:05:58 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::3:2164:a8e2:33b3]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::3:2164:a8e2:33b3%5]) with mapi id 15.20.2958.030; Tue, 5 May 2020 10:05:58 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: =?utf-8?B?TWFydGluIEJqw7Zya2x1bmQ=?= <mbj+ietf@4668.se>, "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] status-description
Thread-Index: AQHWIjJ8Vh0nBgJx6E69AUpFNAxXmKiYL3aAgAAJ6YCAAAI3gIABBnfg
Date: Tue, 5 May 2020 10:05:58 +0000
Message-ID: <MN2PR11MB4366DC1BA0F26DED947362BDB5A70@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <20200504.183817.1920254876593446739.id@4668.se> <CABCOCHSbv8pUCJDV2pvN9GvhOnd-qPYsZv4G0r6QVgjiqfpS6Q@mail.gmail.com> <60CC3F2E-678E-4266-84C9-01214670981F@cisco.com> <20200504.201529.1387319685300564650.id@4668.se>
In-Reply-To: <20200504.201529.1387319685300564650.id@4668.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: 4668.se; dkim=none (message not signed) header.d=none;4668.se; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [82.15.79.32]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 500c62a2-27e7-4460-f3d3-08d7f0dbe852
x-ms-traffictypediagnostic: MN2PR11MB3855:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MN2PR11MB38558F67346486259255808BB5A70@MN2PR11MB3855.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-forefront-prvs: 0394259C80
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: PU3LMP8CZZzEE68a9rPymc0edBTSCVm4uvDwAdvjvTeZWRybp6yDl/E02P+7rBJPXR3LkTwKJeiHnXJ+T1TGWo8gwANgPenmxaMsA/w7aO2zplTCslMSYj+KuyTr8C+vKJphUw9CROgaEwPNiYtpzuGA2pk75MMGRyy2jnm/PU9gDG3u4GTLJJ6u6uzKF1ILL7NognSfWJXvQlm7XgPOzsKVDMKKVN/w4UyEKIvb2UA+qP5RyZMREzO9fgY6QeqEYQr/r9PWFQb9LrbjS+XluTNvLPacswIJmsYTlDQZ4hvwd/q5ayAyjxkpUAwaXjb7Gyx85wtIB201Tk/smTBOZBupXg2WsbdQEZAwoxc3CZFbn1ajsfEVBkVqOLz9U5QJA20hBguUj6yxvZMYGTFbl4Bn3iFwiKR4NqbbL0zhnUuG1s8OQPi8ABEhRM+yJE7GqNX6pos3HtIhnS/W0zwgxB7iyIxQVdSWPGkpIVW1/ImAW/owEMSdD11XJzfNhck/4409+OfwxWFaNbiLxyO0N5lVYPlTsuOxyYde1tuL58OXeZkQMXo46HyiAgZVpB5IwCfkba00A9iLXdxVrs78FYDUMFi+t/Y9xG7Bgdxm0uI=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4366.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(33430700001)(71200400001)(33440700001)(66574012)(478600001)(5660300002)(52536014)(86362001)(66446008)(2906002)(76116006)(66556008)(64756008)(33656002)(4326008)(66946007)(186003)(26005)(66476007)(53546011)(6506007)(7696005)(316002)(9686003)(30864003)(966005)(110136005)(8676002)(8936002)(55016002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: okkcVjsNmKxp1s6PbQPkg7VAyWxmFF8oirCQ0cTVaW4BumBNHvM+Tn1weBe5fuHokKZ/qW5QMVnXwaXNos9jcJ0EmdqmIzsp1b0ngZI0ZMsqgIFm/gSAv7ZdEXJLT96t3KTMjZnrPSDk0BeF61cNVREYtcHCzLZMXM6hXb5Bvlpl5YcB14iZAmVT26nKk/LArkTCPZRNAjsPH6le7YJcdF1gH9wR49kMetAcVwjjze4kH1NNm6LYFZ6yFxXYLkrSU6GaOFCvPjL8WN0CWHh7oOgOU9+OorCKOY9b7k66Dre6+KS+OsjDbsRzMS0GzO+Pdwmi6rVVLU5/yVWAUcx5Bh3y+cU4cHv9FMbSxLpUB/BXhYmaV1892jdaxmajPjVhYB5wdG11o7D8cyVaiOUGPPAHgJat0I6/lHkerRs/pAetvUEvug99cwpJWsKb2Ze+E65megJOS7I9vQCMS4kgZVM3uOY3PnD0J0HDNYObT+9sZpVZoXOhE2JnjzTY7znEYszdzcpZB0m6O9nlNldUJNrSyG0YlRHhXvD3tuT7saN37sxWiLQKin3LJy54S6l4PQTjePFZYckTYb40tGJ3FNUMMzL5BctzdG5GLQJ2KyaMfHe4a3/2+XdHgJ6p885KK1WZ5WXVmFUr4uVPKyJGzd57RkYQxMTCJ7CyIiBcQ6cMcsqHEiL02P3wEw4uXwCS6V5ewqrCx63hC849GePnloMGk/H8LNy/1ReUqV1+PYQNOOi/09g6nlgR0Z27JRRARKYSDfEjZLP3L5T4QqxprFWU40Cz6M0w0ZuP9dkNqk8=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 500c62a2-27e7-4460-f3d3-08d7f0dbe852
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 10:05:58.1049 (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: 4C6hD7AaFV7ivUeNIscANTPXON+2TFAw+mejRD5BZS2rrVnnjtsHEUe1a03ODNgRwKZoW6NZRBFlOTH+sLkrGw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3855
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: rcdn-core-7.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/g-YiqxN2kbbZ2XIkO89OUn_36PI>
Subject: Re: [netmod] status-description
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: Tue, 05 May 2020 10:06:10 -0000

[As an individual contributor]

I'm not keen on the idea of adding information related to deprecation/obsoletion to the data node description.

I think that this will cause problems for schema comparison, since tooling cannot easily understand the semantic difference in changes in description and hence will probably need extra annotations to indicate whether such changes are BC or NBC.  Whereas I think that such tooling could probably reasonably handle a description statement under status differently (e.g., perhaps treat all such status description changes as BC or insignificant changes).

However, I'm more sympathetic to the argument that this is not worth fixing now, and that this issue could be deferred to YANG.Next.

Regards,
Rob


> -----Original Message-----
> From: netmod <netmod-bounces@ietf.org> On Behalf Of Martin Björklund
> Sent: 04 May 2020 19:15
> To: Reshad Rahman (rrahman) <rrahman@cisco.com>
> Cc: netmod@ietf.org
> Subject: Re: [netmod] status-description
> 
> "Reshad Rahman (rrahman)" <rrahman@cisco.com> wrote:
> > What are your thoughts on having description statement under status in
> > yang-next?
> 
> No problem!  In fact, "description" could be allowed under _any_
> statement...
> 
> 
> /martin
> 
> 
> > Is it the same as what you’ve stated on status-description
> > extension?
> >
> > I believe the extension is useful, although I do see the point made
> > that an extra statement leads to extra complexity. But using
> > description statement in yang-next should not be an issue?
> >
> > Regards,
> > Reshad.
> >
> > From: 'Andy Bierman' <andy@yumaworks.com>
> > Date: Monday, May 4, 2020 at 1:32 PM
> > To: Martin Björklund <mbj+ietf@4668.se>
> > Cc: Balazs Lengyel <balazs.lengyel@ericsson.com>om>, "Reshad Rahman
> > (rrahman)" <rrahman@cisco.com>om>, NetMod WG <netmod@ietf.org>
> > Subject: Re: [netmod] status-description
> >
> >
> >
> > On Mon, May 4, 2020 at 9:38 AM Martin Björklund
> > <mbj+ietf@4668.se<mailto:mbj%2Bietf@4668.se>> wrote:
> > Hi,
> >
> > Balázs Lengyel
> > <balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>>
> > wrote:
> > > Hello,
> > > While status-description is not a critical part of this work, it is
> > > still useful, does not harm and is such a small addition, I do not
> > > understand why Martin objects.
> >
> > Every additional statement adds to the overall complexity.  As Jason
> > explained, this particular statement doesn't really help much.
> >
> >
> > +1
> >
> > We should not start down the path of specialized description
> > statements.
> >
> > I was part of a design team many years ago that was trying to
> > figure out why engineers were having so much trouble writing MIB
> > modules.
> > One significant finding: people disliked working on MIBs because there
> > were so
> > many special little rules (CLRs) for every little detail in the
> > module.
> >
> > IMO we are starting to make the same mistake with YANG.
> >
> >
> > /martin
> >
> > Andy
> >
> >
> > >
> > > So why is status-description good:
> > > Sometimes additional information is needed about deprecation,
> > > obsolescence:
> > > - is the item still fully functional?
> > > - when will its functionality be removed?
> > > - when will the schema node itself be removed?
> > > - is there a replacement or workaround that could/should be used
> instead
> > > - of deprecated/obsolete item?
> > > The text can be used by tools. Using a separate statement to provide
> > > this
> > > information is a method to separate the main description from this
> > > status specific description.
> > > In most cases both in the CLI and on NMS GUIs only the description is
> > > displayed.
> > > However there is a possibility  to display the status information too.
> > >
> > > In a way it is similar why we have separate description, contact,
> > > reference, organization statements under module.
> > > All these are just text, they could all be pushed under a single
> > > description statement. Tools can't act on these automatically, still
> > > it is good to separate them.
> > >
> > > Regards Balazs
> > >
> > > -----Original Message-----
> > > From: netmod <netmod-bounces@ietf.org<mailto:netmod-bounces@ietf.org>>
> > > On Behalf Of Sterne, Jason
> > > (Nokia - CA/Ottawa)
> > > Sent: 2020. április 29., szerda 23:38
> > > To: Reshad Rahman (rrahman)
> > >
> <rrahman=40cisco.com@dmarc.ietf.org<mailto:40cisco.com@dmarc.ietf.org>>;
> > > Martin Björklund <mbj+ietf@4668.se<mailto:mbj%2Bietf@4668.se>>;
> > > netmod@ietf.org<mailto:netmod@ietf.org>
> > > Subject: Re: [netmod] status-description (WAS Re: mbj review of
> > > draft-verdt-netmod-yang-module-versioning-01)
> > >
> > > I think we could wait until YANG 2.0 to add a description to the
> > > status.
> > >
> > > Without a status description, an intelligent "YANG diff" of the models
> > > would produce this:
> > > a) new status deprecated statement
> > > b) change to a description
> > >
> > > With a status description we'd identify this:
> > > a) new status deprecated statement
> > > b) new status description
> > >
> > > In both cases it is (a) that identifies the most clear information.
> > >
> > > In both cases (b) provides no additional information that can be acted
> > > upon in an automated fashion. The tool could only flag that (b)
> > > occurred in both cases and a human would then have to go look at it.
> > >
> > > If the only change between two versions of a module was a status
> > > description change, then again a human would have to take a look. If
> > > we add some sort of "nbc" tag to the leaf for tooling, then it also
> > > doesn't matter which description changed.
> > >
> > > Jason
> > >
> > >
> > > > -----Original Message-----
> > > > From: netmod <netmod-bounces@ietf.org<mailto:netmod-
> bounces@ietf.org>>
> > > > On Behalf Of Reshad Rahman
> > > > (rrahman)
> > > > Sent: Friday, March 27, 2020 5:43 PM
> > > > To: Martin Björklund <mbj+ietf@4668.se<mailto:mbj%2Bietf@4668.se>>;
> > > > netmod@ietf.org<mailto:netmod@ietf.org>
> > > > Subject: [netmod] rev:status-description (WAS Re: mbj review of
> > > > draft-verdt-
> > > > netmod-yang-module-versioning-01)
> > > >
> > > > Hi,
> > > >
> > > > https://github.com/netmod-wg/yang-ver-dt/issues/51
> > > >
> > > >         o  3.4
> > > >
> > > >              leaf imperial-temperature {
> > > >                type int64;
> > > >                units "degrees Fahrenheit";
> > > >                status deprecated {
> > > >                  rev:status-description
> > > >                    "Imperial measurements are being phased out in
> favor
> > > >                     of their metric equivalents.  Use metric-
> temperature
> > > >                     instead.";
> > > >                }
> > > >                description
> > > >                  "Temperature in degrees Fahrenheit.";
> > > >              }
> > > >
> > > >           I don't think rev:status-description is necessary / worth
> it.
> > > >           This
> > > >           can easily be written with the normal description
> statement
> > > >           instead:
> > > >
> > > >              leaf imperial-temperature {
> > > >                type int64;
> > > >                units "degrees Fahrenheit";
> > > >                status deprecated;
> > > >                description
> > > >                    "Imperial measurements are being phased out in
> favor
> > > >                     of their metric equivalents.  Use metric-
> temperature
> > > >                     instead.
> > > >
> > > >                     Temperature in degrees Fahrenheit.";
> > > >              }
> > > >
> > > > While rev:status-description isn't strictly necessary, without it
> we'd
> > > > have to modify the node's description as you pointed out. That'd
> make
> > > > tooling more
> > > > difficult: is the description change BC or NBC? Also, a user looking
> > > > at a diff would need to go through the description change. Use of
> > > > rev:status- description makes this easier to handle.
> > > >
> > > > Regards,
> > > > Reshad.
> > > >
> > > >
> > > >
> > > > On 2020-03-20, 5:08 PM, "netmod on behalf of Reshad Rahman
> (rrahman)"
> > > > <netmod-bounces@ietf.org<mailto:netmod-bounces@ietf.org> on behalf
> of
> > > >
> rrahman=40cisco.com@dmarc.ietf.org<mailto:40cisco.com@dmarc.ietf.org>>
> > > > wrote:
> > > >
> > > >     Hi Martin,
> > > >
> > > >     We've opened issues to track your review comments (see below).
> > > > Will kick off separate therads for each issue.
> > > >
> > > >     https://github.com/netmod-wg/yang-ver-
> > > > dt/issues?q=is%3Aissue+is%3Aopen+label%3Aupdated-mod-rev-handling
> > > >
> > > >     Regards,
> > > >     Reshad.
> > > >
> > > >     On 2020-03-10, 3:31 PM, "netmod on behalf of Martin Björklund"
> > > > <netmod- bounces@ietf.org<mailto:bounces@ietf.org> on behalf of
> > > > mbj+ietf@4668.se<mailto:mbj%2Bietf@4668.se>> wrote:
> > > >
> > > >         Hi,
> > > >
> > > >         Here are my review comments of
> > > >         draft-verdt-netmod-yang-module-versioning-01.
> > > >
> > > >
> > > >
> > > >         o  3.1.1
> > > >
> > > >             o  In statements that have any data definition
> statements as
> > > >                substatements, those data definition substatements
> MAY be
> > > >                reordered, as long as they do not change the ordering
> or any
> > > >                "rpc"
> > > >                "input" substatements.
> > > >
> > > >           I think this needs to capture that no descendant
> statements to
> > > >           "input" can be reordered.  Same for "output" (note,
> "input" and
> > > >           "output" in both "rpc" and "action").
> > > >
> > > >
> > > >         o  3.3
> > > >
> > > >             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.
> > > >
> > > >           I don't think this is a good idea.  Seems like a layer
> violation.
> > > >           What if my project use another dialect of semver, that
> wouldn't
> > > >           be
> > > >           possible with this rule.  I think this needs to be
> removed.
> > > >
> > > >
> > > >         o  3.3
> > > >
> > > >             Submodules MUST NOT use revision label schemes that
> could
> > > > be confused
> > > >             with the including module's revision label scheme.
> > > >
> > > >           Hmm, how do I ensure that this MUST NOT is handled
> correctly?
> > > >           What
> > > >           exactly does "could be confused with" mean?
> > > >
> > > >
> > > >         o  3.3
> > > >
> > > >               In the filename of a YANG module, where it takes the
> form:
> > > >               module-
> > > >               or-submodule-name ['@' revision-label] ( '.yang' /
> > > > '.yin' )
> > > >
> > > >           Should this section update 5.2 of RFC 7950?  I know that
> 5.2 just
> > > >           says "SHOULD".  But existing tools implement this SHOULD,
> and
> > > >           they
> > > >           need to be updated to handle this new convention.
> > > >
> > > >           But I wonder if this a good idea.  It means that a tool
> that
> > > >           looks
> > > >           for a module with a certain revision date cannot simply
> check the
> > > >           filenames, but need to parse all available modules (wijust
> > > > to find the
> > > >
> > > >
> > > >
> > > >         o  3.4
> > > >
> > > >              leaf imperial-temperature {
> > > >                type int64;
> > > >                units "degrees Fahrenheit";
> > > >                status deprecated {
> > > >                  rev:status-description
> > > >                    "Imperial measurements are being phased out in
> favor
> > > >                     of their metric equivalents.  Use metric-
> temperature
> > > >                     instead.";
> > > >                }
> > > >                description
> > > >                  "Temperature in degrees Fahrenheit.";
> > > >              }
> > > >
> > > >           I don't think rev:status-description is necessary / worth
> it.
> > > >           This
> > > >           can easily be written with the normal description
> statement
> > > >           instead:
> > > >
> > > >              leaf imperial-temperature {
> > > >                type int64;
> > > >                units "degrees Fahrenheit";
> > > >                status deprecated;
> > > >                description
> > > >                    "Imperial measurements are being phased out in
> favor
> > > >                     of their metric equivalents.  Use metric-
> temperature
> > > >                     instead.
> > > >
> > > >                     Temperature in degrees Fahrenheit.";
> > > >              }
> > > >
> > > >
> > > >         o  3.5
> > > >
> > > >           The example modules should be legal YANG modules.  Use
> e.g.
> > > >           "urn:example:module" as namespace.
> > > >
> > > >           Also, the modules are missing the last "}", which confuses
> the
> > > >           "rfcstrip" tool..
> > > >
> > > >
> > > >         o 4.1.1
> > > >
> > > >             Alternatively, the first example could have used the
> revision
> > > >             label
> > > >             "1.0.0" instead, which selects the same set of
> > > >             revisions/versions..
> > > >
> > > >             import example-module {
> > > >               rev:revision-or-derived 1.0.0;
> > > >             }
> > > >
> > > >           Shouldn't this be s/1..0.0/2.0.0/g ?
> > > >
> > > >
> > > >         o  5
> > > >
> > > >           I think the module name "ietf-yl-revisions" should be
> changed to
> > > >           "ietf-yang-library-revisions".  "yl" is not a well-known
> acronym.
> > > >
> > > >
> > > >         o  5.2.2
> > > >
> > > >           Wouldn't it be better if the leaf "deprecated-nodes-
> implemented"
> > > >           and
> > > >           "obsolete-nodes-absent" were of type "boolean" rather than
> type
> > > >           "empty"?
> > > >
> > > >
> > > >         o  7.1
> > > >
> > > >           The text says:
> > > >
> > > >             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 [I-D.verdt-netmod-yang-
> semver].
> > > >
> > > >           I strongly disagree with this new rule.  IETF modules use
> a
> > > >           linear
> > > >           history, so there are no reasons to use "modified semver".
> > > >
> > > >           It is ok to use rev:nbc-changes if needed, though.
> > > >
> > > >
> > > >         o 7.1.1
> > > >
> > > >           There is a missing " in:
> > > >
> > > >            4.  For status "obsolete", it is RECOMMENDED to keep the
> > > >            "status-
> > > >                description" information, from when the node had
> status
> > > >                "deprecated, which is still relevant.
> > > >          HERE  -----------^
> > > >
> > > >
> > > >         o  8
> > > >
> > > >           s/CODE ENDS>/<CODE ENDS>/
> > > >
> > > >
> > > >         o Both YANG modules
> > > >
> > > >           All extensions should specify the grammar; i.e., in which
> > > >           statements
> > > >           they can be present and which substatements they can have.
> > > >
> > > >
> > > >
> > > >         /martin
> > > >
> > > >         _______________________________________________
> > > >         netmod mailing list
> > > >         netmod@ietf.org<mailto:netmod@ietf.org>
> > > >         https://www.ietf.org/mailman/listinfo/netmod
> > > >
> > > >
> > > >     _______________________________________________
> > > >     netmod mailing list
> > > >     netmod@ietf.org<mailto:netmod@ietf.org>
> > > >     https://www.ietf.org/mailman/listinfo/netmod
> > > >
> > > >
> > > > _______________________________________________
> > > > netmod mailing list
> > > > netmod@ietf.org<mailto:netmod@ietf.org>
> > > > https://www.ietf.org/mailman/listinfo/netmod
> > > _______________________________________________
> > > netmod mailing list
> > > netmod@ietf.org<mailto:netmod@ietf.org>
> > > https://www.ietf.org/mailman/listinfo/netmod
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org<mailto:netmod@ietf.org>
> > https://www.ietf.org/mailman/listinfo/netmod
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod