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

Qin Wu <bill.wu@huawei.com> Thu, 19 July 2018 11:52 UTC

Return-Path: <bill.wu@huawei.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 9969113109B for <netconf@ietfa.amsl.com>; Thu, 19 Jul 2018 04:52:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.89
X-Spam-Level:
X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] 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 Rof3_KWbQW7v for <netconf@ietfa.amsl.com>; Thu, 19 Jul 2018 04:51:59 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 A4A11131093 for <netconf@ietf.org>; Thu, 19 Jul 2018 04:51:59 -0700 (PDT)
Received: from LHREML710-CAH.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id A5558C155133B for <netconf@ietf.org>; Thu, 19 Jul 2018 12:51:54 +0100 (IST)
Received: from NKGEML412-HUB.china.huawei.com (10.98.56.73) by LHREML710-CAH.china.huawei.com (10.201.108.33) with Microsoft SMTP Server (TLS) id 14.3.399.0; Thu, 19 Jul 2018 12:51:55 +0100
Received: from NKGEML513-MBX.china.huawei.com ([169.254.1.110]) by nkgeml412-hub.china.huawei.com ([10.98.56.73]) with mapi id 14.03.0382.000; Thu, 19 Jul 2018 19:51:48 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Robert Wilton <rwilton@cisco.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] Solicit comments on inline action capability for NETCONF
Thread-Index: AdQfVryHRAJGPyqrRK2iyZCZvX6weQ==
Date: Thu, 19 Jul 2018 11:51:48 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA9AF56E33@nkgeml513-mbx.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.124.182.228]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA9AF56E33nkgeml513mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/dd5LH3NCyAVyV2kB_yY_I24cIZA>
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:52:10 -0000

Hi, Robert:

发件人: Robert Wilton [mailto:rwilton@cisco.com]
发送时间: 2018年7月17日 20:09
收件人: Qin Wu <bill.wu@huawei.com>; netconf@ietf.org
抄送: Eric Voit (evoit) <evoit@cisco.com>
主题: 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]: Good point, but I am not sure action and configuration templating can always exchangeable and serve the same purpose.

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]: we are not looking for complicating transaction, we are not looking for multiple operations leading to unexpected consequence. The case we are focusing on is when action can be used with other operation in the compatible way,

The idea will be close to workflow handling. Operation can be arranged in sequence. Maybe have other cases.

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