Re: [netmod] Adoption poll for draft-tao-netmod-yang-node-tags

Qin Wu <bill.wu@huawei.com> Sun, 30 August 2020 14:29 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 DCB393A0121; Sun, 30 Aug 2020 07:29:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 YAUdAhmSR-Qp; Sun, 30 Aug 2020 07:29:14 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 DD3123A0528; Sun, 30 Aug 2020 07:29:13 -0700 (PDT)
Received: from lhreml735-chm.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 14E14A70F4E38CC4087E; Sun, 30 Aug 2020 11:40:40 +0100 (IST)
Received: from lhreml735-chm.china.huawei.com (10.201.108.86) by lhreml735-chm.china.huawei.com (10.201.108.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Sun, 30 Aug 2020 11:40:39 +0100
Received: from DGGEML404-HUB.china.huawei.com (10.3.17.39) by lhreml735-chm.china.huawei.com (10.201.108.86) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.1.1913.5 via Frontend Transport; Sun, 30 Aug 2020 11:40:39 +0100
Received: from DGGEML531-MBS.china.huawei.com ([169.254.5.229]) by DGGEML404-HUB.china.huawei.com ([fe80::b177:a243:7a69:5ab8%31]) with mapi id 14.03.0487.000; Sun, 30 Aug 2020 18:40:36 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: Lou Berger <lberger@labn.net>, Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>, "draft-tao-netmod-yang-node-tags@ietf.org" <draft-tao-netmod-yang-node-tags@ietf.org>
Thread-Topic: [netmod] Adoption poll for draft-tao-netmod-yang-node-tags
Thread-Index: AdZ+uc0Zlpvo4FwSQs+DC05Lv1kRdA==
Date: Sun, 30 Aug 2020 10:40:36 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABAAD96C386@dggeml531-mbs.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.45.229.224]
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/w_z6cSMkkW09BimOUOre9gUrDYQ>
Subject: Re: [netmod] Adoption poll for draft-tao-netmod-yang-node-tags
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, 30 Aug 2020 14:29:16 -0000

-----邮件原件-----
发件人: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de] 
发送时间: 2020年8月30日 18:05
收件人: Qin Wu <bill.wu@huawei.com>
抄送: Lou Berger <lberger@labn.net>et>; Kent Watsen <kent+ietf@watsen.net>et>; netmod@ietf.org; draft-tao-netmod-yang-node-tags@ietf.org
主题: Re: [netmod] Adoption poll for draft-tao-netmod-yang-node-tags

On Sun, Aug 30, 2020 at 09:00:46AM +0000, Qin Wu wrote:
> 
> Regarding operation type tag, take ietf-interfaces in RFC8343 as an 
> example, ietf-interfaces include interface statistics data object 
> which can be seen as performance metric related data objects,

[...]

> however these statistics doesn't tell you whether in-errors is current 
> value or average value or total value,

Wrong. The semantics of the counter types provided by ietf-yang-types are well defined.

[Qin]: I agree counter types in ietf-yang-types are well defined. 
If counter types can help distinguish avg value from min, max, sum value, current value, I am
happy to adopt it, however I fail to see ietf-yang-types can do that and I don't think distinguishing avg from min,max etc 
is the job of ietf-yang-types. It add complexity if going with that direction, in my understanding.

In addition, operation type tag is an optional tag, not all the performance metrics data object need to define such tags.
> so does count related data objects defined in ietf-dhcpv6-server of 
> draft-ietf-dhc-dhcpv6-yang

[...]

These leafs are poorly defined and I expact that this will be fixed before publication. (Standards for counters are relatively useless if everybody implements different counters.)

/js

-- 
Juergen Schoenwaelder           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/>