[ippm] Re: draft-ietf-ippm-on-path-telemetry-yang-00 early Yangdoctors review

Giuseppe Fioccola <giuseppe.fioccola@huawei.com> Wed, 02 July 2025 11:15 UTC

Return-Path: <giuseppe.fioccola@huawei.com>
X-Original-To: ippm@mail2.ietf.org
Delivered-To: ippm@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id B7C083CA9BF7; Wed, 2 Jul 2025 04:15:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -3.965
X-Spam-Level:
X-Spam-Status: No, score=-3.965 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.232, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7mtRKCLv29lR; Wed, 2 Jul 2025 04:15:43 -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 mail2.ietf.org (Postfix) with ESMTPS id A94C93CA9BEF; Wed, 2 Jul 2025 04:15:43 -0700 (PDT)
Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4bXHNk0s1Bz67FR3; Wed, 2 Jul 2025 19:14:46 +0800 (CST)
Received: from frapeml100007.china.huawei.com (unknown [7.182.85.133]) by mail.maildlp.com (Postfix) with ESMTPS id 9B52B140133; Wed, 2 Jul 2025 19:15:41 +0800 (CST)
Received: from frapeml500006.china.huawei.com (7.182.85.219) by frapeml100007.china.huawei.com (7.182.85.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 2 Jul 2025 13:15:41 +0200
Received: from frapeml500006.china.huawei.com ([7.182.85.219]) by frapeml500006.china.huawei.com ([7.182.85.219]) with mapi id 15.01.2507.039; Wed, 2 Jul 2025 13:15:41 +0200
From: Giuseppe Fioccola <giuseppe.fioccola@huawei.com>
To: Giuseppe Fioccola <giuseppe.fioccola=40huawei.com@dmarc.ietf.org>, Martin Björklund <mbj+ietf@4668.se>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Thread-Topic: draft-ietf-ippm-on-path-telemetry-yang-00 early Yangdoctors review
Thread-Index: AQHb33qi+5Vm2HqEnkeACTrVRDsLSrQQZEfAgA5e0oA=
Date: Wed, 02 Jul 2025 11:15:41 +0000
Message-ID: <08ce7a72603f4ce589ee8c9901521d34@huawei.com>
References: <175015956287.421597.5146133539060617713@dt-datatracker-75bbdb9cc5-qvb4t> <a26dd8ad95d2458a9249d840a854c985@huawei.com>
In-Reply-To: <a26dd8ad95d2458a9249d840a854c985@huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.203.41.6]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Message-ID-Hash: VBRLVVM2KU2V7TIIDWJMYOD4AINMBLAA
X-Message-ID-Hash: VBRLVVM2KU2V7TIIDWJMYOD4AINMBLAA
X-MailFrom: giuseppe.fioccola@huawei.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ippm.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "draft-ietf-ippm-on-path-telemetry-yang.all@ietf.org" <draft-ietf-ippm-on-path-telemetry-yang.all@ietf.org>, "ippm@ietf.org" <ippm@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [ippm] Re: draft-ietf-ippm-on-path-telemetry-yang-00 early Yangdoctors review
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/aUFocahbcXhYVKrme0QxXGRhmgk>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Owner: <mailto:ippm-owner@ietf.org>
List-Post: <mailto:ippm@ietf.org>
List-Subscribe: <mailto:ippm-join@ietf.org>
List-Unsubscribe: <mailto:ippm-leave@ietf.org>

Dear Martin, All,
Please note that I just submitted the new version of the draft to address the Yangdoctors early review (from Martin) and other comments received during the adoption call.

Additional reviews are welcomed.

Regards,

Giuseppe

-----Original Message-----
From: Giuseppe Fioccola <giuseppe.fioccola=40huawei.com@dmarc.ietf.org> 
Sent: Tuesday, June 24, 2025 2:38 PM
To: Martin Björklund <mbj+ietf@4668.se>; yang-doctors@ietf.org
Cc: draft-ietf-ippm-on-path-telemetry-yang.all@ietf.org; ippm@ietf.org
Subject: RE: draft-ietf-ippm-on-path-telemetry-yang-00 early Yangdoctors review

Dear Martin,
Thank you for your review.
First of all, let me highlight that this draft defines a separate YANG module for telemetry, that's why all nodes are read-only. The scope is to complement RFC9617 and draft-ietf-ippm-alt-mark-yang, which are models only for configuration. Note that we are also considering to split the current YANG module in order to augment the YANG modules of RFC9617 and draft-ietf-ippm-alt-mark-yang.

Regarding the issues you raised, please find my replies inline as [GF].

I plan to submit a new revision in the next days and I will keep you posted on that.

Regards,

Giuseppe


-----Original Message-----
From: Martin Björklund via Datatracker <noreply@ietf.org>
Sent: Tuesday, June 17, 2025 1:26 PM
To: yang-doctors@ietf.org
Cc: draft-ietf-ippm-on-path-telemetry-yang.all@ietf.org; ippm@ietf.org
Subject: draft-ietf-ippm-on-path-telemetry-yang-00 early Yangdoctors review

Document: draft-ietf-ippm-on-path-telemetry-yang
Title: On-Path Telemetry YANG Data Model
Reviewer: Martin Björklund
Review result: Not Ready

Here is my early YANG doctors review of
draft-ietf-ippm-on-path-telemetry-yang-00.

There are some major issues that make it difficult to understand how this model is supposed to be used.  I will do a more detailed review once these are addressed.

First of all, the included tree diagram says that all nodes are config false, but in the data model all nodes are config true.  

[GF]: All nodes are config false and the reason is that this model is for telemetry and for monitoring On-Path telemetry information of AltMark (RFC9341) and IOAM (RFC9197). I will fix the data model and add "config false" for the overall container.

(also, the names of the nodes in the tree diagram don't match the module in many cases). 

[GF]: Maybe an oversight. I will check and correct.

What is the
intention?  Should all nodes be config false?   Including filters and node
actions?   

[GF]: Yes, I forgot to add "config false". The "config true" nodes are in the other models (RFC9617 and draft-ietf-ippm-alt-mark-yang).

The Security Considerations section seems to indicate that at least some nodes are config true.

[GF]: I will revise the security considerations too.

There is a global leaf "timestamp" which is described in the text as "the timestamp of the message".  How can a global leaf contain a timestamp of "the message"?

[GF]: The description is not accurate in this case. It is intended to be the starting time of the considered period. I will change it.

Most description statements contain basically no information.  For example:

       leaf direct-export-data {
          type ioam-trace-data;
          description
            "This object indicates the direct export data.";
       }

I suggest you expand the descriptions, and add references where applicable.

[GF]: Ok, I will review and add more information.

Finally I suggest you add some examples in an appendix that show how this model can be used.

[GF]: Ok

/martin