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

Kent Watsen <kwatsen@juniper.net> Tue, 12 June 2018 21:10 UTC

Return-Path: <kwatsen@juniper.net>
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 A61D2130F39 for <netconf@ietfa.amsl.com>; Tue, 12 Jun 2018 14:10:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 956HWm_JM_Jp for <netconf@ietfa.amsl.com>; Tue, 12 Jun 2018 14:10:16 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AEDB5130E94 for <netconf@ietf.org>; Tue, 12 Jun 2018 14:10:16 -0700 (PDT)
Received: from pps.filterd (m0108160.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5CL8ejM029120; Tue, 12 Jun 2018 14:10:09 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=mcH46iVShaIZlxOtYvkbq/ZfKgwWJqNaBMuPhgaiAvs=; b=ZIsZwe/LVqot9jJg0sjkJpJs2tOQ/+BNlkrsu04A4W3QxkZDXDv+2YMNbEG8CrZMgss3 iduFVKcpIvAxtXse9OwbIxLCKKykztwR8bim5NswGzch3M4xkU4B5q6M/s0KimjT1XE2 RBNv/59lEQllWb1f9wkPNmxuLa/Cwfk6EWlw4/01QQUQhYBYOC75ofJYO0HH3fyXmibS zFDPmu90jnyYf7gPbdAl8x0Il/hL9TMW2PFnASw6CoO1BVhyGbWyoJbB6aK9st7K4147 tPu40CJf1ZLRAcAqo/aps3T3l2t3nQCzI3VqgWIbPSSEQDpvrcuHqvZfb9PFhKoasUIz 9Q==
Received: from nam05-co1-obe.outbound.protection.outlook.com (mail-co1nam05lp0085.outbound.protection.outlook.com [216.32.181.85]) by mx0b-00273201.pphosted.com with ESMTP id 2jjmtqg3qm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 12 Jun 2018 14:10:08 -0700
Received: from BYAPR05MB4230.namprd05.prod.outlook.com (52.135.200.153) by BYAPR05MB4024.namprd05.prod.outlook.com (52.135.199.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.6; Tue, 12 Jun 2018 21:10:06 +0000
Received: from BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::959d:9fbe:90e4:3cc]) by BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::959d:9fbe:90e4:3cc%3]) with mapi id 15.20.0863.010; Tue, 12 Jun 2018 21:10:06 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Andy Bierman <andy@yumaworks.com>, RFC Errata System <rfc-editor@rfc-editor.org>
CC: 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>, Mahesh Jethanandani <mjethanandani@gmail.com>, Jonathan Hansford <jonathan@hansfords.net>, Netconf <netconf@ietf.org>
Thread-Topic: [Technical Errata Reported] RFC6241 (5388)
Thread-Index: AQHUAZooFE0qHY9OSk+Gmeiph2ebYaRbTWUAgAGPzwA=
Date: Tue, 12 Jun 2018 21:10:06 +0000
Message-ID: <C8786490-6514-4BD9-97B7-5A6C53736898@juniper.net>
References: <20180611153745.D1B5DB80E72@rfc-editor.org> <CABCOCHS1x0zPMf49GS1kAt6ufBUwpn_-zPvyR+BFaHfyEP6p2w@mail.gmail.com>
In-Reply-To: <CABCOCHS1x0zPMf49GS1kAt6ufBUwpn_-zPvyR+BFaHfyEP6p2w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.13]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR05MB4024; 7:DY64woy1toQWseACgdP+243exhdODPU9+TDpu0PzgGOvwG4HULtlpe+nixewjQgOBAsG9BYwtYnxf+uCFi5AhGk4mHQjtOBEX1fqhJuBgeg8INiw5y/G+bPLQAD1SVxHAbcZ6TS0JFVCgyHEV0s+YtkZBU6OoNLKJf1jaqhMTCQyGYPBRYi4P11eZzjg+7Y+23qiED6jVr5dyNaOHV/XPNm1DixsJUfZ6B26j/wmkWijKF5C8hjodWAmP7Z5/RML
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BYAPR05MB4024;
x-ms-traffictypediagnostic: BYAPR05MB4024:
x-microsoft-antispam-prvs: <BYAPR05MB40241C2289BA06DCA8E86AE6A57F0@BYAPR05MB4024.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(10436049006162)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:BYAPR05MB4024; BCL:0; PCL:0; RULEID:; SRVR:BYAPR05MB4024;
x-forefront-prvs: 07013D7479
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(396003)(376002)(346002)(39380400002)(39860400002)(199004)(189003)(50944005)(26005)(58126008)(2616005)(186003)(14454004)(11346002)(25786009)(446003)(102836004)(99286004)(316002)(478600001)(966005)(5660300001)(110136005)(54906003)(6506007)(59450400001)(53546011)(7416002)(3846002)(36756003)(76176011)(2906002)(476003)(6116002)(3660700001)(3280700002)(68736007)(105586002)(106356001)(5250100002)(486006)(6436002)(8936002)(81156014)(229853002)(81166006)(8676002)(7736002)(2900100001)(66066001)(236005)(6246003)(39060400002)(6306002)(97736004)(53936002)(33656002)(54896002)(4326008)(82746002)(6486002)(606006)(6512007)(86362001)(83716003); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB4024; H:BYAPR05MB4230.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: EsPwa2W670znBXwgC25sIdbvWtRYM57tprN9osy3gEK2OwN0wsr+X50hobxmOWAkijLdVH3S1fgQRZZwGW/TuC4igF+g/3ZGPoG19zIR4eUKgcEwU+krwXLADzC3I2scsJHXD07v5RoxuEJd2YYGWdTqSGWK2DdNj26EaB7CLCiOJZC+0XOccSq8vJ/EF3gx
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_C878649065144BD997B75A6C53736898junipernet_"
MIME-Version: 1.0
X-MS-Office365-Filtering-Correlation-Id: 0910db72-454b-427d-1a62-08d5d0a8df5f
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 0910db72-454b-427d-1a62-08d5d0a8df5f
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2018 21:10:06.2257 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4024
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-06-12_13:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806120234
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/__80RNX2oD9i2HtcjBNhyy-DCdI>
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: Tue, 12 Jun 2018 21:10:29 -0000

Seems okay to me too.

/kw


On 6/11/18, 1:19 PM, "Andy Bierman" <andy@yumaworks.com<mailto: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<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.rfc-2Deditor.org_errata_eid5388&d=DwMFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=qiHjWg8bIrIM3jM2fqOb_mNHU4dbqcfnQnvOD5fcntQ&s=tFIRijX-PbLD3apJUCoGk77LizpT1jH4jPVsD7ZH8N8&e=>

--------------------------------------
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