Re: [netmod] YANG Versioning: Key Issue #1 - Allow NBC changes in YANG 1.0 & YANG 1.1 or not?

Balázs Lengyel <balazs.lengyel@ericsson.com> Mon, 24 July 2023 01:25 UTC

Return-Path: <balazs.lengyel@ericsson.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 5F582C15108C for <netmod@ietfa.amsl.com>; Sun, 23 Jul 2023 18:25:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, 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 (1024-bit key) header.d=ericsson.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 dD8aOniaPTz8 for <netmod@ietfa.amsl.com>; Sun, 23 Jul 2023 18:25:44 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2080.outbound.protection.outlook.com [40.107.13.80]) (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 A460CC15107C for <netmod@ietf.org>; Sun, 23 Jul 2023 18:25:42 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YOlpj6X+NxG1C1l5+dBRn5+IQUrm9oFwoHYsu4X8HCSwvI9meexToc23mYFaguU1VWmrikCTgXGhdBlFy1iClOrFMre/i2i+PjU9IHDdfA3bracFE2NFRQrukWlVBIb3ZGyJDK7dISI1wY0nbxEM3syf0I1hGj9gKf9BPMeufjM/m1bmoB8tP1eZvvc6YnASgDTvjl12aSr4PXSpkLOyMjrv/mfiIlR5jD+pIPyVaaDhAvgBz2WyhBVFsVksDR6tvEBFiccxgIJZ1BdFrl6XFwM4mtqMephmiKKyCJZGQtIiz9mSmzy2Z0IzIdg2sbFMN4w8qpqBp9YLLg+yWxr/xQ==
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=I7Ej6lIAqTtKsr9QQ4vjcLf7BVR7fk0D/EKA7xnIEpY=; b=WbnJUWvBvQyM0wbWtQ1j2GQueKpYjzg0d2eJrs8ATtfIGtivKeWpTO462k2d8op4EBbJrMlQ8gussCSrYBSZ/qifGEMUF22R3Is77agm/O39m83kw7g2+l1FmGZzBwxxI+GubLKGMkKiosb0ii0X2GMcUzpGkQNhj6sl7F35quf/O8uJ8u52ASUFK2ejJgg2YF++TJiCW1V7HB1CYsfwVAmWGqVc8yN7bhFS62rSXtRSWsdBTpOtkxEHdOX1fgAQ45m42UFknoZbwzyHXZ36j6dk08qei6OeARjDVZGGSI57tmftIm+7GOJynS0LGI5PI5YJk0VRyYRfXsxRLOgz6A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I7Ej6lIAqTtKsr9QQ4vjcLf7BVR7fk0D/EKA7xnIEpY=; b=lUKL/dnOTj26KWrXTx9KphD+8i2pF/IKmF8mmWhGC/acWUomBmSh4YWYWTND8O4YcKXlN+FRst3QHDHmL5MIl8WcbH5lgmzScfGBdjbsJMlrwcXeNx7DMBhNMC6XYfRssuIhZQKPNZJVt1AX7hmLE+JOy8feoH/qPo2fn1UL9lI=
Received: from PAWPR07MB9274.eurprd07.prod.outlook.com (2603:10a6:102:2ed::11) by VI1PR07MB9874.eurprd07.prod.outlook.com (2603:10a6:800:1d5::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.32; Mon, 24 Jul 2023 01:25:39 +0000
Received: from PAWPR07MB9274.eurprd07.prod.outlook.com ([fe80::a2ee:d565:c3bd:3bd]) by PAWPR07MB9274.eurprd07.prod.outlook.com ([fe80::a2ee:d565:c3bd:3bd%7]) with mapi id 15.20.6609.031; Mon, 24 Jul 2023 01:25:39 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: Andy Bierman <andy@yumaworks.com>
CC: Martin Björklund <mbj+ietf@4668.se>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] YANG Versioning: Key Issue #1 - Allow NBC changes in YANG 1.0 & YANG 1.1 or not?
Thread-Index: Adm41s1v5oEcHgtoReGNXY5u/2eqUQAluT4AAD2o84AA15PWgAAAsUgAAAF0rjA=
Date: Mon, 24 Jul 2023 01:25:39 +0000
Message-ID: <PAWPR07MB9274F060B5C78C1C7FD17796F002A@PAWPR07MB9274.eurprd07.prod.outlook.com>
References: <DM6PR08MB5084CA2A7EAF55F67D8851D19B3BA@DM6PR08MB5084.namprd08.prod.outlook.com> <20230718.134758.2206037224145407934.id@4668.se> <CABCOCHSRbTfwTHHK3q3U-8GSBvK9x0epjyKWphtmO3cR+xFefQ@mail.gmail.com> <PAWPR07MB927491FEFD053A977FA3DB96F002A@PAWPR07MB9274.eurprd07.prod.outlook.com> <CABCOCHQM-R-efhvukKUbk_eT0UKnJA8JECrvhN3dYRn_5FXOog@mail.gmail.com>
In-Reply-To: <CABCOCHQM-R-efhvukKUbk_eT0UKnJA8JECrvhN3dYRn_5FXOog@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=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PAWPR07MB9274:EE_|VI1PR07MB9874:EE_
x-ms-office365-filtering-correlation-id: 045297dc-3ca0-4401-ce1d-08db8be4e3fd
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xL8lwwBQ1Yi1+elczrWQZ+JQMbQSf+u9wFxNt7EKAOUoQKRnwTRkktot3HjPwnp47a1YUHVx4rBJu8Cufvgasn2zVNW+oGVUNqofLAn/xODgqJbJX2V4y2tYGdXMgMVhkeHB/v2nF2HTTh81PeUE87tO0VgGnU+XUfaABMdVBKmZMNXzkKJTJrGqcJjz+l8x3GAcjURZQvg5eyrbRdpJE/2hR8ENklFNV/UyQ3MpNjanr/s1FBY72bpvCjUURdCVp7UbSDDdrVGUmnykIepzp237HqJHllCBzjJaEvGmcjzafGyawFZ83PkuHWYeSDKKduUMEiSFfKxnTAAfl5hijJDfYKdaOlagaWqyFGXw8ljFP11cG7Il3vQckbM3xmbHlZarEViv1zUG1Bxa/ERi1Bd9CfIH/5hh4qZ1yPqAxmLwJCbeol7eEkyDRSmo1F42x8EsKnk87HMblWY6hnLiw/xX4CTMUlRrzPYcjXTksQ4LPQVR0TmO/2fvLJMvH5uOXpJZp4Qp4Ll5SrHiV3SxfSn0MlHR0yTktQPVW/F/+KL/hQNv1a/hSgzv7OyMWM8hS+oWUfLpWMMNGa8qRf1fhYETFKO0YZtmnWl+DPkN9TKVGuTuv/bOZyVQDMmkY1Ry6N/BiIldDmLVw4lta4lSIncQYBs52wAuAPrjRmIO8Vs=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAWPR07MB9274.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(346002)(39860400002)(136003)(366004)(451199021)(71200400001)(966005)(7696005)(478600001)(54906003)(9686003)(53546011)(186003)(6506007)(2906002)(316002)(41300700001)(76116006)(66946007)(66556008)(66476007)(66446008)(64756008)(6916009)(4326008)(5660300002)(52536014)(8676002)(8936002)(9326002)(82960400001)(166002)(38100700002)(122000001)(85182001)(33656002)(85202003)(86362001)(38070700005)(66574015)(83380400001)(55016003)(17413003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: IP0L8bIcoK5L01QWHlR0zHqJSYzlFqA4FLOoSU5rdOepTQ9unhqwMq2dPSsjR3TglrDLrqPAf/E9DGRPV3S0yTfYmJ1LrGNU+KwUMb0X7qzaPxOxF4gK8TTNb0a3dIdVVupgXDTq8HVRLlgWdjYO4h0UrWHMpUlZIJhc1VafGial9gbilIEF3f+j2BJ2Pazq+4KCEy6MMS42+7PgxEa4kdxCCrWIqmrMUod8Ar39MvdMI0hZZGsYT7ETB3yORSdED37S4KcUE2LWvt2DTdpA83/gTyXu/a4WWNwRP2Yv4MOZSMvojagZTlrP7tQcf23PxLpDnBRfCq8SpQm645BFOSwyJ4q8dUi+iVKThljjGTLmyYVc3v/PDeF+6PPrQaXx5F3LP/CwJSifquDrzYUoX0EPRznpOpKyCXSblgkVLfjbdvL55zj7jZLxAO5Ok9icDwMkVI8mqNmjnUMoiY4IBb9v4Ei34L2EPL4W0XMKqedUHEZ6pF0+g1AiV2LRta3JrdJavHdcxxWNsKTLePIv+qn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yem5NzbuZdkPajnXbgFpV7gekFKmVEB8K79Bg/umW73El9UQwa
Content-Type: multipart/alternative; boundary="_000_PAWPR07MB9274F060B5C78C1C7FD17796F002APAWPR07MB9274eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PAWPR07MB9274.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 045297dc-3ca0-4401-ce1d-08db8be4e3fd
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2023 01:25:39.6381 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: NwDj5x0IMi+ovFVDodl/RIaDSLpVI4+xiHyNqo5eoufCral2D50ytV1tQt1PdRxZCwKPvDMw06ecsz1QPsoSh62k2jxHC6Ii5lrSUL7ivP4=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB9874
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/FDWXklNkG_oRhmXx8XPE2cp82Xo>
Subject: Re: [netmod] YANG Versioning: Key Issue #1 - Allow NBC changes in YANG 1.0 & YANG 1.1 or not?
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: Mon, 24 Jul 2023 01:25:48 -0000

Hello Andy,
I assume you are referring to the sentence “A new module revision MAY contain NBC changes” from the versioning draft.
IMHO the authors agree that NBC changes are bad. They should be allowed but discouraged.
Would a sentence like
“A new module revision MAY but SHOULD NOT contain NBC changes … ”
be OK ?
I think the MAY part is also needed< because that is what we are introducing as new compared to 7950.
be agreeable?
Regards Balazs

From: Andy Bierman <andy@yumaworks.com>
Sent: Sunday, 23 July, 2023 17:26
To: Balázs Lengyel <balazs.lengyel@ericsson.com>
Cc: Martin Björklund <mbj+ietf@4668.se>; netmod@ietf.org
Subject: Re: [netmod] YANG Versioning: Key Issue #1 - Allow NBC changes in YANG 1.0 & YANG 1.1 or not?



On Sun, Jul 23, 2023 at 5:08 PM Balázs Lengyel <balazs.lengyel@ericsson.com<mailto:balazs.lengyel@ericsson.com>> wrote:
Hello Andy,
In 3GPP we have endless debates about what is a bugfix. If the functionality will not work it is a bugfix. If it works in a bad way it is or maybe not a bugfix. If it works just in an ugly way is it a bugfix?
Conclusion: it is not possible to define clear criteria about what is a bug and what is an improvement.


It is easy to change MAY to SHOULD NOT in the versioning draft.

IMO changing MUST NOT to MAY is unacceptable.
The versioning draft is attempting to completely toss out all of the YANG update rules.
Changing the normative text to SHOULD NOT instead of MAY does not require any specification of a bugfix.


Regards Balazs


Andy


From: netmod <netmod-bounces@ietf.org<mailto:netmod-bounces@ietf.org>> On Behalf Of Andy Bierman
Sent: Wednesday, 19 July, 2023 10:13
To: Martin Björklund <mbj+ietf@4668.se<mailto:mbj%2Bietf@4668.se>>
Cc: netmod@ietf.org<mailto:netmod@ietf.org>
Subject: Re: [netmod] YANG Versioning: Key Issue #1 - Allow NBC changes in YANG 1.0 & YANG 1.1 or not?



On Tue, Jul 18, 2023 at 4:48 AM Martin Björklund <mbj+ietf@4668.se<mailto:mbj%2Bietf@4668.se>> wrote:
What about Option 4 - Pragmatic Adherence to Current RFC7950 Rules


This is the approach I also suggested on the mailing list.

- As it works today; the IETF *has* published bugfixed modules that break the
  rules.  (and many vendors do this as well)
- (Possibly) Introduce rev:non-backwards-compatible

This would allow 6991bis to update date-and-time to follow the updated
semantics for RFC3339 timestamps (which imo is the only reasonable
thing to do - the consuequences of this change is handled by SEDATE).


The important thing in each case is to consider
the expected impact on the real world and real deployments.

IMO a bugfix should be OK, even if the rules in RFC 7950 say it is an NBC change.
But this is not the same thing as changing the rules in a new document to shift the
implementation burden to the client.

This is only an IETF issue and the burden should be on a WG to convince the IESG and IETF
that making the NBC change is a bugfix and should be allowed as a special case.



/martin

Andy


"Jason Sterne (Nokia)" <jason.sterne@nokia.com<mailto:jason.sterne@nokia.com>> wrote:
> Hi all,
>
> At the request of the NETMOD chairs, and on behalf of the YANG Versioning weekly call group, here's a summary of Key Issue #1 for the versioning work (i.e. for the Module Versioning and YANG Semver WGLC).
>
> We'd like to suggest that the WG has a strong focus on deciding on this specific issue first. Then we'll move on to tackle other key issues. The idea is to try and avoid getting tangled in a web of multiple intertwined issues.
>
> Key Issue #1 is the following:  Allow NBC changes in YANG 1.0 & YANG 1.1 or not?
>
> For now please avoid debating other issues in this thread (e.g. multiple vs single label schemes, whether YANG semver is a good scheme, etc). Let's focus on K1 and work towards a WG decision.
>
> ###################################
> K1) Allow NBC changes in YANG 1.0 & YANG 1.1 or not?
>
> Option 1 - Update RFC7950 to Allow NBC Changes
> -----------------------------------------------------------------------
> - Module Versioning modifies 7950 to allow NBC changes
> - guidance that NBC changes SHOULD NOT be done (impact to user base)
> - rev:non-backwards-compatible is a YANG extension
>     - introduction in published YANG does not impact current tooling (ignored until recognized)
> PROS:
> - address fundamental requirement of this versioning work (requirements doc)
> - allows gradual adoption in the industry. YANG authors can immeditately start publishing with the new extensions.
> - move faster to produce modules in the IETF (accept some errors/iteration)
> - address the liaison from external standards bodies in a reasonable timeframe
> - authors believe work is ready
> - broad vendor support
> - rough alignment with OpenConfig (use YANG 1.0 + OC Semver)
> CONS:
> - perception that we're "cheating" by not bumping our own spec's version
> - Not fundamentally mandatory for clients or servers using YANG (mandatory for YANG claiming conformance to Module Versioning).
>
> Option 2 - RFC7950-bis: Publish a new version of the YANG language to allow NBC changes
> -----------------------------------------------------------------------
> - NBC changes only allowed in a new (future) version of YANG
> - TBD: YANG 1.2 vs 2.0 (note YANG 1.1 isn't BC with YANG 1.0)
> - Content = Module Versioning + YANG Semver + very limited YANG NEXT items
> - rev:non-backwards-compatible tag is a language keyword
>     - consequence: any use of it breaks all YANG 1.0/1.1 tooling that hasn't been updated
> - TBD how to handle small NBC changes in IETF in the short term (i.e. non conformance to 7950)?
>     - RFC6991 bis - change the use/meaning of ip-address (or change datetime)
>               - YANG date-and-time (because of SEDATE date string changes)
>
> PROS:
> - address fundamental requirement of this versioning work (requirements doc)
> - clear delineation of changes in the YANG language
> - consistent with philosophy that version number changes for significant changes in a spec (avoids concern that YANG is changing without bumping the version of YANG)
> - can do this with mandatory YANG keywords which helps increase conformance to the new rules
> CONS:
> - difficult to roll out in the industry. Tools need upgrading before they won't error on a YANG 1.2 module.
> - Authors can't publish YANG 1.2 until their users have upgraded their tools. Everyone has to move at once.
> - likely large delay in producing the work (unclear what would go into YANG 1.2, may not reach concensus easily on N items)
> - delay in follow up work (Packages, Schema Comparison, Version Selection)
> - continue dominating WG effort for longer (opportunity cost)
>
> Option 3 - Strict Adherence to Current RFC7950 Rules
> -----------------------------------------------------------------------
> - IESG will be unable to approve any RFCs that make any changes to IETF YANG modules that don't strictly conform to those rules
>     - RFC6991 bis would not be allowed to change the use/meaning of ip-address (or change datetime)
>               - YANG date-and-time couldn't change (related to SEDATE date string changes)
> PROS:
> - clear rules for entire industry including IETF
> CONS:
> - doesn't address agreed/adopted requirements of YANG versioning work
> - incorrect assumption in tool chains, etc that NBC changes don't happen. Silent failures.
>
> Jason (he/him)
>

_______________________________________________
netmod mailing list
netmod@ietf.org<mailto:netmod@ietf.org>
https://www.ietf.org/mailman/listinfo/netmod