Re: [Netconf] Solicit comments on inline action capability for NETCONF

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 17 July 2018 13:25 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 D09F2130F13 for <netconf@ietfa.amsl.com>; Tue, 17 Jul 2018 06:25:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
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 TPIuG4z8cCLY for <netconf@ietfa.amsl.com>; Tue, 17 Jul 2018 06:25:30 -0700 (PDT)
Received: from anna.localdomain (anna.eecs.jacobs-university.de [IPv6:2001:638:709:5::7]) by ietfa.amsl.com (Postfix) with ESMTP id 1862D130E58 for <netconf@ietf.org>; Tue, 17 Jul 2018 06:25:30 -0700 (PDT)
Received: by anna.localdomain (Postfix, from userid 501) id 1839E234D16F; Tue, 17 Jul 2018 15:25:28 +0200 (CEST)
Date: Tue, 17 Jul 2018 15:25:28 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>
Cc: Qin Wu <bill.wu@huawei.com>, "netconf@ietf.org" <netconf@ietf.org>
Message-ID: <20180717132528.xotht5ydvhjfwvdn@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>, Qin Wu <bill.wu@huawei.com>, "netconf@ietf.org" <netconf@ietf.org>
References: <B8F9A780D330094D99AF023C5877DABA9AEC24AC@nkgeml513-mbx.china.huawei.com> <b8fbfc3a-ff80-df51-60d4-c97458b3d1af@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <b8fbfc3a-ff80-df51-60d4-c97458b3d1af@cisco.com>
User-Agent: NeoMutt/20180622
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/gouG1znlLpWEXoaydjiwRND0bUU>
Subject: Re: [Netconf] Solicit comments on inline action capability for NETCONF
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
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, 17 Jul 2018 13:25:34 -0000

On Tue, Jul 17, 2018 at 08:08:47AM -0400, Robert Wilton wrote:
> Hi Qin,
> 
> Having read this draft, I can understand what the draft is proposing, but I
> don't currently understand why this is useful. Specifically, I don't find
> the example that is in the draft as compelling.  If the desire is to set the
> MTU and enable the interface as one configuration operation, then wouldn't
> the client just configure both mtu and enabled leaves at the same time.  Why
> is a separate action required here to enable the interface?
>

I have asked myself the same question multiple times. ;-)

If people want engineer transactions consisting of multiple
operations, then they should do this for combinations of _arbitrary_
operations. At the end, edit-config is just an operation like
edit-data or any other operation.

Personally, I do not think heavy weight transactions is the way to go
but if people want to engineer this, please make the solution at least
generic and not bound to edit-config or something like that.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>