Re: [netmod] Poll on YANG Versioning NBC Approach

Andy Bierman <andy@yumaworks.com> Thu, 14 September 2023 20:36 UTC

Return-Path: <andy@yumaworks.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 379EFC15152B for <netmod@ietfa.amsl.com>; Thu, 14 Sep 2023 13:36:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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_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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.com
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 QUJidtRyWwjW for <netmod@ietfa.amsl.com>; Thu, 14 Sep 2023 13:36:42 -0700 (PDT)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ADC54C14CE53 for <netmod@ietf.org>; Thu, 14 Sep 2023 13:36:42 -0700 (PDT)
Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2bfc68be09bso15057861fa.1 for <netmod@ietf.org>; Thu, 14 Sep 2023 13:36:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1694723801; x=1695328601; darn=ietf.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=OuswJfNgAuBI4Yqtrt0A6BL1uE8VxClZfsCdDCM7eVc=; b=WduMnItqYcTBYPIgFmDAmAisqs1rQpqalRGZl7ylJr2EfyCqvymrAb9YXnodvk/skD kBbnCPlWNcfwJlrA5CyFHEBYusblsApBtXDvzHtGSXzog7u2vgGUTLRCpCYPZxKNwyoG Vr00vCVEz6Mjs38sXe82jXRPm45F9wN/PCsvg3twYgJxPk/X7P18nNobFefBlJg/te9E R6zMaUiXmLgZIlPyJuhUuuv+K38G+AetqC5sNDNkPNe93Rbv6Hx/ThFJeAMY+ZGYTmyA DwzZ5dKa8w0c1WpugwT5QbDdbsmmbca26eH3nNt23N6DeKWc0Utcnf6y5jXoUsj1I5AM GZ4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694723801; x=1695328601; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OuswJfNgAuBI4Yqtrt0A6BL1uE8VxClZfsCdDCM7eVc=; b=OB0ZzFVrBL9su8E0w3sG06t/Mh/TezfTJRLBQuPX8GM1SR4uV0UHa5eEKdb9otO5EG 4a0JDkgxrwFdTvAUcjL6WE7f4JNjWFQ0qFb0nNphi1CPa2wTxMaqDF1z5gYgxoo+dmz7 VHvlBY8N8DIgv/abJPhQVabHmgLx8/t/Lr/e4Yu+2bNRtKhGrQ1UldnTjNdgO8208QU7 SaGJdR4byG7kcXYbGx9MpHF4Ri4eaME4fAyEzONlOwjjpMgzgAEUFl9Nj8XL/tPlfkkd OT5C95WCZxcljW6kIWU1dXrqkRYV+C1R++JMAEUJzB1x2sLayWeNJXktY3WmyLRT8Rl4 BVig==
X-Gm-Message-State: AOJu0Yy7AqtG3pWpRjEITTC7jXGbDcMBL0XvJ83KR+LY7Ud93Go9eZDJ Q0fRm8D6uBVqisSVVB6UX36EYPsRazCl04BsLDjNlQ==
X-Google-Smtp-Source: AGHT+IGZ5OkuQ3SLL2LlSMR9n/TIWlv6q+SOITZMZubhxAp3+Eyld708iHCwOX9c9QDiTMUS5LZFxKSec3q3lFlzoXc=
X-Received: by 2002:a05:651c:230c:b0:2bf:bd57:5f98 with SMTP id bi12-20020a05651c230c00b002bfbd575f98mr1160011ljb.17.1694723800598; Thu, 14 Sep 2023 13:36:40 -0700 (PDT)
MIME-Version: 1.0
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> <hgjtsu3tzvih362sooq3vgyrf7wncg5yxbb3r6nfmunuadfwri@t2xj3z6zelee>
In-Reply-To: <hgjtsu3tzvih362sooq3vgyrf7wncg5yxbb3r6nfmunuadfwri@t2xj3z6zelee>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 14 Sep 2023 13:36:29 -0700
Message-ID: <CABCOCHTv6JxpiFSVCbfj6ZaRusrYXs-Nagxpop9xLnbq5YOU9w@mail.gmail.com>
To: Jürgen Schönwälder <jschoenwaelder@constructor.university>, "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>
Content-Type: multipart/alternative; boundary="00000000000020a08f060557a2e4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/zwW1AFnOLhgo81xL-ERvbXbccc8>
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 20:36:47 -0000

On Thu, Sep 14, 2023 at 11:46 AM Jürgen Schönwälder
<jschoenwaelder@constructor.university> wrote:

> 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.
>

OK.
It would be useful to identify the specific text in RFC 7950
that is causing all these problems for the IETF.

 IMO, nobody is objecting to the MUST or MUST NOT text in sec 11, para 2,
3, 4, and 7.

There is only 1 paragraph in the entire RFC that needs to change (sec 11,
para 6)

OLD:

   Otherwise, if the semantics of any previous definition are changed
   (i.e., if a non-editorial change is made to any definition other than
   those specifically allowed above), then this MUST be achieved by a
   new definition with a new identifier.


NEW:

   Otherwise, if the semantics of any previous definition are changed
   (i.e., if a non-editorial change is made to any definition other than
   those specifically allowed above), then this SHOULD be achieved by a
   new definition with a new identifier.

My preferred solution path:

 1) Issue Errata for RFC 7950 and Hold for Update or Verify.
     Either way, allow IETF modules to use the NEW text
 2) Remove updates to RFC 7950 from the versioning draft
 3) fix the other issues raised with the versioning draft and publish it

Andy



> 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/>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>