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

Andy Bierman <andy@yumaworks.com> Tue, 18 April 2023 16:18 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 0014CC151B1D for <netconf@ietfa.amsl.com>; Tue, 18 Apr 2023 09:18:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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_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 By2cpmLV5VTq for <netconf@ietfa.amsl.com>; Tue, 18 Apr 2023 09:18:39 -0700 (PDT)
Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (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 BCDF9C151B0D for <netconf@ietf.org>; Tue, 18 Apr 2023 09:18:39 -0700 (PDT)
Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2a8a59daec5so20236161fa.3 for <netconf@ietf.org>; Tue, 18 Apr 2023 09:18:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1681834717; x=1684426717; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ty6tSH9aOTHfdstSMlF5mNwxYLlu6LBKyXD+oVlOlr4=; b=QsUHwupGZr9v7JdcrLtsOGDq0aklGBCo5ryunXJMEciSuOId5DI8X71Cli+ZkfEmsI KrO3Zr4dZz6JrQlmMBiZ8UrZI0c5zSQyQjqL2HQq9qKsOP5ikv4VraVWHw7p+zhwQDv1 4qWThVovOlZjDfBANug1MklPSbAb1KHL5SZG1xPIMfUAP1Vn2YSpcINyxfi7aYVqM25M DUf3hLiJ0+frmStU3/kKpAqPVtSN9thmraXppmaqmxgCfEIIVzRx9QjKLxbXSMzejdiQ C0zxNuf1UTDVKfTsxR+YVxLYK0Y/SmmZx2t2NfRpCrU8RvBcJ+864u0KuFhnbfBAM5aK GVCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681834717; x=1684426717; 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=Ty6tSH9aOTHfdstSMlF5mNwxYLlu6LBKyXD+oVlOlr4=; b=c0Y6lqnJ0pvC1NnoidEKf3OC29EE+SHIbiFlKqz+ySkhfr3Uq98KlBIcOZ0QB5fomr 2yWvsgnOxJs6H/QJ6wMcTfgGTS+eymg5D7vehzzfchAYWGtVpG6o8iyGhaBSZEBRBGuO B331bD/92G+AWy/BKaH7OPiaKA47lZYbNHK8Yl8CNlAwpw1x/yyqfVd/q/pW0i4IG4wT vxlwd+zA8N6jMOYO4VyTFxZTQus3/Ml2GwF5eApGVWa1gU/jnnjgJmkfNrIvKLx/oQ1/ ZwAKf19Glt0d7jdWv5SOUU7Z5NCXO64ZKsMWzbxIB/Ps7aRqTEve7nzkHDP5NAb7Qipa Jarg==
X-Gm-Message-State: AAQBX9cfYYHu3RpOVkBXi1RkooFGYXZO/SWYgZTnjnlggHo4b/baK6ZN KuYf8e2ldNOSmlnrQWGnCzVfhVohPg1froT2ASvxEw==
X-Google-Smtp-Source: AKy350ZzRcpeX7QSYyveqUWvTQhAmyALg2xv4nyiU82UIoNmB0DfWt5wLdDqblxK/TU3uvtR4H4WJYjmE3QWSUWu1Mk=
X-Received: by 2002:a19:7515:0:b0:4ed:c639:54cd with SMTP id y21-20020a197515000000b004edc63954cdmr1760713lfe.35.1681834717517; Tue, 18 Apr 2023 09:18:37 -0700 (PDT)
MIME-Version: 1.0
References: <20230418123549.303B655E92@rfcpa.amsl.com>
In-Reply-To: <20230418123549.303B655E92@rfcpa.amsl.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 18 Apr 2023 09:18:26 -0700
Message-ID: <CABCOCHRQg8RVVYkKJeWx-1pf4XLN2iZ7WAk9OhHUS51tOPK7mA@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="000000000000e8b1d705f99ea86f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/3yLL_U20Auo6qWn6kHRFwuAyc-E>
Subject: Re: [netconf] [Technical Errata Reported] RFC6243 (7426)
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:18:44 -0000

Hi,

This Errata should be rejected.
The intent in section 2.3.1 is that all explicitly set data is returned.
The proposed new text does not reflect this intent.

There is a subtle difference between a server using the YANG default value
because no instance exists
and a server creating an instance that equals the YANG default value.  The
server implementation
needs to distinguish between them. The "create" and "delete" edit
operations are impacted by this distinction.


Andy


On Tue, Apr 18, 2023 at 5:35 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/eid7426
>
> --------------------------------------
> Type: Technical
> Reported by: Dylan Sadoun <dylan.sadoun@orange.com>
>
> Section: 2.3.1
>
> Original Text
> -------------
> When data is retrieved from a server using the 'explicit' basic mode, and
> the <with-defaults> parameter is not present, data nodes MUST be reported
> if explicitly set by the client, even if they contain the schema default
> value. Non-configuration data nodes containing the schema default value
> MUST be reported.
>
> Corrected Text
> --------------
> When data is retrieved from a server using the 'explicit' basic mode, and
> the <with-defaults> parameter is not present, data nodes MUST be reported
> if explicitly set. This means that data nodes containing the schema default
> value MUST be reported if set by a NETCONF client, but MUST NOT be reported
> if set by the NETCONF server. Data nodes set by the NETCONF server to
> values other than their schema default values 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 2.3.1 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
>