Re: [netmod] WGLC on node-tags-09

Andy Bierman <andy@yumaworks.com> Mon, 03 July 2023 18:24 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 B21DBC14F749 for <netmod@ietfa.amsl.com>; Mon, 3 Jul 2023 11:24:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 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_BLOCKED=0.001, 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 QLLCjVaCE_gL for <netmod@ietfa.amsl.com>; Mon, 3 Jul 2023 11:24:02 -0700 (PDT)
Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 F3019C151084 for <netmod@ietf.org>; Mon, 3 Jul 2023 11:24:01 -0700 (PDT)
Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fba86f069bso4161827e87.3 for <netmod@ietf.org>; Mon, 03 Jul 2023 11:24:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1688408640; x=1691000640; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tyszVI/J0dQZfTbksQzt1TCXfNvn6EJc0DGk/u8w6CI=; b=PuGB9gHmqaYrGPbg6lmtPuaVpPI0FtLKmL9MumLAFjAluyWjjqMHSb6k/4tC1rMAzu rXMIuJJTgISmL4JQaxsA7NLpaOX8naohpSIdnbbiWjdKu5dH1enKqIDvIdDoyp+9aPC7 PZiHnsRObqTiofIjATkYWODjNJR6LGAABJ5wUMcr/8+gcvfjBkTlAG25IsXOAWyURu0r bovtf8j1+pEAB2rBqFf+O3PjsRb0BiytdMTDEDBsmX6DRfSia38BVYrE616GIRNLt0AH QBvLsGSbKJZaYlPg1vvVyZ/PdLTEMxb80cEHIBALfO5oQqMWzsJm0Yaretr25lwAvoqa XPDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688408640; x=1691000640; 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=tyszVI/J0dQZfTbksQzt1TCXfNvn6EJc0DGk/u8w6CI=; b=KGhBU/PQfkYpL54KNWu7hLNHJHaK3K9ONvaE5K/Wc9eUO5VNeGExwB0TwTty0+FbeE B+an6g7Fk7uLz3ZrXjpuwuyDOHBMP6Q/tC/QlKYV26I6FGC/2I9LdonhqDH8w7lU2CkU KhIWC2gHYREomxwg8+PjpEppm8Mhbts+loSmhZAgp3DJlXBGwHX9iO64od3UNtRU7Gxz lQl26oEqSraquHZMzN/UwIoDAI4MlnObG670MaJLhG1VyVdfdoAOKM0mLyj4lkUqvC0P R7ZDshbISY9I4IBk6DUUtE7z2NWcAAnoNz0IUGkm7DYvoEFvKwHfuCy+jrkkvJ4m0V9T 1NLg==
X-Gm-Message-State: ABy/qLZ+CwZJSxgyWuxLx55MRHoMyQkpGEdEbtV5pUJocnHRD6tMh4sn ZHVGh9YN2aA0XFeIS9E+NdcJgVLuqgp6lUiZw/Lwk6Cthcy8OKZP
X-Google-Smtp-Source: APBJJlFdRBMJYo9hux9SiMeIGpGMoHfyloUZXoXqgEdHX2OGqfZMWWqQ8IeSmz0tVezNRwRUC4HjxKMZd7vZqyNOTrQ=
X-Received: by 2002:a19:6447:0:b0:4f8:5964:ac63 with SMTP id b7-20020a196447000000b004f85964ac63mr6849366lfj.24.1688408639570; Mon, 03 Jul 2023 11:23:59 -0700 (PDT)
MIME-Version: 1.0
References: <1b3de3205f0341b193ac98cc3110c9cf@huawei.com>
In-Reply-To: <1b3de3205f0341b193ac98cc3110c9cf@huawei.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 03 Jul 2023 11:23:48 -0700
Message-ID: <CABCOCHSeT8GTPhfCK_Vp3Qutmjoh8Z-zC+gCXEaVZqW9-aHKoA@mail.gmail.com>
To: Qin Wu <bill.wu@huawei.com>
Cc: Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000032991e05ff99454f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/UQc1KI_ol93Bq3ZrVK-HxlYF2Y8>
Subject: Re: [netmod] WGLC on node-tags-09
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
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, 03 Jul 2023 18:24:06 -0000

On Mon, Jun 26, 2023 at 2:34 AM Qin Wu <bill.wu@huawei.com> wrote:

> Andy:
>
> Sorry for late followup, please see my reply inline below.
>
>
>
> *发件人:* netmod [mailto:netmod-bounces@ietf.org] *代表 *Andy Bierman
> *发送时间:* 2023年4月20日 2:39
> *收件人:* Kent Watsen <kent+ietf@watsen.net>
> *抄送:* netmod@ietf.org
> *主题:* Re: [netmod] WGLC on node-tags-09
>
>
>
>
>
>
>
> On Tue, Apr 18, 2023 at 6:59 PM Kent Watsen <kent+ietf@watsen.net> wrote:
>
> This email begins a two-week WGLC on:
>
>
> https://datatracker.ietf.org/doc/html/draft-ietf-netmod-node-tags-09
>
> Please take time to review this draft and post comments by May 2nd.
> Favorable comments are especially welcomed.
>
>
>
> I have read the latest draft and IMO it needs more work.
>
>
>
> 1) metrics
>
>
>
> The identities to represent system tags are quite vague.
>
> There are no specific guidelines for selecting the correct tag.
>
> There are no references to other RFCs for the metric definitions.
>
> I would expect IPPM WG to define the classification system, not NETMOD WG.
>
>
>
> [Qin Wu]
>
> Good comment, the idea of introducing system tags is to classify the data
> nodes or data node instances and identify the characteristics
>
> data or metric data. The identity is associated with ‘type’ leaf for
> specific data node or instance of data node and provides a second
>
> level classification, e.g., we add a system tag for ‘in-octets’ leaf under
> interface list in ietf-interface.yang module, in addition,
>
> we can add a type leaf with the value as ‘summary’ for the same leaf to
> indicate the leaf value is average value.
>
> For packet loss, jitter, delay, similar to what ALTO performance metrics
> RFC (draft-ietf-alto-performance-metrics) is doing, we don’t
>
> define any new metrics and we just reuse the same metrics defined in IPPM,
> we can add similar RFCs to packet loss, jitter, delay described
>
> in this draft. Regarding summary, counter definition, I believe we should
> reference to openmetric draft described in
>
> (https://datatracker.ietf.org/doc/html/draft-richih-opsawg-openmetrics-00)
> which has already been open sourced and well specified and validated.
>
> Regarding guidelines for selecting the correct tag, we did provide
> guideline for model writer to define system tags at the design time,
>
> but similar to what module tag is doing, we will leave freedom to the
> client to decide whether the correct tag is selected.
>
>
>
> One more thing I want to clarify is I think identity used to describe the
> type of data node should be limited to summary, counter, unknown,
>
> gauge, etc, the packet loss, delay identities can be removed.
>
>
>


YANG authors should not need to tag nodes with specific metrics at all.
I am not convinced that standard tags like "counter," or "loss," or "delay"
are useful.
IMO it would be better to keep standard tags in their own RFC(s),
especially something as complicated as metrics classification.




>
> 2) System tag procedures
>
>
>
> There are no procedures defined for YANG model developers.
>
>
>
> [Qin Wu] See section 8 for guidelines for YANG model developers.
>
>
>
> Are they supposed to add a node-tag extension to almost every leaf in the
> module?
>
> [Qin Wu] The answer is no, we only add node tag extension to
> characteristics data
>
> Related leaf, e.g., leaf used to describe the metric data, e.g., the
> number of inbound
>
> packets that contained errors.
>
>
>

This seems like a huge administrative burden with minimal guidance provided.



Andy



> The administration and maintenance of node-tags will be a huge burden.
>
> That was one reason they were not added to the module-tags module in the
> first place.
>
>
>
> The YANG extension itself is under-specified since it offers no guidance on
>
> which YANG statements are allowed to have this extension as a
> sub-statement.
>
>
>
> [Qin Wu] See last paragraph of section 9.2
>
> “
>
>    A data node can contain one or multiple node tags.Data node to be
>
>    tagged with the initial value in Table 2 can be one of 'container',
>
>    'leaf-list', 'list', or 'leaf' data node.  All tag values described
>
>    in Table 2 can be inherited down the containment hierarchy if Data
>
>    nodes tagged with those tag values is one of 'container', 'leaf-
>
>    list', 'list'.
>
>
>
> ”
>
> Note that we don’t allow add system tag to notification or action
> statement. We can make this clear in the updated text.
>
>
>
> IMO all the metrics (tag type identities) should be removed from this
> document and moved to separate work
>
> that is properly defined using IPPM metrics.
>
>
>
> 3) YANG module issues
>
>
>
> - what module entry is used if the node is from a module that augments
> another one?
>
>    I would assume the augmented module not the base module.  Specify which
> one
>
>
>
> [Qin Wu]
>
> As you can see, ietf-node-tags module augments from module list within
> ietf-module-tag module, the module entry will be
>
> decided by the name key leaf under module list
>
>        module: ietf-module-tags
>
>          +--rw module-tags
>
>             +--rw module* [name]
>
>                +--rw name          yang:yang-identifier
>
>
>
> -  nacm:node-instance-identifier as a list key is complex to implement
>
> [Qin Wu] The reason to select nacm:node-instance-identifier as a list key
> is to represent both data node and instance of
>
> data node, any other choice we can make?
>
>
>
>    - not sure a canonical representation is possible or required
>
>    - syntax allows notification and action nodes to be tagged. Are these
> allowed in thislist?
>
> [Qin Wu]: See above, the answer is no.
>
>
>
> -  it is possible for multiple 'tags' entries to represent the same data
> node instances.
>
>    Figuring out precedence and enforcing masked-tag rules seems
> complicated.
>
>    NACM has ordered by-user semantics.  This module has "all entries at
> once" semantics.
>
>    Not that easy to implement or deploy.
>
>
>
> [Qin Wu] Same issue is applied to module tag RFC8819 which allow one
> module to be tagged with multiple tags.
>
> - What if a tag value appears in the masked-tag leaf-list that has the
> same value as the 'tag' key leaf?
>
>
>
> [Qin Wu] Similar to what module tag is doing, we can use masked-tag with
> the same tag value to remove this tag.
>
> - the indentation in the YANG module is wrong for masked-tag
>
>
>
> [Qin Wu] Fixed, thanks
>
> - the list and key naming (tags/tag) is not consistent with other IETF
> modules .
>
>   Maybe should be list tag and key leaf id.
>
>
>
>
>
> [Qin Wu] Will fix this, thanks
>
>
>
> Andy
>
>
>
>
>
> This draft went through a WGLC a year ago.  The authors addressed the
> comments received and have been were waiting for feedback.   In essence,
> this draft is presumed to reflect WG consensus and thusly, if no objection
> is received, the draft will move to the next step in the publication
> process.
>
> Ref:
> https://mailarchive.ietf.org/arch/msg/netmod/n2P9yohA-X-xSIt6FlMr4wOqmuI/
>
> Kent  // co-chair
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>
>