[netmod] Re: RE I-D Action: draft-ietf-netmod-node-tags-11.txt
Andy Bierman <andy@yumaworks.com> Mon, 13 May 2024 17:27 UTC
Return-Path: <andy@yumaworks.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 C9EA2C18DB88 for <netmod@ietfa.amsl.com>; Mon, 13 May 2024 10:27:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.095
X-Spam-Level:
X-Spam-Status: No, score=-7.095 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_DNSWL_HI=-5, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.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 v4frUawHgy2W for <netmod@ietfa.amsl.com>; Mon, 13 May 2024 10:27:49 -0700 (PDT)
Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A03E8C1840D0 for <netmod@ietf.org>; Mon, 13 May 2024 10:27:49 -0700 (PDT)
Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2b432be5cc9so3656387a91.3 for <netmod@ietf.org>; Mon, 13 May 2024 10:27:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1715621269; x=1716226069; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=no+YrlIxePPoqwauOzzTrAI+wHd36kS6nfxRLfJARyU=; b=XpQJ+NE45QSFXO0H6JkDgdHEr+Woz7KRmyIZu5ssDfKSu66nuGOPHBFSic73/F2neb EE7aLE0qSjdgfkIqgvhN1qximdgONksdzXch0zGYRn00gtLL/eQOyKj3gFjK92HFQeOv JyFDov9C8G5y5FAB1Hi+eV359whfYJuYYQW+fEqjyzIyNIYRcNe4LK5fmlVvnYRYZcsS MEG5nZwEvao4jGnhCMMHTorWCEo4NVWjXDupmpsTT9AEEBeqK5EKU4eFSb+pDqPqg4h0 8YMderDtsz11WRm+9FWYzUNnDRBDtGL4MZPms5AmrvhCtjxljcR6KqmaBnuBZJbUN15H 4zIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715621269; x=1716226069; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=no+YrlIxePPoqwauOzzTrAI+wHd36kS6nfxRLfJARyU=; b=ksPR68b4CVyWIw+IBtmze3TerRpSwRIQONC5qEyp0n43p0tHfzYqhDfJWjv3zPEtwi dc098hs4iw5OAJFcMm9FKYYwMs4cVaM2Pk1UjEBWAHdMSl30SxqTXdjB7Snv2yFzSVQc mn5kEnbELPUH3/aiK01Bc9q7mudetPUIw/Qx2pv/oAAH5lFLDEEpl8h9H8Nkeht6dZ5z d+mbH5SKDLZ5+4FqTOe755dofAgDIt5Qxa9GourFsXVXyfksc7jqcJrAQpKyqvfVJWyJ 1dQmjMvPJjGPB55B0R8W21MS1na6zVcbGp0eUiGvK8LlmVGCgIAfHCrDbkeGwH/XJN1c jCyQ==
X-Forwarded-Encrypted: i=1; AJvYcCWIaG1oJZkKPUNMtdYVbQe1Qe4Db86uoD+C33P0BonzkYUWpGn7DuDzTF0f4mZ/PUtlvK4HbfkriI9SzQDnNKU=
X-Gm-Message-State: AOJu0YxwSc842EyQRE07XDOLGoWBSFjcK+gGN0GAjJPbnxupEibMpQdz CY19KES0E+CcIJqhbMnqjhfdbmaTZ9Bb12pR0gYr7JBR20nx/lfcYOK4I7ql2P3WAsXP3ltM+p8 PCqBAxwK049PzKAcXz5FXh8WOO8rV3Ax5mtGnHENijGb2ty61f70=
X-Google-Smtp-Source: AGHT+IFnIvp85sWquXXmW85dnvBUuynIa3P75nD5nkX7bUH+RtRqcC+Lh6GJVJjdVYmpzFH8lqHbWDF8VOQSNWMZPZA=
X-Received: by 2002:a17:90b:3709:b0:2b6:3792:ea4d with SMTP id 98e67ed59e1d1-2b6cc564925mr8750403a91.5.1715621268741; Mon, 13 May 2024 10:27:48 -0700 (PDT)
MIME-Version: 1.0
References: <9c242c0ba4bc41218bf3ef189f6c3b68@huawei.com>
In-Reply-To: <9c242c0ba4bc41218bf3ef189f6c3b68@huawei.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 13 May 2024 10:27:37 -0700
Message-ID: <CABCOCHT4CUs7dcxo+TGJFk2bw+JfMoz_6T3fEo4LMQ39AquKTQ@mail.gmail.com>
To: Qin Wu <bill.wu@huawei.com>
Content-Type: multipart/alternative; boundary="0000000000004afb90061859346d"
Message-ID-Hash: I5OSJTTX3VF6ETSCE2R45T2LU4NHYSJH
X-Message-ID-Hash: I5OSJTTX3VF6ETSCE2R45T2LU4NHYSJH
X-MailFrom: andy@yumaworks.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "netmod@ietf.org" <netmod@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netmod] Re: RE I-D Action: draft-ietf-netmod-node-tags-11.txt
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/TYqBIBJCZV3aLkbKMF8nUSxs-oc>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>
On Sat, May 11, 2024 at 11:01 PM Qin Wu <bill.wu@huawei.com> wrote: > *发件人:* Andy Bierman [mailto:andy@yumaworks.com] > *发送时间:* 2024年5月11日 1:10 > *收件人:* Qin Wu <bill.wu@huawei.com> > *抄送:* Kent Watsen <kent+ietf@watsen.net>; netmod@ietf.org > *主题:* Re: [netmod] RE I-D Action: draft-ietf-netmod-node-tags-11.txt > > > > > > > > On Thu, May 9, 2024 at 7:19 AM Qin Wu <bill.wu@huawei.com> wrote: > > Thank Andy for valuable comments, I have update introduction in the github > to clarify the motivation and provide more guidance > > See diff: > > > https://author-tools.ietf.org/diff?url_1=https://raw.githubusercontent.com/billwuqin/draft-ietf-netmod-node-tags/main/draft-ietf-netmod-node-tags-12.txt > > > > > > > > I cannot find any evidence that the IETF module-tags are being used > anywhere. > > > https://www.rfc-editor.org/rfc/rfc8819.html#name-ietf-yang-module-tags-regis > > > > Why do we need to go through every leaf in every YANG module and decide if > it is a metric, log, trace, or info? > > Wouldn't every leaf be tagged as 'info'? > > > > [Qin]:I think you don’t need to go through all leafs and in most cases, > you just pick the leaf you are interested or you might just pick parent > leaf (e.g., list, container, etc). > > Take user configured tag as an example, > > You as user or operators can use edit-data to label all instances of data node and establish the mapping between the label and instance of data node using ietf-node-tags, > > Which can be get accessed to other users for data analytics, or decide to where to subscribe the data. These data can be seen as user intent in some sense. > > > > IMO it makes sense (in some cases) to improve the granularity of the > module-tag with per-node tagging. > > That means using the same tag registry defined in RFC 8819, not inventing > a new classification system. > > > > [Qin]:note that what we proposed in this document is to extend module tag module to establish the mapping between tag and leaf. > > Or you think we should add one parameter under module list of ietf-module-tags to distinguish module name from node name such as: > > module: ietf-module-tags > > +--rw module-tags > > +--rw module* [name] > > +--rw name yang:yang-identifier > > +--rw type //indicate whether it is module or node. > > +--rw tag* tag > > +--rw masked-tag* tag > > Or you just think we should not introduce yang extension for node-tag, just reuse YANG extension for module-tag, I am open to this. > > > I cannot find any evidence that the module-tag extension is being used. There are no standard protocol operations that use module tags. YANG Doctors are not telling WGs to add module-tag extensions. The tag mechanism has some value, although variables (i.e. RFC 7952 annotations) would be much better than tags. The IETF classifications should not be expanded since they are not even being used now. There is still some value in the vendor and user tags. We have proprietary augments to get* operations and to NACM rules to use a module-tag as a filter. Node tags could be more useful. They could provide a simple way to use YANG Push. But maybe this makes more sense as a vendor or operator-configured feature. -Qin > > > > > > Andy > Andy > > > *发件人:* netmod [mailto:netmod-bounces@ietf.org] *代表 *Andy Bierman > *发送时间:* 2024年2月21日 8:18 > *收件人:* Kent Watsen <kent+ietf@watsen.net> > *抄送:* netmod@ietf.org > *主题:* Re: [netmod] RE I-D Action: draft-ietf-netmod-node-tags-11.txt > > > > > > > > On Tue, Feb 20, 2024 at 8:03 AM Kent Watsen <kent+ietf@watsen.net> wrote: > > Juergen, Tom, Andy, > > Gentle reminder. > > > > I read draft-11. It is an improvement. No objections. > > There are 4 IETF tags defined: metrics, logs, traces, info > > I do not see much value in these standard tags, but more guidance and > explanation would help. > > > > Since the IETF does not define any protocol usage of tags, there is little > > impact caused by this draft, except for the additional administrative > overhead. > > > > > > Kent // shepherd > > > > Andy > > > > > On Nov 14, 2023, at 4:49 PM, Kent Watsen <kent+ietf@watsen.net> wrote: > > > > Juergen, Tom, Andy, > > > > The previous WGLC for this draft didn’t succeed due to your comments. > > Qin’s update (1) below removes all the (metric) specific node-tags. > > All that is left now is the generic mechanism for tagging nodes. > > Can you confirm that this update (-11) addresses your concerns? > > > > Thanks, > > Kent > > > > > >> On Oct 23, 2023, at 6:28 AM, Qin Wu <bill.wu= > 40huawei.com@dmarc.ietf.org> wrote: > >> > >> v-11 addresses comments during WGLC, the main changes include: > >> 1. Remove all specific metrics from both terminology section and > section 9.2 on IETF YANG Data Node Tags Registry based on WGLC discussion. > >> 2. Align with Open Telemetry and Open Metrics open source > implementation specification, introduce traces, log for data nodes > classification. > >> 3.Fix normative reference issues in section 9.2. > >> > >> -Qin > >> -----邮件原件----- > >> 发件人: I-D-Announce [mailto:i-d-announce-bounces@ietf.org] 代表 > internet-drafts@ietf.org > >> 发送时间: 2023年10月21日 17:56 > >> 收件人: i-d-announce@ietf.org > >> 抄送: netmod@ietf.org > >> 主题: I-D Action: draft-ietf-netmod-node-tags-11.txt > >> > >> Internet-Draft draft-ietf-netmod-node-tags-11.txt is now available. It > is a work item of the Network Modeling (NETMOD) WG of the IETF. > >> > >> Title: Node Tags in YANG Modules > >> Authors: Qin Wu > >> Benoit Claise > >> Mohamed Boucadair > >> Peng Liu > >> Zongpeng Du > >> Name: draft-ietf-netmod-node-tags-11.txt > >> Pages: 30 > >> Dates: 2023-10-21 > >> > >> Abstract: > >> > >> This document defines a method to tag nodes that are associated with > >> the operation and management data in YANG modules. This method for > >> tagging YANG nodes is meant to be used for classifying either data > >> nodes or instances of data nodes from different YANG modules and > >> identifying their characteristic data. Tags may be registered as > >> well as assigned during the definition of the module, assigned by > >> implementations, or dynamically defined and set by users. > >> > >> This document also provides guidance to future YANG data model > >> writers; as such, this document updates RFC 8407. > >> > >> The IETF datatracker status page for this Internet-Draft is: > >> https://datatracker.ietf.org/doc/draft-ietf-netmod-node-tags/ > >> > >> There is also an HTMLized version available at: > >> https://datatracker.ietf.org/doc/html/draft-ietf-netmod-node-tags-11 > >> > >> A diff from the previous version is available at: > >> > https://author-tools.ietf.org/iddiff?url2=draft-ietf-netmod-node-tags-11 > >> > >> Internet-Drafts are also available by rsync at: > >> rsync.ietf.org::internet-drafts > >> > >> > >> _______________________________________________ > >> I-D-Announce mailing list > >> I-D-Announce@ietf.org > >> https://www.ietf.org/mailman/listinfo/i-d-announce > >> > >> _______________________________________________ > >> netmod mailing list > >> netmod@ietf.org > >> https://www.ietf.org/mailman/listinfo/netmod > > > > _______________________________________________ > > netmod mailing list > > netmod@ietf.org > > https://www.ietf.org/mailman/listinfo/netmod > >
- [netmod] RE I-D Action: draft-ietf-netmod-node-ta… Qin Wu
- Re: [netmod] RE I-D Action: draft-ietf-netmod-nod… Adrian Farrel
- Re: [netmod] RE I-D Action: draft-ietf-netmod-nod… Kent Watsen
- Re: [netmod] RE I-D Action: draft-ietf-netmod-nod… Andy Bierman
- [netmod] Re: RE I-D Action: draft-ietf-netmod-nod… Qin Wu
- Re: [netmod] RE I-D Action: draft-ietf-netmod-nod… Kent Watsen
- [netmod] Re: RE I-D Action: draft-ietf-netmod-nod… Qin Wu
- [netmod] Re: RE I-D Action: draft-ietf-netmod-nod… Andy Bierman
- [netmod] Re: RE I-D Action: draft-ietf-netmod-nod… Qin Wu
- [netmod] Re: RE I-D Action: draft-ietf-netmod-nod… Andy Bierman
- [netmod] Re: RE I-D Action: draft-ietf-netmod-nod… Andy Bierman