Re: [netmod] YANG Versioning Weekly Call Minutes - 2021-04-13

Balázs Lengyel <balazs.lengyel@ericsson.com> Wed, 14 April 2021 13:55 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 C3AAC3A0B13 for <netmod@ietfa.amsl.com>; Wed, 14 Apr 2021 06:55:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 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, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TFgboHlIP9OP for <netmod@ietfa.amsl.com>; Wed, 14 Apr 2021 06:55:07 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80082.outbound.protection.outlook.com [40.107.8.82]) (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 44D633A0B07 for <netmod@ietf.org>; Wed, 14 Apr 2021 06:55:07 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jodrNBW2Hkhk2d0ftSC19brsd1KHRaBj7A1Vmxz3WOepeCaenQjBPfrx1CWNJ34wd8j7VvPieKJtIbyxXLLUUCPHETQgIrLhO6GspfVudGPQ1enkiMWMJohskAg2YM9i1sO4lc0I9uqDAgYxq/GmNZE+MzRbxUEHD/0VYtUecsgCwqmOaJUArcie74R4+XK2RANU1cA9iXBRpYNcj+AO0W3IBcDdIQfW13OMu2K6EeE9iPbk5uPR2JpcXW+YcESdZ98mKeG46XnAlyo/yHSj9eFzppTD8CX7qiLK8BN7mSsRG0cwVwMJJkyEOj91tCY6C2nA9mPhOg6W0PzSBYmDFw==
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-SenderADCheck; bh=wgUf5YTBWLku8fIde+4j1mH3uV5dmgMC5uveqkAakoE=; b=YFNq6Eig8dXklCVCxGWl5F/L6xkOKl4BfM40KaL3IBuvIApjMhW4PTlFWsLz/9zK8toxxxie67/6eyjUOhVTf+FwGL/SQBcDsiAEcsU9gbLYfbtTwQYSRXU6n7jLc9zgHx9IJ+FitqcyOQHs0T1YUShNM1dwT+AJBfUPVPWXITC27O73JGF2C+Hh8OPzVJOJ4MIFXXRhz4+oZZ05s4Bcrmwz+WTB/LHF2hIFfwta9CpynORssjkUgmYJVX6YnSnbAdO5CzP1enffIB7OuHX8Ujo/BX7u/bVW7yCEXRXRpESNx1zIIu5AXunUmF4w/MfWswSO4gj9ihQ5Q0UQOo/o9g==
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=wgUf5YTBWLku8fIde+4j1mH3uV5dmgMC5uveqkAakoE=; b=S7KbZuTztJ8oLYfBwFcaHGwyILy/tYJ1/5wiDk/5IQ+cwiznuuBRHoAXtrEpt6SDM4Abs4hkIPCrM1sFx5kdQsTP4qILrUdhXgvgT6MYzy+8dhBEDGJWnstRs4bUJpjWfAMs1PkhHG44xdw1NSiEoZ4pY7nRztbCmDCN+jmSrEc=
Received: from AM6PR0702MB3557.eurprd07.prod.outlook.com (2603:10a6:209:d::21) by AM7PR07MB6674.eurprd07.prod.outlook.com (2603:10a6:20b:18f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.6; Wed, 14 Apr 2021 13:55:04 +0000
Received: from AM6PR0702MB3557.eurprd07.prod.outlook.com ([fe80::dfd:a279:c1a9:fc5b]) by AM6PR0702MB3557.eurprd07.prod.outlook.com ([fe80::dfd:a279:c1a9:fc5b%6]) with mapi id 15.20.4042.016; Wed, 14 Apr 2021 13:55:04 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>, Andy Bierman <andy@yumaworks.com>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] YANG Versioning Weekly Call Minutes - 2021-04-13
Thread-Index: AdcwbvJ73nHRwisWQiGZsVCuOZkrmgAIhXoAAABXCrAAKIt+wA==
Date: Wed, 14 Apr 2021 13:55:04 +0000
Message-ID: <AM6PR0702MB3557227E0A860A3185181709F04E9@AM6PR0702MB3557.eurprd07.prod.outlook.com>
References: <DM6PR08MB50847B2EED48E0C642ABE2249B4F9@DM6PR08MB5084.namprd08.prod.outlook.com> <CABCOCHTWBmU3kjuTDkmAMiJ-=RexuJp4EALymEV=NurAQNusKw@mail.gmail.com> <DM6PR08MB5084B9510E2EE76F9D7A4D299B4F9@DM6PR08MB5084.namprd08.prod.outlook.com>
In-Reply-To: <DM6PR08MB5084B9510E2EE76F9D7A4D299B4F9@DM6PR08MB5084.namprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: nokia.com; dkim=none (message not signed) header.d=none;nokia.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [80.98.248.138]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 929781f8-03b3-4a69-698a-08d8ff4ce7b3
x-ms-traffictypediagnostic: AM7PR07MB6674:
x-microsoft-antispam-prvs: <AM7PR07MB6674813757BB29DD83A2BE40F04E9@AM7PR07MB6674.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Lv2x07uOOE8D+I2W9McbSpR1XFSvxO6OUVxTwDOdkvBGTiLM0+/r1455tRWZfIGQixu/hVlvgObhaSScNc1fK9fD92MulokYrTWcBr69aEiQhjaad+CKRndSvPVGX97uTWCQzIlCu8TA0pUsZ+xXJUILSaYonTn92X3KMFDnkRkN1aB+TfipqSrO6qbUeqHKr+V2eOEhxAQzpVOZqTA+bV85sqnso9spnScGjUYKkc6eIrX4KOVHVtksiZ0vCrFfq9YLkA1aWNnAdaDWb0tbuA8dMfEHHsz0leMQqGWmpE1z/g4YDDl8TgXqiTMXl7iNmmJwOLH3qDMnGCIWnECfweRZ35HALJ7UzX1F/7BnaWXhYOx3nRT6Yh/nSt/SoEv72ZU0Z7rLw2AO2cwoMI+VMrcK+GRAiIUTx/5R+99AlCVuZOcoChJo6wkALduiDcR+2/BmcZhq+YLQ8JqIwGqvz8HA/ks7+cSI+v9/4kDytNDF1YlRMfZV6kiv6cfqRFTrPYN0ZPRm1D9a5ssn/Nd3qav9CnHk+bdUqAJBqsWhMYsOcBC0xpHozv7VWulwgKXOL3q3WHodybW7MOm6hZJN1OmSBVs1i8WtXU8NmC7tVsOiuNRUt4p5IzZ+JZoJIQKRWnFbmnfxNp9jrJSmHvUYmP8SIDYgVBesIsGv6vB2SY4gamJP9JqMM7PohHDL/3lL
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR0702MB3557.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(136003)(346002)(396003)(376002)(166002)(2906002)(53546011)(99936003)(38100700002)(296002)(66946007)(110136005)(4326008)(66476007)(8676002)(316002)(8936002)(55016002)(33656002)(83380400001)(9326002)(85182001)(76116006)(86362001)(66556008)(66616009)(85202003)(26005)(122000001)(16799955002)(71200400001)(186003)(6506007)(52536014)(478600001)(5660300002)(64756008)(966005)(7696005)(9686003)(66446008); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: ROteUJP0K4MkQi7CdPHJe8JtO79mnlOPmcrunGv1ZQawC7x5zYfzoOapd/actuaVNDx+IFGGLHGryGqq00OtAl9uupIdX97XSk+KcccfjRKaMsy7Mgy/mexu8xzcR+n8rdnvG0TN3azzsISvqDp52yEaEqQRij47+RAfZdPpgk6WALrJeJgHPfLZmtzQVewuLB9VTC2Kwp/uFhds6MFjdBRy2laZ57pWhgpXhTtUr9Rj5Wa2zT8WpHjCU7Ox65p1aWJUx9gA3rnoFOoPAc1OSHn/nqSfav9d6rzMZy8rrBARnt12oy/w0IOQfxrwIeyb8biKnRAvKNZJqg+uABa++Ut+0q4civk2rvgMPddsZJ73yYOUwokRubhBMbRX/vQNrkcI+ZMcTPJrBH0OFsoMEyiaXMhb1IbdhV0R6x+ZVqT/bZfzS55dqztGFd9ViJRSNrmTI5H7iA/GbDBob5d+731FlI3PRTUPpTr6+TJzGIBoImFPaQurhBTjXzVwoHYPRmbLVaP4mVm/7dnK9OPKqYACF5JPjnwGVTgLxUHvwY7NiBjJ4hfZC6Z4bDMELonVdw8Wiotfgghi4qZ8iGP/dQAZnZc8Eh25Tlyl0fFYew34EQYpelfCceNuNmdl7ynJoH8bdK+WyeDzl+jrj6e+0yM1xPuEtgONfaQ0OySqUvHgZz9t4sXnzvD9mMxFc4BqlhWhoKGI3UCanR16BUVGmPVYMWnJPW0C1Oj2/srGwuc4ammEmRpwOXTSxyhhe3oFSCBuqEJstiZdVDbTRC67s8kPBlQ0MRRJBO7HY2VDnlGkN38nbWpN5qRbNNbFladAMaZefVk7Mp0Jau8tydbcstkLrGcWtuP8TWf9UdnCpzR5DrB39GKZcrFjQTeEWY/q9P93cCro4VGUWt7tsRcyxaeyG0GT7xEFchdTD8Xf7cFiBGdvm/YWMkkN/n1WJEpXf+AsduLBuglVOTd/5rcTFnJL3Gl4T7cUWiaSE/fyS1zj2p46OUQXHrGiTWf7NtOg7yQnw9zeW0RtCocwW11ISdOmY1zMMkzCyr8QgfPZW5hBYGG/C+AgQyGmfimeHFhex64LWlywY9WfdvcAOTa6UxR3TOb5AXz4v3z9n0asA1yDpiWiqpgH3m2OtmolpQeHH+XZxvP2i/4Xa6SrehRYliQxgkuvSifDm0BLB210lBALjUrA3lH0Po8JUoavh3Ru4RuyX8PBwrME90eI7xI+zzRwM0eSAmHMrHR50XJkwNdsvfGBnfq1XG6X5Be5PVkPLtY5uvNn5VsnrfC3y8fsHgkpdqr+m8lPD645/6TeC5kzAwAZ58lFtOtYwtIF7Oh6
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0303_01D73146.87D36990"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM6PR0702MB3557.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 929781f8-03b3-4a69-698a-08d8ff4ce7b3
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2021 13:55:04.1708 (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: Jf8AO4+5wkHH/nA7XcUt5cgGJicBReqqyKwcsX5LDu5iy0QCNPTXsj1g6nHb3BvGAkusR8mrSHHmbMCPVqaa5FYxn3CN3VWPgrD+B99W4Ps=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6674
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/IE0WFk8YjvrFyqux3snT5uHpzXE>
Subject: Re: [netmod] YANG Versioning Weekly Call Minutes - 2021-04-13
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 14 Apr 2021 13:55:13 -0000

Hello Andy,

I remember when we wrote these rules, we were concentrating on config and did not spend much time considering state data.

 

There are rules that are good for config but not for state. E.g.

*	RFC7950 does not allow changing the mandatory statement from false to true; as this could make a valid configuration that does not include an optional leaf invalid.
*	On the other hand, changing a state leaf from mandatory false to true means always including the leaf in a <get> response. That should be a compatible change. 

Do you agree, that at least in some cases different compatibility rules for state and configuration data makes sense?

Regards Balazs

 

From: netmod <netmod-bounces@ietf.org> On Behalf Of Sterne, Jason (Nokia - CA/Ottawa)
Sent: 2021. április 13., kedd 20:30
To: Andy Bierman <andy@yumaworks.com>
Cc: netmod@ietf.org
Subject: Re: [netmod] YANG Versioning Weekly Call Minutes - 2021-04-13

 

Hi Andy,

 

Thx for taking a look.

 

Yes - agree with the "orderly" comment. That was very brief shorthand for the minutes. By "remove" it could even just mean marking as "obsolete" (with deprecated as an optional intermediate step).

 

We aren't trying to redefine the rules for config. But it is worth considering whether some of those aren't really good for state.  Implementations may be ignoring some of those rules for state because they don't really fit.

 

Jason 

 

From: Andy Bierman <andy@yumaworks.com <mailto:andy@yumaworks.com> > 
Sent: Tuesday, April 13, 2021 2:16 PM
To: Sterne, Jason (Nokia - CA/Ottawa) <jason.sterne@nokia.com <mailto:jason.sterne@nokia.com> >
Cc: netmod@ietf.org <mailto:netmod@ietf.org> 
Subject: Re: [netmod] YANG Versioning Weekly Call Minutes - 2021-04-13

 

 

 

On Tue, Apr 13, 2021 at 7:12 AM Sterne, Jason (Nokia - CA/Ottawa) <jason.sterne@nokia.com <mailto:jason.sterne@nokia.com> > wrote:

YANG Versioning Weekly Call Minutes - 2021-04-13

 

Primary discussion was around the BC/NBC rules for state.

 

Value space for config false:

- more informative if you actually remove the enum from the model if it isn't used anymore (vs leaving it in and servers just not returning it)

- a server implementation should deviate if it doesn't return something ever (schema should try to accurately define the API)

- standard module -> remove the item if it isn't part of the API anymore

 

 

I assume you mean to use the status-stmt to transition from current -> deprecated -> obsolete

in an orderly fashion. Especially since sec 11 is very clear:

 

   Obsolete definitions MUST NOT be removed from published modules,
   since their identifiers may still be referenced by other modules.

 

 

 

- NMDA operational DS has a copy of config true, so increased value space in config automatically casues increased value space in "state" (operational)

- a config true MTU in the operational DS and a dedicated config false "oper-mtu" leaf should have the same rules for increasing value space

 

Maybe a better formulation of the state rules is to take the 7950 rules and apply minimal text changes. Rob will take a stab at this.

 

7950:

   o  A "must" statement may be removed or its constraint relaxed.

   

Adjusted 7950 text:

   o  A "must" statement may be added, removed, or changed

  

 

7950:

   o  A "range", "length", or "pattern" statement may expand the allowed

      value space.

Adjusted 7950:

   o  A "range", "length", or "pattern" statement may expand or reduce the allowed

      value space.

 

 

I strongly object to this WG creating an "adjusted YANG 1.1" standard.

IMO there is no need or WG consensus to create any sort of replacement for RFC 7950.

 

If YANG 1.1 needs non-backward-compatible changes  (which it doesn't IMO) then a new

YANG 2.0 RFC must be written to accomplish that.

 

It is possible to introduce support for NBC changes in a way that does not change YANG 1.1

at all. E.g.:

 

Rule 1 of 1:

  - If any change is made that violates a MUST or MUST NOT provision of RFC 7950,

    sec. 11, then the major revision number in the semver string MUST be incremented.

 

 

 

 

Jason

 

Andy

 

 

----------------------------------------------

Weekly webex call details:

Meeting number (access code): 171 069 0374 

Meeting password: semver?

Occurs every Tuesday effective Tuesday, September 1, 2020 until Tuesday, August 24, 2021 from 9:00 AM to 10:00 AM, (UTC-04:00) Eastern Time (US & Canada) 

9:00 am  |  (UTC-04:00) Eastern Time (US & Canada)  |  1 hr 

https://ietf.webex.com/ietf/j.php?MTID=ma7627a2ae7b770537cff5f5b89293c70

Tap to join from a mobile device (attendees only)

+1-650-479-3208,,1710690374## Call-in toll number (US/Canada)

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