Re: [netconf] Adoption call for draft-wang-netconf-adaptive-subscription

Qin Wu <bill.wu@huawei.com> Mon, 07 February 2022 04:45 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 EF3583A139F for <netconf@ietfa.amsl.com>; Sun, 6 Feb 2022 20:45:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.795
X-Spam-Level:
X-Spam-Status: No, score=-1.795 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 uqi-W30YJT77 for <netconf@ietfa.amsl.com>; Sun, 6 Feb 2022 20:45:01 -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 6F7FC3A13A2 for <netconf@ietf.org>; Sun, 6 Feb 2022 20:45:01 -0800 (PST)
Received: from fraeml734-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4JsYP16nbhz67lcR for <netconf@ietf.org>; Mon, 7 Feb 2022 12:40:53 +0800 (CST)
Received: from canpemm100007.china.huawei.com (7.192.105.181) by fraeml734-chm.china.huawei.com (10.206.15.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 7 Feb 2022 05:44:54 +0100
Received: from canpemm500005.china.huawei.com (7.192.104.229) by canpemm100007.china.huawei.com (7.192.105.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Mon, 7 Feb 2022 12:44:52 +0800
Received: from canpemm500005.china.huawei.com ([7.192.104.229]) by canpemm500005.china.huawei.com ([7.192.104.229]) with mapi id 15.01.2308.021; Mon, 7 Feb 2022 12:44:52 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Zhixiong Niu <Zhixiong.Niu=40microsoft.com@dmarc.ietf.org>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: Re: [netconf] Adoption call for draft-wang-netconf-adaptive-subscription
Thread-Index: Adgbz16SsLcDu5p0T7WRKFumAhBOhA==
Date: Mon, 07 Feb 2022 04:44:52 +0000
Message-ID: <c61c3d0801014c9aaeb57704f500a6e3@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.100.16]
Content-Type: multipart/alternative; boundary="_000_c61c3d0801014c9aaeb57704f500a6e3huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Bqq9HDEMP26Zpjk9MKE9zW3iPBk>
Subject: Re: [netconf] Adoption call for draft-wang-netconf-adaptive-subscription
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: Mon, 07 Feb 2022 04:45:27 -0000

Hi, Zixiong:
Thank for your interests in this work and valuable review, please reply inline below.
>发件人: netconf [mailto:netconf-bounces@ietf.org] 代表 Zhixiong Niu
>发送时间: 2022年2月6日 14:24
>收件人: netconf@ietf.org
>主题: Re: [netconf] Adoption call for draft-wang-netconf-adaptive-subscription

>Hi, folks

>Thanks for writing this draft and providing an extension to YANG push RFC. If my understanding is correct, the current YANG Push mechanism only allows you to select a fixed sampling rate. You may set the sampling rate too high, which the
>device cannot afford, or you may set the sampling rate too slow, which cannot capture enough data.

>One alternative solution is to use on change subscription, which has already been defined in RFC8641. However, if my understanding is correct, on change subscription is not suitable for data that changes frequently and consumes a
>tremendous amount of CPU resources device cannot afford as well.

>So the idea of this draft is to choose one compromised, or optimized solution that allows the device to switch sampling rate dynamically, but this also require the devices to be configured explicitly with multiple sampling intervals.

>I think this idea is similar to Microsoft adaptive sampling mechanism, although it doesn’t use the YANG model to define such a mechanism. I think the concept is similar.
[Qin Wu] Yes, Microsoft adaptive sampling in Azure is related (https://mailarchive.ietf.org/arch/msg/netconf/whMFjU6i8idoF3Q3AOvshCQkYog/) thanks for pointing this out.
The common goal is to reduce I/O contention and resource while maintain a certain level accuracy when facing massive data collection, currently we focus on how the data is reported in which time interval, instead of how the data is measured or sampled.
Routers and switches function as embedded monitoring probes and do not have enough computing power to monitor network traffic on high-speed links.  If every packet was captured and its statistic recorded, too much CPU power, cache memory and network bandwidth would be consumed in order to record, store and export data to the collector. Optimal packet sampling is a method that effectively reduces the measurement overhead in context of device’s resource usage and bandwidth consumption but at the cost of sacrificing some data accuracy.
>Therefore, I think this draft is a good starting point and could benefit to use Microsoft adaptive sampling as input, e.g., I am wondering whether this draft support configuration on packet sampling, e.g., minimum sampling percentage or
>maximum sampling percentage?
[Qin Wu] It is a good question, in the current draft, we right now more focus on using per packet monitoring and capture all the packets. But we could also consider time based sampling or counter based sampling if there is interests to do so and a clear use case, e.g., Microsoft Azure adaptive sampling use case.

>Section 2.1 last two bullets:
>What is the relationship between watermark and xpath-external-eval? It looks to me, xpath-external-eval has to be represented using watermark parameters which is a constant value and datastore node. Maybe a watermark parameter is
>not needed.
[Qin Wu] You are right, watermark parameter is part of xpath-external-eval. Take thermostat as an example,
“
module thermostat {
…
leaf actual-temp {
type int32;
config false;
units “degrees Celsius”;
description “The measured temperature”;
}
}
”
You might need to measure actual temp and but you also want to control actual-temperature not greater than a preconfigured threshold, e.g, actual-temp<80,  in this case, 80 is the preconfigured threshold or watermarks.
If you want to control actual-temperature not less than a preconfigured threshold B, e.g., actual-temp>10, in this case, 10 is another watermarks or preconfigured threshold.
So you are right, the waterwark  taken out from xpath-external-eval, in some cases, it is not required.
>Nevertheless, I do not have a strong opinion about this.

>--
>Best,
>Zhixiong

发件人: Mahesh Jethanandani<mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>
收件人: Netconf<netconf@ietf.org<mailto:netconf@ietf.org>>
抄送: draft-wang-netconf-adaptive-subscription<draft-wang-netconf-adaptive-subscription@ietf.org<mailto:draft-wang-netconf-adaptive-subscription@ietf.org>>
主题: Re: [netconf] Adoption call for draft-wang-netconf-adaptive-subscription
时间: 2022-01-25 06:19:39

We have received a tepid response to this adoption call, and are therefore extending this adoption call by another two weeks to February 7. At that time, and unless we receive any objections, we are going to go ahead and adopt this draft.

We are aware of least two implementations of YANG Push, and this draft is an extension of that work.

Cheers

On Jan 10, 2022, at 2:07 PM, Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>> wrote:

Hi WG,

The authors posted -08 version of the draft just before the new year, which addressed the comments they received in IETF 112.

 https://www.ietf.org/archive/id/draft-wang-netconf-adaptive-subscription-08.txt<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Farchive%2Fid%2Fdraft-wang-netconf-adaptive-subscription-08.txt&data=04%7C01%7CZhixiong.Niu%40microsoft.com%7Cd2c1ad3002f6435db18f08d9e932f3df%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637797227984116232%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=COTDhD5eRLCOPwjBwKZqbsg6RPiR8ihr69QZ2sv5Q60%3D&reserved=0>

This starts a 2 week poll ending on January 24, to decide whether this document should be made a WG document or not. Please reply to this email whether or not you support adoption of this draft by the WG. Indications that the draft has been read will be also be appreciated. The Intended Status of the draft is Standards Track.

A separate IPR call will be issued on the draft.

Thanks.


Mahesh and Kent (as co-chairs)