Re: [netconf] [Technical Errata Reported] RFC8040 (6362)

Andy Bierman <andy@yumaworks.com> Tue, 22 December 2020 14:57 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 60D0B3A10ED for <netconf@ietfa.amsl.com>; Tue, 22 Dec 2020 06:57:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.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 GLcO1Byejw1j for <netconf@ietfa.amsl.com>; Tue, 22 Dec 2020 06:57:53 -0800 (PST)
Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 6BFB33A10E9 for <netconf@ietf.org>; Tue, 22 Dec 2020 06:57:53 -0800 (PST)
Received: by mail-lf1-x12e.google.com with SMTP id a12so32634136lfl.6 for <netconf@ietf.org>; Tue, 22 Dec 2020 06:57:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YxOEu5ciGxQnEJy/HExvlZKB+quTxiOq83PF3BYrzYc=; b=oxRsAxgXSQZZr06jxhKys+AfhJNsct+7bTaGd1hHSckv4/qOB3riSJSL1iSq9MH0Ij xlIxuP48qNm5eT69i/5OI58Gq8h3uWLZsc0tWuEaiu3jRy5QCgqn1bwADGuxulIrMbLX x9HcSzzKtJ3URW/FTs08oWxoaNw1U+hk5mtQRE9GIYxqrBpDsD2GUn98QdiUb6ODlm1Z MYHjw/SJbA+Ug18JoD6P19PeoY0Skj26Nt2CnzZ23/FPYguCoqbVA3u7/WMpX8WeIj5o 930xQsapsHIDFVkDo6elUDae82fBmLHSpYmkgFbEvKQ8o9U0HCxNly3hyFwu36FWonOc Nb9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YxOEu5ciGxQnEJy/HExvlZKB+quTxiOq83PF3BYrzYc=; b=HQstcrQmfFrTXmm432OPBLpAcCVqBFqYg5N2hJwDJxd3TPxXRVq1ck4LVXxriDePRi 62mdmnAY8tdL5dBzqZfTFpoHqiqrE+P0IECz9DrzepKK3NnS776o2VY+MA6JsIYIMZpB Kcjn/A1t3cxO6Nlp56FtYJZlmJfy6wU4LiYUxQZEJknTJzLc7s84rhxZV3OyiS30mw5o wfYd61kgMWAdDch61yS06D9GLAwILw+efWnfQPM/N1pCOil3ITcgkDhjlxT2yMbZxdJ5 YstAhz9tQxj9a8bcd3PVWyZyRcQAtAKoNYO53pUykeZb3LeeiK8ZTl8w9daQpXRU6BiZ 2sZA==
X-Gm-Message-State: AOAM531oTezVDuGwTYiV14gyP8KMBkA+9hd8/M1zQru2PMz13mv2YEMT ROEtSSbFMayXBEcZ9/ZljIpQDXAY3NXQT7Io0KJDbQ==
X-Google-Smtp-Source: ABdhPJzHmbuHweaQRFDfaQRED7yHxY++ybFgsmqoTMik4YJtsr6a0wCUmgxdqHkR0ptIMmg6WYnn+eap4oBZGPGJXPg=
X-Received: by 2002:a05:651c:1342:: with SMTP id j2mr10552955ljb.91.1608649071607; Tue, 22 Dec 2020 06:57:51 -0800 (PST)
MIME-Version: 1.0
References: <20201222143414.775F6F40744@rfc-editor.org>
In-Reply-To: <20201222143414.775F6F40744@rfc-editor.org>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 22 Dec 2020 06:57:40 -0800
Message-ID: <CABCOCHTaMtjRkO24oGfY4vD910z-iUpsTxDSNCQmPU3L1U0QVw@mail.gmail.com>
To: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: Martin Bjorklund <mbj@tail-f.com>, Kent Watsen <kwatsen@juniper.net>, Warren Kumari <warren@kumari.net>, Robert Wilton <rwilton@cisco.com>, Kent Watsen <kent+ietf@watsen.net>, Mahesh Jethanandani <mjethanandani@gmail.com>, muly_i@rad.com, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007b590e05b70eccc8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Xq_5G0k6cEoCGVoWngc_hFG9MD4>
Subject: Re: [netconf] [Technical Errata Reported] RFC8040 (6362)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
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, 22 Dec 2020 14:57:55 -0000

Hi,

This Errata should be rejected.
The cited text in non-normative Appendix B.3.1 is actually wrong.
The parameter content=all can also return these fields for configuration
data.


The normative text in 3.5.2 explains what to do.


3.5.2 <https://tools.ietf.org/html/rfc8040#section-3.5.2>.  Entity-Tag

   For configuration data resources, the server SHOULD maintain a
   resource entity-tag for each resource and return the "ETag" header
   field when it is retrieved as the target resource with the GET or
   HEAD methods.  If maintained, the resource entity-tag MUST be updated
   whenever the resource or any configuration resource within the
   resource is altered.  If not maintained, then the resource entity-tag
   for the datastore MUST be used instead.



Andy

On Tue, Dec 22, 2020 at 6:34 AM RFC Errata System <rfc-editor@rfc-editor.org>
wrote:

> The following errata report has been submitted for RFC8040,
> "RESTCONF Protocol".
>
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid6362
>
> --------------------------------------
> Type: Technical
> Reported by: Muly Ilan <muly_i@rad.com>
>
> Section: 4.3.
>
> Original Text
> -------------
>    The client might request the response header fields for an XML
>    representation of a specific "album" resource:
>
>       GET /restconf/data/example-jukebox:jukebox/\
>          library/artist=Foo%20Fighters/album=Wasting%20Light HTTP/1.1
>       Host: example.com
>       Accept: application/yang-data+xml
>
>    The server might respond as follows:
>
>       HTTP/1.1 200 OK
>       Date: Thu, 26 Jan 2017 20:56:30 GMT
>       Server: example-server
>       Content-Type: application/yang-data+xml
>       Cache-Control: no-cache
>       ETag: "a74eefc993a2b"
>       Last-Modified: Thu, 26 Jan 2017 14:02:14 GMT
>
> Corrected Text
> --------------
>    The client might request the response header fields for an XML
>    representation of a specific "album" resource:
>
>       GET /restconf/data/example-jukebox:jukebox/\
>          library/artist=Foo%20Fighters/album=Wasting%20Light HTTP/1.1
>       Host: example.com
>       Accept: application/yang-data+xml
>
>    The server might respond as follows:
>
>       HTTP/1.1 200 OK
>       Date: Thu, 26 Jan 2017 20:56:30 GMT
>       Server: example-server
>       Content-Type: application/yang-data+xml
>       Cache-Control: no-cache
>
>
> Notes
> -----
> Removed the "ETag" and "Last-Modified" header fields.
>
> According to Appendix B.3.1. :
>    To retrieve only the configuration child resources, the "content"
>    parameter is set to "config".  Note that the "ETag" and
>    "Last-Modified" headers are only returned if the "content" parameter
>    value is "config".
>
> 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.
>
> --------------------------------------
> RFC8040 (draft-ietf-netconf-restconf-18)
> --------------------------------------
> Title               : RESTCONF Protocol
> Publication Date    : January 2017
> Author(s)           : A. Bierman, M. Bjorklund, K. Watsen
> Category            : PROPOSED STANDARD
> Source              : Network Configuration
> Area                : Operations and Management
> Stream              : IETF
> Verifying Party     : IESG
>