Re: [netmod] Comments on draft-ietf-netmod-yang-module-versioning-09

Jürgen Schönwälder <jschoenwaelder@constructor.university> Tue, 30 May 2023 13:00 UTC

Return-Path: <jschoenwae@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 582EFC151B33 for <netmod@ietfa.amsl.com>; Tue, 30 May 2023 06:00:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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=jacobsuniversity.onmicrosoft.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 v-A1djB8Zfpd for <netmod@ietfa.amsl.com>; Tue, 30 May 2023 06:00:32 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20610.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::610]) (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 A5D66C151B2A for <netmod@ietf.org>; Tue, 30 May 2023 06:00:31 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fW51sdX8rBpHJJ8LGBvlF955XrlMz88RvsqZ5xTCO3CMUSaJ1+o4HdHqs7sfv0HMx66S1oW2vkEiiVecx/llvcfUr19vz/GdCzvjUFlatbaE9Q90t2MH8cVnc/keMg7M9fUhXAIbYYTdjwO1ybKD+Xv/h8nXfYnc/JCCT5J3Z9kV1c4qy/+5v3BDS8Epr96vOzftTwPMXaz4P8X5+WqdG5cVIsweujm6B+oTeHQ53B8WyM9UBZBkqDJFTH7F/V/bVy/lQTfB503ZZ9si+buc8gPloPGr+9AxHsysC1wxgI5+0s0iOEjEYQ/DLnBHQUy/5a/DJ4hcZ0yLWzawDD1myQ==
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=joCeC/wg770n8HVcHWzmwzejBKZDj5W93Dsf/BvFPiY=; b=Kcg9zKGp6kXL1JCjA4qz7k4prIkH7IQzyeOmqvYfSUZsCMsoECxjGzzC0e/g5TYrAssoAlZL2cWBjD0KLwkCjUt0Uf6YNLPkrZuEuELuFkjE78BZHuTOsk+edzQiAuDV68xDwjw9LXEKrUyNnt9CQ5iVENmipHLcbQ/dZveY9K86XMYYs5J92EdOyUCZpbM4fcCNdSgofDUeBzpQSr+0gUkG5mSyQDl7pXXxlCZVzef8jK5nSjTvGwy5nJmBafoHidqnpcOgT1yNrrnGKVmdXkULX/8ZZHnddyN8zp6glHDUqdD9hkSuhvEOJpzxKVGXFunsTIxcygVZdNTyrUTYfA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=constructor.university; dmarc=pass action=none header.from=constructor.university; dkim=pass header.d=constructor.university; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=joCeC/wg770n8HVcHWzmwzejBKZDj5W93Dsf/BvFPiY=; b=bu9p9BdUPaUNft3jnTxkzRpHUfrtiS9dabdxYS58rmvHH5hH1Adk1e7c5vhsif8hQJFHlDpKZf92AQtEz7vMjtjMy3SPtUOlpcgZXLMP0HLMHzB1pbQe6IFq9dr2cwKCedZne8GsCAObEGaEoi0vAUlNdj6BElX49zbL4ff2uAo=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=constructor.university;
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6) by AM8P190MB0850.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:1d2::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.23; Tue, 30 May 2023 13:00:27 +0000
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::581b:1ec3:e89b:df50]) by GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::581b:1ec3:e89b:df50%6]) with mapi id 15.20.6433.022; Tue, 30 May 2023 13:00:26 +0000
Date: Tue, 30 May 2023 15:00:24 +0200
From: Jürgen Schönwälder <jschoenwaelder@constructor.university>
To: "Rob Wilton (rwilton)" <rwilton@cisco.com>
Cc: Andy Bierman <andy@yumaworks.com>, NetMod WG <netmod@ietf.org>
Message-ID: <i2ckbu7jmlzbyerxnbaazpxxauowlwoarz4pwklgsz55rvbk5y@pm3ojnahjy55>
Reply-To: Jürgen Schönwälder <jschoenwaelder@constructor.university>
Mail-Followup-To: "Rob Wilton (rwilton)" <rwilton@cisco.com>, Andy Bierman <andy@yumaworks.com>, NetMod WG <netmod@ietf.org>
References: <CABCOCHShMC=5KoCSKKQ-zOd1wvUx7DoqVornGdvXDLekMm3SHA@mail.gmail.com> <DM6PR08MB5084F7CCF7407519340DAF9C9B7A9@DM6PR08MB5084.namprd08.prod.outlook.com> <CABCOCHReU_OvdpUaey67-s8A+JGiZN-OBJac3QArGFDx5xECDg@mail.gmail.com> <jomqxbbllhqfmj3zba6d7kd6xvgty74zr76daabf3on42c5giw@4u3xzaey3gkh> <BY5PR11MB4196B74676A4C35444B2FA22B54B9@BY5PR11MB4196.namprd11.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <BY5PR11MB4196B74676A4C35444B2FA22B54B9@BY5PR11MB4196.namprd11.prod.outlook.com>
X-ClientProxiedBy: AS4PR10CA0008.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5dc::10) To GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: GVXP190MB1991:EE_|AM8P190MB0850:EE_
X-MS-Office365-Filtering-Correlation-Id: fbe9a206-07d1-499f-139f-08db610dd6a5
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: Eab4yX65/bzqocYLTzdScN8ZPrV7YoIYLPWXLzGmSs8rrP1xF0CCivTnuGK74Z2r9w+ct1AS+WQ0/bgQHmy12ift2tR7bdZRPx84ZLwc+HHMWSuxUtygmCxulhOqoEIlyg9/sVLcK8mm9ucuxmvkN1r1vwGBtR4TVuOacAqbVidRaUjSAIpXQbOfReYNPBRFLNV8JHcRyKEaWc6JL4G8xWsO1lmTyUntw9TJ5bo6VpUtSAmUUyyXRwl3wKPaUkZWWih2ylMvW9D/wgY+dfuioY2huyJpKUYGQebe2JwUkw1InQ6Ol26wSVfbqHIR6tZgz69j8GFeKpimxoQ+SjVNRPefskAk343WWh+JK8eMDcuMGrC3qwhFfoZNnICyGph/36Gtnxa0G7/qRZzCjvLl+2P7vr6h/Wg0MC0nQfBp8EpMZVmHoifp23DNWA1Dif77JiMuZqQ9e5BfiyaGgU2OdO+dRGoke/PVtWo+56yF3RwpO835h0wbwg5h5bemfb2e4wa+Fu5BJf36bGKYoQqm8Eqg4IYC75Hk1nc1y7NuanijTiNW2iLRQwXegLZfu3oQwcewQVQNvYi4/N7VeDCqn0WCwSud0vHLf6VAdLDniztwCK+ZjBFi8doj0dFUaqRt
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVXP190MB1991.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230028)(7916004)(136003)(39860400002)(396003)(346002)(376002)(366004)(451199021)(26005)(38350700002)(38100700002)(41300700001)(52116002)(966005)(6486002)(186003)(66574015)(83380400001)(6506007)(9686003)(53546011)(6512007)(478600001)(54906003)(40140700001)(66556008)(6916009)(66476007)(4326008)(66946007)(316002)(786003)(5660300002)(8676002)(8936002)(41320700001)(85202003)(2906002)(33716001)(3450700001)(85182001)(46492015); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: /PiFTiEadTCxlZtHhfRMP6HfM9yt7K2/PHVIE5cjtPow7lffUtKK6YCiZ5SesRCkM0XD5m4rFbOfXQMLB4fCEZq/twJB3LlQsmS12l3ib6rl7kpdS6D/lWTODFvTSwgpIxIxLEB7Gsv54OTJylQImUUcDjb2FvnYEh/DUUCvd1WuR4yoxN4uO6w9it8KdecJvhniWVcZkHAIG2zhHN5eBl06ou7OHsGHGLRkpCqP8GlAHofSlq7EgmCx6Z/4pnX8zekAALO6q8neouJpF29f7JNNCbl17c/Yg/YO7YM9RPGE20EV2RgUeLDhoX07By00TtGFMTVfw7SyTAy6XZvPQXJQweVh4E+91eaUONvF1CHDrBxEaUSKxo1tVJHinD5krlMlw2GvWEdoaZ7aHqJ6SrIpIgiaMGtjzKw6DvowssDghLQyQUlHwZpp5fS+bRWE2JW93STY5gz/D5S7zGn5PRRdCLeQ6fCB2U4Io+VtHgmG+pP1vECdM2w9/GPQ2KAvBa0+Vcy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a2qiISxFB1cm7X0+MCkT2nBbw+ykSaH/Id2hVhnPbRoeHg4ZmA=
X-OriginatorOrg: constructor.university
X-MS-Exchange-CrossTenant-Network-Message-Id: fbe9a206-07d1-499f-139f-08db610dd6a5
X-MS-Exchange-CrossTenant-AuthSource: GVXP190MB1991.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2023 13:00:26.8679 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: mjIBA+DCnzZIi+OQQlXCIHnp7CZId05DawQZK6BjCe0dTbDC0iK6nSndkn6vMLoxVltjTYsOvXsqS8UyOmcVE4WoJfdkFzNJSiIRxN5JyRo=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8P190MB0850
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/AtOuNOJ9Ugzo-GukjoYFpGPo4hE>
Subject: Re: [netmod] Comments on draft-ietf-netmod-yang-module-versioning-09
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, 30 May 2023 13:12:24 -0000

