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

Benoit Claise <benoit.claise@huawei.com> Wed, 07 December 2022 16:55 UTC

Return-Path: <benoit.claise@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 47429C14CF1D for <opsawg@ietfa.amsl.com>; Wed, 7 Dec 2022 08:55:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.898
X-Spam-Level:
X-Spam-Status: No, score=-6.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 OfoG-zIhrtXS for <opsawg@ietfa.amsl.com>; Wed, 7 Dec 2022 08:55:54 -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 31DB6C14F745 for <opsawg@ietf.org>; Wed, 7 Dec 2022 08:55:54 -0800 (PST)
Received: from frapeml500001.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4NS3LJ63BGz67Mrg; Thu, 8 Dec 2022 00:55:04 +0800 (CST)
Received: from [10.48.148.75] (10.48.148.75) 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; Wed, 7 Dec 2022 17:55:48 +0100
Content-Type: multipart/alternative; boundary="------------zyy5O2bGZoEBjmdh2ID45o3F"
Message-ID: <e3e5193c-e37e-2a9f-deb9-f3eb0f985803@huawei.com>
Date: Wed, 07 Dec 2022 17:55:43 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1
Content-Language: en-GB
To: Alexander Clemm <alex@futurewei.com>, Tianran Zhou <zhoutianran@huawei.com>, "opsawg@ietf.org" <opsawg@ietf.org>
References: <c053ad88cee24f1fa2ca2fd0a7eaf819@huawei.com> <SN4PR13MB5374C6B06A01A33827414622DB099@SN4PR13MB5374.namprd13.prod.outlook.com>
From: Benoit Claise <benoit.claise@huawei.com>
In-Reply-To: <SN4PR13MB5374C6B06A01A33827414622DB099@SN4PR13MB5374.namprd13.prod.outlook.com>
X-Originating-IP: [10.48.148.75]
X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To frapeml500001.china.huawei.com (7.182.85.94)
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/BJLvWFiB_DF42Wo734whDSGEqZU>
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: Wed, 07 Dec 2022 16:55:58 -0000

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>
> *Sent:* Thursday, November 17, 2022 10:49 PM
> *To:* Alexander Clemm <alex@futurewei.com>; 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 
> <mailto:opsawg-bounces@ietf.org>] *代表 *Alexander Clemm
> *发送时间:* 2022年11月18日 7:40
> *收件人:* 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
> https://www.ietf.org/mailman/listinfo/opsawg