Re: [netmod] Revision labels for submodules

"Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com> Wed, 13 May 2020 17:30 UTC

Return-Path: <jason.sterne@nokia.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 368E13A0C2A for <netmod@ietfa.amsl.com>; Wed, 13 May 2020 10:30:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.074
X-Spam-Level:
X-Spam-Status: No, score=-2.074 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.173, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 L755JVJlBteT for <netmod@ietfa.amsl.com>; Wed, 13 May 2020 10:30:19 -0700 (PDT)
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2092.outbound.protection.outlook.com [40.107.220.92]) (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 F34B43A0C78 for <netmod@ietf.org>; Wed, 13 May 2020 10:30:07 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TJhIcj2rB0qHFUKMO2k5U9KiDKUTGK+a96JewpG6fscX1Tn8/Fh069TO+D+cnbjfhMm624ecP4hquDwh2WB6iEchKdUylm+Ao6+IX8d4HPy44dYyA4uaNZJTrnUaqi98KE2ID1nnBiu7ymPDMQ3J+SW5EoCreooS4VOni71bK7XwmXtOUbHgc7bAmbRMU38xIuUb1g19k3CgSCjC04utmvTA+c0KQVNysorcIbTkgkiAcWOJG8A0IxgrS7dvJ4ll2L9uLpwSCMfm3o9z6QjUt5v9Ngmio7ckvbozfS+OnRa3YTW+VtD9qpHj/+uZDD6B3Pe62UVAvOSehjkaUP+eqw==
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=JRBKqaQXa6I+y4AJrn548NVzW2E7W6r/buRkJy1r/i0=; b=ex03KP+4/mQh/B8gQo9K6rhZk+jWxnsNko6W7Gi+GqjYHO6k3gT0SnyOyOpvRFPacxBhe+SLOInwPpHGH40WovxTP4b5osM5Fn+egbqxe9GItaBOcpkzBjgaq+nDXq28dKiOYhvJSZo7I5FSZU7rRgwYu163OkhS0nSaHO99KP6RLaKxs0bwSHurcDTsW0fDgIyyKWTQV4k5QOZNvcqSyvrp+VAMV88ExD5wrT7luK4e8MHZltD35GSCTPE27vvYuWhvJ0yuHH9Uj+ER4k422u3rmiV9ZRuDaKXI4WIrTmgS1du0s/ijBNuWFXN7Q722ugrCEu4w6f/15FoNfeb87A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
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=JRBKqaQXa6I+y4AJrn548NVzW2E7W6r/buRkJy1r/i0=; b=SzyLCEnYbpauXqGomSvkH2PzBvXgIilajSshPEfmiJoTkxYyJN1SpIEPdPrTep/MUGzdrOlXxdMCzJHtC2UHQ7LmR3sdK/0nxM9mTFFLC/rbEjthkBTeeYH1GomGjWmeqMOnhSe60RllBi/0PfSTi5xIvbMk8Sp3DQkA5WPoP1E=
Received: from DM5PR08MB2633.namprd08.prod.outlook.com (2603:10b6:3:ca::21) by DM5PR08MB3417.namprd08.prod.outlook.com (2603:10b6:4:69::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.28; Wed, 13 May 2020 17:30:06 +0000
Received: from DM5PR08MB2633.namprd08.prod.outlook.com ([fe80::c00d:56c3:675e:ec63]) by DM5PR08MB2633.namprd08.prod.outlook.com ([fe80::c00d:56c3:675e:ec63%3]) with mapi id 15.20.2979.033; Wed, 13 May 2020 17:30:05 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, Martin Björklund <mbj+ietf@4668.se>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Revision labels for submodules
Thread-Index: AQHWJT+MiAxw1tFb+k6vD0etivad/KiesDOA///RIoCAAWgsgIAADsmQgARBloCAAd74MP//5aCAgABOUzA=
Date: Wed, 13 May 2020 17:30:05 +0000
Message-ID: <DM5PR08MB26339A6A842DD724E64B9B1F9BBF0@DM5PR08MB2633.namprd08.prod.outlook.com>
References: <8D4A99E4-93D3-495C-9B46-26C61BBABAA7@cisco.com> <20200508.231215.893859438588129498.id@4668.se> <B692BC98-AA66-4E12-9EF5-516FFCF04F33@cisco.com> <20200509.175337.1668899395924812873.id@4668.se> <DM5PR08MB2633E41BFC1C1FBBB8D2C7059BA30@DM5PR08MB2633.namprd08.prod.outlook.com> <75D482FE-2F79-4B39-A7B7-B131510BF039@cisco.com> <DM5PR08MB26334810A88C7F994370156B9BBF0@DM5PR08MB2633.namprd08.prod.outlook.com> <DCA5FE0D-7308-445B-8B97-7174339B04B4@cisco.com>
In-Reply-To: <DCA5FE0D-7308-445B-8B97-7174339B04B4@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=nokia.com;
x-originating-ip: [2607:fea8:e31f:da06:c135:8ddf:a7f6:29f8]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 42534fc2-b95e-4b64-9ed0-08d7f76346e6
x-ms-traffictypediagnostic: DM5PR08MB3417:
x-microsoft-antispam-prvs: <DM5PR08MB3417A92ABDF3F1419BF111519BBF0@DM5PR08MB3417.namprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6790;
x-forefront-prvs: 0402872DA1
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: co904OFdIWslYN7Zk3twNQMjgkuvPDrXcN0HDGsr2SXKeWGpAykDU5ANvuJ//cHd89nGmgm8VtWRpU942JDosCHtLFYJVkDCdKLdJDE0Y2HVFjDzYRQxo8OqYukoRvOZJfl7DiFfOdLtyLH1Q2ufLVoM2MG+5DdCrgrD8dzy8JwOQOq9KsDfwE0iBRit09lk9mvbcWlSn74aOn4+VmvkxGEUACBjWsJNQvvD81xCNr7bM/JzaywJPxH7vqE6Mhoz49dly/aZODfbNILx3PhgxsM9lmcYh1GeqhrWhz9sjtJD1CXmv1KtekPpbgf8XHnuYDQmAPkG8GaDAF1nrNMbq/MRvAVJvBhbpm0kI6FWwMB772Ac/2uAdBRtc2s/9/BftDDvQTduA17MgmKVdZEpOJBG//dCJfFf7XXxYTbVO65Dsrgv7u2Y10/w+Sc+wSm4ECbQaHE7Zc9t5ZU86Dq+3lmvvllJ4E+X9SX2fnSBlpoXaORbY2EDt8JgVQe0zBiGvd+Qta6QB9tcMOUCIqd5x/5hQSWT+AlejPeVVW6L+XrHxTx78kmaN2V6O4cNfMhPUCAAlqg5Q8C+wOidiKXkxD2nu9MgZ2CHUFD1lDtsz/4=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR08MB2633.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(39860400002)(346002)(366004)(136003)(396003)(33430700001)(8936002)(5660300002)(30864003)(53546011)(66574014)(6506007)(478600001)(966005)(33440700001)(186003)(110136005)(8676002)(71200400001)(316002)(64756008)(9686003)(4326008)(7696005)(2906002)(86362001)(76116006)(55016002)(66446008)(66946007)(33656002)(52536014)(66556008)(66476007)(579004); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: 4XOLSlXYXt9qrK1/+2mmev0VV0/y5qEL7xVPdKj0u8m/byfzrX4p1TT58TwkzAzZD3BSqPVXv2wvd0p6xso7Axb5zry2n5KLUTJDsGOiRls9ZAmnj2sTnFW40rEB7wVM+Q5H4L60N+e6W/l+zUvFwoT5/eUsqYo7Z6Rsp/DubnAsKkIxlb6uzi3NZSxoghfhXCSu0J8ReqnctyBGIbiT8NbRaE3LM+aw1IrtkMGIbT2VOGuPUQeNk7ipyLIBw4RHe94GStla4VLDlscNtj73r8GhaeCis+P2hR0ViZ1Rf0kqMirGlfhlKS0w+t7GcYUaEjMYrsOTHlFWrtQLvSF6mCc8ojDeY7ogj/SyIaGGX51dX6DDE/4eXpRyulqFIXDFy4EW42pm9ElqgveV97Gt9ppTTJKVwrf1LxC52c16779Y/zA5IMiQEqbHzlhUcHKNA2c2awGsSLYo9rC8n7KvDAD3ptVOu2OG3nug5lZRk8dV5/l3uuux0UZcLh7hy0pFeEfcykodS6e8PZ1CmMJGXqqyYSMPE1Fm5C7/18T7fe4tgRleVwQpqapsUin6gXQt
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 42534fc2-b95e-4b64-9ed0-08d7f76346e6
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 May 2020 17:30:05.8417 (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: 3+9An8QswWpDy+HzjMSUZqjtU/2JUHoZkAB6zEFcy+UMbGCIGuog639be+aDoT/Pr8uuf9BKGzHHaycMDMVCpg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR08MB3417
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/wPNzYFM1xsLnM_dCmMIZFwOIgks>
Subject: Re: [netmod] Revision labels for submodules
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: Wed, 13 May 2020 17:30:22 -0000

So that's the part I'm not sure of.

If a leaf moves between submodules, and the module file doesn't change in any way (as we've said is possible and should be allowed), do we mandate that the module version changes?  This is up to us to define IMO

(A) the module version has a scope that includes the module and all submodules
(B) the module version has a scope that is just the module file contents

I'm on the fence between those two. (A) could make sense but it does mean that someone comparing two versions of the just the module file itself may see no difference whatsoever between them except the addition of a new version statement.

Jason

> -----Original Message-----
> From: Reshad Rahman (rrahman) <rrahman@cisco.com>
> Sent: Wednesday, May 13, 2020 12:46 PM
> To: Sterne, Jason (Nokia - CA/Ottawa) <jason.sterne@nokia.com>; Martin
> Björklund <mbj+ietf@4668.se>
> Cc: netmod@ietf.org
> Subject: Re: [netmod] Revision labels for submodules
> 
> Hi Jason,
> 
> 
> On 2020-05-13, 11:50 AM, "Sterne, Jason (Nokia - CA/Ottawa)"
> <jason.sterne@nokia.com> wrote:
> 
>     Hi guys,
> 
>     As someone who is heavily involved in the development of an extensive
> YANG model comprised of submodules, I'm not a fan of mandating that
> include by revision is mandatory for submodules. It may indeed be a good
> idea (so perhaps SHOULD is fine) but I can see it causing problems on the
> implementation side.
> 
>     The primary development of a data model may be distributed out to
> submodules and the main module may only be a top level container for the
> submodules (and rarely touched). This would suddenly create an ordering
> dependency in the release process that requires the main module file to
> systematically be updated after all development of the submodules is halted.
> Then the results of the submodules has to be used to then go update the
> module. Solvable - yes, but folks who work on large scale projects will know
> that suddenly requiring that type of development process change isn't as
> easy as it may sound on paper.
> <RR> I can see why you wouldn't want to modify all your include by-revision
> statements. But you would still need to update the module revision-label
> based on changes done in the included submodules.
> 
> Regards,
> Reshad.
> 
>     It is possible to manage the "packaging" of submodules and modules out
> of band or other mechanisms.
> 
>     OpenConfig, for example, uses submodules but does not currently include
> by version. I'm not proposing this is ideal. But I think we should leave it as
> acceptable.
> 
>     Rgds,
>     Jason
> 
>     > -----Original Message-----
>     > From: Reshad Rahman (rrahman) <rrahman@cisco.com>
>     > Sent: Tuesday, May 12, 2020 9:46 AM
>     > To: Sterne, Jason (Nokia - CA/Ottawa) <jason.sterne@nokia.com>;
> Martin
>     > Björklund <mbj+ietf@4668.se>
>     > Cc: netmod@ietf.org
>     > Subject: Re: [netmod] Revision labels for submodules
>     >
>     > Hi Jason,
>     >
>     > On 2020-05-09, 12:52 PM, "Sterne, Jason (Nokia - CA/Ottawa)"
>     > <jason.sterne@nokia.com> wrote:
>     >
>     >     Hi Martin,
>     >
>     >     Your approach sounds good to me. I was forgetting about the
> "editorial"
>     > level of change (e.g. the 3rd part of SemVer).  So I agree that moving a
> leaf
>     > would be an editorial change in both submodules.
>     >
>     >     But what if a module is not doing include by revision? It may indeed
> make
>     > sense to include by revision but it isn't mandated. For sake of argument
> here
>     > what if the module itself didn't change at all in this case?
>     > It is now mandated in section 3 of draft-ietf-netmod-yang-module-
>     > versioning-00.
>     >
>     >
>     >     It *feels* like the right thing to do here is to consider the module
> overall
>     > to have an editorial change.
>     >
>     >     The revision statement of sub-modules has a scope of the file (the
> sub-
>     > module). It isn't clear to me whether the revision of a *module* has a
> scope
>     > that includes all sub-modules or if it is just a scope of the module file.
> But we
>     > could clarify that as part of this work.
>     > Because of include by revision, the module would have to change to
> include
>     > a different revision of a sub-module.
>     >
>     > Regards,
>     > Reshad.
>     >
>     >     Jason
>     >
>     >     > -----Original Message-----
>     >     > From: Martin Björklund <mbj+ietf@4668.se>
>     >     > Sent: Saturday, May 9, 2020 11:54 AM
>     >     > To: rrahman@cisco.com
>     >     > Cc: netmod@ietf.org; Sterne, Jason (Nokia - CA/Ottawa)
>     >     > <jason.sterne@nokia.com>
>     >     > Subject: Re: [netmod] Revision labels for submodules
>     >     >
>     >     > "Reshad Rahman (rrahman)" <rrahman@cisco.com> wrote:
>     >     > > Hi,
>     >     > >
>     >     > > On 2020-05-08, 5:12 PM, "Martin Björklund" <mbj+ietf@4668.se>
>     > wrote:
>     >     > >
>     >     > >     Hi,
>     >     > >
>     >     > >     "Reshad Rahman (rrahman)" <rrahman@cisco.com> wrote:
>     >     > >     > Hi,
>     >     > >     >
>     >     > >     > This came up during this week's meeting. We briefly discussed
>     > whether
>     >     > >     > there's a need to version sub-modules or can we restrict
> versioning
>     > to
>     >     > >     > modules only. We would like to hear from the WG on this,
>     > especially
>     >     > >     > those with experience managing sub-modules.
>     >     > >
>     >     > >     Yes I think this is needed.  At tail-f, there are several modules
> with
>     >     > >     many submodules.  These modules always use include by
> revision,
>     > and
>     >     > >     always the main module is always uddated when any submodule
> is
>     >     > >     updated.  It doens't make much sense IMO to not use include by
>     >     > >     revision.
>     >     > >
>     >     > >     > For completeness, below is an update from Jason in github:
>     >     > >     > My initial reaction is that we should not preclude the use of
>     > revision
>     >     > >     > label with a submodule. Submodules have their own version
>     > today. The
>     >     > >     > trick is to define (or explicitly say it is out of scope) whether a
>     >     > >     > module version must change if any underlying submodule
> versions
>     >     > >     > change. That gets difficult if you consider simply moving a leaf
>     > from
>     >     > >     > one sub-module to another (without changing anything else
> about
>     > it -
>     >     > >     > its context, etc).
>     >     > >
>     >     > >     Why would this be difficult?  The revision date is updated on any
>     >     > >     editorial change (see 7.1.9 of RFC 7950).  So if a leaf gets moved
>     >     > >     from submodule A to submodule B, then their revisions are
> udpated,
>     > and
>     >     > >     hence the module's include-by revision is udpated, and hence
> the
>     >     > >     module's revision ois updated.
>     >     > >
>     >     > > I think what Jason meant is that by moving a leaf between
>     > submodules,
>     >     > > it's possible the module's schema didn't change.
>     >     > > So yes revision date is updated, but you can't blindly update the
>     >     > > revision-label.
>     >     >
>     >     > Why not?
>     >     >
>     >     >
>     >     > /martin
>     >     >
>     >     >
>     >     > >
>     >     > > Regards,
>     >     > > Reshad.
>     >     > >
>     >     > >     /martin
>     >     > >
>     >     > >
>     >     > >
>     >     > >     >
>     >     > >     > Regards,
>     >     > >     > Reshad.
>     >     > >     >
>     >     > >     > On 2020-03-27, 5:44 PM, "netmod on behalf of Reshad
> Rahman
>     >     > (rrahman)"
>     >     > >     > <netmod-bounces@ietf.org on behalf of
>     >     > >     > rrahman=40cisco.com@dmarc.ietf.org> wrote:
>     >     > >     >
>     >     > >     >     Hi,
>     >     > >     >
>     >     > >     >     https://github.com/netmod-wg/yang-ver-dt/issues/49
>     >     > >     >
>     >     > >     >             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?
>     >     > >     >
>     >     > >     >     Good point. What was meant by that the label space for
>     > modules and
>     >     > >     >     sub-modules are orthogonal.  e.g. the sub-module and
> module
>     > both
>     >     > have
>     >     > >     >     the same label, it shouldn't be inferred that the 2 are
> related.
>     >     > >     >     We'll change/clarify the text.
>     >     > >     >
>     >     > >     >     Regards,
>     >     > >     >     Reshad.
>     >     > >     >
>     >     > >     >     On 2020-03-20, 5:08 PM, "netmod on behalf of Reshad
> Rahman
>     >     > (rrahman)"
>     >     > >     >     <netmod-bounces@ietf.org on behalf of
>     >     > >     >     rrahman=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 on behalf of
> mbj+ietf@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
>     >     > >     >             https://www.ietf.org/mailman/listinfo/netmod
>     >     > >     >
>     >     > >     >
>     >     > >     >         _______________________________________________
>     >     > >     >         netmod mailing list
>     >     > >     >         netmod@ietf.org
>     >     > >     >         https://www.ietf.org/mailman/listinfo/netmod
>     >     > >     >
>     >     > >     >
>     >     > >     >     _______________________________________________
>     >     > >     >     netmod mailing list
>     >     > >     >     netmod@ietf.org
>     >     > >     >     https://www.ietf.org/mailman/listinfo/netmod
>     >     > >     >
>     >     > >     >
>     >     > >
>     >     > >
>     >
> 
>