Re: [netconf] Clarification on NETCONF edit-config default-operation replace

Kent Watsen <kent@watsen.net> Mon, 11 January 2021 17:43 UTC

Return-Path: <01000176f28bbe25-64dc8d99-c769-4ff9-8b40-772c4ad11b0b-000000@amazonses.watsen.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 C52DA3A1125 for <netconf@ietfa.amsl.com>; Mon, 11 Jan 2021 09:43:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.916
X-Spam-Level:
X-Spam-Status: No, score=-1.916 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 4Yir9S-A79cS for <netconf@ietfa.amsl.com>; Mon, 11 Jan 2021 09:43:34 -0800 (PST)
Received: from a8-83.smtp-out.amazonses.com (a8-83.smtp-out.amazonses.com [54.240.8.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 777953A1124 for <netconf@ietf.org>; Mon, 11 Jan 2021 09:43:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1610387013; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=8L1CEeuVVvteCDZFmRcBYkq3txsDYJ5GSo8czHHvQow=; b=N2ESrfGa9R7aYTHJUAA7ZWnYdI21CpYxJjkcEThWtWL5UmUHQXSzxokGvR4Z0R7i Ic62VgyJetQ5mmtgntc6i+jY9b60MHbzcTK/eSoyGTIkqhOoPp1nw/C3jX1sRIHN8Ze dL+qMVHWcBe8Z7/ANrTKQ/joFSr60yj8K6y/JSTk=
From: Kent Watsen <kent@watsen.net>
Message-ID: <01000176f28bbe25-64dc8d99-c769-4ff9-8b40-772c4ad11b0b-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_3624BB97-AA42-4FC3-97D7-690EEDBDBEC7"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Date: Mon, 11 Jan 2021 17:43:33 +0000
In-Reply-To: <CABCOCHSViunYXjMwsrp0Rhh+qtEt2KGreJ7ji73h=KWco1dWiw@mail.gmail.com>
Cc: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netconf@ietf.org" <netconf@ietf.org>
To: Andy Bierman <andy@yumaworks.com>
References: <b586413eb1a939e144191c07ea8267843ac092bd.camel@intl.att.com> <DM5PR08MB2633A0708C35C95BBB73B9029BFE0@DM5PR08MB2633.namprd08.prod.outlook.com> <MN2PR11MB4366168CEFD579AF9DF2BF91B5AB0@MN2PR11MB4366.namprd11.prod.outlook.com> <CABCOCHRK7G7GL7BWeGqjPnWzOMEJx-kVj=G1SR7SUyV1R1iGQQ@mail.gmail.com> <MN2PR11MB4366B35776E0E9641E7BBCD1B5AB0@MN2PR11MB4366.namprd11.prod.outlook.com> <CABCOCHSViunYXjMwsrp0Rhh+qtEt2KGreJ7ji73h=KWco1dWiw@mail.gmail.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
X-SES-Outgoing: 2021.01.11-54.240.8.83
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/CXazx_Xa8XjWve3s7-P1PfzI-yA>
Subject: Re: [netconf] Clarification on NETCONF edit-config default-operation replace
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, 11 Jan 2021 17:43:36 -0000


> On Jan 11, 2021, at 10:53 AM, Andy Bierman <andy@yumaworks.com> wrote:
> 
> I guess the wording in both cases is not correct.
> There is a description of the operation attribute in sec 7.2 (not very good, but normative).
> The default-operation text should just say that "merge" or "replace" is the assigned value of
> the operation when the attribute is not present in the representation of the data node.
> The value "none" indicates that no operation is assigned if the attribute is not present.

Agreed.

It seems odd that the "default-operation” section provides (redundant) behavioral descriptions, rather than pointing to the descriptions provided in the “operation” section above.

Nit: replace "no operation” with "no default operation" in Andy’s last sentence.

K.