Re: [Netconf] Solicit comments on inline action capability for NETCONF
Robert Wilton <rwilton@cisco.com> Thu, 19 July 2018 11:57 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 0CF1813102F for <netconf@ietfa.amsl.com>; Thu, 19 Jul 2018 04:57:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, 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 t_37ds_k2IKb for <netconf@ietfa.amsl.com>; Thu, 19 Jul 2018 04:57:55 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0ABFE13108B for <netconf@ietf.org>; Thu, 19 Jul 2018 04:57:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2858; q=dns/txt; s=iport; t=1532001474; x=1533211074; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=pFuGs0ojc0AYJwXPVo9LULV9tIKaAFfxDAPmIZGPOiw=; b=Tv3UPcZ829UeHktm3Km+vGHF+qh0nXpmULXy9OLW7n6BNzJ1hW0NYmGJ 4qTgu+yqKq1ruG2uPLlVORHxNF9XkmyiSNl1pO7qle4utPXMeCI4F4hPK PYTNf5TEdrAi5vESr3e/9JGIN0naApnC0EqfZefFpkI77Jl9Nl3TTVjS3 M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AOAgCie1Bb/xbLJq1cGQEBAQEBAQEBAQEBAQcBAQEBAYUdEiiDfohjjSwIJJU7gXoLhGwCgyM1FwECAQECAQECbSiFNwEFIw8BBVEJAg4KAgIjAwICRhEGAQwGAgEBF4MFggCOD5tHgS6EXYVugQuJTj+BOAyCMC6DGQSEX4JVAploCY8mBoFEhBKCSSWFKIxIhVWBQwE1gVIzGggbFYMkkG8jMAGLbQEB
X-IronPort-AV: E=Sophos;i="5.51,374,1526342400"; d="scan'208";a="5278939"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jul 2018 11:57:52 +0000
Received: from [10.61.241.77] ([10.61.241.77]) by aer-core-1.cisco.com (8.15.2/8.15.2) with ESMTP id w6JBvpHc027715; Thu, 19 Jul 2018 11:57:51 GMT
To: Qin Wu <bill.wu@huawei.com>, "netconf@ietf.org" <netconf@ietf.org>
References: <B8F9A780D330094D99AF023C5877DABA9AF56E0F@nkgeml513-mbx.china.huawei.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <e52ce1a8-247b-6554-0731-e70c118c7e03@cisco.com>
Date: Thu, 19 Jul 2018 07:57:51 -0400
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: <B8F9A780D330094D99AF023C5877DABA9AF56E0F@nkgeml513-mbx.china.huawei.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Outbound-SMTP-Client: 10.61.241.77, [10.61.241.77]
X-Outbound-Node: aer-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/izDNeXX24fz76TM-9snF-St_06s>
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: Thu, 19 Jul 2018 11:58:06 -0000
Hi Qin, Can you please provide some concrete example of the problem that needs to be solved here, and that can't be solved by existing tools. I agree that transactional chained operations could be done, but I'm not convinced that they should be done. E.g. if the problem can be solved in a simpler way then that it better. E.g. considering enabling an interface and clearing counters at the same time. Obviously if the interface is disabled, then a client could clear the counters first, then enable the interface, no transaction is required. The more stuff that we add to NETCONF/YANG, the more complex it becomes and more expensive it becomes to implement and use. So, for me, I think that a compelling problem statement would help evaluate whether this enhancement is really required. Thanks, Rob On 19/07/2018 07:40, Qin Wu wrote: > Hi, All: > -----邮件原件----- > 发件人: Robert Wilton [mailto:rwilton@cisco.com] > 发送时间: 2018年7月17日 22:13 > 收件人: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>; Qin Wu <bill.wu@huawei.com>; netconf@ietf.org > 主题: Re: [Netconf] Solicit comments on inline action capability for NETCONF > > > > On 17/07/2018 09:25, Juergen Schoenwaelder wrote: >> On Tue, Jul 17, 2018 at 08:08:47AM -0400, Robert Wilton wrote:Hi Qi >>> 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. > I agree. > > [Qin]: Good point, this is exactly what we propose to do. but in the current draft, we haven't made this clearly. > In addition, we think action is still a special operation, need to be handled in the different way from other operations. > >> 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. > I also agree to both points. > > [Qin]: in our implementation practice, > The action can be also be applied to get-config, get-data, so you are right, our intention > Is to define it in the generic way. > Thanks, > Rob > >> /js >>
- 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