Re: [netmod] [Technical Errata Reported] RFC7950 (6885)

"Mohideen, Kaja (Nokia - IN/Chennai)" <kaja.mohideen@nokia.com> Thu, 17 March 2022 07:11 UTC

Return-Path: <kaja.mohideen@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 548E43A0CAC for <netmod@ietfa.amsl.com>; Thu, 17 Mar 2022 00:11:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.907
X-Spam-Level:
X-Spam-Status: No, score=-1.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 vp1Z9P_rIyd5 for <netmod@ietfa.amsl.com>; Thu, 17 Mar 2022 00:11:43 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2072b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::72b]) (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 BBF383A0CA4 for <netmod@ietf.org>; Thu, 17 Mar 2022 00:11:42 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oAQzDIAgZLHhO4q0P+QQS7Uuc1zS+yYQx9BIlwkonpRINYZbyZo5muTVI8RLdKaXWFcYMkNXNxoxgqVXbyy2l6c8RDUcpFoAIaP4bljP7pgOtVLXtDd2Mu+4vmGPiXyLjmfFvJV9z4Jgcfwjxe+EaVCAGGwMLzxdq1o1dQTb/TGeRVQuB+A7BjkHVcYUOMRiDl0BZheSRL4PVKXwD3mQvzK31lRoWKqc+VQc8iO5nSahDy74vJUEJ5aZaPoeUHYVELugFKxydUcPdUrEXl2fvuKYfdcKMr8jSzS6BPcKO4daK6iRaRUJuGrvSKoxS5IwjuXWSHADdaI0YxprMZyNTw==
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=QIaM6tYlq4pu3RAVYz59udjfn5NDweN2F4WNj02c5y8=; b=iGOS9j7mIL89b4vx7oL2ZZ8O0733CSyhDl0SUdAj+6PimzJUoDY0ieRMABeyBNxb2VyzmsAe43OeLZBCZbGIREPCmVhI97ywoQRarrZ0xlOu0HyHAyQv9irRf5Ya1opLY/zzsdSOakYruW7ZcRpdfED+0dZWXFb1ClBj8aaHOKSitIHkAfQfssGMXIODxJUdHmZPQTS2QV17w3U7cApRxRgzcxxgjZ8cy7/YVMNb8VVccM+8wySYrWotfNf5tjKUzYQl9/GfEP4kesNJcRC0M8Qq1sbz/PmXXfUVwJ+1nTKFenPvB4WHxCUbjanqkbcJjeTfFWE0PXLKaoS3CAqQEg==
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.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QIaM6tYlq4pu3RAVYz59udjfn5NDweN2F4WNj02c5y8=; b=L93OeQh7gGY/D8/Zc0XIlfPhLJB+CJ2tAubBgRr3okGVdgI2S6/yrIJ3GIhyLcBEmVUHXcdUAkWMZOPsluQ4BzCTvTcd929kXJHCFPN7lXlWfZqNbQag61xC72qvt2AOplsTrVw7S1J1Xw7ydXed1Cj8c6BQZDxv1sSHNVkAKUc=
Received: from VI1PR07MB3968.eurprd07.prod.outlook.com (2603:10a6:803:2d::18) by DB8PR07MB6444.eurprd07.prod.outlook.com (2603:10a6:10:13d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.14; Thu, 17 Mar 2022 07:11:38 +0000
Received: from VI1PR07MB3968.eurprd07.prod.outlook.com ([fe80::54b8:5b30:aae1:c3dd]) by VI1PR07MB3968.eurprd07.prod.outlook.com ([fe80::54b8:5b30:aae1:c3dd%7]) with mapi id 15.20.5081.015; Thu, 17 Mar 2022 07:11:37 +0000
From: "Mohideen, Kaja (Nokia - IN/Chennai)" <kaja.mohideen@nokia.com>
To: Andy Bierman <andy@yumaworks.com>, Randy Presuhn <randy_presuhn@alumni.stanford.edu>
CC: RFC Errata System <rfc-editor@rfc-editor.org>, Martin Bjorklund <mbj@tail-f.com>, Warren Kumari <warren@kumari.net>, Robert Wilton <rwilton@cisco.com>, Kent Watsen <kent+ietf@watsen.net>, Joel Jaeggli <joelja@bogus.com>, Berger Lou <lberger@labn.net>, NetMod WG <netmod@ietf.org>
Thread-Topic: [netmod] [Technical Errata Reported] RFC7950 (6885)
Thread-Index: AQHYOPWq57LVLN6h6EiKw0D/BnYW06zBh/uAgADzMoCAABUNAIAAlcSQ
Date: Thu, 17 Mar 2022 07:11:36 +0000
Message-ID: <VI1PR07MB39688CC6E97DE66D55EFAE4BF1129@VI1PR07MB3968.eurprd07.prod.outlook.com>
References: <20220316052112.9F47A20D6AD@rfc-editor.org> <20220316061327.ce7mtqwhrk772fjw@anna> <4d482f9a-21be-b389-688a-85cfe739371f@alumni.stanford.edu> <CABCOCHTL5GubcV2NvgKvEv1CzaGLM3QcQfi0B+xTx=ZWxEcMnw@mail.gmail.com>
In-Reply-To: <CABCOCHTL5GubcV2NvgKvEv1CzaGLM3QcQfi0B+xTx=ZWxEcMnw@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-office365-filtering-correlation-id: 0571642c-d392-444a-a6b9-08da07e5606b
x-ms-traffictypediagnostic: DB8PR07MB6444:EE_
x-microsoft-antispam-prvs: <DB8PR07MB64441110C38AA4EAADF9995CF1129@DB8PR07MB6444.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: cJTpamwCc4b5VMsmrk4Gr7BLg9UtjjqT9hTZqQH9pAoa9T4fa0ya6GUFazMMZrjwJtJZBvbh1mGsObunLYhOJrrHjll38S70x/CxOA/t3IDX+gdJbcEliAPqsBw6J/3AAxxboyH6C/BTznuRa2lRAT8LA9GIHCLZ5B2/4kwtlL6koQtTUBTNzTCQyfl+963xnTCOJ2yfXWVPEqtWcXs337XiIjOXhHHz2guoTyB0yvX1RpGRj1LHvS3MohowQH9Hos1az60GtdHY2iGD9gpAw5FckRtvxZjldtVQzRMXq4aVB7iNU3Od5jNIdfYPOkuvW0pzZ2LYwb7mO4aNQmaxsJ21LTCPuEQeWEdiqmXbZh2zU50x27j1Irndhwbq5j9lsnEfRa8ra4Fsj3E6a+H7ZLX7jEK9XzuHbOJ3/cDf1RI2btMqLVvxrs7NZBw+6Smv8UQUZyhq1E1resij1KdX702IHnbgJrQldGPuRlVowD+fRB10hciHc3R1r9caQd/miEi3+lNcY2Ihx6HTnNfyrP3awlhZF5B4uZDvrN2G8gW28U03fRHSdBmugQuWBKwAF3LJfZ3BXft//DUTfyjhzWMh3IvhugiPBfhyfuKJIDOGCRJdivNbGkrHeygtPo3Fd3tg6Qsd1l5LnY6uIs10JDXNwvVXH4wT1WFiD482RLRL7AObMsAGzLZQ/ifzlkLE7ovq4GBDmAJGVCVxZ+luKKChSOh9dPI3sqnVBdNg10Vt7Pbx+hCX9rnoduANzJnQLn6o2nCiUSH4iv5/cX/o06Cb9KeUH0SmobOO3RaT6Id2lLaa7CCgU7RotCLoL+os6cXkBZMOwPw3jeU6NwZw8nUz3ClLtrmVAOHaSWmDfpSFG5jM6V6AUjD6Gp3eLRls
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR07MB3968.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(4326008)(76116006)(66946007)(66556008)(66476007)(86362001)(7696005)(6506007)(38070700005)(53546011)(508600001)(26005)(5660300002)(966005)(8936002)(66574015)(7416002)(64756008)(33656002)(186003)(52536014)(83380400001)(66446008)(71200400001)(82960400001)(9686003)(110136005)(54906003)(55016003)(2906002)(122000001)(38100700002)(8676002)(166002)(316002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: J4AQw2b9iSW2kARJwdoa6z1RIHCLooaix9+J3gp+rZjTYI+0EWYQWUuLJRDXIMaXsvLdVPcBG5XA3tbTdqJ6eQW2GiySRHkWHPRpXT7meVxgm1ZuqPa8pr5y0i4x2wtUidzfcYJNQ3WLQXXs1BuocFSvw7tQR1YWr8OxInHtLCZvpTey8BIPHHj43F9Q6zcd+CDJB6G6NN7pPtoAIKjyYlw39VRV6Lxs3GQgLSJ1TYbPgwWAkiAIkAAP/OgIDyA6US2I4F6nzphVC04N26Nxa4+R3bZa9cNT4EwkXxfR0sf9gTVm68I1M6pb/CfxI+rK8457yEo9c+MgiuYVH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/vscmg/05nRuwFkMtr9QSTXvBpef8A/33ES/vgitH+T
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB39688CC6E97DE66D55EFAE4BF1129VI1PR07MB3968eurp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: VI1PR07MB3968.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0571642c-d392-444a-a6b9-08da07e5606b
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2022 07:11:36.9013 (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: vcrKVfU3X6+LXdGZy8DWoHsGGZ0QvKmrwd+ymIofO+RjO/3xItEG3/jmEf/mPRA8hYBkVZPCq4NhhzEfi80p6Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR07MB6444
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/_0z5lH84pcS8oLZ0UtDcCBEip30>
X-Mailman-Approved-At: Tue, 22 Mar 2022 12:32:35 -0700
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6885)
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: Thu, 17 Mar 2022 07:11:49 -0000

1/ I understand that clients may/may-not be yang aware, not using hello/yang-lib and may have hard-coded requests, response processing to get its job done using the server. Such a client when encountering ‘unknown’ nodes can either fail or ignore those nodes. It’s the client choice. But, with expanded range of ‘enum and bits’, there is no choice but to fail as the ‘value’ is now unknown. OK.

2/ If I understand right, RFC 7950 – Section 11 is talking about ways to update yang module so the existing data in the server doesn’t gets invalidated. That’s why the new data definition to be optional or conditional using if-feature. Not about clients at all. Thank you for making this clear. Shouldn’t the RFC text capture this so readers are informed?

Regards,
R Kaja Mohideen

From: Andy Bierman <andy@yumaworks.com>
Sent: Thursday, March 17, 2022 3:29 AM
To: Randy Presuhn <randy_presuhn@alumni.stanford.edu>
Cc: RFC Errata System <rfc-editor@rfc-editor.org>; Martin Bjorklund <mbj@tail-f.com>; Warren Kumari <warren@kumari.net>; Robert Wilton <rwilton@cisco.com>; Kent Watsen <kent+ietf@watsen.net>; Joel Jaeggli <joelja@bogus.com>; Berger Lou <lberger@labn.net>; Mohideen, Kaja (Nokia - IN/Chennai) <kaja.mohideen@nokia.com>; NetMod WG <netmod@ietf.org>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6885)

On Wed, Mar 16, 2022 at 1:44 PM Randy Presuhn <randy_presuhn@alumni.stanford.edu<mailto:randy_presuhn@alumni.stanford.edu>> wrote:
Hi -

On 2022-03-15 11:13 PM, Jürgen Schönwälder wrote:
> YANG update rules expect clients to be lenient about values they
> received but did not expect. It is possible to debate that design
> choice but this surely is not an errata, hence this errata should
> be rejected.

I agree that the proposed erratum should be rejected.  The text
of RFC 7950 says what the working group clearly intended, and is
consistent with the approach taken in the SNMP SMI, for whatever
that might be worth.

+1

The RFCs are server-centric.
It is not 100% clear what a NETCONF client MUST, SHOULD, or MAY do for various scenarios.
I just scanned the text, and cannot find any that says a client MUST accept augmentations.

Consider a client that ignores the server <hello> and YANG library (they are out there!).
It is hard-wired to retrieve some subtree.  If the server implements any module augmenting
that subtree, the client drops the session because "unknown nodes" were found in the retrieved data.

Clearly not the intent of the WG, not not clear RFC 7950  is being violated.
(Insert plug for YANG Conformance based on packages and NOT modules)




Randy

Andy


> /js
>
> On Tue, Mar 15, 2022 at 10:21:12PM -0700, RFC Errata System wrote:
>> The following errata report has been submitted for RFC7950,
>> "The YANG 1.1 Data Modeling Language".
>>
>> --------------------------------------
>> You may review the report below and at:
>> https://www.rfc-editor.org/errata/eid6885
>>
>> --------------------------------------
>> Type: Technical
>> Reported by: R Kaja Mohideen <kaja.mohideen@nokia.com<mailto:kaja.mohideen@nokia.com>>
>>
>> Section: 11
>>
>> Original Text
>> -------------
>>     A definition in a published module may be revised in any of the
>>     following ways:
>>
>>     o  An "enumeration" type may have new enums added, provided the old
>>        enums's values do not change.  Note that inserting a new enum
>>        before an existing enum or reordering existing enums will result
>>        in new values for the existing enums, unless they have explicit
>>        values assigned to them.
>>
>>     o  A "bits" type may have new bits added, provided the old bit
>>        positions do not change.  Note that inserting a new bit before an
>>        existing bit or reordering existing bits will result in new
>>        positions for the existing bits, unless they have explicit
>>        positions assigned to them.
>>
>> Corrected Text
>> --------------
>> See Notes.
>>
>> Notes
>> -----
>> When server is exposing updated yang model as mentioned in Section 11, particularly with enums, bits having new items - client systems that are not updated to use the new yang module will not be able to recognize and use the new values.
>>
>> This is problematic when there are multiple clients and those systems are getting updated to catch up with yang changes over time. Updated "Client A" recognizing new enum and using it (update datastore with new value using edit-config), will make, old/not-yet-updated "Client B" to encounter the new value (received as response of get-config) that it cannot work with.
>>
>> So, the "backward compatible" ways of updating a yang module should consider "multiple clients" scenario and make recommendations in such a way that clients are not forced to update all at once.
>>
>> Instructions:
>> -------------
>> This erratum is currently posted as "Reported". If necessary, please
>> use "Reply All" to discuss whether it should be verified or
>> rejected. When a decision is reached, the verifying party
>> can log in to change the status and edit the report, if necessary.
>>
>> --------------------------------------
>> RFC7950 (draft-ietf-netmod-rfc6020bis-14)
>> --------------------------------------
>> Title               : The YANG 1.1 Data Modeling Language
>> Publication Date    : August 2016
>> Author(s)           : M. Bjorklund, Ed.
>> Category            : PROPOSED STANDARD
>> Source              : Network Modeling
>> Area                : Operations and Management
>> Stream              : IETF
>> Verifying Party     : IESG
>>
>> _______________________________________________
>> 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