Re: [Netconf] [Technical Errata Reported] RFC6241 (5388)

Mahesh Jethanandani <mjethanandani@gmail.com> Wed, 13 June 2018 13:18 UTC

Return-Path: <mjethanandani@gmail.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 7B588130E33 for <netconf@ietfa.amsl.com>; Wed, 13 Jun 2018 06:18:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.499
X-Spam-Level:
X-Spam-Status: No, score=-0.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=1.5, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 REesmyTIffbW for <netconf@ietfa.amsl.com>; Wed, 13 Jun 2018 06:18:41 -0700 (PDT)
Received: from mail-ot0-x22a.google.com (mail-ot0-x22a.google.com [IPv6:2607:f8b0:4003:c0f::22a]) (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 971D5130E2A for <netconf@ietf.org>; Wed, 13 Jun 2018 06:18:41 -0700 (PDT)
Received: by mail-ot0-x22a.google.com with SMTP id 92-v6so2886149otw.9 for <netconf@ietf.org>; Wed, 13 Jun 2018 06:18:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=W43zh5ZpMHl/tn7e7pkVBGJwDt7aX6N+dWYMcbtS0pw=; b=ZtuWp300/mZWfYmkluZoFJ+g6DiH5u1K9rm5/G3Afms6oeJpWDwEBNDmkm7u7PmaHl wJWlu9nh+vY5Oukv/13lQWs11XiGCtMglBJEBAiVl6LZfQIB3e40GP4Y79vWLoF+ppdM vtnHzu6wfMPOEAhZcfrCFqAeCvWeW1q4doE1hkcfXUljEpwaqMKj85vOawHkHTCekGn5 Ue1ytcjvZpr/PTEzjz17ADex3RRTTGeFXnpj+l1uMXGsN8S3WkeARzlZCjrhNIzG4UT+ lgZRSfHVLbm6NgwurWgcFAXg80WaIt46FFfESTW586q/RSYSvvtrMofTPFHoI5dYVaA9 mGDA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=W43zh5ZpMHl/tn7e7pkVBGJwDt7aX6N+dWYMcbtS0pw=; b=MhRmfXdwoUbcp1UZRYni8GoccGQvMGJOQsZMUBf3l6XBBjGhJ/V26A7x9sjSakmZC2 feJKTSPUSWYxxpbr6CM8QS0PPZZdhf05kJW4Nxlh6QKZiuFHDC/RTeJPMOD7tGAHrjK8 nRtOOL9LP0LvdUY/EjVY9R9abBY3dniOlCMCOLclPSrFipjtgQiJ0hdV5b93zgFWWCWk OoN6u42Fn13fqNkJP1L4MY9NhJR7fgOOp0DYcyx+D2aefVxb1YbWbUxRh57svx1/Munw FsQQhNFdXhitVIkMlZFDTPDnhApxrCItA9Olaul0MtXmf0X8AyjoW/vGm78+2P1IpIzl HhJw==
X-Gm-Message-State: APt69E1QRDir8Qijim9rRP6+Gr1XVGEn2Nd7jbe7Ge+AyFynYUmhF8Yx tBkduJGr/i/xxZZF9p6DPZU=
X-Google-Smtp-Source: ADUXVKKDdrVwkwK6/cuAwANViYSJWrnopNyTsESeTlGk9hyUrjg6Y3mVOh/gzYn3rUxGNpoEerDGKA==
X-Received: by 2002:a9d:fad:: with SMTP id d42-v6mr2893554otd.238.1528895920899; Wed, 13 Jun 2018 06:18:40 -0700 (PDT)
Received: from [10.155.111.35] ([198.24.6.219]) by smtp.gmail.com with ESMTPSA id m62-v6sm1222478otc.71.2018.06.13.06.18.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jun 2018 06:18:39 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <1C8EB3E3-2B57-4256-B1BA-CA5A0C56BBDE@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_292C3246-7921-4232-AA6A-0AB0154E9AC6"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
Date: Wed, 13 Jun 2018 09:18:37 -0400
In-Reply-To: <CABCOCHS1x0zPMf49GS1kAt6ufBUwpn_-zPvyR+BFaHfyEP6p2w@mail.gmail.com>
Cc: RFC Errata System <rfc-editor@rfc-editor.org>, Rob Enns <rob.enns@gmail.com>, Martin Bjorklund <mbj@tail-f.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Ignas Bagdonas <ibagdona@gmail.com>, Warren Kumari <warren@kumari.net>, Kent Watsen <kwatsen@juniper.net>, Jonathan Hansford <jonathan@hansfords.net>, Netconf <netconf@ietf.org>
To: Andy Bierman <andy@yumaworks.com>
References: <20180611153745.D1B5DB80E72@rfc-editor.org> <CABCOCHS1x0zPMf49GS1kAt6ufBUwpn_-zPvyR+BFaHfyEP6p2w@mail.gmail.com>
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/SjJTrVsn0EOcgbV0gFLpdmny2XU>
Subject: Re: [Netconf] [Technical Errata Reported] RFC6241 (5388)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: Network Configuration WG mailing 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: Wed, 13 Jun 2018 13:18:44 -0000

If we agree, would it make sense to have the example for the error case, complete with error code?

> On Jun 11, 2018, at 1:19 PM, Andy Bierman <andy@yumaworks.com> wrote:
> 
> Hi,
> 
> This errata seems correct.
> 
> 
> Andy
> 
> 
> 
> 
> On Mon, Jun 11, 2018 at 8:37 AM, RFC Errata System <rfc-editor@rfc-editor.org <mailto:rfc-editor@rfc-editor.org>> wrote:
> The following errata report has been submitted for RFC6241,
> "Network Configuration Protocol (NETCONF)".
> 
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata/eid5388 <http://www.rfc-editor.org/errata/eid5388>
> 
> --------------------------------------
> Type: Technical
> Reported by: Jonathan Hansford <jonathan@hansfords.net <mailto:jonathan@hansfords.net>>
> 
> Section: 8.3.4.2
> 
> Original Text
> -------------
> 8.3.4.2.  <discard-changes>
> 
>    If the client decides that the candidate configuration is not to be
>    committed, the <discard-changes> operation can be used to revert the
>    candidate configuration to the current running configuration.
> 
>      <rpc message-id="101"
>           xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
>        <discard-changes/>
>      </rpc>
> 
>    This operation discards any uncommitted changes by resetting the
>    candidate configuration with the content of the running
>    configuration.
> 
> Corrected Text
> --------------
> 8.3.4.2.  <discard-changes>
> 
>    Description:
> 
>          If the client decides that the candidate configuration is not
>          to be committed, the <discard-changes> operation can be used to
>          revert the candidate configuration to the current running
>          configuration.
> 
>          This operation discards any uncommitted changes by resetting
>          the candidate configuration with the content of the running
>          configuration.
> 
>    Positive Response:
> 
>          If the device was able to satisfy the request, an <rpc-reply>
>          is sent that contains an <ok> element.
> 
>    Negative Response:
> 
>          An <rpc-error> element is included in the <rpc-reply> if the
>          request cannot be completed for any reason.
> 
>    Example:
> 
>      <rpc message-id="101"
>           xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
>        <discard-changes/>
>      </rpc>
> 
>      <rpc-reply message-id="101"
>           xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
>        <ok/>
>      </rpc-reply>
> 
> Notes
> -----
> RFC 6241 section 1.1 includes the following two definitions:
> 
>    o  protocol operation: A specific remote procedure call, as used
>       within the NETCONF protocol.
> 
>    o  remote procedure call (RPC): Realized by exchanging <rpc> and
>       <rpc-reply> messages.
> 
> Positive and negative responses are detailed for all instances of an operation within the RFC with the exception of <discard-changes>.
> 
> Section 8.3.4.2 identifies <discard-changes> as an operation, and appendices A and C identify "rollback-failed" as an error-tag to be used when the "Request to roll back some configuration change (via rollback-on-error or <discard-changes> operations) was not completed for some reason."
> 
> This change clarifies that <discard-changes> requires an <rpc-reply>.
> 
> 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. 
> 
> --------------------------------------
> RFC6241 (draft-ietf-netconf-4741bis-10)
> --------------------------------------
> Title               : Network Configuration Protocol (NETCONF)
> Publication Date    : June 2011
> Author(s)           : R. Enns, Ed., M. Bjorklund, Ed., J. Schoenwaelder, Ed., A. Bierman, Ed.
> Category            : PROPOSED STANDARD
> Source              : Network Configuration
> Area                : Operations and Management
> Stream              : IETF
> Verifying Party     : IESG
> 

Mahesh Jethanandani
mjethanandani@gmail.com