Dear Rob,

I will provide a review of the two documents in a separate message. I
am flexible on the way forward as long as we do not claim that YANG
1.1 means something different tomorrow than it does today.

To me, the versioning work also remains incomplete since it is not
clear how a server supports both "old" and "new" clients if a module
has NBC changes. We already saw a first I-D in NETCONF proposing a
solution for a very specific instance of this problem. So even though
this work has taken years, it seems we are not yet close to a complete
solution that can be implemented and deployed today.

/js

On Tue, May 30, 2023 at 12:40:01PM +0000, Rob Wilton (rwilton) wrote:
> Hi Juergen, Andy,
> 
> With an author/contributor hat on ...
> 
> It is unclear to me, from an RFC document perspective, what is being proposed here, and appreciate that each of you may have different thoughts as to what is being proposed.
> 
> E.g., are you proposing:
>  (1) That the yang module versioning draft should update RFC 7950 to define a yang version "1.2" or "2.0" label, but still keeps the new extensions defined in a separate module?
>  (2) The same as (1) but also changing the statements to be part of the formal YANG language (but still in separate documents that update RFC 7950)?
>  (3) To do an RFC 7950-bis for YANG 1.2/2.0, that strictly only includes the module versioning work?  E.g., leaving the semantic version numbers as a separate draft. 
>  (4) To look at YANG 1.2/2.0 in a wider scope, and consider this work alongside the other 100 proposed issues/enhancements (https://github.com/netmod-wg/yang-next/issues), for the next version of YANG.
>  (5) something else ...
> 
> My overriding concern here is that there is a pretty clear industry support for accepting that non-backwards-compatible changes do sometimes occur and whilst it is entirely appropriate for them to be minimized, it is still helpful to have a way to accurately indicate when they do occur.  Depending on what the actual work is, I think that doing (1) or (2) might take another 4-8 months, doing (3) might take 8-12 months, and doing (4) could be another 5 years, and it is worth noting that the first draft bringing Semver to IETF was by Benoit 6 years ago.  I.e., we have already been working on this for a long time.
> 
> After the previous module-versioning last-call we attempted to refine the draft further to make the functionality more optional, specifically, changing the semantics of "recommended-min" for imports to make it suggestive guidance rather than changing the actual import behaviour.  So, my reading is that the core changes to the YANG specification by this document are really those definition in section 3, and I think that these can be mitigated via a CLI option to tools that are performing comparisons of YANG modules.
> 
> Pragmatically, I would like to see the WG publish these as separate RFCs, in the format that they are now, to get this work completed, so that we can move on.  Once the versioning work is complete, then I think that it would be helpful for the WG to consider doing a rev of RFC 7950, that should include this versioning work (including defining formal YANG keywords rather than extension keywords) and also evaluate whether some of the other proposals/enhancements tracked on github should be considered, along with trying to clean up the documents, e.g., moving the NETCONF protocol specific parts out of the base YANG spec, moving the XML encoding into its own separate document.
> 
> Regards,
> Rob
> 
> 
> > -----Original Message-----
> > From: netmod <netmod-bounces@ietf.org> On Behalf Of Jürgen Schönwälder
> > Sent: 13 May 2023 23:14
> > To: Andy Bierman <andy@yumaworks.com>
> > Cc: NetMod WG <netmod@ietf.org>
> > Subject: Re: [netmod] Comments on draft-ietf-netmod-yang-module-
> > versioning-09
> > 
> > On Sat, May 13, 2023 at 01:13:06PM -0700, Andy Bierman wrote:
> > >
> > > The only correct way to remove MUST/MUST NOT from the "YANG
> > contract"
> > > is to introduce a new YANG language version (1.2), and make a new
> > contract.
> > 
> > +1
> > 
> > > Ironically, the WG seems to understand the importance of proper
> > management
> > > for NBC changes in YANG content, but not the YANG language itself.
> > 
> > yup
> > 
> > /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/>