Re: [netmod] Poll on YANG Versioning NBC Approach

Jürgen Schönwälder <jschoenwaelder@constructor.university> Thu, 14 September 2023 18:46 UTC

Return-Path: <jschoenwaelder@constructor.university>
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 B1AD7C151083 for <netmod@ietfa.amsl.com>; Thu, 14 Sep 2023 11:46:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.606
X-Spam-Level:
X-Spam-Status: No, score=-2.606 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2qxoPTpL5Ieb for <netmod@ietfa.amsl.com>; Thu, 14 Sep 2023 11:46:30 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6880C151072 for <netmod@ietf.org>; Thu, 14 Sep 2023 11:46:27 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 1B93F124BA; Thu, 14 Sep 2023 20:46:26 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id sRI3Xr1KPb3J; Thu, 14 Sep 2023 20:46:25 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (not verified)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Thu, 14 Sep 2023 20:46:25 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id 61BCC20150; Thu, 14 Sep 2023 20:46:25 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10028) with ESMTP id teNzvm3jp3Og; Thu, 14 Sep 2023 20:46:24 +0200 (CEST)
Received: from localhost (alice.jacobs.jacobs-university.de [10.50.244.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by hermes.jacobs-university.de (Postfix) with ESMTPS id A313020095; Thu, 14 Sep 2023 20:46:24 +0200 (CEST)
Date: Thu, 14 Sep 2023 20:46:25 +0200
From: Jürgen Schönwälder <jschoenwaelder@constructor.university>
To: "Jason Sterne (Nokia)" <jason.sterne@nokia.com>
Cc: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "Jan Lindblad (jlindbla)" <jlindbla@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <hgjtsu3tzvih362sooq3vgyrf7wncg5yxbb3r6nfmunuadfwri@t2xj3z6zelee>
Reply-To: Jürgen Schönwälder <jschoenwaelder@constructor.university>
Mail-Followup-To: "Jason Sterne (Nokia)" <jason.sterne@nokia.com>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, "Jan Lindblad (jlindbla)" <jlindbla@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <0100018a866682fd-922054c7-e040-43d5-b26f-b16acfbd61dd-000000@email.amazonses.com> <s7ufdqzntxtymckckdhkd7a4cey632sir7ox3iw5m6x6fy6s5p@ekaw2h6muodc> <36A11C7B-E240-4CC7-A054-DC28655C4261@cisco.com> <64krrvbmsy4h7zbtvcs5zwwkrnyz7d77wl5baicl4ba54ibqfp@nc7qfwcfvojh> <BY5PR11MB41969883EF54933408A0A97EB5F1A@BY5PR11MB4196.namprd11.prod.outlook.com> <mdrwu364kinjj6kxzlddquxwf677ldnkal53zlnryqrf7fahky@jwsnnw6vvj2i> <DM6PR08MB508446B7E4042F3A5DDCD2609BF7A@DM6PR08MB5084.namprd08.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <DM6PR08MB508446B7E4042F3A5DDCD2609BF7A@DM6PR08MB5084.namprd08.prod.outlook.com>
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/135eywj6I-3QjlZBNtKNZFZTL5s>
Subject: Re: [netmod] Poll on YANG Versioning NBC Approach
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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, 14 Sep 2023 18:46:34 -0000

If the poll does not say what you want it to say, then the poll is
broken.

Right now, I see the following solution proposals floating around:

1) We change a single sentence in RFC 7950 and put an end to a
   multi-year effort that causes the AD to block other work from
   moving forward.

2) We make changes to YANG but we pretend that they are not real
   changes to YANG and we leave it to developers and operators to
   figure out differences in implementation behaviour one can create.

3) We make some minimal changes to YANG and we create clarity which
   rules apply and what what implementations support by giving the
   result a new version number.

Are there others? Lets talk about solutions and their properties, lets
stop standing on our heads. Guess what my acceptable and non-acceptable
solutions are.

/js

