Re: [netmod] [Technical Errata Reported] RFC7950 (6855)
Andy Bierman <andy@yumaworks.com> Thu, 17 February 2022 21:30 UTC
Return-Path: <andy@yumaworks.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 7608F3A12F7 for <netmod@ietfa.amsl.com>; Thu, 17 Feb 2022 13:30:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.787
X-Spam-Level:
X-Spam-Status: No, score=-1.787 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20210112.gappssmtp.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 g2oT-RhTrNuE for <netmod@ietfa.amsl.com>; Thu, 17 Feb 2022 13:30:49 -0800 (PST)
Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 31F623A12F4 for <netmod@ietf.org>; Thu, 17 Feb 2022 13:30:49 -0800 (PST)
Received: by mail-lf1-x12d.google.com with SMTP id u20so1719970lff.2 for <netmod@ietf.org>; Thu, 17 Feb 2022 13:30:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hAO/hHvkp10b/FdMRLBcJRo2Bu/ghobfl5STl4VKDHE=; b=oNC4QqcOy2VeSilzx+hbIjRvdmyxmtQoU/NLmdt78DKFEXu4k3eh3AnXiXz+YycQld Ai5ug6mTp45qHCFa1vygRmWvEiv4NCpmPEHdoY8yDRr7uyexjgolpGKrGSfSkPrJQxth VFmQ3n2Yu9evAWYZc0uBg8L76TdAyZEKIQ6xFjtWMboRBeOhqg1x2pxnXB9RP2gs0Wck njKgUcqe2F4WD70X15WRcih7RVa349cfKlaESeu3/sKxEvYK/ZV48FJthnHWfbm6/vCM 9aKDCViNyunfzgpPAAY44JZKT0qHhoRJtnbs5HFyyRoaur3M8vfgSPnrGf8nXwf0o/lf tUoA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hAO/hHvkp10b/FdMRLBcJRo2Bu/ghobfl5STl4VKDHE=; b=zExFM7EFYwzwXKM3IaWa5DXJzeE2dPziXh2C6aR1L6DKyLaq0QrAi7aYIZRF32oDeI KK/4aSoUZNrrh38CugYiPHDfJMOiEM6uN4G752kOokx9KAumZidbx5NCCjjuiac7hK9V SfRKh1O+CDIepS2Jd/nLGdcM2xRMdiM8P3Olo0sGpbRjZ9su5nGl1dp/tEUAOUx9WY0A oaNv7ZFSwOLSA3OKjhS4K7xsNL4vHBGf3x4/u3aG/0vIAKRJQ4SvKDRpqmHbMuThstnW mkOqAMUXoz+y7v1jyIvUXOarNC0c4y2LQYzS2U8Qp9BuC11NdxjFx8gT+Hy7I8/5EUsn P/yA==
X-Gm-Message-State: AOAM533Lnw6iEmxisOdxJjMvf1zEoJXapzM8EhUDuLT9fMUKRdjjCcSz o8fty2V2h974Kqa0fYV6tL8o4U8uAUcuORX3M09H6w==
X-Google-Smtp-Source: ABdhPJwBwYF/ka919+CLXxLMZg66pkIhbFGUO6wbr1NrqObs7kN+Z6StHfA8bvhOz99wJNaWXvRVWjzHKTjKm3aRxaU=
X-Received: by 2002:a05:6512:3455:b0:443:5dc0:a32d with SMTP id j21-20020a056512345500b004435dc0a32dmr3275713lfr.38.1645133446713; Thu, 17 Feb 2022 13:30:46 -0800 (PST)
MIME-Version: 1.0
References: <20220217185035.13A2F4C1D9@rfc-editor.org> <c342b121-efe9-30f0-22dd-f931e1378e79@alumni.stanford.edu> <CABCOCHRvoYL88Q5+GQOVgmo4vu1LmAiE5nDQFVFRhyk0a=+UGA@mail.gmail.com> <E027C644-FB28-408C-BD27-C60B4EF8E17E@att.com>
In-Reply-To: <E027C644-FB28-408C-BD27-C60B4EF8E17E@att.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 17 Feb 2022 13:30:35 -0800
Message-ID: <CABCOCHQi5VJLU=N2-TifHUTYJRHYoYsZ03-i+DUxfPExy9Cgbw@mail.gmail.com>
To: "SADOVNIKOV, ALEXEI" <AS549R@att.com>
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>, Joel Jaeggli <joelja@bogus.com>, Kent Watsen <kent+ietf@watsen.net>, Berger Lou <lberger@labn.net>, NetMod WG <netmod@ietf.org>, Randy Presuhn <randy_presuhn@alumni.stanford.edu>
Content-Type: multipart/alternative; boundary="000000000000b333bb05d83d7a94"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/nf4Yp8f1MRGhsSa5Z50dsiyjN8I>
X-Mailman-Approved-At: Tue, 22 Feb 2022 09:16:05 -0800
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6855)
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 Feb 2022 21:30:55 -0000
On Thu, Feb 17, 2022 at 1:14 PM SADOVNIKOV, ALEXEI <AS549R@att.com> wrote: > Andy, > > > > The errata form specifically describes submission of RFC 2119 keywords: > > > > > *Technical* – error in the technical content (Note that changes in the > usage of RFC 2119 keywords are considered technical.) > > > > So, it is definitively something which is appropriate to raise errata to. > > > > I have already replied to Randy’s point of sparing usage. > > > > I continue to see ambiguity in how strong the requirement of ordering of > XML payload. However, it sounds like what you saying that there is no > ambiguity, and the language is strong enough already to be read as if > “MUST” was in there; did I get it right? And if I did what is the harm of > accepting errata? > > > Yes. The text is unambiguous wrt/ child node ordering options. Errata should be used when actual errors are found in an RFC. That is not the case here. Andy > Best regards, > > > > *Alexei Sadovnikov* > > Principal System Architect > > Business Solutions > > AT&T Business > > > > *AT&T Services, Inc.* > > 550 Cochituate Road, Framingham, MA 01701 > > m 781.249.1516 | o 781.249.1516 | *as549r@att.com <as549r@att.com>* > > > > This e-mail and any files transmitted with it are AT&T property, are > confidential, and are intended solely for the use of the individual or > entity to whom this e-mail is addressed. If you are not one of the named > recipient(s), or otherwise have reason to believe that you have received > this message in error, please notify the sender and delete this message > immediately from your computer. Any other use, retention, dissemination, > forwarding, printing, or copying of this e-mail is strictly prohibited. > > > > > > > > *From: *Andy Bierman <andy@yumaworks.com> > *Date: *Thursday, February 17, 2022 at 3:12 PM > *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>, Joel Jaeggli <joelja@bogus.com>, Kent Watsen < > kent+ietf@watsen.net>, Berger Lou <lberger@labn.net>, as549r < > AS549R@att.com>, NetMod WG <netmod@ietf.org> > *Subject: *Re: [netmod] [Technical Errata Reported] RFC7950 (6855) > > > > > > > > On Thu, Feb 17, 2022 at 11:54 AM Randy Presuhn < > randy_presuhn@alumni.stanford.edu> wrote: > > Hi - > > This seems like a remarkably pointless change, and arguably > at odds with section 6 of RFC 2119. ("Imperatives of the type > defined in this memo must be used with care and sparingly.") > > > > +1 > > > > IMO RFC 2119 keywords MUST NOT be added, modified, or removed using an > Errata. > > In this specific case, there is no ambiguity that needs to be corrected. > > > > > > Randy > > > > > > Andy > > > > > On 2022-02-17 10:50 AM, 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/eid6855 > <https://urldefense.com/v3/__https:/www.rfc-editor.org/errata/eid6855__;!!BhdT!kg4Z09cDAiOCMC1v8w414i_onQ4uOiwReagIknKnigDUfb-j-wmKvnE0qxdFOS3uwmvd-tBUYkKx$> > > > > -------------------------------------- > > Type: Technical > > Reported by: Alexei Sadovnikov <as549r@att.com> > > > > Section: GLOBAL > > > > Original Text > > ------------- > > 7.5. The "container" Statement > > 7.5.7. XML Encoding Rules > > > > A container node is encoded as an XML element. The element's local > > name is the container's identifier, and its namespace is the > module's > > XML namespace (see Section 7.1.3). > > > > The container's child nodes are encoded as subelements to the > > container element. If the container defines RPC or action input or > > output parameters, these subelements are encoded in the same order > as > > they are defined within the "container" statement. Otherwise, the > > subelements are encoded in any order. > > > > 7.8. The "list" Statement > > 7.8.5. XML Encoding Rules > > > > The list's key nodes are encoded as subelements to the list's > > identifier element, in the same order as they are defined within the > > "key" statement. > > > > The rest of the list's child nodes are encoded as subelements to the > > list element, after the keys. If the list defines RPC or action > > input or output parameters, the subelements are encoded in the same > > order as they are defined within the "list" statement. Otherwise, > > the subelements are encoded in any order. > > . . . . . > > > > 7.14. The "rpc" Statement > > 7.14.4. NETCONF XML Encoding Rules > > > > . . . . . > > > > Input parameters are encoded as child XML elements to the rpc node's > > XML element, in the same order as they are defined within the > "input" > > statement. > > > > If the RPC operation invocation succeeded and no output parameters > > are returned, the <rpc-reply> contains a single <ok/> element > defined > > in [RFC6241]. If output parameters are returned, they are encoded > as > > child elements to the <rpc-reply> element defined in [RFC6241], in > > the same order as they are defined within the "output" statement. > > > > > > 7.15. The "action" Statement > > 7.15.2. NETCONF XML Encoding Rules > > > > . . . . . > > > > The <action> element contains a hierarchy of nodes that identifies > > the node in the datastore. It MUST contain all containers and list > > nodes in the direct path from the top level down to the list or > > container containing the action. For lists, all key leafs MUST also > > be included. The innermost container or list contains an XML > element > > that carries the name of the defined action. Within this element, > > the input parameters are encoded as child XML elements, in the same > > order as they are defined within the "input" statement. > > > > . . . . . > > > > If the action operation invocation succeeded and no output > parameters > > are returned, the <rpc-reply> contains a single <ok/> element > defined > > in [RFC6241]. If output parameters are returned, they are encoded > as > > child elements to the <rpc-reply> element defined in [RFC6241], in > > the same order as they are defined within the "output" statement. > > > > > > Corrected Text > > -------------- > > 7.5. The "container" Statement > > 7.5.7. XML Encoding Rules > > > > . . . . . > > > > The container's child nodes are encoded as subelements to the > > container element. If the container defines RPC or action input or > > output parameters, these subelements MUST be encoded in the same > order as > > they are defined within the "container" statement. Otherwise, the > > subelements are encoded in any order. > > > > 7.8. The "list" Statement > > 7.8.5. XML Encoding Rules > > > > The list's key nodes MUST be encoded as subelements to the list's > > identifier element, in the same order as they are defined within the > > "key" statement. > > > > The rest of the list's child nodes are encoded as subelements to the > > list element, after the keys. If the list defines RPC or action > > input or output parameters, the subelements MUST be encoded in > the same > > order as they are defined within the "list" statement. Otherwise, > > the subelements are encoded in any order. > > . . . . . > > > > 7.14. The "rpc" Statement > > 7.14.4. NETCONF XML Encoding Rules > > > > . . . . . > > > > Input parameters MUST be encoded as child XML elements to the rpc > node's > > XML element, in the same order as they are defined within the > "input" > > statement. > > > > If the RPC operation invocation succeeded and no output parameters > > are returned, the <rpc-reply> contains a single <ok/> element > defined > > in [RFC6241]. If output parameters are returned, they MUST be > encoded as > > child elements to the <rpc-reply> element defined in [RFC6241], in > > the same order as they are defined within the "output" statement. > > > > > > 7.15. The "action" Statement > > 7.15.2. NETCONF XML Encoding Rules > > > > . . . . . > > > > The <action> element contains a hierarchy of nodes that identifies > > the node in the datastore. It MUST contain all containers and list > > nodes in the direct path from the top level down to the list or > > container containing the action. For lists, all key leafs MUST also > > be included. The innermost container or list contains an XML > element > > that carries the name of the defined action. Within this element, > > the input parameters MUST be encoded as child XML elements, in > the same > > order as they are defined within the "input" statement. > > > > . . . . . > > > > If the action operation invocation succeeded and no output > parameters > > are returned, the <rpc-reply> contains a single <ok/> element > defined > > in [RFC6241]. If output parameters are returned, they MUST be > encoded as > > child elements to the <rpc-reply> element defined in [RFC6241], in > > the same order as they are defined within the "output" statement. > > > > Notes > > ----- > > The RFC 2119 keywords are missing in description of ordering for XML > encoding rules for RPC, actions and references thereto and in additional > instance of list keys encoding. > > > > Although the text of RFC suggests reading this as if "MUST" was > present, without keyword it is open to interpretation if the sentences > actually mean "MUST" or "SHOULD" or may be even "MAY". > > > > In other places discussing ordering, for example 7.7.8., 7.8.5. and > 7.9.5. the "MUST" is actually present, hence proposed errata would make > ordering description usage of keywords consistent. > > > > 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 > <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/netmod__;!!BhdT!kg4Z09cDAiOCMC1v8w414i_onQ4uOiwReagIknKnigDUfb-j-wmKvnE0qxdFOS3uwmvd-jLkdqxS$> > > _______________________________________________ > netmod mailing list > netmod@ietf.org > https://www.ietf.org/mailman/listinfo/netmod > <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/netmod__;!!BhdT!kg4Z09cDAiOCMC1v8w414i_onQ4uOiwReagIknKnigDUfb-j-wmKvnE0qxdFOS3uwmvd-jLkdqxS$> > >
- [netmod] [Technical Errata Reported] RFC7950 (685… RFC Errata System
- Re: [netmod] [Technical Errata Reported] RFC7950 … Randy Presuhn
- Re: [netmod] [Technical Errata Reported] RFC7950 … Randy Presuhn
- Re: [netmod] [Technical Errata Reported] RFC7950 … Kent Watsen
- Re: [netmod] [Technical Errata Reported] RFC7950 … Rob Wilton (rwilton)
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … SADOVNIKOV, ALEXEI
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … SADOVNIKOV, ALEXEI
- Re: [netmod] [Technical Errata Reported] RFC7950 … SADOVNIKOV, ALEXEI
- Re: [netmod] [Technical Errata Reported] RFC7950 … Sterne, Jason (Nokia - CA/Ottawa)
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … Martin Björklund
- Re: [netmod] [Technical Errata Reported] RFC7950 … Rob Wilton (rwilton)
- Re: [netmod] [Technical Errata Reported] RFC7950 … Sterne, Jason (Nokia - CA/Ottawa)
- Re: [netmod] [Technical Errata Reported] RFC7950 … SADOVNIKOV, ALEXEI
- Re: [netmod] [Technical Errata Reported] RFC7950 … SADOVNIKOV, ALEXEI
- Re: [netmod] [Technical Errata Reported] RFC7950 … Sterne, Jason (Nokia - CA/Ottawa)
- Re: [netmod] [Technical Errata Reported] RFC7950 … Jürgen Schönwälder
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … SADOVNIKOV, ALEXEI
- Re: [netmod] [Technical Errata Reported] RFC7950 … Kent Watsen
- Re: [netmod] [Technical Errata Reported] RFC7950 … Martin Björklund
- Re: [netmod] [Technical Errata Reported] RFC7950 … Jernej Tuljak
- Re: [netmod] [Technical Errata Reported] RFC7950 … SADOVNIKOV, ALEXEI
- Re: [netmod] [Technical Errata Reported] RFC7950 … Carsten Bormann
- Re: [netmod] [Technical Errata Reported] RFC7950 … Jürgen Schönwälder
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman