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

"Rob Wilton (rwilton)" <rwilton@cisco.com> Tue, 19 March 2019 18:13 UTC

Return-Path: <rwilton@cisco.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 1658713121D for <netmod@ietfa.amsl.com>; Tue, 19 Mar 2019 11:13:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 DvI9aqguFQDj for <netmod@ietfa.amsl.com>; Tue, 19 Mar 2019 11:12:59 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 40EFB1315B5 for <netmod@ietf.org>; Tue, 19 Mar 2019 11:12:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3720; q=dns/txt; s=iport; t=1553019179; x=1554228779; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=L9DUSaLszPxhSwoeFVB5yUM1TgVliCdtMEmIumjqHsA=; b=Et/3E78HxblvhbM0L7GRkFBy8qSl6zEDl7mZWE7Nd18k2KWyRHY7GlN9 wIc41FRFmlReUbvAVSmHpeAt5uBBNdGMISOVVrtT7zfGQKWm2/DOMlE97 k9tcVc+yZgQuZ/T32HzTs1d0XnF8gqCUDUvptGAJ6bwEIrwwR5+s+VEDE c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AFAABvMJFc/51dJa1jGQEBAQEBAQE?= =?us-ascii?q?BAQEBAQcBAQEBAQGBUgMBAQEBAQsBghBogQMnCplVfIg3jn+BewsBARgLhAN?= =?us-ascii?q?GAoRrIjUIDQEBAwEBCQEDAm0cDIVKAQEBBAEBODQLDAQCAQgRBAEBHxAhBgs?= =?us-ascii?q?dCAIEAQ0FCIMbgV0DFQ+rYIQDAQGEAQ2CH4EvAYsxF4FAP4ERgl01gUGBFkc?= =?us-ascii?q?BAYdCA4ouJognkTg2CQKHW4QHhAmDNyGBfIVyi3CLDIV7gTaIeYJZAhEVgSg?= =?us-ascii?q?gATaBVnAVGiGCbAmFb4UUhQgBNkExjkKBHwEB?=
X-IronPort-AV: E=Sophos;i="5.60,245,1549929600"; d="scan'208";a="247411934"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 19 Mar 2019 18:12:58 +0000
Received: from XCH-ALN-007.cisco.com (xch-aln-007.cisco.com [173.36.7.17]) by rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id x2JICwbU021338 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 19 Mar 2019 18:12:58 GMT
Received: from xch-rcd-007.cisco.com (173.37.102.17) by XCH-ALN-007.cisco.com (173.36.7.17) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 19 Mar 2019 13:12:57 -0500
Received: from xch-rcd-007.cisco.com ([173.37.102.17]) by XCH-RCD-007.cisco.com ([173.37.102.17]) with mapi id 15.00.1473.003; Tue, 19 Mar 2019 13:12:57 -0500
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: RFC Errata System <rfc-editor@rfc-editor.org>, "mbj@tail-f.com" <mbj@tail-f.com>, "ibagdona@gmail.com" <ibagdona@gmail.com>, "warren@kumari.net" <warren@kumari.net>, "joelja@bogus.com" <joelja@bogus.com>, "kent+ietf@watsen.net" <kent+ietf@watsen.net>, "lberger@labn.net" <lberger@labn.net>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] [Technical Errata Reported] RFC7950 (5663)
Thread-Index: AQHU3baq5+XMwB0tmk2hiGstPWcLO6YTQbfA
Date: Tue, 19 Mar 2019 18:12:57 +0000
Message-ID: <d6158ad52bc94f9697bd064493c5bf47@XCH-RCD-007.cisco.com>
References: <20190318181542.0F0ABB826EA@rfc-editor.org>
In-Reply-To: <20190318181542.0F0ABB826EA@rfc-editor.org>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.63.23.135]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.36.7.17, xch-aln-007.cisco.com
X-Outbound-Node: rcdn-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/f5Z8IeVQR4AbmuGV4rRdPq2X8Iw>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (5663)
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: Tue, 19 Mar 2019 18:13:09 -0000

Hi Ebben,

I've always taken the ABNF to list the definitive sub-statements that are allowed for the various deviate "add", "replace", or "delete" options.  Perhaps the RFC could state this more explicitly.  Perhaps raise an issue on the YANG Next issue tracker to clarify this (https://github.com/netmod-wg/yang-next/issues) and it might get discussed tomorrow.

Thanks,
Rob


-----Original Message-----
From: netmod <netmod-bounces@ietf.org> On Behalf Of RFC Errata System
Sent: 18 March 2019 18:16
To: mbj@tail-f.com; ibagdona@gmail.com; warren@kumari.net; joelja@bogus.com; kent+ietf@watsen.net; lberger@labn.net
Cc: rfc-editor@rfc-editor.org; netmod@ietf.org
Subject: [netmod] [Technical Errata Reported] RFC7950 (5663)

The following errata report has been submitted for RFC7950, "The YANG 1.1 Data Modeling Language".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata/eid5663

--------------------------------------
Type: Technical
Reported by: Ebben Aries <exa@arrcus.com>

Section: 14

Original Text
-------------
deviate-delete-stmt = deviate-keyword sep delete-keyword-str optsep
                      (";" /
                       "{" stmtsep
                           ;; these stmts can appear in any order
                           [units-stmt]
                           *must-stmt
                           *unique-stmt
                           *default-stmt
                       "}") stmtsep


Corrected Text
--------------
deviate-delete-stmt = deviate-keyword sep delete-keyword-str optsep
                      (";" /
                       "{" stmtsep
                           ;; these stmts can appear in any order
                           [units-stmt]
                           *must-stmt
                           *unique-stmt
                           *default-stmt
                           [config-stmt]
                           [mandatory-stmt]
                           [min-elements-stmt]
                           [max-elements-stmt]
                       "}") stmtsep


Notes
-----
Section 7.20.3.2 specifies all permitted substatements for the "deviate" statement however the ABNF grammar specifies different valid substatements per deviate argument.  The "delete" argument is one such that only contains a subset of what is defined in the substatement table in this section.

The errata mentioned at: https://www.rfc-editor.org/errata/eid5489 is meant to correct the following statement

"""
The argument "delete" deletes properties from the target node.  The properties to delete are identified by substatements to the "delete"
statement.
"""

However this either needs to be a per argument table or ABNF correction

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
https://www.ietf.org/mailman/listinfo/netmod