Re: [OPSAWG] Manifest need? Re: draft-claise-opsawg-collected-data-manifest

Tianran Zhou <zhoutianran@huawei.com> Sat, 19 November 2022 02:32 UTC

Return-Path: <zhoutianran@huawei.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E2E51C14CEE8; Fri, 18 Nov 2022 18:32:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OBTmslosqVRD; Fri, 18 Nov 2022 18:32:08 -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 60E56C14F693; Fri, 18 Nov 2022 18:32:08 -0800 (PST)
Received: from frapeml100007.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4NDcxK4ClQz6813Y; Sat, 19 Nov 2022 10:27:17 +0800 (CST)
Received: from kwepemi100010.china.huawei.com (7.221.188.54) by frapeml100007.china.huawei.com (7.182.85.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 19 Nov 2022 03:32:04 +0100
Received: from kwepemi500009.china.huawei.com (7.221.188.199) by kwepemi100010.china.huawei.com (7.221.188.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 19 Nov 2022 10:32:03 +0800
Received: from kwepemi500009.china.huawei.com ([7.221.188.199]) by kwepemi500009.china.huawei.com ([7.221.188.199]) with mapi id 15.01.2375.031; Sat, 19 Nov 2022 10:32:03 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Alexander Clemm <alex@futurewei.com>, "opsawg@ietf.org" <opsawg@ietf.org>
CC: "draft-claise-opsawg-collected-data-manifest@ietf.org" <draft-claise-opsawg-collected-data-manifest@ietf.org>
Thread-Topic: Manifest need? Re: draft-claise-opsawg-collected-data-manifest
Thread-Index: Adj7vnsyQJ82joOiQj+pHHLo51xqxA==
Date: Sat, 19 Nov 2022 02:32:02 +0000
Message-ID: <8ed112f7252447f3ab5bdd08427f3366@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.45.225.240]
Content-Type: multipart/alternative; boundary="_000_8ed112f7252447f3ab5bdd08427f3366huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/RHJzpZvOekfMpp27HAWRIQFyA3Q>
Subject: Re: [OPSAWG] Manifest need? Re: draft-claise-opsawg-collected-data-manifest
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Nov 2022 02:32:13 -0000

Hi Alex,

The authors may have more arguments.
Yes, I think a knob such as “provide manifest info” is a good idea for the YANG Push configuration.
On the other hand, please note, the proposed manifest is telemetry data, so that the collector can understand.

Best,
Tianran

发件人: Alexander Clemm [mailto:alex@futurewei.com]
发送时间: 2022年11月19日 0:39
收件人: Tianran Zhou <zhoutianran@huawei.com>; opsawg@ietf.org
主题: RE: Manifest need? Re: draft-claise-opsawg-collected-data-manifest

So, saving the invocation of one command to establish the “meta-subscription”, that’s all this is for?  And for this we are asking implementors to create what is in effect redundant instrumentation?  This seems a lot of effort for a small saving.

As a thought, even in that case, would you even need a redundant YANG-data model, or would it make sense to instead augment the existing model with an additional parameter instead “provide manifest info”, which adds implicitly a subscription to the subscription info to the subscription itself?  Such an alternative could be accomplished by augmenting such a parameter into the existing model, and save the need to create YANG data instrumentation that is basically redundant, hence reduce the complexity of implementations.

--- Alex

From: Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>>
Sent: Thursday, November 17, 2022 10:49 PM
To: Alexander Clemm <alex@futurewei.com<mailto:alex@futurewei.com>>; opsawg@ietf.org<mailto:opsawg@ietf.org>
Subject: RE: Manifest need? Re: draft-claise-opsawg-collected-data-manifest

Hi Alex,

I think this is a very good discussion. I raised this question before in the mailing list.
I think there may be some benefits:
1. The meta data can always go with the telemetry data, without explicit subscription. This facilitates the close loop automation.
2. Another subscription to the subscription information may make the management complex, since we put all the subscriptions in one list.

Best,
Tianran

发件人: OPSAWG [mailto:opsawg-bounces@ietf.org] 代表 Alexander Clemm
发送时间: 2022年11月18日 7:40
收件人: opsawg@ietf.org<mailto:opsawg@ietf.org>
主题: [OPSAWG] Manifest need? Re: draft-claise-opsawg-collected-data-manifest

Hello draft-claise-opsawg-collected-data-manifest coauthors,

I just wanted to follow up on my comment at the microphone in London regarding draft-claise-opsawg-collected-data-manifest.

Clearly, there is a need to preserve context to be able to correctly interpret data after it has been collected.  That being said, as currently stated, the draft appears to overspecify some of those things, defining some YANG data that IMHO is not actually needed as the same can already be accomplished.  This concerns the specifics about the subscription itself.

RFC 8641 includes a YANG model that reflects for each subscription how it is configured (whether configured directly or established by RPC), including the selection filter, the update trigger, the period and anchor time (in case of periodic subscription), dampening periods and excluded changes (in case of on-change subscription), etc. The corresponding YANG data can be itself be subscribed to, or retrieved on demand, just like any other kind of YANG data.

I am therefore not quite sure what the proposed manifest would provide that couldn't be accomplished already.  The suggestion to retain the subscription data along with the subscribed data makes a lot of sense but would appear to be a practice that will be up to the management application to implement, with the mechanism already provided.  (This could of course be included as a description of a recommended practice in the draft.)  Or is there something else that is missing?

If there is indeed a delta that cannot be otherwise accomplished, my suggestion would be to add text to the draft that clearly describes the possibility of subscribing to subscription configuration data, then explaining the functional delta that your draft covers in addition to that.

Thanks
--- Alex