Re: [netconf] data-export-capabilities: insert hint into the error response

Qin Wu <bill.wu@huawei.com> Wed, 10 March 2021 02:59 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 305753A176F for <netconf@ietfa.amsl.com>; Tue, 9 Mar 2021 18:59:00 -0800 (PST)
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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 qL4o5XIfeeJH for <netconf@ietfa.amsl.com>; Tue, 9 Mar 2021 18:58:57 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3BA093A176B for <netconf@ietf.org>; Tue, 9 Mar 2021 18:58:57 -0800 (PST)
Received: from fraeml715-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4DwGmD14xmz67w3V for <netconf@ietf.org>; Wed, 10 Mar 2021 10:50:52 +0800 (CST)
Received: from fraeml715-chm.china.huawei.com (10.206.15.34) by fraeml715-chm.china.huawei.com (10.206.15.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 10 Mar 2021 03:58:54 +0100
Received: from DGGEML402-HUB.china.huawei.com (10.3.17.38) by fraeml715-chm.china.huawei.com (10.206.15.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.1.2106.2 via Frontend Transport; Wed, 10 Mar 2021 03:58:53 +0100
Received: from DGGEML511-MBS.china.huawei.com ([169.254.4.181]) by DGGEML402-HUB.china.huawei.com ([fe80::fca6:7568:4ee3:c776%31]) with mapi id 14.03.0513.000; Wed, 10 Mar 2021 10:58:47 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Alexander Clemm <alex@futurewei.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: data-export-capabilities: insert hint into the error response
Thread-Index: AdcVVo6M1s/th9K1TDGJylbruWtopQ==
Date: Wed, 10 Mar 2021 02:58:47 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABAADE4EF6E@dggeml511-mbs.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.136.123.117]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/0fqUB1Bldyff_ZPGy3BbW8OmU8o>
Subject: Re: [netconf] data-export-capabilities: insert hint into the error response
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG 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: Wed, 10 Mar 2021 02:59:00 -0000

Hi, Alex:
-----邮件原件-----
发件人: netconf [mailto:netconf-bounces@ietf.org] 代表 Alexander Clemm
发送时间: 2021年3月10日 7:39
收件人: netconf@ietf.org
主题: Re: [netconf] data-export-capabilities: insert hint into the error response

Hi Qin, and authors,

On this particular issue: presumably, when there is something about the subscription that the server does not support, they would simply return an error response with identity establish-subscription-error as base. Now it is true that a client would need to send a subsequent request.  However, I am not sure how big an issue this is, as you would presumably not need to do this repeatedly upon each establishment of a new subscription, only upon the first time.   Of course, it is true that convergence might still need a couple of cycles depending on the number of options there are.  

[Qin]:Good point, I am proposing to replace one or another, or blame the protocol breaks. I think new mechanism proposed in this draft is complementary to existing solution in RFC8639.

Regardless of this, I do think there is a strong conceptual argument to be made that it still makes sense for all capabilities to be discoverable.  This makes solutions a bit more "elegant" and allows them to be fully data-driven.  There may be also collateral benefits such as the return of successive errors causing to risk of confusion legitimate subscription requests e.g. with someone trying to launch bogus invalid requests.  

[Qin]:Agree.

So, I do think the data model defined in this draft will be clearly useful and a straightforward thing to support regardless of the other argument.   Perhaps one thing to do as well would be to review whether there are any new establish-subscription-errors needed beyond the ones already defined and if so, also define those as part of this draft.

[Qin]:Good suggestion,  we can add new child identities derived from establish-subscription-errors base identity.

--- Alex

-----Original Message-----
From: netconf <netconf-bounces@ietf.org> On Behalf Of Qin Wu
Sent: Monday, March 8, 2021 7:43 PM
To: netconf@ietf.org
Subject: [netconf] data-export-capabilities: insert hint into the error response

Hi,
One of open issues we discuss in the netconf session is related to necessity of data export capability in the draft-tao-netconf-data-export-capabilities
Is there any alternative way?
One of alternative way we investigate is one proposed in RFC8639, i.e., insert hint into the error response
Pro: Accept the failure the first RPC request attempt, but increases the likelihood of success for subsequent RPC requests
Con: Such likelihood of success for subsequent RPC requests is not guaranteed since hint needs to be specified every time we have new hint, otherwise the client who initiate the RPC request may not understand what hint means.

With data export capability advertisement,
Pro: increase likelihood of success for the first RPC request, doesn’t need to wait for the second round RPC exchange The cost is to introduce new parameter in the notification capability message in the draft-ietf-netconf-notification-capabilities-14.
Given the notification capability has been well accepted and stable for publication, I think it layer foundation for new capability definitions.

-Qin (on behalf of authors)
-----邮件原件-----
发件人: netconf [mailto:netconf-bounces@ietf.org] 代表 maqiufang (A)
发送时间: 2021年1月20日 21:01
收件人: netconf@ietf.org
主题: [netconf] New Version Notification for draft-tao-netconf-data-export-capabilities-03.txt

Hi, all:
 We have updated the draft, https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Farchive%2Fid%2Fdraft-tao-netconf-data-export-capabilities-03.txt&amp;data=04%7C01%7Calex%40futurewei.com%7Cc8dd4bee8df04793015c08d8e2ad6f47%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637508581844394342%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=BfJi5fpibbXklJxiR42qAiUBfk7FHiBsXtMiBf47q1U%3D&amp;reserved=0  .
 
The main changes are following :
   o  Change 'data-export-capabilities' into list type to support
      multiple transport protocol, encoding on the server.
   o  Add Usage Example of interaction with UDP based Transport for
      Configured Subscription.
   o  Add Thomas Graf as a contributor;
   o  Update motivation in the introduction to clarify why this work is
      needed.
   o  Support udp notif and http notif as two optional transport in the
      YANG data model.

Any suggestions and comments would be greatly appreciated!

Qiufang Ma(On behalf of authors)


-----Original Message-----
From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
Sent: Wednesday, January 20, 2021 8:46 PM
To: Peng Liu <liupengyjy@chinamobile.com>om>; Qin Wu <bill.wu@huawei.com>om>; Qin Wu <bill.wu@huawei.com>om>; maqiufang (A) <maqiufang1@huawei.com>
Subject: New Version Notification for draft-tao-netconf-data-export-capabilities-03.txt


A new version of I-D, draft-tao-netconf-data-export-capabilities-03.txt
has been successfully submitted by Qiufang Ma and posted to the IETF repository.

Name:		draft-tao-netconf-data-export-capabilities
Revision:	03
Title:		Telemetry Data Export capability
Document date:	2021-01-20
Group:		Individual Submission
Pages:		18
URL:            https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Farchive%2Fid%2Fdraft-tao-netconf-data-export-capabilities-03.txt&amp;data=04%7C01%7Calex%40futurewei.com%7Cc8dd4bee8df04793015c08d8e2ad6f47%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637508581844394342%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=BfJi5fpibbXklJxiR42qAiUBfk7FHiBsXtMiBf47q1U%3D&amp;reserved=0
Status:         https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-tao-netconf-data-export-capabilities%2F&amp;data=04%7C01%7Calex%40futurewei.com%7Cc8dd4bee8df04793015c08d8e2ad6f47%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637508581844394342%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=u4bwYhI93vxL6ykcIfS9Ua5g7N0cFGUCRApPEZci3VM%3D&amp;reserved=0
Htmlized:       https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-tao-netconf-data-export-capabilities&amp;data=04%7C01%7Calex%40futurewei.com%7Cc8dd4bee8df04793015c08d8e2ad6f47%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637508581844394342%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=cDWukkUp8pAnUoQD1keiDX1JvIRF1BDaXPxd1COFiSY%3D&amp;reserved=0
Htmlized:       https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-tao-netconf-data-export-capabilities-03&amp;data=04%7C01%7Calex%40futurewei.com%7Cc8dd4bee8df04793015c08d8e2ad6f47%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637508581844404297%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=YX4TTZ%2BzjaRSIl9CMDke7cH%2FBxW0ILTTIknawRANxpk%3D&amp;reserved=0
Diff:           https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Frfcdiff%3Furl2%3Ddraft-tao-netconf-data-export-capabilities-03&amp;data=04%7C01%7Calex%40futurewei.com%7Cc8dd4bee8df04793015c08d8e2ad6f47%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637508581844404297%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=pp%2Bh675Ut6RtrTapFM5U2GWSch6vkRQ5kM%2BY8BuSuj0%3D&amp;reserved=0

Abstract:
   This document proposes a YANG module for telemetry data export
   capabilities which augments system Capabilities model and provides
   additional telemetry data export attributes associated with system
   capabilities for transport dependent capability advertisement.

                                                                                  


Please note that it may take a couple of minutes from the time of submission until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat


_______________________________________________
netconf mailing list
netconf@ietf.org
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fnetconf&amp;data=04%7C01%7Calex%40futurewei.com%7Cc8dd4bee8df04793015c08d8e2ad6f47%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637508581844404297%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=0FeLv9PmDdz8HKRh%2F%2Bvmqof%2B6U9To3amxFBMn85yIBc%3D&amp;reserved=0
_______________________________________________
netconf mailing list
netconf@ietf.org
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fnetconf&amp;data=04%7C01%7Calex%40futurewei.com%7Cc8dd4bee8df04793015c08d8e2ad6f47%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637508581844404297%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=0FeLv9PmDdz8HKRh%2F%2Bvmqof%2B6U9To3amxFBMn85yIBc%3D&amp;reserved=0
_______________________________________________
netconf mailing list
netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf