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

"Eric Voit (evoit)" <evoit@cisco.com> Fri, 06 July 2018 14:38 UTC

Return-Path: <evoit@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 AC14D130ED8 for <netconf@ietfa.amsl.com>; Fri, 6 Jul 2018 07:38:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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_DKIMWL_WL_HIGH=-0.01, 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 Kr0iPfM1vd1j for <netconf@ietfa.amsl.com>; Fri, 6 Jul 2018 07:37:59 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 32EB6127332 for <netconf@ietf.org>; Fri, 6 Jul 2018 07:37:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=19086; q=dns/txt; s=iport; t=1530887879; x=1532097479; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=ApwOwutif1n8z2feACNRi1r+BbEkzODRVEbONjUWPPA=; b=CWeozDWejqHGl2pOflgZQs3btb18gN8OLn6yXQr9InW94Hq8X2bI/7ok W8ANmzu7W1YYCNNsBRIH5Zroscu1OrE+BkQBSX/O+6NwzauBUughMBlmi BcvOuf7kalDiDmS/rD6EVeaY0HJ1XDV52vrkkZ++tVXv9YelowpyRCCbI 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DDAADM+T5b/5hdJa1cGQEBAQEBAQEBAQEBAQcBAQEBAYJTdmJ/KAqDcIgEjDWCB5UwgXoLJYQBRgIXghYhNBgBAgEBAgEBAm0cDIU2AQEBAQMtTBACAQYCDgMEAQEoBQICMBQJCAEBBAENBQiDGYEbZA+NTZtCCIIaiE+BNQWIbYFWP4NwLoMYAQEBAoEpFAEBLAkbBASCQ4JZAoVWk3kJAoYEgmSCd4M5gUiGd4UhijWHLwIREwGBJB04gVJwFTuCaYsUhT5vAY0YgR+BGgEB
X-IronPort-AV: E=Sophos;i="5.51,316,1526342400"; d="scan'208,217";a="139741103"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jul 2018 14:37:58 +0000
Received: from XCH-RTP-012.cisco.com (xch-rtp-012.cisco.com [64.101.220.152]) by rcdn-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id w66Ebvii003235 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 6 Jul 2018 14:37:58 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-012.cisco.com (64.101.220.152) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 6 Jul 2018 10:37:57 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1320.000; Fri, 6 Jul 2018 10:37:57 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Qin Wu <bill.wu@huawei.com>, "Zhengguangying (Walker) (zhengguangying@huawei.com)" <zhengguangying@huawei.com>
CC: "netconf@ietf.org" <netconf@ietf.org>, Rohit R Ranade <rohitrranade@huawei.com>, Aijun Wang <wangaijun@tsinghua.org.cn>
Thread-Topic: Solicit comments on inline action capability for NETCONF
Thread-Index: AdQTOvQ+DGsUYeJXQ/uaFzBxunpGvAABkhagAAO3KjAAAum+QAAAi6mgAHUafGA=
Date: Fri, 06 Jul 2018 14:37:57 +0000
Message-ID: <567b64b502cf47cd84bf9f53f760a8fa@XCH-RTP-013.cisco.com>
References: <B8F9A780D330094D99AF023C5877DABA9AEC24AC@nkgeml513-mbx.china.huawei.com> <991B70D8B4112A4699D5C00DDBBF878A6BBC8F99@dggeml510-mbx.china.huawei.com> <B8F9A780D330094D99AF023C5877DABA9AEC379E@nkgeml513-mbx.china.huawei.com> <991B70D8B4112A4699D5C00DDBBF878A6BBC90C8@dggeml510-mbx.china.huawei.com> <B8F9A780D330094D99AF023C5877DABA9AEC395F@nkgeml513-mbx.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA9AEC395F@nkgeml513-mbx.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.228]
Content-Type: multipart/alternative; boundary="_000_567b64b502cf47cd84bf9f53f760a8faXCHRTP013ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/JC7Q-VnERt-6_m6Dv2caXV8zMZs>
Subject: Re: [Netconf] Solicit comments on inline action capability for NETCONF
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
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: Fri, 06 Jul 2018 14:38:02 -0000

Hi Qin
Hi Walker,

From: Qin Wu, July 4, 2018 2:19 AM

发件人: Rohit R Ranade
发送时间: 2018年7月4日 14:01
收件人: Qin Wu
抄送: netconf@ietf.org<mailto:netconf@ietf.org>; Zhengguangying (Walker)
主题: RE: Solicit comments on inline action capability for NETCONF


[Qin]:Yes, invoking action on configuration datastore is our key use cases,e.g., batch operation on 100 interfaces and enable Interface statistics and
Then set MTU value to a specific interface. Enable interface statistics on 100 interfaces will happen first and then MTU value setup.
These operations have no conflict risk and can execute in any order in one transaction, it will be great to introduce this multi-sub operations in one transaction.
[Rohit R Ranade] But why must this happen in single transaction ? If done as two separate RPC what is the impact ?


[Qin]: Improve transaction efficiency is one of important motivations. Separate action from <edit-config> operation, you still need to handle action that is part of <config> element within
<edit-config> operation.

<Eric> Interesting thread.   Two questions:

(1) With multiple transactions in one, I initially read this as you might want to support the edit config failing if the action fails (i.e., an error coming result from the action on the operational datastore).  And the result is that the aggregate transaction would fail across datastores.

Now looking at your responses on this thread, it looks like that your use case is non-interdependent configuration actions.  Based on that, which of the following do you want to considering in scope?  And if only (a), you should likely add more to the scope statement.

(a) single datastore edit and actions, where each atomic edit will complete or fail independently
(b) single datastore edit and actions, where the full operation fails if any component fails
(c) cross datastore edit and actions, where the full operation fails if any component fails

(2) Do you see any cases where the action operation must occur after the edit config?  I.e., the action depends on a successful edit config happening first.

Thanks,
Eric

In Some other cases when action is invoked in operational state datastore, we can use <operational> to get learned configuration and translate them into static configuration.
[Rohit R Ranade] We can still do this. We can get learned configuration from <operational>, and if need to translate to static we can always create such configuration in <running>

[Qin]:Have we already had standard mechanism to translate learned into static? I see none.

With Regards,
Rohit R Ranade

From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Qin Wu
Sent: 04 July 2018 07:32
To: netconf@ietf.org<mailto:netconf@ietf.org>
Subject: [Netconf] Solicit comments on inline action capability for NETCONF

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