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

Randy Presuhn <randy_presuhn@alumni.stanford.edu> Thu, 17 February 2022 19:54 UTC

Return-Path: <randy_presuhn@alumni.stanford.edu>
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 B5A6F3A10C9 for <netmod@ietfa.amsl.com>; Thu, 17 Feb 2022 11:54:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level:
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.714, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 zeqDe8AU-sud for <netmod@ietfa.amsl.com>; Thu, 17 Feb 2022 11:54:34 -0800 (PST)
Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (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 4304C3A10C5 for <netmod@ietf.org>; Thu, 17 Feb 2022 11:54:34 -0800 (PST)
Received: by mail-pj1-f50.google.com with SMTP id om7so6596096pjb.5 for <netmod@ietf.org>; Thu, 17 Feb 2022 11:54:34 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=t6vEymPKuOGtvshd5/2yVc7rh8702O92I3ka5XX42WQ=; b=DCicIBS9i8nXfY/8OzrZyebYNsd60H8ThsglsiCOcMeCUHRzYAdLaKk/KHfF8QaqBu fGSGs8cVgNnwawpydyEUGgv8kbCQB7VWIJvkJdh2/AgaWDxYZZy857RY6p18YgvhgKZ8 jRLYUxig7eaduwmnzsk4d1bukHuHDYz1K/fLby+JIYO1/qH0ZMce6yLP32LdJU9oXw0G qY8WSUvH/3YUt1cjgdEN3VtKw3wuU1KZ8X7RR83Phuy+MiPFkB92zJVtOXC6EW6P7E22 lJQEt3ePKS5G5wcLNZDDQQo8fNZTdxTtnfn4qfTCOiMdWCGuo/wpkw/RYNMMOZGfHd4m oGkA==
X-Gm-Message-State: AOAM533YDNnUWjgwEJ+3H9MQtDjPqLjwvf2o6eUUe0yueh2m3Cu12cP5 Zmumvecc8JRvZF04MZ7Qx5g+Wg==
X-Google-Smtp-Source: ABdhPJzNdjLCKzwV2rsQSOWHlLW8SxS/nq7Q3qwDtyGOzPXfriFF2CfQek0xRfej07BGnAQIbLxHpA==
X-Received: by 2002:a17:90a:7788:b0:1b9:d80e:e398 with SMTP id v8-20020a17090a778800b001b9d80ee398mr8800326pjk.162.1645127673716; Thu, 17 Feb 2022 11:54:33 -0800 (PST)
Received: from ?IPV6:2601:646:9300:607:51ad:7332:585f:b8d6? ([2601:646:9300:607:51ad:7332:585f:b8d6]) by smtp.gmail.com with ESMTPSA id w8sm766687pgr.93.2022.02.17.11.54.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Feb 2022 11:54:33 -0800 (PST)
Message-ID: <c342b121-efe9-30f0-22dd-f931e1378e79@alumni.stanford.edu>
Date: Thu, 17 Feb 2022 11:54:32 -0800
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1
Content-Language: en-US
To: RFC Errata System <rfc-editor@rfc-editor.org>, mbj@tail-f.com, warren@kumari.net, rwilton@cisco.com, joelja@bogus.com, kent+ietf@watsen.net, lberger@labn.net
Cc: as549r@att.com, netmod@ietf.org
References: <20220217185035.13A2F4C1D9@rfc-editor.org>
From: Randy Presuhn <randy_presuhn@alumni.stanford.edu>
In-Reply-To: <20220217185035.13A2F4C1D9@rfc-editor.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/51KqdDawTNAqh3KUYfBLAUfW6oo>
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 19:54:39 -0000

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.")

Randy

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
 >
 > --------------------------------------
 > 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