Re: [netmod] Poll on YANG Versioning NBC Approach

Jürgen Schönwälder <jschoenwaelder@constructor.university> Thu, 14 September 2023 09:34 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 A6FC7C14CE39 for <netmod@ietfa.amsl.com>; Thu, 14 Sep 2023 02:34:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 IfQFdQVsYCbn for <netmod@ietfa.amsl.com>; Thu, 14 Sep 2023 02:34:54 -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 77A21C14CE45 for <netmod@ietf.org>; Thu, 14 Sep 2023 02:34:53 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id F17DD11DF1; Thu, 14 Sep 2023 11:34:49 +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 HP4uEaCrWY4a; Thu, 14 Sep 2023 11:34:49 +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 11:34:49 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id 3973320150; Thu, 14 Sep 2023 11:34:49 +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 mB4JC-oD2EkL; Thu, 14 Sep 2023 11:34:48 +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 2098620095; Thu, 14 Sep 2023 11:34:47 +0200 (CEST)
Date: Thu, 14 Sep 2023 11:34:49 +0200
From: Jürgen Schönwälder <jschoenwaelder@constructor.university>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>
Cc: "Jan Lindblad (jlindbla)" <jlindbla@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <mdrwu364kinjj6kxzlddquxwf677ldnkal53zlnryqrf7fahky@jwsnnw6vvj2i>
Reply-To: Jürgen Schönwälder <jschoenwaelder@constructor.university>
Mail-Followup-To: "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>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <BY5PR11MB41969883EF54933408A0A97EB5F1A@BY5PR11MB4196.namprd11.prod.outlook.com>
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/3QhjrBBWKdcbFxUbdKH_PJ1PQps>
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 09:34:58 -0000

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