Re: [netmod] WGLC on draft-ietf-netmod-node-tags-06

Balázs Lengyel <balazs.lengyel@ericsson.com> Mon, 11 April 2022 16:37 UTC

Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B7703A1210 for <netmod@ietfa.amsl.com>; Mon, 11 Apr 2022 09:37:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.11
X-Spam-Level:
X-Spam-Status: No, score=-2.11 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 ieNYiO2DiGzv for <netmod@ietfa.amsl.com>; Mon, 11 Apr 2022 09:37:53 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20604.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::604]) (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 D59FE3A1213 for <netmod@ietf.org>; Mon, 11 Apr 2022 09:37:49 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PgRNyW0uiLD9ke9pmED9hRkBH6H39aOuxW4HBt1rOOIOtMcW0m/mSMIVbPlIG5Z8m4r9um9M8SfCrmXIh9x+Hy2q6+84Tsr1GQqvZPRinB8m+xaUqVxKrJkjcdUVpc62U0no2YlOSRQf9EvmYErwLWmXH21ixcEBniyxTkhmasAeim7bpRyLPVq/v0OiIAjJH7dwaK7EVU51kaUZEBXtT9A2U275WZuQzACpi4grNV6eSpo9UiMIn6QzudqZkRTqKnASw9k2SOgMxpDPiNjOrqM6WBZHOO/g5+bVx3P5GmuDPZ5+nBV8b1dkqtI+S6wkqTN7qCQIOJnLLWSBkDlAuA==
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=NgqY1dr+2o8ohT2iirOYuVXq7Qm69kejk6XH7gCVvkc=; b=jzhL58/qadQe1h03yQuYf8EDTwA58nlQj1FUfCGtGtj1Sp7VrKkSMkOYxLagtYHbjqpNiDE9SJE/uM9/mfzkkqo3hhQnA1XoVJGUASwCatV95CKapGA89zRNc8smmmWF7j9Uyt8qTR/MRNLEFy53vMJ1EZF5/tpfA1NgSykYMnu/ZyPhg15J7qwzEcHNJpY0cZVfwgm8Gj5xtyG4imsFl6KIn6HQEMeIN1Ut+PHPGIrp13tpf0hZ+8YTSIy4DqNaadvow6ks5G5oKi/lxPM07eOv73ZvwA+TQgXvqoWnRGoooAq70WFcC3IB6nK7NMvFuNCFBWr6aiDNiun7Ghr1mg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NgqY1dr+2o8ohT2iirOYuVXq7Qm69kejk6XH7gCVvkc=; b=gPEv4jq6BrTzgRYnCgytXrToCa2rXLf3rpKgPx/vN1ILEHsd1jJnfaMs0p5w0435fU3zyW0rSDPoV78AruI694P5sfRWtQkG7C2N59LKpWdOVkoYZR4CQpT7ztoTk4rTgDswfyGRMCunbCpF8hhzFKLZ1n61Mk0dk7gyoDZZc9g=
Received: from VI1PR0701MB2351.eurprd07.prod.outlook.com (2603:10a6:800:6b::18) by PA4PR07MB7312.eurprd07.prod.outlook.com (2603:10a6:102:fc::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.17; Mon, 11 Apr 2022 16:37:43 +0000
Received: from VI1PR0701MB2351.eurprd07.prod.outlook.com ([fe80::4090:1564:a0f5:7e6]) by VI1PR0701MB2351.eurprd07.prod.outlook.com ([fe80::4090:1564:a0f5:7e6%3]) with mapi id 15.20.5164.017; Mon, 11 Apr 2022 16:37:43 +0000
From: Balázs Lengyel <balazs.lengyel@ericsson.com>
To: Qin Wu <bill.wu=40huawei.com@dmarc.ietf.org>, Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] WGLC on draft-ietf-netmod-node-tags-06
Thread-Index: AdhNpkTXc5yh7BObS9GuQOymBzqS3gAFY6Zw
Date: Mon, 11 Apr 2022 16:37:43 +0000
Message-ID: <VI1PR0701MB235120B15D3061114A787EDBF0EA9@VI1PR0701MB2351.eurprd07.prod.outlook.com>
References: <88d5ea02be8a47cdb4a410151ba78b96@huawei.com>
In-Reply-To: <88d5ea02be8a47cdb4a410151ba78b96@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=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2b2352c9-4a3b-4a22-1a1f-08da1bd99a6b
x-ms-traffictypediagnostic: PA4PR07MB7312:EE_
x-microsoft-antispam-prvs: <PA4PR07MB73120130903DA77CC9FF03EAF0EA9@PA4PR07MB7312.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: AY2157Z3iSPY3X9bPYrIDALKEvYNiNwtrmAR24PE0KaOpb6n9L1kyOZjuB9jNAnCOA2LL8WdnyZl1wN86D34rMh/+bhGT1Qm/M6y62y+7qpeqMGAtBmvQrOnlagD93cW0PqNPl6Nz+qDj+uNmML2S5SOO6iKVm3kg0nBNGDRm4AEnmO2DGFe4EHLe9dywXvVwDKphdrBKBNrzDeRXbgIXSKVAYUpL1W0lKptqBJlzoBUiHvS9GPGeVqXbAnUnyfA/+YAi4/7LCNAt4DqsKWpQj2xMhzveHR4odWOKPL9w/9QO7J+5vhVoyKDJcosNomEPb20X/tqEgioC/XvjmsQisPfjMzP1PXK+czsGjYFiAwKGuYsuqJ7msRI0edybjQCbFce6IBScGYNfNFCZD6UlQ++r/DtiYZzqM9SK5zELx8gRqP1XI3pA41q7lrIorf9I6SRUIWO/+XCCd0aeA5zTi0Zy9Y2yCJVzTvMZXL+FS9BsPT+2HuKguNzjpRcwUNNH8pjorFDD7YbLYUv69JKn+iyio/mXnH3OXj5JzzhAI6Sw0656Q2dLXHc92XsE9lOvChZEb55vxCXWHKKWYMTzxjC8EAncE8HUw/efxxmDwvtigJ0OOlHKfm6hzUN9MOCW1ZWzK47+S9dXw2GDbqvDCANqnNZcDWOicUWLBxzT0RE9thuSBnQlLFph0CxMrnM+OMOH+XsnK6fmg9zTjbH/HZMC8X5HJI5j2jpRFiu900IeB6J2QvNFEiDNUu5eILK/1zjbd+DAbbRDlNa6Lnwt07qEdFsxn8A+3/3hODK1VycWM3j8QWqtr1vwEBzKEAIwd2C75Udmuf5B5thy6NEXQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0701MB2351.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(55016003)(9686003)(7696005)(53546011)(85202003)(83380400001)(186003)(64756008)(66476007)(66446008)(66556008)(66574015)(26005)(4326008)(6506007)(66946007)(8676002)(8936002)(2906002)(5660300002)(71200400001)(110136005)(966005)(86362001)(508600001)(76116006)(316002)(38100700002)(33656002)(122000001)(82960400001)(40140700001)(38070700005)(85182001)(52536014); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: Y5rH09QA+pDn8/W3jIu/e4sV+O46/ZpkCir4blK2d7q1weYaDSyBadRWA7tzCUbtvPkyERvIK5g7GHXhQboAVUK+OBB3qY2Niy+V3W4BMUJsr7Yi7ZzesxPp+tjWtMVuD+b5lrRjXZw5uIPNjBCmhJE0h2vix/dcDvizFw4cAi1r5Ep5JIWS18u1IGlRPSK/hiao5sS8iYrPAjVD56tHKjw1fJUfbs4nL51AehODZeWGgzlo4v/N7ltcVyr2/3zMbesFclGceHJe0E9mKfJCAw5qFVbupAZFIu3XcQBIwNphCHTr1yjyZ9aaLctmEf3OdV/vl0zZOGMA70Fx2bi6+J1M/4F16Wivd4DHkOLjqRfZMdTbuVTkUACnpQvfNaeA40tIarmiRXU16Gr5ybdEoUflFpexSb0ps2uLpWDfYdtszlLJ2gDP327Rf0/k/1YyqBx3vRNa71b4rYg2RL3XEj4FiHsuzjNrKq4R5Spy6pIWlwtrlFyCu6uBcRf7kYgYPQuqT8EN9WPTmSSjFErGfuoagXFas3AN2vKu8DrpDhGcH6sOhtIBMlG8Z87bMjHa/d5DCgqIcLd0b4Yul1IerXGK8dmOnAb2ksO3j6bRprvp5h8MvOu9UZH71COA5HIvUb+iqjWBykDJne28WKFrAxkOdEsH070nP/4GeKbnkRaCuKbKmqka5pCDXvldBejDEYRNVRoitHKk5/yZYm9QpiF4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base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: VI1PR0701MB2351.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2b2352c9-4a3b-4a22-1a1f-08da1bd99a6b
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2022 16:37:43.7972 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: clAMyBUgLT5fP/00zIxCOGHIdV/MdQYk0bNFCKQ8N9Zu1aVdF1DoAeHnjxgqkDP1MQvGM+Mncc5VHSudXb9Pu5lYSYk8RvnOdjlPydHmxVI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR07MB7312
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/2SdwjhCFnCJsprtCLGPwL81rpVI>
Subject: Re: [netmod] WGLC on draft-ietf-netmod-node-tags-06
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2022 16:38:00 -0000

Hello,
Sorry for the late comments as I am not very familiar with the topic, but some questions:
- What makes a tag "self-describing" ? Unless this "self-describing" has a specific meaning, it would be easier not use it. I personally would prefer instead of "self-describing  data object tags" some simpler name like "data properties".
- In the YANG module I found the sentence: " The argument 'tag' is of type 'tag' "  Where is the "type tag" defined ?  If you mean from RFC 8819 indicate that e.g. by using the yang prefix: tags:tag.
- Reserved Tags: As I understand other SDOs may register their own prefix with IANA in which case the list of :reserved for future use" is not the correct characterization.
- tags can be associated with "data-objects" - RFC7950 does not use the terminology "data object". Please call this "data nodes" or "data node instances" and define in the terminology section if you use it. 
- is the tag (property) inherited down the containment hierarchy? If a container is marked with a tag, do all its contained leaves inherit the tag ? 
- for each extension statement the following should be described
   +  It can be a substatement of which parent statement, with what cardinality?
    + Can it have substatements    
   + Changing this extension statement is a backwards-compatible change yes/no/editorial-only
   + Define the type as yang type. Is the list of possible values closed or can any string be used that fulfills the type-tag
- Security considerations calls these tags met-data. While from a broader perspective that may be true, these tags are not metadata according to RFC 7952. Avoid using this terminology or clarify this.
- "name" is not a very good name for a leaf containing an node-instance-identifier. 
-IMHO module ietf-data-object-tags-state should augment ietf-module-tags-state not ietf-module-tags
- Why does ietf-data-object-tags-state redefine the extensions? Duplication is bad.
- Shoudn't there be an editor's note about replacing XXXX with the RFC number?
Regards Balazs

-----Original Message-----
From: netmod <netmod-bounces@ietf.org> On Behalf Of Qin Wu
Sent: Monday, 11 April, 2022 15:43
To: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
Cc: netmod@ietf.org
Subject: Re: [netmod] WGLC on draft-ietf-netmod-node-tags-06

Hi, Jurgen:
-----邮件原件-----
发件人: Jürgen Schönwälder [mailto:j.schoenwaelder@jacobs-university.de]
发送时间: 2022年4月11日 20:18
收件人: Qin Wu <bill.wu@huawei.com>
抄送: Kent Watsen <kent+ietf@watsen.net>; netmod@ietf.org
主题: Re: [netmod] WGLC on draft-ietf-netmod-node-tags-06

On Mon, Apr 11, 2022 at 11:52:10AM +0000, Qin Wu wrote:
> >I have not read the document in detail yet but I find the notion of 
> >data objects and subobjects confusing. I also do not know what "massive" data object collections are or why both objects and subobjects can be modeled as YANG data nodes, or what the purpose of this statement is.
> 
> [Qin Wu] massive data collection might consume large amount of network bandwidth resource and computation resource. the data node tag help us capture characteristics data (e.g., KPI data) and greatly reduce the data to exported to the collectors.
> Take example-module-A as an example:
>    module example-module-A {
>      //...
>      container top {
>        list X {
>          leaf foo {
>          }
>          leaf bar {
>          }
>        }
>      }
>      // ...
>    }
> The top level node will be seen as data object while leaf foo and leaf bar will be seen as subobject, the top level node will be tagged with Object tag, the child node will be tagged with other tag such as metric tag or metric type tags.
> Note that the notion of data objects and subobjects is only used in the usage example in section 3. Do you think it is confusing to introduce new terminologies, if yes, I will see how to fix this.

I strongly disagree with introducing new terminology. The notion of a data object or a subobject does not exist in YANG. All the YANG model does is to associate tags with yang-node-identifiers. That's it and I think the document should restrict itself to explain that.
[Qin Wu] Fair point, I will remove these new terms. Thanks!
My comment was actually more about words like "massive" being a purely subjective term. Marketing people may use them but in technical writing or even scientific writing, they have no real meaning. 
[Qin Wu] Thanks for pointing this out, I didn't realize this is an issue before you flag this, what I emphasize large amount of data you need to collect, maybe should choose the better term, thanks.
If you are worried about scalability (and I would), then the question to ask may be whether a single flat list is scalable to large numbers of tags, i.e., how many queries do I need to find all relevant tags and how do the queries scale.
[Qin Wu] Again those tags defined in this draft are used to classify the data, the number of standard tag defined in this draft is not too many. At the schema level, I think the scale is not a problem, since the tag at the schema level help find where to get these interested data. At the data node instance level, using tag will help filter and quickly identify specific category data, e.g., KPI data, the query scale and cost is not greater than Retrieving all the operational data and figuring out later on which one are useful data itself.
> >When I look at ietf-data-object-tags (likely also a misnomer), then what I see is a list associating tags to anything identifiable by a nacm:node-instance-identifier. It feels like this document has a lot of hot air around something that is at the end rather basic.
> 
> [Qin Wu] Please note that RFC9196 also defines node-selector as 
> node-instance-identifier. See the definition of node-instance-identifier in RFC8341 "
>      typedef node-instance-identifier {
>        type yang:xpath1.0;
>        description
>          "Path expression used to represent a special
>           data node, action, or notification instance-identifier
>           string.
> 
>           A node-instance-identifier value is an
>           unrestricted YANG instance-identifier expression.
>           All the same rules as an instance-identifier apply,
>           except that ***predicates**** for keys are optional.
>           If a key
>           predicate is missing, then the node-instance-identifier
>           represents all possible server instances for that key. "
> It can represent one specific node instance,e.g.,
>      /* instance-identifier for a list entry */
>      /ex:system/ex:user[ex:name='fred']
> or all possible node instance if the predicates is not specified, e.g.,
>      /* instance-identifier for all list entry/
>         /ex:system/ex:user
> For the latter case, it can also be seen as at node level or schema node level if my understanding is correct.

I can't tell right now whether RFC 9196 makes proper use of nacm:node-instance-identifier. Anyway, this is important material to explain, not the data objects massive kind of marketing text.
[Qin Wu] Okay, will clarify this in the next version. Thanks!
/js

-- 
Jürgen Schönwälder              Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://protect2.fireeye.com/v1/url?k=31323334-501d5122-313273af-454445555731-20f0e1ba59d49168&q=1&e=8fa311c3-7dfc-4595-b6d4-f418a62338cb&u=https%3A%2F%2Fwww.jacobs-university.de%2F>
_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod