Re: [Netconf] Solicit comments on inline action capability for NETCONF
Robert Wilton <rwilton@cisco.com> Thu, 25 October 2018 13:46 UTC
Return-Path: <rwilton@cisco.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 5983B130E5A for <netconf@ietfa.amsl.com>; Thu, 25 Oct 2018 06:46:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.49
X-Spam-Level:
X-Spam-Status: No, score=-14.49 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 LuttKxvYuClR for <netconf@ietfa.amsl.com>; Thu, 25 Oct 2018 06:46:08 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B00D4120072 for <netconf@ietf.org>; Thu, 25 Oct 2018 06:46:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=16543; q=dns/txt; s=iport; t=1540475167; x=1541684767; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=qPT2gAK0w+EKsjym5yeBbGoW8RsHsYmEyoErSv1RdLU=; b=lGXjK7Id9szSK6TySBp7ZeM4x89CJw/kaZXyrmX76Vi/5CtomQ67oTTz bcoLR3edg6kkbChOggQAx/UjAJIKA1INdxZcboSlHvPiJNQj2lMhP1kXG So+GywZTFlt3Y+y+cpqNKSTir6ftCgXk1rRdk52gDzxuzQGObSIscEGDk k=;
X-IronPort-AV: E=Sophos;i="5.54,424,1534809600"; d="scan'208,217";a="7469484"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2018 13:46:05 +0000
Received: from [10.63.23.63] (dhcp-ensft1-uk-vla370-10-63-23-63.cisco.com [10.63.23.63]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTP id w9PDk5jJ021136; Thu, 25 Oct 2018 13:46:05 GMT
To: 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> <B8F9A780D330094D99AF023C5877DABA9B0C083B@nkgeml513-mbx.china.huawei.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <f041350d-a192-2002-ae26-d0e6f4c1dc4e@cisco.com>
Date: Thu, 25 Oct 2018 14:46:04 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA9B0C083B@nkgeml513-mbx.china.huawei.com>
Content-Type: multipart/alternative; boundary="------------616A43D1341E7DCCB0A8A76F"
Content-Language: en-US
X-Outbound-SMTP-Client: 10.63.23.63, dhcp-ensft1-uk-vla370-10-63-23-63.cisco.com
X-Outbound-Node: aer-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/w50U8-sxHWLCM8IZrH3Q_lK-l2A>
Subject: Re: [Netconf] Solicit comments on inline action capability for NETCONF
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 25 Oct 2018 13:46:10 -0000
Hi Qin, On 25/10/2018 14:30, Qin Wu wrote: > > *发件人:*Robert Wilton [mailto:rwilton@cisco.com] > *发送时间:*2018年7月17日20:09 > *收件人:*Qin Wu; netconf@ietf.org > *抄送:*Eric Voit (evoit) > *主题:*Re: [Netconf] Solicit comments on inline action capability for > NETCONF > > 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? > > So I'm struggling to think of actions that apply to configuration > datastores where the same behaviour cannot just be achieved via a > simple configuration manipulation. One use case could be wanting to > repeat the same configuration on many interfaces at the same time, but > for this, I think that a configuration templating solution would be > preferable rather than using actions, and a templating would probably > just reused edit-config/edit-data. So, if you have some other more > concrete examples of actions that apply to configuration datastores, > that might be helpful. > > [Qin]: Come back for this discussion. One typical example is Configure > multiple UserVLANTag range on trunk interface Ethernet0/0 > > UserVLANTag Range 1 [1,5] > > UserVLANTag Range [6,10] > > Using configuration template to replicate multiple copies on the same > interface from the client to the server result in a significant amount > of signaling traffic(e.g,edit-config operation related to protocol > message) on a periodic basis, in this example, we require 10 time > exchange between the client and the server(device). > I'm sorry, but I don't follow this example. Why can't this be done as a single edit-config request that updates all the VLANs in a single message? Thanks, Rob > With inline action, we can introduce bulk operation, so we only need > to send one protocol message for such bulk operatio, configuration > template can also be used in this case, the difference is > configuration template is only used within the server, which is more > efficient. > > Another question (which I think is similar to the one that Eric has > also asked) is whether to have transactions that mix configuration > operations and action operations on <operational>. E.g. perhaps > enable an interface and reset the counters at the same time, or > perform some config change and establish a dynamic subscription at the > same time. But I question how robust this would end up being (I'm not > generally a fan of distributed transactions - they never seem to be as > robust as they claim to be). Perhaps one for future thought and > discussion. > > [Qin]: Withdraw such case. > > Thanks, > Rob > > On 03/07/2018 22:01, Qin Wu wrote: > > Hi, Folks: > > We have posted inline action capability draft on Jun 28: > > https://www.ietf.org/mail-archive/web/netconf/current/msg14823.html > > One comment we received from the list is: > > https://www.ietf.org/mail-archive/web/netconf/current/msg14863.html > > The v-(01) is uploaded to address this comment. > > Therefore we would like to draw you attention again on this draft > > https://tools.ietf.org/html/draft-zheng-netconf-inline-action-capability-01 > > We would like to receive more review and feedback on this draft, > thanks. > > -Qin > > > > > _______________________________________________ > > Netconf mailing list > > Netconf@ietf.org <mailto:Netconf@ietf.org> > > https://www.ietf.org/mailman/listinfo/netconf >
- Re: [Netconf] Solicit comments on inline action c… Eric Voit (evoit)
- Re: [Netconf] Solicit comments on inline action c… Qin Wu
- Re: [Netconf] Solicit comments on inline action c… Rohit R Ranade
- [Netconf] Solicit comments on inline action capab… Qin Wu
- Re: [Netconf] Solicit comments on inline action c… Qin Wu
- Re: [Netconf] Solicit comments on inline action c… Rohit R Ranade
- Re: [Netconf] Solicit comments on inline action c… Qin Wu
- Re: [Netconf] Solicit comments on inline action c… Robert Wilton
- Re: [Netconf] Solicit comments on inline action c… Juergen Schoenwaelder
- Re: [Netconf] Solicit comments on inline action c… Robert Wilton
- Re: [Netconf] Solicit comments on inline action c… Qin Wu
- Re: [Netconf] Solicit comments on inline action c… Qin Wu
- Re: [Netconf] Solicit comments on inline action c… Robert Wilton
- Re: [Netconf] Solicit comments on inline action c… Robert Wilton
- Re: [Netconf] Solicit comments on inline action c… Qin Wu
- Re: [Netconf] Solicit comments on inline action c… Robert Wilton
- Re: [Netconf] Solicit comments on inline action c… Qin Wu