On Thu, Sep 14, 2023 at 03:42:43PM +0000, Jason Sterne (Nokia) wrote:
> I think it has been mentioned, but maybe worth repeating: this poll is *NOT* about accepting the entire Module Versioning + YANG Semver content as it currently stands.
> 
> We separated out the first of several key issues to try and make progress. This is just the basic fundamental decision of whether we will allow (as a "SHOULD NOT") NBC changes in in YANG 1.0/YANG1.1  (option 1), or we are going to mandate that can only happen in a YANG 1.2 (option 2).
> 
> After this poll settles out (hoping we'll get rough concensus), then we'll get back to chipping away at the other key issues (e.g. see email "YANG Versioning: Key Issues #2 and #3 - revision labels" from back in July, but there will be several other such debates & discussions).
> 
> Jason
> 
> > -----Original Message-----
> > From: netmod <netmod-bounces@ietf.org> On Behalf Of Jürgen Schönwälder
> > Sent: Thursday, September 14, 2023 5:35 AM
> > To: Rob Wilton (rwilton) <rwilton@cisco.com>
> > Cc: Jan Lindblad (jlindbla) <jlindbla@cisco.com>; netmod@ietf.org
> > Subject: Re: [netmod] Poll on YANG Versioning NBC Approach
> > 
> > 
> > CAUTION: This is an external email. Please be very careful when clicking links or
> > opening attachments. See the URL nok.it/ext for additional information.
> > 
> > 
> > 
> > On Tue, Sep 12, 2023 at 01:42:57PM +0000, Rob Wilton (rwilton) wrote:
> > >
> > > I think that for this first poll this is the question that we should initially focus on.
> > I.e., at a starting point, do you agree to updating RFC 6020, RFC 7950, to allow
> > changing the MUST to a SHOULD without a new YANG 1.2?
> > >
> > 
> > There are many options, one is to just change a single sentence. But
> > the poll fails to sort the options out.
> > 
> > > If we can get consensus on this part, then I think that we can try and tackle
> > getting consensus on the other updates in draft-ietf-netmod-yang-module-
> > versioning to decide whether to include those in a document that updates existing
> > versions of YANG without a change in the YANG versioning number, or whether
> > those changes should be deferred to a new version of YANG (which I hope that
> > the WG starts after this versioning work completes - but I'll no longer be an AD at
> > that stage).
> > 
> > This work is going on for years, the WG has failed so far to enumerate
> > the options and come to a conclusion.
> > 
> > > > There are features in draft-ietf-netmod-yang-module-versioning that
> > > > you can use only with new tools that implement the features. I am not
> > > > sure why tools that support different variants of YANG 1 and YANG 1.1
> > > > are any easier in practice than a tool that says clearly what it
> > > > implements.
> > > [Rob Wilton (rwilton)]
> > >
> > > I hear two concerns:
> > > (1) Existing tooling handling YANG 1 and YANG 1.1 modules must handle NBC
> > changes anyway because they see them in the wild and that won't change.  E.g.,
> > it is 99% likely that OpenConfig will still continue to use Yang 1 modules.
> > > (2) All existing tooling won't be able to handle YANG 1.2 without tooling
> > changes.
> > 
> > If you do not need YANG 1.2 features, YANG 1 just works fine. The
> > assumption that once can use YANG 1.2 features with YANG 1 modules by
> > simply not calling the features YANG 1.2 is what puts me off.
> > 
> > > > I continue to believe the questions are badly phrased. Instead of
> > > > discussing properties and trade-offs of solutions, we discuss the
> > > > version number. And we accept that bumping the version number is
> > > > considered too costly but at the same time the entire work is about
> > > > introducing version numbers to data models (where the same logic will
> > > > sooner of later apply). Yes, for me, this is real-world irony.
> > > [Rob Wilton (rwilton)]
> > >
> > > I see this as: What are we able to do now without changing the YANG versioning
> > number, and without breaking existing tools, to help solve real world issues
> > today?  I.e., the aim is to bound our solution by what we are pragmatically able to
> > support in YANG 1/YANG 1.1 without breaking existing tooling (which should
> > already ignore existing statements that they don't understand).
> > >
> > > Yang 1.2/2 should be worked on, but that will probably include other changes as
> > well and involve some level of effort from tool vendors to support.  It will also
> > probably also take many years.
> > >
> > 
> > A one line sentence change replacing MUST with SHOULD Not is one
> > thing, the ID on the table a different thing.
> > 
> > /js
> > 
> > --
> > Jürgen Schönwälder              Constructor University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <https://constructor.university/>
> > 
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod

-- 
Jürgen Schönwälder              Constructor University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://constructor.university/>