Re: [netconf] [Technical Errata Reported] RFC8040 (6342)
Andy Bierman <andy@yumaworks.com> Mon, 23 November 2020 13:03 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 4FD7E3A0A6A for <netconf@ietfa.amsl.com>; Mon, 23 Nov 2020 05:03:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.013
X-Spam-Level:
X-Spam-Status: No, score=0.013 tagged_above=-999 required=5 tests=[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 P81oa6TYhUXz for <netconf@ietfa.amsl.com>; Mon, 23 Nov 2020 05:03:02 -0800 (PST)
Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 760E13A0A50 for <netconf@ietf.org>; Mon, 23 Nov 2020 05:03:02 -0800 (PST)
Received: by mail-lf1-x135.google.com with SMTP id u18so23582151lfd.9 for <netconf@ietf.org>; Mon, 23 Nov 2020 05:03:02 -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=YMR/ol6pA2gJsAOSohx0/5IJthQJyKsSTwJqCZrbOZA=; b=khrrpSI0tvyOUsxrDNzXz74Me59BB8nh8fhsJASUYba/lmbfCgxqGkSRCA1tKU2cID eoQ4tQb3eIUKsFBUr83fERr3iIAi0f1iDAkKulhKSMR+7UXp3JdLiQ5FchmI2DmSMVCu MJAO/Ommed648u3/ClRAwAHtGlg/MQ0leGbJkIG3gVjAEeGZ6aPtmDKeCd3FIzWQ+Lg+ G42r2YmscewKJ1EcgiWxG8SRFwPXJLyDKGWW0lSoH3894a8LKi09u3hsJwHcbysETwNs Hgz0znKKr2Fp26gYoKE+yf7RHWlaqxlC7spEOYU1X/K+fRwIHuyM26NzoofmH8EHm2tD j1Bg==
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=YMR/ol6pA2gJsAOSohx0/5IJthQJyKsSTwJqCZrbOZA=; b=UvEac6c8h0TsSgu0V47lmniqNw+s9PA7WABXQmOAtOlNdv7eAQ2WqNl7/tnWjoUer6 L/cGrwIu6izeTGSpaayLdFaTAjJkWVdQmFvwURJ+0pcUFAHkPcV6vwhNDccE9ZpqVClq fXxWvissRicE28GGKQa9HymG2HFNFPXWpvCg3DRKPdkBwTmm0gGbbrhrpqWfvmQ7Zo1W Oj6Ajc11Kcz4eAYD7mE6zuegQzP2DWyUb4s8F1dTJp94U73S7rQM0bUR7nYWahaAQwoF YYDwOIWQQ1XNIMfGv7xy67eBpbhOffHy5Kn2uOHdHAMD/SH0BhDt6fksTRhk7oGlayKa emGw==
X-Gm-Message-State: AOAM532ThfmYcVY2RV9ZuSZcwnz/dNrBCP5YB1L+szE0ZiOXuEzR55k1 eQgo7wn3aMToShxcChK1uwV0HdQ1dyJCtgbqIfpV0g==
X-Google-Smtp-Source: ABdhPJzRutCJQJfkw+vnDimI6d/FcdwicHTuFdlb5bP4cKy5v7RRnG/G8zjw9BAjdz36CpsM/gOJmU/1vF5Gk1Npu58=
X-Received: by 2002:a19:ec09:: with SMTP id b9mr14571755lfa.178.1606136580240; Mon, 23 Nov 2020 05:03:00 -0800 (PST)
MIME-Version: 1.0
References: <20201122221445.1E11FF4071F@rfc-editor.org> <20201123.093729.325420538444196813.id@4668.se>
In-Reply-To: <20201123.093729.325420538444196813.id@4668.se>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 23 Nov 2020 05:02:49 -0800
Message-ID: <CABCOCHQUrG_JuMFP8PXs-8qJYjXttSVVKqnn+-QT5hm9Nf6xNQ@mail.gmail.com>
To: Martin Björklund <mbj+ietf@4668.se>
Cc: RFC Editor <rfc-editor@rfc-editor.org>, 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>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000053928605b4c5d009"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/-MAdyXuiVZ3qY6mQLw0FqpEZh9Y>
Subject: Re: [netconf] [Technical Errata Reported] RFC8040 (6342)
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, 23 Nov 2020 13:03:04 -0000
On Mon, Nov 23, 2020 at 12:37 AM Martin Björklund <mbj+ietf@4668.se> wrote: > Hi, > > The issue boils down to if list keys are required in a plain patch. > Unfortunately, the RFC doesn't specifucy this. From a technical pow, > list keys are not necessary. In fact, if they are present in the > payload, they are redundant (since they are part of the URL) (this is > actually mentioned in the RFC). > > Since it isn't clearly specified, I think we must assume that the keys > are not required. Hence I think that this errata should be rejected. > > In a future version of this document, the behaviour should be > clarified. > > +1 reject this errata > > /martin > > Andy > > 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/eid6342 > > > > -------------------------------------- > > Type: Technical > > Reported by: Muly Ilan <muly_i@rad.com> > > > > Section: 4.6.1 > > > > Original Text > > ------------- > > To replace just the "year" field in the "album" resource (instead of > > replacing the entire resource with the PUT method), the client might > > send a plain patch as follows: > > PATCH /restconf/data/example-jukebox:jukebox/\ > > library/artist=Foo%20Fighters/album=Wasting%20Light HTTP/1.1 > > Host: example.com > > If-Match: "b8389233a4c" > > Content-Type: application/yang-data+xml > > <album xmlns="http://example.com/ns/example-jukebox"> > > <year>2011</year> > > </album> > > > > Corrected Text > > -------------- > > To replace just the "year" field in the "album" resource (instead of > > replacing the entire resource with the PUT method), the client might > > send a plain patch as follows: > > PATCH /restconf/data/example-jukebox:jukebox/\ > > library/artist=Foo%20Fighters/album=Wasting%20Light HTTP/1.1 > > Host: example.com > > If-Match: "b8389233a4c" > > Content-Type: application/yang-data+xml > > <album xmlns="http://example.com/ns/example-jukebox"> > > <name>Wasting Light</name> > > <year>2011</year> > > </album> > > > > Notes > > ----- > > Missing key leaf value in the message-body (<name>Wasting Light</name>) > > > > 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 >
- [netconf] [Technical Errata Reported] RFC8040 (63… RFC Errata System
- Re: [netconf] [Technical Errata Reported] RFC8040… Martin Björklund
- Re: [netconf] [Technical Errata Reported] RFC8040… Muly Ilan
- Re: [netconf] [Technical Errata Reported] RFC8040… Martin Björklund
- Re: [netconf] [Technical Errata Reported] RFC8040… Muly Ilan
- Re: [netconf] [Technical Errata Reported] RFC8040… Muly Ilan
- Re: [netconf] [Technical Errata Reported] RFC8040… Martin Björklund
- Re: [netconf] [Technical Errata Reported] RFC8040… Andy Bierman
- Re: [netconf] [Technical Errata Reported] RFC8040… Muly Ilan
- Re: [netconf] [Technical Errata Reported] RFC8040… Martin Björklund
- Re: [netconf] [Technical Errata Reported] RFC8040… Andy Bierman
- Re: [netconf] [Technical Errata Reported] RFC8040… Kent Watsen
- Re: [netconf] [Technical Errata Reported] RFC8040… Andy Bierman