Re: [netmod] Joint WGLC on "semver" and "module-versioning" drafts

"Jason Sterne (Nokia)" <jason.sterne@nokia.com> Tue, 13 June 2023 16:00 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 874BEC15109E for <netmod@ietfa.amsl.com>; Tue, 13 Jun 2023 09:00:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.096
X-Spam-Level:
X-Spam-Status: No, score=-7.096 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_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=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=nokia.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 twD_e4gMe1TL for <netmod@ietfa.amsl.com>; Tue, 13 Jun 2023 09:00:40 -0700 (PDT)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2119.outbound.protection.outlook.com [40.107.237.119]) (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 1CEDDC151525 for <netmod@ietf.org>; Tue, 13 Jun 2023 09:00:38 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fHebuajOxfiEwiXfmazPCZddjDmQwHPSnLvcC42cNd35Vjt68Dj0tWehPLTkFBBhWZV65Yvz57WWLntgXRPaB9vJeGIeei/tVHSKk0gjlAK2oXYMck8SZCOwMrbag7K/gRLHfBvOhNmbzpj0s5sSYR7zfsV9bOHGzoEMtaoqhRsHSiKHR2myy8y9X2Xpf5GeCV4vNg+cNyU2hRFKcIRCRiDYbPG1uG4COzuHUyU8T0iTdjH/AGfqUF+kyY4lfKlzFpZF6rQ5sNvZN0J0IXHH7xH5o8u4SSbhxhxz3BBMrnm9sIzjz+vCgsMByXH62LCy0lY7BiLwWxfTEKUXdtB1dg==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Zsq3nOoeJ680Gkw2Mjpofp0RkPUY7WDKsDfyzWhg3YQ=; b=G4sMJTTmOjoRkpf6UQUBUHF3xV95Ia7AQXCQbw8iRKUobW4FpK22420b8vXMFPqSWSs9wc2MHPVeyduBHalEbBqL2v6qZnORAJknpHntwMfNq5v1dH6EuJda0mQEZSUK6IugpQ/saGN0EX11NlocnfhPVwrNIBeBIUWY2w/6+a6NdYccjjgnu4wGy8ac2H6rlPEDmMD0aQlmwfTjdVfU3kqeJfoOd/99k/ePehYXlUaV7zxynr/ZOiOpAOmaUCVY9cgSsAVdCurwwkp8XEZtsVlcBlr8IPctT+dM8hg2zyC+kTkomZ35lJ70IHTfWQmx3X6yE5h+oAjzv7QELj1kRw==
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.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Zsq3nOoeJ680Gkw2Mjpofp0RkPUY7WDKsDfyzWhg3YQ=; b=iJls+kdRVwvi4CFaJjX2eMWKTrr/geNoYNJvdgHU01T05ulrrsRGmKu+glu5XMdjzVxyyUvaWBLWigGhA8V4nnWLh1lxYtraqsklecJDHGrcFotAv53m00+rhicezGTYhcRJp+WUxH+UFWGiz7KW3eLQw3r8eKuwqKgHfOK3DQAOqmHEesbteu3hcWVns2g0s5Ud5u/JtYUGHufewL7ATTCKTH7LLXgYlhBJKyrRGounrztQrQOE4mzhU/dxrwU8aWx1srIMG5hN4gxJEh3+U1OrANXPeEjUH74btEbp3gCfULXJ8cswrlt8rou6cMrp0aEZi8kugZYhliQMKxeRjw==
Received: from DM6PR08MB5084.namprd08.prod.outlook.com (2603:10b6:5:41::29) by PH0PR08MB8315.namprd08.prod.outlook.com (2603:10b6:510:16d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Tue, 13 Jun 2023 16:00:31 +0000
Received: from DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::1633:c89a:4f32:6da4]) by DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::1633:c89a:4f32:6da4%7]) with mapi id 15.20.6455.039; Tue, 13 Jun 2023 16:00:30 +0000
From: "Jason Sterne (Nokia)" <jason.sterne@nokia.com>
To: Andy Bierman <andy@yumaworks.com>, Martin Björklund <mbj+ietf@4668.se>
CC: "rwilton=40cisco.com@dmarc.ietf.org" <rwilton=40cisco.com@dmarc.ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Joint WGLC on "semver" and "module-versioning" drafts
Thread-Index: AQHZmYGOqeI9f3TDkEeqTeLHC6dik6+I6isA
Date: Tue, 13 Jun 2023 16:00:30 +0000
Message-ID: <DM6PR08MB50849DDBB919B02F42D6DE829B55A@DM6PR08MB5084.namprd08.prod.outlook.com>
References: <20230605.223251.336974778999487126.id@4668.se> <ykghe2tzoe2rqzh3brfbsuvvhswi7fzul5ygfnokuyih4t4emo@kpnvucchbed5> <BY5PR11MB41966AE860E22466F8037B6DB552A@BY5PR11MB4196.namprd11.prod.outlook.com> <20230607.092201.152004661869529702.id@4668.se> <CABCOCHRrn+55dP+UsvjRw9TqKn2LrV+GdCYweKWRVVLkrj7J+Q@mail.gmail.com>
In-Reply-To: <CABCOCHRrn+55dP+UsvjRw9TqKn2LrV+GdCYweKWRVVLkrj7J+Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DM6PR08MB5084:EE_|PH0PR08MB8315:EE_
x-ms-office365-filtering-correlation-id: 74110c83-4609-4cb0-6267-08db6c275016
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: sEvAkRTKiIHslh0N78yyhUENi0UBR1vgGrVCtjVMw1R1McaSU89dxb+Z2f2P6xiP3F8U6CtFGd0bIQkreuCeNMD2CQ6Midal2cReWIDn/fYeggMDrLWWQ3Z3v8NdbBfkj3PSP+teJBgiu25dcnf53Cx/hokHWl76RO5VtpwwKs1UHNWi5OC/8jKWHVT2K0OQKvVs9mxrr1kBC0QX8WLeGOWc0BdpdZ2C/RrW3ZlVurpJrfkZBuEiamhfMsYyqAcBCBU3rsQNYQCqxRhiH2rmeTcBq+XdLRHou7fpGF9kT2u2A7EkfCa94L/F0fD3bR7O0Ye/pBgZDgmdu6Z5IUJdtwaYDRzGL2cguZNRYehUSBAZFDSt5JvSIJB2LwqjyUxtPeaDk0Fod/xD740GRfUjliA+b26zuTWWSayoriI0U+KMbdBPB5nryLHfWsJyB2V5vYjCKSRfvpz97SYq3Fsvh19xayIMC7MCh3WWL9GJioPkGmqULkLPW0heZwGER0IFhiq+OQARqdLwCIXKWBdm/GW8pTQ38pYsv9L0fbw6EJSE+oSWl8ek1pTZXn3GnHUjdDYuFiKZp0oLeoxMQ8tQsLQVfci+aGJRsTFeikAKJ0SaazMXNUVsJBQDOAPaMRghwBCcxSAduYuJdov0bBiv6A==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR08MB5084.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(366004)(39860400002)(346002)(396003)(376002)(451199021)(41300700001)(71200400001)(7696005)(122000001)(66946007)(66556008)(64756008)(66446008)(30864003)(82960400001)(2906002)(66476007)(76116006)(110136005)(52536014)(38100700002)(40140700001)(8936002)(38070700005)(8676002)(5660300002)(54906003)(316002)(86362001)(166002)(4326008)(33656002)(55016003)(478600001)(84970400001)(6506007)(966005)(9686003)(53546011)(26005)(186003)(66899021)(83380400001)(66574015); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: aPxzCB1hrehMRM9YlXWoV+LT29Hy8VCZS4QEjvDblv3Iaqr7SkQsi61dpEAQXrvU8vn1nadfqOm7QDF1coiXThZW7VzM3VVX13upEATb/92HQzpMU9ftdLSi2wp5waBCQAoCRNBVTR6oCZDmH2PDS15nmu001hvBS92Z8DFaBJJJi49ywxB/8bhEtkhYplkV4tZKpVLJMA12JbufIfK654tVvQ6o7YZ1nd0lKXxDutGTOsZcl8Il3Ozx3wpUJFTIP0qNicqDqUCXmW3/NBjBACEfA7KSaFdSYISlR3YCge9U/IhW9Beez1NF8KpSTn021vWwuwKUvyL6/MEIGqErXDoo0ii2735TCRBtV0ceJQnoEdszPZJ/gc/PepCDVwWtQrV+uy1/uuuFTBXeO/03iNnWh1z/JgomHnpIoKSXXVV1ttr7fOB0pOLTWvVCtDbe1bODH3ZYspp5wBsPdlEEfw2RkVHDRHLlV3AZf28kUQ6SHo344QmF2HwusUxSCioZIvuZEx3lFXhK1kQXNDHrd6GuIxhC5C65EfQXtbsv9mEznqgWJC/33CzUorTpx1qGug3XDInBGpbbTVvcTlkbokYU8YvPoGBdu5mUbtVACdTgev55jS84yQ3Cbv8sslqJzOl7ji274QNdOVb94JlY5zc06YYz2OXxW6sdKAfGVpiiQAzA8YQlrd/N7ISJuTZtVeRcWCkUMSsfTgrrDpTvopgE5RKAL/mha6CWeSftGCcbbZC71L0e/gahGhPGwbf0vBOkNNFhJZ9yDxCwtQ3DdDtrOYp1BavFpjQDR6vpKk2efPv6c6KiPyQ4PlHgA7xvbZV49PvtTVRpFKa7F+7sBqIAVLKzs5utf4ySLh8UEA9NjTIDGupbXU3NKp8DxV/Gqg6i1momb96l21AN1O3tkKZCUvOQPd5mz7/p1W+T/b5/L/Pq5w4hW0EGl02BAJxz2+99sJJ1MdyOelM+nZ91zVMkaCcZi0jKd2gGTCREx4UfArDWgpzopzwQBwH/DimI2cvbJ5thBTkiMpHVV9xvJ2264uGsNx3a9vSL+08E82yCiWrcW4GN8p2k0/ddFUdwpe1O9//lw6bwVWnYHAOhpxIsTzWwXRTJOdQ1Q+Z/mB1VuwGDsCme5voc/J77Q2rnRra+SFC+cMAhV6WBDqtTYwA6nToC1iKX/vR4yXX51FkENF2nQBcJebAYO/diLz5q+yVVuOU13rdh852llPm3Vntl5NMYlBH3wEPtv5wEmvSqKKrNCjyNs5ZLyPjT2DTQ28MnDQ1my1m04/WZhfHxUveeji8gsnHtRPZAZIHB+cjrMD+eoxNOmbkIAcZTmgAq6/xkc2w5l9AMIAh/NdN1+MfB50erLV4RNj7/DBkG/gy+MhJBpSC4rGlV8qbwCsnlTNMaaGlTd/UExcNtEUinbs3Xd06aD4Px912c9iHsbEjBDo1P143ezqzMUq6vpkAGClORAsEpXrf2PQQ0U7RzjlLOkHQRLJLzi8FlPvWmf53LviT7DYZu76CSHpueg+uzL9ebeEppA3UqKhzXY1aKLFTnt8rTayTroKEAiwuAeOTb2VObshe77n/a1L1rk44Z
Content-Type: multipart/alternative; boundary="_000_DM6PR08MB50849DDBB919B02F42D6DE829B55ADM6PR08MB5084namp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR08MB5084.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 74110c83-4609-4cb0-6267-08db6c275016
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2023 16:00:30.5832 (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: onpXy5cDRgrQdIYYgSIGCaHNGTZr0yKGe71EEdWFU/mIdDZ9k07lfI25Me0G+qwz35c528HBh1x3ds+Dc8QRWA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR08MB8315
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/nUpyn9tp5wh-nTWT7YZAes_UNck>
Subject: Re: [netmod] Joint WGLC on "semver" and "module-versioning" drafts
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: Tue, 13 Jun 2023 16:00:47 -0000

Hi all,

I don’t think requiring a new YANG 1.2 (or 2.0) is a practical way to introduce this much-needed enhancement to YANG (indicating NBC changes and clearly alerting users of YANG modules to the fact that there is an NBC change). NBC changes are happening (IETF, vendors, other standard bodies) because sometimes they are the most pragmatic way to evolve a model in some cases.

If a YANG authoring entity (IETF, vendor) suddenly marked their latest YANG modules as 1.2 and those modules contained some new language keywords, it would immediately impacts dozens/hundreds of users of those modules. Tool chains will break.

Using extensions allows a smooth and gradual deployment of the rev:non-backwards-compatible functionality/indicator. It won’t break tool chains. It is useful additive metadata immediately available at minimum for human readers, and over time tools can be upgraded to recognize and act on the extension. In the meantime, no client/user is worse off than today.

Many YANG authoring organizations haven’t even moved to YANG 1.1 yet. Pyang doesn’t yet support the full set of YANG 1.1 changes (e.g. submodule scoping changes). I think it would be a mistake to only put this new YANG versioning work into a YANG 1.2 (which would be cumulative of YANG 1.1 + additional changes). The extensions are useful to YANG 1.0 and YANG 1.1 modules.

I still feel the work is a good practical step forward for the YANG ecosystem.

Jason

From: netmod <netmod-bounces@ietf.org> On Behalf Of Andy Bierman
Sent: Wednesday, June 7, 2023 4:49 PM
To: Martin Björklund <mbj+ietf@4668.se>
Cc: rwilton=40cisco.com@dmarc.ietf.org; netmod@ietf.org
Subject: Re: [netmod] Joint WGLC on "semver" and "module-versioning" drafts


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 Wed, Jun 7, 2023 at 12:22 AM Martin Björklund <mbj+ietf@4668.se<mailto:mbj%2Bietf@4668.se>> wrote:
Hi,

But the two drafts go way beyond fixing the problem your three
examples illustrate.  If the goal is to indicate that non-backwards
compatible changes have occured, a single new extension statement
could solve that.  (As I probably have stated before, personally I
don't think this is necessary).

Problem 1)

We started out with the "grouping drift" problem.
That led to "import-by-revision" in YANG 1.1.
These drafts attempt to fix that.
The "min-revision" for an import is an improvement over "exact revision".

Problem 2)

