Re: [netconf] [Technical Errata Reported] RFC6243 (7427)

Andy Bierman <andy@yumaworks.com> Tue, 18 April 2023 16:54 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B04C8C17B324 for <netconf@ietfa.amsl.com>; Tue, 18 Apr 2023 09:54:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FNUNU0CjXyFI for <netconf@ietfa.amsl.com>; Tue, 18 Apr 2023 09:54:35 -0700 (PDT)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87057C1782CD for <netconf@ietf.org>; Tue, 18 Apr 2023 09:54:35 -0700 (PDT)
Received: by mail-lj1-x22f.google.com with SMTP id h8so15246487ljf.3 for <netconf@ietf.org>; Tue, 18 Apr 2023 09:54:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1681836873; x=1684428873; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mR3N7mWk3iyg7HXJ/McvCm/kiKrqJ7Ve8N00tj1GoqI=; b=hTgVad6Hpn4uHTX0Ud4p6GmQ/2CEvKe0DdGoIN8RaZi+uJ6C3AVinPOb8ETruWKsFy YOn+Qik2TWONtwHdb5CqWx+DXbp6nJmYno75KppmcpdIvYeqL2sISq9FcLAVN+44ZW/n xyK8/GgDXK8dIWhNe4mzWTH1pt5QSkvk0yCkxpShZoDY+natWLXiYy2mT75zRPQ0iEK4 u3opLx/+1oza6qVM1/Pya0IOM0CiT8segTc4WTn8hw5Xuc3q+JPyzE7oBB672Ag+Mqvi R75wJKA9wLIrV3QsbO21+3fkocHn+bjFRq1uG7N5LJ0MK+K7cjWRCat07FzIwVGKdm+p e+TA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681836873; x=1684428873; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mR3N7mWk3iyg7HXJ/McvCm/kiKrqJ7Ve8N00tj1GoqI=; b=DGSQTL/Ti5pfRQw3pTwCwnh59RiYrm2AfLVHDPdb7KZKUqxCAT+FZNKeIZ06xdpjie AGpXKRaoQDBOfYasaOG4t/pkeROViYNDyVmfrKmvMkr76HluApGOIxW/g7Qblzu8XdiE YzlVAVPaegaWnspmKZs4NZb0XSM80bO2ASHUq0BbPw32R9Ctdp2VF5wky9IYshccJea6 RmyAKkDY2mD/skTGibBSI72wYckJzDjZv3KKuirqz3vgrbEZjC1wKFeR2AuWaM61TXkm 41f/GAp9knX2/HtbNv1vbEoPuWKa3ddpOf9R13V2MHnMsolsJI7Lha4GSq0RdkbYRWFK 9+WA==
X-Gm-Message-State: AAQBX9efpINg9oYnYji+Ww/nbPLNNH0HGWNRAJ3QA58AUMfkEzvNBUqu eVYfcnFu6tz8sXqa3P6FnwWIP702n4zSfR9x+RzH8w==
X-Google-Smtp-Source: AKy350a6ivJFd8oAs2NhdIZEWjeVcvY0FL0XjSDNuGYX6PwEFdwlrcgPUB8sLlLy7gex/krJcp6PvI2ajbMDox4xHxg=
X-Received: by 2002:a2e:9c86:0:b0:2a7:73c9:4913 with SMTP id x6-20020a2e9c86000000b002a773c94913mr892126lji.30.1681836873102; Tue, 18 Apr 2023 09:54:33 -0700 (PDT)
MIME-Version: 1.0
References: <20230418123700.EF75255E92@rfcpa.amsl.com>
In-Reply-To: <20230418123700.EF75255E92@rfcpa.amsl.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 18 Apr 2023 09:54:21 -0700
Message-ID: <CABCOCHTorZfsp714faRrs+Pm72A8wLU87GSodsVUNHbyVzk1Zg@mail.gmail.com>
To: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: balazs.lengyel@ericsson.com, warren@kumari.net, rwilton@cisco.com, mjethanandani@gmail.com, kent+ietf@watsen.net, dylan.sadoun@orange.com, netconf@ietf.org
Content-Type: multipart/alternative; boundary="000000000000644fd205f99f299e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/vL-wvjl0w0fLTS-pcdtkWDDZVU4>
Subject: Re: [netconf] [Technical Errata Reported] RFC6243 (7427)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Apr 2023 16:54:39 -0000

Hi,

This Errata should be rejected.
The additional sentence is not needed and was not left out of the original
text by error.

This sentence refers to a node without an instance so the YANG default is
used instead.

     A conceptual data node that would be set by the server to the schema
default value MUST NOT be reported.

The key text is "would be set". A better clarification is "would be used"
The intent is that the node is not explicitly set.

It is not possible for a node to have a value other than the YANG default
and not be explicitly set.

Andy

On Tue, Apr 18, 2023 at 5:37 AM RFC Errata System <rfc-editor@rfc-editor.org>
wrote:

> The following errata report has been submitted for RFC6243,
> "With-defaults Capability for NETCONF".
>
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid7427
>
> --------------------------------------
> Type: Technical
> Reported by: Dylan Sadoun <dylan.sadoun@orange.com>
>
> Section: 3.3
>
> Original Text
> -------------
> When data is retrieved with a <with-defaults> parameter equal to
> 'explicit', a data node that was set by a client to its schema default
> value MUST be reported.  A conceptual data node that would be set by the
> server to the schema default value MUST NOT be reported. Non-configuration
> data nodes containing the schema default value MUST be reported.
>
> Corrected Text
> --------------
> When data is retrieved with a <with-defaults> parameter equal to
> 'explicit', a data node that was set by a client to its schema default
> value MUST be reported. A conceptual data node that would be set by the
> server to the schema default value MUST NOT be reported. A conceptual data
> node that would be set by the server to a value other than its schema
> default value MUST be reported. Non-configuration data nodes containing the
> schema default value MUST be reported.
>
> Notes
> -----
> The RFC defines "Explicitly set data" for the sole purpose of defining the
> explicit retrieval mode. This definition is clear about when data set by
> the server should be considered "explicitly set" i.e. when not set to the
> schema default value. However, the 2.3.1 and 3.3 sections are ambiguous and
> prone to misunderstanding, as they only emphasise the "set by the client"
> case, which leads to think that data set by the server to a value different
> from its schema default value should not be reported.
> This erratum is for the 3.3 section.
>
> 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.
>
> --------------------------------------
> RFC6243 (draft-ietf-netconf-with-defaults-14)
> --------------------------------------
> Title               : With-defaults Capability for NETCONF
> Publication Date    : June 2011
> Author(s)           : A. Bierman, B. Lengyel
> Category            : PROPOSED STANDARD
> Source              : Network Configuration
> Area                : Operations and Management
> Stream              : IETF
> Verifying Party     : IESG
>