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

Ladislav Lhotka <lhotka@nic.cz> Tue, 29 October 2019 07:46 UTC

Return-Path: <lhotka@nic.cz>
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 C79021200BA for <netmod@ietfa.amsl.com>; Tue, 29 Oct 2019 00:46:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 KFBzweydm1hA for <netmod@ietfa.amsl.com>; Tue, 29 Oct 2019 00:46:07 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id BF48F12007C for <netmod@ietf.org>; Tue, 29 Oct 2019 00:46:06 -0700 (PDT)
Received: by trail.lhotka.name (Postfix, from userid 109) id 6A0DD18203E1; Tue, 29 Oct 2019 08:47:02 +0100 (CET)
Received: from localhost (37-48-13-101.nat.epc.tmcz.cz [37.48.13.101]) by trail.lhotka.name (Postfix) with ESMTPSA id 493D018201C8; Tue, 29 Oct 2019 08:46:55 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Martin Bjorklund <mbj@tail-f.com>, rfc-editor@rfc-editor.org
Cc: ibagdona@gmail.com, netmod@ietf.org, warren@kumari.net
In-Reply-To: <ef9774e65a3f3cb3af6d50f6dc769ddd3b71d757.camel@nic.cz>
References: <20191022114319.CD85BF4071D@rfc-editor.org> <20191022.170229.971604522071303700.mbj@tail-f.com> <ef9774e65a3f3cb3af6d50f6dc769ddd3b71d757.camel@nic.cz>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>, rfc-editor@rfc-editor.org, ibagdona@gmail.com, netmod@ietf.org, warren@kumari.net
Date: Tue, 29 Oct 2019 08:45:55 +0100
Message-ID: <874kzsm1u4.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/lJVQcpw97aV6axouvj9_GrATItM>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (5879)
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, 29 Oct 2019 07:46:10 -0000

Ladislav Lhotka <lhotka@nic.cz> writes:

> On Tue, 2019-10-22 at 17:02 +0200, Martin Bjorklund wrote:
>> Hi,
>> 
>> The problem is that it is not clear that we can use this new
>> definition with the rest of the text in the RFC that uses this term.
>> For example, section 7.1.5 talks about "the imported module's schema
>> tree", and this doesn't really work if the schema tree is not tied to
>> a module.
>
> On the other hand, sec. 9.9 says (and that's how I stumbled upon this):
>
>    The "path" substatement (Section 9.9.2) is used to identify the
>    referred leaf or leaf-list node in the schema tree.
>
> With the current definition of schema tree, it would mean that the referred leaf
> or leaf-list node must be in the same module, which is of course a nonsense.

The erratum was rejected, but if we keep the definition of "schema tree", then the above definition of "path" statement is technically incorrect.

Lada

>
> Lada
>
>> 
>> Also the proposed definition is recursive since it is defined in
>> terms of "schema node", and a "schema node" is already defined as "a
>> node in the schema tree".
>> 
>> So it probably makes sense to look at this definition (and the text
>> and other definitions) if we do a document update, but as it is
>> currently written I think it should be rejected.
>> 
>> 
>> /martin
>> 
>> 
>> 
>> RFC Errata System <rfc-editor@rfc-editor.org> 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/eid5879
>> > 
>> > --------------------------------------
>> > Type: Technical
>> > Reported by: Ladislav Lhotka <lhotka@nic.cz>
>> > 
>> > Section: 3
>> > 
>> > Original Text
>> > -------------
>> > o  schema tree: The definition hierarchy specified within a module.
>> > 
>> > 
>> > Corrected Text
>> > --------------
>> > o  schema tree: The hierarchy of schema nodes defined in the set of all
>> modules 
>> >    implemented by a server, as specified in the YANG library data [RFC7895].
>> > 
>> > 
>> > 
>> > Notes
>> > -----
>> > The original definition of the term has two problems:
>> > 
>> > 1. Schema tree is not limited to a single module. Some YANG constructs, such
>> as augment and leafref type, may refer to a schema node that is defined in
>> another module.
>> > 
>> > 2. Apart from schema nodes, YANG modules contain definitions that do not
>> contribute to the schema tree: groupings, typedefs, identities etc.
>> > 
>> > 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
>> > 
> -- 
> Ladislav Lhotka
> Head, CZ.NIC Labs
> PGP Key ID: 0xB8F92B08A9F76C67
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Ladislav Lhotka 
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67