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

Alexander Clemm <alex@futurewei.com> Fri, 18 November 2022 16:39 UTC

Return-Path: <alex@futurewei.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 45E93C14CE47 for <opsawg@ietfa.amsl.com>; Fri, 18 Nov 2022 08:39:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.com
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 ez8xB1xfTFch for <opsawg@ietfa.amsl.com>; Fri, 18 Nov 2022 08:39:05 -0800 (PST)
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on20700.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eae::700]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DC2CC14CE3F for <opsawg@ietf.org>; Fri, 18 Nov 2022 08:39:05 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MbIaSGkZTokcr/jF9Gk+2MHrliuePR/N2PiT7yn8cKmohFzZI0whmM20V6dERA935HCNqVh75IzF+KbSDt5n/Od3HfaTGZEcaZ8K4SEjvNENoqkbcDYIu3KqPqbiAjYdEpbiVKov3s4VYhHr6FesB9dCQ2PrJY0U9bz4/tA2pn2JvBidbf4Bmfe0wd3lJOUSrd7Uf5sDmxH6zFbWbHxXVRjc3NzfSJbnRuHN0yCJ10d0rqJ9c0UKghf0M9kf4pTS3fJjavuyoeKszf7/qn4yT+QmwGPt9eVBgQfrrXsrXkJ7OT7es5xYMvV6hUOvGQeKOwULPoc6767M3MivUx/aOA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bB9vG/dvcSU5bYqr/12SQjo3qoQLCQWShujAOk0f/+w=; b=G9ai/hNJ7IPWI9osEak4l2adqcnYsxpC037qPuyK6dAQwG9tksE5M1YkG79fVehQPzkGjj/qfJjmXaHy0h/4e5Zz+2g2LSJXlXMt9XR/eU8lsRdhbiRPvnkXg6ps5DW0LG5ul7WnYrEcji0WkcDEpU/BBB2r9nXprOa5nE4/MLVpsymzLchV+c+OdDu+iRw3V3eCbb2e1G34T6X+VCKfnLSr0BxKc0+QLTUQYGqpzGgRj01knbKb3DJnt4kC0Mff2fUVnAbXWVyIp3whaslTNa6hFj/1s+jBOQBntCuWAUsXRJ4GfMGgNzsSRiS34DlMTIc428zBpmKOX64nRvQQBA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=futurewei.com; dmarc=pass action=none header.from=futurewei.com; dkim=pass header.d=futurewei.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bB9vG/dvcSU5bYqr/12SQjo3qoQLCQWShujAOk0f/+w=; b=dQ4LXhZxUB+TQJbs+gjsjysoWFWFG8orVkfcMgsQDZWKu5DqM02VLVXlg/hKA9OtJro6JG0VoFM8kbG8c2lrs/wlSasYH8/BLX3W2c9bKoU9pb0sBJe2jPRpvukclg05SsMxoRcWDuyNlTcmz17uJSCTfwbBqafGDm9isbUeVnM=
Received: from SN4PR13MB5374.namprd13.prod.outlook.com (2603:10b6:806:20d::8) by DM6PR13MB3772.namprd13.prod.outlook.com (2603:10b6:5:248::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Fri, 18 Nov 2022 16:39:00 +0000
Received: from SN4PR13MB5374.namprd13.prod.outlook.com ([fe80::a15f:149a:da87:237e]) by SN4PR13MB5374.namprd13.prod.outlook.com ([fe80::a15f:149a:da87:237e%3]) with mapi id 15.20.5791.024; Fri, 18 Nov 2022 16:39:00 +0000
From: Alexander Clemm <alex@futurewei.com>
To: Tianran Zhou <zhoutianran@huawei.com>, "opsawg@ietf.org" <opsawg@ietf.org>
Thread-Topic: Manifest need? Re: draft-claise-opsawg-collected-data-manifest
Thread-Index: Adj7F3B+QJ82joOiQj+pHHLo51xqxAAU0EZg
Date: Fri, 18 Nov 2022 16:39:00 +0000
Message-ID: <SN4PR13MB5374C6B06A01A33827414622DB099@SN4PR13MB5374.namprd13.prod.outlook.com>
References: <c053ad88cee24f1fa2ca2fd0a7eaf819@huawei.com>
In-Reply-To: <c053ad88cee24f1fa2ca2fd0a7eaf819@huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=futurewei.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SN4PR13MB5374:EE_|DM6PR13MB3772:EE_
x-ms-office365-filtering-correlation-id: 652f382e-9d57-4928-5897-08dac9836568
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Cb5HWLEzL/zp7mkdXV24hVL1Rp2ZLAoTabM5TDe6me+VcRZxRCmkYuU80RZKGR/ZJVctTV3A3MkmE2MRefNr26MnfZ7H9lkPNJmbuC7abHUTq+liT8f4kNz7QTFaKFlehHC0JhxXank71QjavWhNuvkkrF/vX+QxXVaM7dRc2fo1c0cFH7b9HA7clrbvUVUj7rpuPnJlBKSoMl2cHv5eGUFnCxYFEP3ux8vrPhacMPHEDSjq0uXnGMITYPtQBZBtIXV+h/xoz1efuDkKfoTyf9DvVqke8nAvPoU3ZxFV8HJOl2C3CBL7h9eU26rWTpb5uFbbG3GxfvHw3Hitv8lUcDU3TKT1/KpT0e5IjMdCnuT1QP0MgbnUE6hz4/LM9Z6L98UU7gYJJS6Rf+ImE7ZAK28EWO6TOkEEhXa2WM7kGQs6yEsVL70fpF1Me/jGdAqrU7aFLdrLM5aRHPTa9d2eYIbbRlxEVThIrX2Wnw+oQy9IwKiwEq9mKMolnDXq0Jzu/a5SSPOt3E41DEsCqgtx1rymlKdM6FxUscHhncIWwNmcwrG9LC/o66rnJFoqcWYNLljwVoGy+7pkAZMGp0iWi1mDH3m3SNKwOjbWr/8qVtc7qyduPxD24tp0B7XCJCZbj/oTO800JWhk7wLEErx/g0/UKJ1H6FSxTNtRZsank1KwMPHyk7IqvwyP41APAxDYiFlrQwymqKp4t2PDDWRK0TZcoE6kma3nbE0/fnYFyAt31nOn2gGWn0JVWtVL5bOk
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN4PR13MB5374.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(376002)(396003)(136003)(39840400004)(366004)(451199015)(8676002)(186003)(38070700005)(83380400001)(8936002)(38100700002)(316002)(5660300002)(52536014)(122000001)(41300700001)(76116006)(33656002)(110136005)(66446008)(66476007)(64756008)(66946007)(86362001)(66556008)(2906002)(53546011)(9686003)(26005)(7696005)(71200400001)(6506007)(478600001)(55016003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: zu5Pve/VZL2cKA20BfsawYfIjNsbl3jg6pKCYz6BBonXtAEsV1JCiv/y2pOi2RLiSPpjpS/UPw6abN2aGVIw2xNNdcWh9xjus91lwlxUgAGFLtG9zYCv28fMw5Xhdh0WxZDYIijpQOjF7/TnCxv6Y41mGmllJix5leWjaHCfY6dPl275uMQCvuInk0wu2XvPMNSdFUgq0Mxem7hmEnWPD4sK6Z/lvw9HUXDtmEiHtnkuTfse0LUn79zlJQaPejVGAATBIEhYRtVWhm0VmqRlInz6ub6d8tWqv2jCJZhLnUci1FRem3PkqIory1t/wr11YRvf+YAiHMM/fOQG8gtxU3iqRM4ggYLsar6kWTuns+fBxhtVKAPG+b0jeJPr7hl0yBvfncSJ6dHQ14IW/M1JJ37SaoXJIvrvV6NHxfgQqbNdGwLVXGnbp3Uc2oV18rHDRlIDhbnOuWjawBeT9tV8Q941aUSPTIt6QxU6I39V//6+W4VIFed+OfYk3yJysxDCaG2sOXwQGqA2NfmQYyqE6ONe+E6KnXPRB/vKAoKMKCYr4r/vgh/5Flr6fPE4JnG3TSdNpMD46oF8bwIPA4IroOSJ7uLiXYc/4/Fy6XN28kbz+CWlvMYZr6L/5GvfgRrqOP0gta9XM7RONmKy8n64/9XX53GX/WbGMoRUxzUstfZ2vep8G3MfFa5xTGGP7EzOaxg02o99fdgGHmf9+/cLnf6ACmxGT1dhafTJTUqlO52T2YHqZ4h4Oc+vzKFX46E1PpoCDSlyR3EwwGEqjrslpM/uEmPNMtIwG16hBLAetMlrvRWuG5xas9LqaYvEmg4t3tZOYUb1G3QJAVuxClhYnFLN5uxuHHURw7pJUFeQs7Ln8jqsTaLTGVv4XZ4CJvomkW4J+tQNJ5Axqlhoy5OtpCAA+wsO3S6fToN2dHOXYq9Yk6FbXTZqIB3+wUknTOB9JJX5DtZ+/41IopFKDjnkGyhtDe8sdqks8wpfw2ifN/krlI+gPuV1DyRDakQXx4otzoixHYo7Pm5Iduf0PKDFgu2P5KpR0THAJPLnstUjzudVvI+88OtFq9kv3GLyklFMWLgQfTRjcWniAWaDcfyWuPOGozgTTpzQlnik2MtShwmDeAQPj2ACHExc3/RnhRL2kptZwXhwWRfyx4gddzZCE0Xnv4yPMI0kI4svCYbjX4Eo1Xib7EXpxcNe39b3XV5ZWZg410MdFWJf//c2DNT6mKbgs9NJQDQmYNj8CzApmlErjkJXp1I+NW0/Lh7zaZEtbj4HpUsstX6xGuypyvSD6uogYKW7Mfd/GmhfOKlQpBX4EjS66k4rnkiF1RW3twE4h6kUu6Vdk6K9Gbyn632OF4aCMEFJNfR+cIjaz6z33sn1SaxtrSbwEbNfNfRwgPPcGLgJ3w0dR+s6nbmRm5GbFP/1ZkZbl6FT0S8ti0eWYbyfByJFMqA7YOVfeknN2niNTJAD9UZ4fhs7aXjsPATKumZLDqOfUHLgt1nvOv/MQtZLlk4ko/GIjGIuS/NRRpQuvGCteqpvQFByDbFkST9DEipkJSPEgwrHGJshQJklItXiwqyypHScunoFn35a9uHN
Content-Type: multipart/alternative; boundary="_000_SN4PR13MB5374C6B06A01A33827414622DB099SN4PR13MB5374namp_"
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SN4PR13MB5374.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 652f382e-9d57-4928-5897-08dac9836568
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2022 16:39:00.5426 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: FW7oxFwEwQ34yKgWIsspWleq5sqvmtBvG8T9+tayOtKRGSySFBt66BBorGDN3RYpk7jIE/JJR3ABgZ5eNIBQ5g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB3772
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/K53PlQkZkq5ndJG-lsqkRlNNM_A>
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: Fri, 18 Nov 2022 16:39:11 -0000

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] 代表 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