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

Martin Björklund <mbj+ietf@4668.se> Mon, 15 March 2021 09:45 UTC

Return-Path: <mbj+ietf@4668.se>
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 0579C3A0045 for <netconf@ietfa.amsl.com>; Mon, 15 Mar 2021 02:45:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.121
X-Spam-Level:
X-Spam-Status: No, score=-0.121 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, PDS_NAKED_TO_NUMERO=1.999, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=4668.se header.b=BXBf3zM3; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=JF0dHZUk
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 hPM4qe8my3Kj for <netconf@ietfa.amsl.com>; Mon, 15 Mar 2021 02:45:54 -0700 (PDT)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 66A8A3A006A for <netconf@ietf.org>; Mon, 15 Mar 2021 02:45:54 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CC3D12415; Mon, 15 Mar 2021 05:45:52 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 15 Mar 2021 05:45:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=date :message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm1; bh= 6pBXniyfEfwOGVTrBEGkiNi4Idao8yf09izxm5ZSzfY=; b=BXBf3zM3x6ps7kzL l61lAHuYzMUGz0HtVLEFM9NtBQ+wo/CWozlSiDIhFO4L6ghhdfNFiNBBJRNKI09c PZV3EizPanwnhzG+8KA4v50mInsEIwSJhvJy/j9ZwlYvTnt7VF3uJVg1PyGsGvPk DjPk4wSh8719tc11VQE1/0XvbjDvVLGGBl08rTOrq+6NM2XzrrkNlLC2yISOwyNy UhGB8JKzSbV3eIALp77YWc91ztyQ2iZkVwnbUk0IXJRkxZwUrDrDu2x8o+Ok9Qbr qfvbs5Xrx8tU17FIKtD0hcIJRUkWFq6AyV14eMxQnxQqfsm0clD/4ZqOJ3iISAFI Vxw7ow==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=6pBXniyfEfwOGVTrBEGkiNi4Idao8yf09izxm5ZSz fY=; b=JF0dHZUkbLh/AECozPUFa3K8N4gFEi9y4BX2Ras7o04/0AUVcpJKaYu6R tFK+IpdFpbFbPoOxjWGhKmm8PW1uTKpZDOpOhDBuQXjc1E5jK7EiEpv8xD0/gKZA lTA+vN2P4Vc3Hwq71LEmOY0zPQq106hirTVO1xAywvuNipj2REf/d8AB00MTvlb6 XHzdVyHyP6bOAkSbG0Mk3jH+c+X/ywbSnl+LRD5du8tmdNoFC76EiM1kcAYhrkBZ zaO+07/5dspcRMmmo9ujgArbPXryS9rhs8EB2N/OBjynHj2eXmsJa+xtNarT3A+k BtQCxvmAYoEAIL4FWLlzoZPrIEh0w==
X-ME-Sender: <xms:zyxPYDfO4KJlE4JlI-QezFUbBahorGJOPd_iNNkoSvO2LEvkZCsM-A> <xme:zyxPYJNTp2c9vpKYzCUSc2yxG1rIZldhwYZiV0zcSNMckF1MeCdGxzUmHAVQ2E1Tm QQt05eIYvInS3TTv6w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvledgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffkffvuffhjghfofggtgfgsehtje ertdertddvnecuhfhrohhmpeforghrthhinhcuuehjnphrkhhluhhnugcuoehmsghjodhi vghtfhesgeeiieekrdhsvgeqnecuggftrfgrthhtvghrnhepiedtteetveeggfeukeffvd eltdetveeigeeivedvhfehhfehkefhteduteehhedvnecuffhomhgrihhnpehrfhgtqdgv ughithhorhdrohhrghdpudhhohhsthgvgigrmhhplhgvrdgtohhmpdhivghtfhdrohhrgh enucfkphepudehkedrudejgedrgedrvdduheenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehmsghjodhivghtfhesgeeiieekrdhsvg
X-ME-Proxy: <xmx:zyxPYMj_OPQdNZwkHM2e1G6i4ODYAqKJKbDjzwdTwd68Nkgl8g8WDQ> <xmx:zyxPYE8EVrNRV_qoOWPUewnBOIdlf_1p0JQcLCtfbHkbVgQgYBIeXQ> <xmx:zyxPYPuTllrwy71SemJifqSSvAYWovoMiIwLfxj6sHRgy5gqx7rqrg> <xmx:0CxPYDgvCtlmE1r3mZURVFzulqFoP8Vo9fmM38vDK_bHMCrdUVCncQ>
Received: from localhost (unknown [158.174.4.215]) by mail.messagingengine.com (Postfix) with ESMTPA id 6B58A240054; Mon, 15 Mar 2021 05:45:50 -0400 (EDT)
Date: Mon, 15 Mar 2021 10:45:49 +0100 (CET)
Message-Id: <20210315.104549.2076869325791903455.id@4668.se>
To: rwilton=40cisco.com@dmarc.ietf.org
Cc: rfc-editor@rfc-editor.org, andy@yumaworks.com, kwatsen@juniper.net, warren@kumari.net, kent+ietf@watsen.net, mjethanandani@gmail.com, netconf@ietf.org, kyyun@cisco.com
From: Martin =?iso-8859-1?Q?Bj=F6rklund?= <mbj+ietf@4668.se>
In-Reply-To: <MN2PR11MB4366CE04D212D4D5D8F9F4F1B56C9@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <20210310232431.3F443F4076F@rfc-editor.org> <MN2PR11MB4366CE04D212D4D5D8F9F4F1B56C9@MN2PR11MB4366.namprd11.prod.outlook.com>
X-Mailer: Mew version 6.8 on Emacs 26.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/aOekPCzNrA4u36XIqF8SSme_ytA>
Subject: Re: [netconf] [Technical Errata Reported] RFC8040 (6473)
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: Mon, 15 Mar 2021 09:45:56 -0000

