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

Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> Mon, 11 April 2022 12:18 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
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 DCA1A3A1A33 for <netmod@ietfa.amsl.com>; Mon, 11 Apr 2022 05:18:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jacobsuniversity.onmicrosoft.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 JcA_NPm2EJsY for <netmod@ietfa.amsl.com>; Mon, 11 Apr 2022 05:18:14 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20603.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::603]) (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 B08403A095C for <netmod@ietf.org>; Mon, 11 Apr 2022 05:18:13 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CpRQQow84Tq+HJqpvRcghMXZYq3veh+tqsm1oKR18vOdA9nPTFPP46MFcxi1PibRkmKhhBrMixAXNO231yy/AyD0zxyE6EbbFRhiV6RWCVf29AZ+kNm1rW68dDdAjKmaj8T241Cc/zormovmx2jFbLA6xZhzYwOIT4IchCYsHxUnQ2W3pdHdEqXUQrxLL+yK1C9oG0Qfg7Mp08vK6ORUL6DoYdd7K7bM2IR2WDfdvtGeAFbEJRhniihLq0CdfEY13FeQwkabuCZbjO4wk09Wpig6+YY4wACTqhHO4Ud4GmraQ0lPHQ99uIeU+BuQVIMuaMsvefZiouukiBnrcoC+VA==
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=hCnoiF2cvozkWzHzqGaVMskVvr4zv4zSo3Uo+ck8otk=; b=TG5BQo/ztgPGDfOYt8ogAKZZ+gLdir8JB8EnOUMbOwPh3hEH0glVP2l91XFtS698x6y7jpreBgXzWBrmol0VE31xTg4VaBxko1rHCECIf/ufu1tOzxg97X23ak/gN2ctLYAXHytNmK3UTNdt5VZ+dzi7xQFHbInSaBZIbR3RmlZVt5OhUQLx5U/wiINgpPYIn9LPhKkH5+hzpkbpDDCaJOdlWZtc+u8vr34dqX+6aI6HdjI6CGXQi1KbcIWJRc5H6iIX2Wis9HD1EMUAzXI2jm6FH0/ElM6G/Tdt/jZzPzRx+7XFyTZt3dUQDgy0VxegXKrt/aeGC/7CzRd600+4uw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hCnoiF2cvozkWzHzqGaVMskVvr4zv4zSo3Uo+ck8otk=; b=lySoRZR3i0pdAp8SdFl+nBA2l5GpMiaC9/3ifNax5RrQ2Rhlu8CTcKquI/6xSRjAS2DiOVFNE0lw64g91xLLXSNgIUgvrIXmM6EclU0XifjGzkzgoQ33XyE/DEoySMH5wV0i0081JQ9bFi+V7eefH5iZ2Gy8DpYqsAaGeaeKf3E=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=jacobs-university.de;
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6) by PRAP190MB1835.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:295::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Mon, 11 Apr 2022 12:18:08 +0000
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::5929:c22b:95d2:40a2]) by GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::5929:c22b:95d2:40a2%5]) with mapi id 15.20.5144.029; Mon, 11 Apr 2022 12:18:08 +0000
Date: Mon, 11 Apr 2022 14:18:07 +0200
From: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
To: Qin Wu <bill.wu@huawei.com>
Cc: Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20220411121807.gbkqzkymld56z3xs@anna>
Reply-To: Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Qin Wu <bill.wu@huawei.com>, Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <9d2afd9f536d4db6b9fa54edb6d90d63@huawei.com>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <9d2afd9f536d4db6b9fa54edb6d90d63@huawei.com>
X-ClientProxiedBy: AM0PR01CA0135.eurprd01.prod.exchangelabs.com (2603:10a6:208:168::40) To GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 8f9c2cc3-9873-4a39-b89f-08da1bb556ac
X-MS-TrafficTypeDiagnostic: PRAP190MB1835:EE_
X-Microsoft-Antispam-PRVS: <PRAP190MB18359F64123A6799AAA3CEC2DEEA9@PRAP190MB1835.EURP190.PROD.OUTLOOK.COM>
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: azYGbejOwdunOe3mAis1K6fBkYAb2YN2cYy59DX1uTXV0Jn0f/srxneGO77nZa9qGVPXyhk6//MAd8HEqUgDaqGhF4CkQrdAyg61lV2ocu3bYmk2fB/H6UHz85QTF41cyvVt55cJFORUk1nQL9U6w6gv9luKINsiDRmPupqqJ4c0YHCh+YZEDOItxRovZlYll79WszAgj0Ir3lty3fYtMulzfhFbUxvwF18qDub+NFGkHT2/Xf32bPgf2f0mAf8oXd7XLy/AkpbZ9WO/Xmz/TWRvwDXOz2dlaa3WHWXUj1R/SWDCBEecaXagBzOca9zmGrgz9jWRTD2jMw44AYRKhnzd6AJGDRs90BjmR8jUqJbKAJ4xL/Fu8I9IyGjck9BBIP+eYXOKtHqRSUBKSuPjHMi7M+ZKS0olzkkw+rthIqa0UJqTCPXdkuNOIOYKgypDn0UwC3dqn7orDEDutpVdza1iubAiwCgBUfMKroTw70zKFX5PGfUJCn9UaObevkMoZTFUdJNgEbBvceelXYr+xVd4yZHGPVwt8lF/yp/qzvsl2CR2apeTvc9Aa98MHQ6EW145BlnYh+n3FAoAJAUJF9rHcw68egSLR1Ymx7HMjw0eoJcic+Qb0Q2Kr+s82EJEaIyD6Af9S3mlkQZXLfQBSo9clGu7/zimpWZ1RG9MO6lhvw46wFd/XdWnoUcTJG98bIsFyz+7Uq7TbD4a6eGfffQ7grQe63OYyWQn07bB8z/307SCEDGye8Ixe3Kli4Kz6vZSPgv0CbGDUXtyhMVoAqiT5eUH2TYUT420+XhY7k0BI91fwrjH1GmEgHlCRzZ4s1ENtkNSQENKBGZlDaS7Aw==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVXP190MB1991.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(7916004)(366004)(33716001)(186003)(26005)(1076003)(66574015)(66946007)(85202003)(8676002)(4326008)(66556008)(85182001)(316002)(786003)(83380400001)(66476007)(6916009)(54906003)(86362001)(8936002)(5660300002)(9686003)(6512007)(40140700001)(508600001)(38100700002)(38350700002)(2906002)(6506007)(6486002)(52116002)(3450700001); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: dg23CiPBaSTjNkDNuaPOU5bcuXWOmzRQExOimWbmq9eocoKw5MF/Ls60QLvZYuH9hGE+vjEyZIiep72Fa0Mvc5soIOPNv/H4F+TysqS8jiRZutkXBObKtEMdJxCMD7KP6ptsC3kjPpl+3DBVqNsoEGEWjFXMogHopgWRopFghzBtiWGNN+Q0mXTDmfVATXQjSJku/VJ5AMO8i/AzJXzPJqNDSgnZCwIIbAwj1GcBKwOwBM9Lxm0Rx4vmU/hn2w9cM90xi9DbKQRWFqnHRQiLBjlaS6f0WuqI3Vyv+yQbPF3XyQITmv7ujD2pMzYClWulwaw1+slN4Rf0bmzBK8BJRMSkirWAzE+pjlIDJLUZDo691UcsA9O5Xg6GSbRK3ajbtX9I7HJ6Kn2XMzeHapcaVfw3Ed2J27ZFzywU8QWxR2/qY8iVtpsFgeMEXF7uLCectKMvoaRT4CFTNhwj77ZdCIpW3BPaqPqUGDaen1DIAFHYF3KiwW1iq+Fp/YlTNHZatvf7YTBdvRo3vt6K/w1e4b+tSljajqNYDtrCdmJIoaBc2861v72UQNnJkgp0cb3sn8n96Z8q2Ey8UpUpSIzUpbYxqcCA1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478DIoXmYK9C8YJO/5eVs+sLjkHIslQAoUfyG9OsEIHWz02PmV5KLmPs4LdmuxhLo8dP9Pk9ILBVxc7ltZofagbyjUN1iPfPsAiII3
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 8f9c2cc3-9873-4a39-b89f-08da1bb556ac
X-MS-Exchange-CrossTenant-AuthSource: GVXP190MB1991.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2022 12:18:08.5411 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: JoXhBTxxM1B3uYVbhZZGWE1AL9gpdNAs9lA2y/qhQrYFIk8dxUkcMMbugqdNXMk7jBQV/xEHGB88NTGBzuNHRuUM+3/hHOEefBPmS0DSYT0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAP190MB1835
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0YZ0mBpGbfW8ohf0twYRdmCaqe8>
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 12:18:19 -0000

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.

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. 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.
 
> >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.

/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://www.jacobs-university.de/>