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

Tianran Zhou <zhoutianran@huawei.com> Thu, 08 December 2022 02:24 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 C2D21C1516FD for <opsawg@ietfa.amsl.com>; Wed, 7 Dec 2022 18:24:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 1bf9CUGdN6JS for <opsawg@ietfa.amsl.com>; Wed, 7 Dec 2022 18:24: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 8D0CCC1516FA for <opsawg@ietf.org>; Wed, 7 Dec 2022 18:24:07 -0800 (PST)
Received: from frapeml500001.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4NSHxw4RYMz68Bmq; Thu, 8 Dec 2022 10:23:16 +0800 (CST)
Received: from kwepemi500009.china.huawei.com (7.221.188.199) by frapeml500001.china.huawei.com (7.182.85.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 8 Dec 2022 03:24:03 +0100
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; Thu, 8 Dec 2022 10:24:01 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Benoit Claise <benoit.claise@huawei.com>, Alexander Clemm <alex@futurewei.com>, "opsawg@ietf.org" <opsawg@ietf.org>
Thread-Topic: [OPSAWG] Manifest need? Re: draft-claise-opsawg-collected-data-manifest
Thread-Index: AdkKqrTZz1+SwCuXQlC93fM6oZyPcA==
Date: Thu, 08 Dec 2022 02:24:01 +0000
Message-ID: <5064616c706a4128a97cf3e1c843ce68@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.84.134.175]
Content-Type: multipart/alternative; boundary="_000_5064616c706a4128a97cf3e1c843ce68huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/U2gJ8Q9_Dd0H1elV-pMY89O2-QY>
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: Thu, 08 Dec 2022 02:24:09 -0000

A new idea just pop up.
How to control the manifest data?
Periodically, event?
What if the telemetry data is event triggered, not period?


Cheers,
Tianran
发件人: Benoit Claise
发送时间: 2022年12月8日 0:56
收件人: Alexander Clemm <alex@futurewei.com>; Tianran Zhou <zhoutianran@huawei.com>; opsawg@ietf.org
主题: Re: [OPSAWG] Manifest need? Re: draft-claise-opsawg-collected-data-manifest

Hi Alex,

Sorry for the delay in replying.

You are right in the sense we don't define new piece of information. I stressed it on the first slide during the IETF 115
•Goal is not to expose new information via YANG but rather to define what needs to be kept as metadata (or Data Manifest) to ensure that the data can still be interpreted correctly even:
–if the source device is not accessible (from the collection system)
–If the source device has been updated or has a new configuration


Let me make a distinction between two different use cases.
1. configuration management. The client knows every configuration parameters. No problem here
2. monitoring: device monitoring onboarding and network analytics

In case 2 (the focus of our draft), typically, new devices are installed in the network, and the analytics must be automatically consumed (assuming the telemetry is already configured) throughout the monitoring architecture:
    1. YANG Push publisher (=router)
    2. YANG Push receiver (=collector)
    3. Message broker
    4. TSDB
    5. Analytic tool
Think of the IPFIX analogy (for which its onboarding is done automatically, as you send the template along with the data record).

Back to YANG push.
Yes, the telemetry receiver could query YANG models with information such as RFC8641 YANG module, YANG-library, software and hardware info, etc), and forward the information.
And yes, we could subscribe to YANG push subscription configuration data, or potentially other data.

What we want to achieve here is the ability for context information to follow the data, from 1 to 5 above, without explicit subscription (as Tianrian mentioned), in a standardized way.

Yes, we will clarify this in the draft. Thanks for your feedback.

Regards, Benoit
On 11/18/2022 5:39 PM, Alexander Clemm wrote:
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



_______________________________________________

OPSAWG mailing list

OPSAWG@ietf.org<mailto:OPSAWG@ietf.org>

https://www.ietf.org/mailman/listinfo/opsawg