Sometimes, after considering all options, breaking YANG Update rules is
the least bad option. The versioning draft attempts to fix that problem,

Problem with Problem 1)

Attempting to solve the "max revision" problem is much harder than "min-version".
A revision-label for every identifier in every module would be impossible to manage or use.
A single revision-label for the entire module is usually way too simple and not useful.
Importing the latest release without incrementing the major-release number
sounds like it helps, but most of the time, using the real 'latest' will work even better.

IMO complex lifecycle issues require resource-level support (like HTTP has)
built into the protocol. For starters, NETCONF needs to support warnings.
This would allow the server to send deprecation (and other) warnings
and other metadata at the resource level.


Problem with Problem 2)

RFC 7950 is quite clear that extensions MAY be ignored
and the yang-version field determines which specification is used for the module.
Any tool that supports YANG 1.1 is not expected
to handle module changes that the RFC says MUST NOT be done.

Updating the rules to say that the MUST NOT is replaced with MAY means
that all YANG 1.1 tools MUST support NBC changes.  This is a big change
that should require a new yang-version.

IMO changing the official module update rules is not really needed.
It should be OK for a WG to make an NBC change to a published module,
if the consensus is that this is the least bad solution and better than
starting over with a new identifier, then just document that and allow the NBC change.

This would be an interim solution until YANG 1.2 is done in the future.