"Rob Wilton \(rwilton\)" <rwilton=40cisco.com@dmarc.ietf.org> wrote:
> Hi,
> 
> This looks like a bug to me.

I agree.  This errata is correct.


/martin


> 
> Does anyone disagree?
> 
> Regards,
> Rob
> 
> 
> > -----Original Message-----
> > From: RFC Errata System <rfc-editor@rfc-editor.org>
> > Sent: 10 March 2021 23:25
> > To: andy@yumaworks.com; mbj@tail-f.com; kwatsen@juniper.net;
> > warren@kumari.net; Rob Wilton (rwilton) <rwilton@cisco.com>om>;
> > kent+ietf@watsen.net; mjethanandani@gmail.com
> > Cc: Kyoung Yun (kyyun) <kyyun@cisco.com>om>; netconf@ietf.org; rfc-
> > editor@rfc-editor.org
> > Subject: [Technical Errata Reported] RFC8040 (6473)
> > 
> > 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/eid6473
> > 
> > --------------------------------------
> > Type: Technical
> > Reported by: Kyoung-Hwan Yun <kyyun@cisco.com>
> > 
> > Section: B.3.2
> > 
> > Original Text
> > -------------
> >    Example 3: depth=3
> > 
> >    To limit the depth level to the target resource plus two child
> >    resource layers, the value "3" is used.
> > 
> >       GET /restconf/data/example-jukebox:jukebox?depth=3 HTTP/1.1
> >       Host: example.com
> >       Accept: application/yang-data+json
> > 
> >    The server might respond as follows:
> > 
> >       HTTP/1.1 200 OK
> >       Date: Thu, 26 Jan 2017 20:56:30 GMT
> >       Server: example-server
> >       Cache-Control: no-cache
> >       Content-Type: application/yang-data+json
> > 
> >       {
> >         "example-jukebox:jukebox" : {
> >           "library" : {
> >             "artist" : {}
> >           },
> >           "playlist" : [
> >             {
> >               "name" : "Foo-One",
> >               "description" : "example playlist 1",
> >               "song" : {}
> >             }
> >           ],
> >           "player" : {
> >             "gap" : 0.5
> >           }
> >         }
> >       }
> > 
> > Corrected Text
> > --------------
> >    Example 3: depth=3
> > 
> >    To limit the depth level to the target resource plus two child
> >    resource layers, the value "3" is used.
> > 
> >       GET /restconf/data/example-jukebox:jukebox?depth=3 HTTP/1.1
> >       Host: example.com
> >       Accept: application/yang-data+json
> > 
> >    The server might respond as follows:
> > 
> >       HTTP/1.1 200 OK
> >       Date: Thu, 26 Jan 2017 20:56:30 GMT
> >       Server: example-server
> >       Cache-Control: no-cache
> >       Content-Type: application/yang-data+json
> > 
> >       {
> >         "example-jukebox:jukebox" : {
> >           "library" : {
> >             "artist" : []
> >           },
> >           "playlist" : [
> >             {
> >               "name" : "Foo-One",
> >               "description" : "example playlist 1",
> >               "song" : []
> >             }
> >           ],
> >           "player" : {
> >             "gap" : 0.5
> >           }
> >         }
> >       }
> > 
> > Notes
> > -----
> > "artist" and "song" are defined as list.  Therefore, according to RFC
> > 7951, they should be encoded as array instead of object.
> > 
> > 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
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf