Re: [netmod] Feedback on Self-Describing Data Object Tags in YANG Data Models
Qin Wu <bill.wu@huawei.com> Sun, 10 April 2022 10:49 UTC
Return-Path: <bill.wu@huawei.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 DDA883A0524 for <netmod@ietfa.amsl.com>; Sun, 10 Apr 2022 03:49:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
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 UC1PqdEGkKGZ for <netmod@ietfa.amsl.com>; Sun, 10 Apr 2022 03:49:04 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 77D503A11B2 for <netmod@ietf.org>; Sun, 10 Apr 2022 03:49:04 -0700 (PDT)
Received: from fraeml742-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4KbpZj3kKXz67XMQ for <netmod@ietf.org>; Sun, 10 Apr 2022 18:46:53 +0800 (CST)
Received: from canpemm100008.china.huawei.com (7.192.104.152) by fraeml742-chm.china.huawei.com (10.206.15.223) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sun, 10 Apr 2022 12:49:01 +0200
Received: from canpemm500005.china.huawei.com (7.192.104.229) by canpemm100008.china.huawei.com (7.192.104.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Sun, 10 Apr 2022 18:49:00 +0800
Received: from canpemm500005.china.huawei.com ([7.192.104.229]) by canpemm500005.china.huawei.com ([7.192.104.229]) with mapi id 15.01.2375.024; Sun, 10 Apr 2022 18:48:59 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Joe Clarke (jclarke)" <jclarke=40cisco.com@dmarc.ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: Feedback on Self-Describing Data Object Tags in YANG Data Models
Thread-Index: AdhMyJL2Y/Pgq/COn0q4HG9XZhoqhA==
Date: Sun, 10 Apr 2022 10:48:59 +0000
Message-ID: <1a967834ccc74088a22e521cfbe6b57b@huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.100.16]
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/65VS0D7MNXQTiFchqOFDdB_SzSQ>
Subject: Re: [netmod] Feedback on Self-Describing Data Object Tags in YANG Data Models
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: Sun, 10 Apr 2022 10:49:10 -0000
Hi, Joe: Sorry for late follow up. Thank for your comment, please see my reply below. -----邮件原件----- >发件人: netmod [mailto:netmod-bounces@ietf.org] 代表 Joe Clarke (jclarke) >发送时间: 2022年3月22日 18:12 >收件人: netmod@ietf.org >主题: [netmod] Feedback on Self-Describing Data Object Tags in YANG Data Models >Rob commented at the mic during the 113 meeting that using self-describing tags for specific data instances may be a design of this solution, but the text doesn't state that. [Qin] Note that in ietf-data-object-tags, we use 'name' to identify each data object, Therefore I can self-describing tag can be used either for specific data instance or schema node, correct me if I am wrong. Secondly, in this draft, we define three category of self-describing tags: OPM tag, metric type tag and multi-source tag. After having a second thinking of your suggestion and Rob's, it seems OPM tag and metric type tag might be more suited for being used in the schema level Since when the model is defined in the design stage, we may have already known it. Please also see above clarification on how I understand how self-describing tag is used for specific data instance. As for multi-source tag, I sort of agree with you it can be used at the data instance level, but I am not sure it cover the use case mentioned below. >To add to the request to provide such text, it would be useful to have an example showing this. >One potential use I can think of for this is to use user tags to self-describe the instance of an interface to be "critical" or high-priority for purposes of more aggressive monitoring/telemetry subscriptions, etc. [Qin] Thanks Joe for proposed use, See above clarification, I am not sure this case has been covered by one of self-describing tag described above. maybe we can expand multi-source tag or introduce a new self-describing tag to cover your use case, but one thing I am not sure whether I can enumerate all other use cases in this self-describing tags draft. Comments,suggestions and input? Joe _______________________________________________ netmod mailing list netmod@ietf.org https://www.ietf.org/mailman/listinfo/netmod
- [netmod] Feedback on Self-Describing Data Object … Joe Clarke (jclarke)
- Re: [netmod] Feedback on Self-Describing Data Obj… Qin Wu
- Re: [netmod] Feedback on Self-Describing Data Obj… Joe Clarke (jclarke)
- Re: [netmod] Feedback on Self-Describing Data Obj… Qin Wu
- Re: [netmod] Feedback on Self-Describing Data Obj… Qin Wu
- Re: [netmod] Feedback on Self-Describing Data Obj… Joe Clarke (jclarke)