Apart from the updates to RFC 7950 section 11, I am mostly concerned
about the additional complexity the "pluggable" revision-label scheme
brings.


Agreed.  Why isn't YANG Semver good enough for now?






/martin


Andy





"Rob Wilton \(rwilton\)" <rwilton=40cisco.com@dmarc.ietf.org<mailto:40cisco.com@dmarc.ietf.org>> wrote:
> I'm wondering whether we are in the realm of missing the bigger
> picture here, or perfection being the enemy of good enough.
>
> My first example:
>
> The sedate WG (https://datatracker.ietf.org/wg/sedate/about/) has
> recently been rechartered to respecify the meaning of the date string
> in a non-backwards compatible way.  Yes, this same date string format
> that is very widely implemented and deployed.  I originally had a
> block on the new charter until it was pointed out that the IETF
> specification was being updated because it was inconsistent with the
> ISO time specification and inconsistent with how the date string was
> actually being used by implementations.  I.e., the specification is
> being updated to reflect reality.  I.e., fixing the specification in a
> non-backwards compatible way ends up being pragmatically the right
> thing to do (and this is entirely allowed by the IETF process).
>
> Ideally, the date-and-time typedef in YANG would also be updated to
> match the update to the definition in RFC 3339 by SEDATE.  But this is
> clearly not compliant with section 11 of RFC 7950 (because the value
> space of allowed values is being narrowed).  The only available choice
> would be to define a new date-and-time-2 typedef which modules could
> then update to.  Of course, you cannot update the existing leaves to
> use the new date-and-time-2 typedef because that also violates section
> 11.  So, you end up with two datetime leaves everywhere the
> date-and-time typedef is used, hopefully with one deprecated (and at
> some point, obsoleted).  Of course, defining the new datetime version
> leaves could also break any loosely related modules that may have
> xpath expressions dependent on that date-time leaf (that the updating
> module author may not even know about) which would need to be updated
> to depend on either of the leaves.  I also don't think that RFC 7950
> is clear about whether deprecated leaves must be implemented by all
> implementations or not, so realistically clients will need to handle
> setting either (or perhaps in some cases, both) of the datetime
> leaves, depending on implementation, probably with a different mix
> across modules (in vast stages of being updated).  What happens if
> some instances of those datetime leaves are mandatory configuration
> and become obsolete?  Is a client required to set it or not, the
> pragmatic answer being that again RFC 7950 is unclear and again this
> will likely be implementation dependent.  What about if some of those
> datetime leaves are list keys?  I believe that the only solution that
> RFC 7950 allows for would be to duplicate the list, deprecating the
> old one, again requiring updates to all augmenting modules, and
> corresponding impact and churn on clients and servers.
>
> I suspect that OpenConfig may also have a date-and-time typedef.  I
> can be certain about how they would handle this same issue - they will
> just update the definition.  Some clients/servers may have minor
> impacts when they update to a new version of the model, but the impact
> and effort required is minimal, and I think several orders of
> magnitude less then the potential resultant churn than would happen by
> strictly following the RFC 7950 section 11 rules.
>
> Some may argue that I'm not being pragmatic, and that this could just
> be handled as a bugfix, changing the existing type.  This is one of
> the key things that the YANG versioning is trying to accomplish and
> allow.  It isn't aiming to say that module designers have carte blanch
> to change modules in non-backwards compatible ways.  Instead, it is
> saying that in some cases, the pragmatic solution is to knowingly
> break the RFC 7950 rules and make a breaking change because that
> causes less impact.  Further, a key aim of the versioning work is that
> it is much better to be explicit that a breaking change has occurred
> such that a client can easily be warned of that change and take any
> mitigation necessary - which in the datetime instance above, is quite
> possibly that no mitigation is required at all.
>
> Finally, I will note that rfc-6691-bis contains a change to the
> datetime definition that is not backwards compatible with the existing
> definition because the semantics of the leaf are being redefined.
>
>
> A somewhat similar second example:
>
> The YANGs IP address type handling of zone information is very similar
> to my first issue, where OpenConfig came to the pragmatic conclusion
> that (in their models) 100% of the use cases of IP addresses only use
> the numeric form without zone identifiers, and hence when someone sees
> the typedef ip_address, this is what they are thinking of, so they
> just pragmatically updated their definition of ip_address type.
>
> Somewhat related to this, I will note that rfc-6691-bis contains a
> change to the ipv4-address and ipv6-address regex definition that is
> not backwards compatible with the existing definition (it narrows the
> valuespace for zone-ids restricting it to ASCII letters and digits
> whereas previously it allowed for any language letters or digit
> characters).  I believe that this change is not strictly compatible
> with RFC 7950 section 11, but I still think that this is the
> pragmatically right change to make without introducing a new set of IP
> address types, despite the fact that it could hypothetically break
> some clients/servers, and we have no way of knowing in advance if that
> will happen.
>
>
> A third consideration:
>
> Yesterday, Jeff and Mahesh presented in a NETMOD interim on their
> learnings from trying to write the IETF BGP model.  One of their
> outcomes is that they think that some of the other models recently
> standardized by the IETF don’t interoperate well with the BGP model
> and will need to be revised.  I've no idea whether those changes can
> all be made cleanly in a backwards compatible way, but I suspect not.
> Hence, my concern here is that the IETF doesn't really have a great
> path to getting a viable set of YANG models that work together,
> because just publishing modules working in isolation doesn't solve the
> industry problems.
>
> Because lots of the IETF YANG models have been written without a lot
> of implementation experience (chicken and egg problem), often my
> people who know the protocols but are not experts on YANG, means that
> we can be sure that there are likely to be many bugs and flaws in the
> YANG module RFCs that will need to be fixed or improved.  I would
> expect that some of these cannot be pragmatically fixed in a backwards
> compatible way.
>
> ---
>
> My interpretation of the recent last call review comments is the
> suggestion that we pivot to find a fundamentally different solution or
> approach to solving this problem as an RFC7950bis.  I believe that
> would be a mistake.
>
> In summary, a group of participants have been diligently working on
> this problem space for 5+ years.
>
> We have had a design team working on this area, and that solution was
> then adopted by the WG.  The authors and interested individuals
> working on this area has presented updated drafts and updates to the
> work at every IETF meeting for the last, 4+ years.  Feedback at the
> various stages/reviews/etc has always been considered, the authors
> meetings have always been open, and I don't believe that the solution
> drafts being taken to WG LC are architecturally significantly
> different from the direction agreed during WG adoption of the
> documents, although I do think that the documents are much improved
> based on the feedback received.
>
> I also appreciate that Juergen has always publicly stated that this
> work should be done as an update to the YANG language, but my
> recollection was that he was in the rough on this issue, i.e., during
> WG adoption, and since, at least until this IETF WG LC review.
>
> Hence, my concern, as an AD, is that if, after 5 years, the WG now
> wants to take a fundamentally different path to standardizing this
> work then I have concerns that the NETMOD WG isn't really functioning
> properly and cohesively as a WG, and I'm very concerned that we won't
> find any viable way forward for this work.  I doubt that it will be
> possible to get any quick consensus by opening up RFC 7950.  We may
> also find that the individuals who have invested a significant amount
> of time and effort on this work don't have the desire or energy to
> start from scratch again, when they have a solution that is good
> enough for their needs.
>
> If I understand correctly, the fundamental objection to the module
> versioning draft is around the updates to section 11 of RFC 7950,
> which effectively state that changes MUST be backwards compatible,
> whereas this draft states SHOULD be backwards compatible, without a
> change to the YANG version number.  Is that correct?
>
> If the existing deployment and evolution of YANG modules among
> vendors, OpenConfig, IETF, and other SDOs strictly followed the rules
> in RFC 7950 then I would probably agree that an update from YANG 1.1
> to YANG 1.2 is needed.  But I think that the reality is that tools
> must handle non-backwards compatible changes frequently happening in
> YANG 1.0 (OpenConfig) and YANG 1.1 YANG modules anyway.  I.e., I don't
> believe that the "YANG 1.1 no breaking change contract" is being
> widely honoured anyway, and instead is being treated as a goal or
> aspiration.  What these documents attempt to do is to move YANG module
> evolution from what we currently have now where clients don't have any
> way of really knowing how a module has evolved and whether they are
> impacted to one that they do, and as part of that process they are
> aiming to update the YANG versioning rules to better reflect how is it
> being deployed and used.
>
> Hence, as am author, I still of the opinion that the best pragmatic
> path forward is to try and get these documents to a shape where they
> achieve rough consensus and are acceptable to the WG to be published
> now, in the short term, as a good enough solution.  After that point,
> then I think that it would be great for some folks to form an idea on
> a what YANG 1.2/2.0 could look like, but I think that coupling these
> goals together would be a mistake.
>
> Regards,
> Rob
>
> // Who doesn't really know which hat he is wearing for this comment,
> but is only trying to do the right thing for the wider industry ...
>
>
> > -----Original Message-----
> > From: netmod <netmod-bounces@ietf.org<mailto:netmod-bounces@ietf.org>> On Behalf Of Jürgen Schönwälder
> > Sent: 06 June 2023 06:07
> > To: Martin Björklund <mbj+ietf@4668.se<mailto:mbj%2Bietf@4668.se>>
> > Cc: netmod@ietf.org<mailto:netmod@ietf.org>
> > Subject: Re: [netmod] Joint WGLC on "semver" and "module-versioning"
> > drafts
> >
> > On Mon, Jun 05, 2023 at 10:32:51PM +0200, Martin Björklund wrote:
> > > >
> > > > If the goal is to produce YANG 1.2 which (i) integrates semantic
> > > > versioning into YANG and (ii) fixes known bugs in YANG 1.1 and (iii)
> > > > does not add any other new features, then having agreement on such a
> > > > statement will help to steer the process.
> > >
> > > I hope that (i) doesn't happen.  I think it is the proposed changes in
> > > draft-ietf-netmod-yang-module-versioning that require a new YANG
> > > version.  If this new YANG version allows for other versioning schemes
> > > than revision-date, then we can keep the modified semver scheme
> > > outside the core document.
> > >
> >
> > I consider the module update rules a part of a versioning model. The
> > current update rules were written to support the current versioning
> > model. If we want to support multiple versioning models, then we have
> > to refactor the update rules out of the YANG language specification
> > into separate versioning specifications, i.e., traditional YANG
> > versioning and the new semver versioning. There are some language
> > mechanisms (like the import statement), that have to be flexible
> > enough to support multiple versioning schemes.
> >
> > Is it worth factoring the versioning model out of the language? I
> > guess the opinions vary widely on this, depending on the dynamics of
> > the software environment people are working in.
> >
> > /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<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