Re: [ippm] Robert Wilton's No Objection on draft-ietf-ippm-ioam-yang-12: (with COMMENT)

Tianran Zhou <zhoutianran@huawei.com> Fri, 01 March 2024 03:12 UTC

Return-Path: <zhoutianran@huawei.com>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D9697C14F5FD; Thu, 29 Feb 2024 19:12:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.205
X-Spam-Level:
X-Spam-Status: No, score=-4.205 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 52lzR06hng3A; Thu, 29 Feb 2024 19:12:20 -0800 (PST)
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 E0CE2C14F61E; Thu, 29 Feb 2024 19:12:19 -0800 (PST)
Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4TmCh26ZZGz687rH; Fri, 1 Mar 2024 11:07:46 +0800 (CST)
Received: from lhrpeml500006.china.huawei.com (unknown [7.191.161.198]) by mail.maildlp.com (Postfix) with ESMTPS id CA5C71404F5; Fri, 1 Mar 2024 11:12:16 +0800 (CST)
Received: from dggpemm100005.china.huawei.com (7.185.36.231) by lhrpeml500006.china.huawei.com (7.191.161.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 1 Mar 2024 03:12:15 +0000
Received: from kwepemd100004.china.huawei.com (7.221.188.31) by dggpemm100005.china.huawei.com (7.185.36.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 1 Mar 2024 11:12:13 +0800
Received: from kwepemd100004.china.huawei.com ([7.221.188.31]) by kwepemd100004.china.huawei.com ([7.221.188.31]) with mapi id 15.02.1258.028; Fri, 1 Mar 2024 11:12:12 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Robert Wilton <rwilton@cisco.com>, The IESG <iesg@ietf.org>
CC: "draft-ietf-ippm-ioam-yang@ietf.org" <draft-ietf-ippm-ioam-yang@ietf.org>, "ippm-chairs@ietf.org" <ippm-chairs@ietf.org>, "ippm@ietf.org" <ippm@ietf.org>, "marcus.ihlar@ericsson.com" <marcus.ihlar@ericsson.com>, "Zhukeyi(Kaiyin,Datacom Standard&Patent)" <zhukeyi@huawei.com>
Thread-Topic: Robert Wilton's No Objection on draft-ietf-ippm-ioam-yang-12: (with COMMENT)
Thread-Index: AQHaay8QJ/NEYRh3sUSu3P1RTLM6S7EiC0ng
Date: Fri, 01 Mar 2024 03:12:12 +0000
Message-ID: <2f94fc48f0c747e6bc00077180008de2@huawei.com>
References: <170922526652.22965.16312237465257202789@ietfa.amsl.com>
In-Reply-To: <170922526652.22965.16312237465257202789@ietfa.amsl.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.112.40.118]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/E8BLa10y05dBBBlkuvhkEyfTTU4>
Subject: Re: [ippm] Robert Wilton's No Objection on draft-ietf-ippm-ioam-yang-12: (with COMMENT)
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Mar 2024 03:12:23 -0000

Hi Rob,

Thanks very much for your comments.
Please see in line.

Best,
Tianran

-----Original Message-----
From: Robert Wilton via Datatracker [mailto:noreply@ietf.org] 
Sent: Friday, March 1, 2024 12:48 AM
To: The IESG <iesg@ietf.org>
Cc: draft-ietf-ippm-ioam-yang@ietf.org; ippm-chairs@ietf.org; ippm@ietf.org; marcus.ihlar@ericsson.com; marcus.ihlar@ericsson.com
Subject: Robert Wilton's No Objection on draft-ietf-ippm-ioam-yang-12: (with COMMENT)

Robert Wilton has entered the following ballot position for
draft-ietf-ippm-ioam-yang-12: No Objection

When responding, please keep the subject line intact and reply to all email addresses included in the To and CC lines. (Feel free to cut this introductory paragraph, however.)


Please refer to https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-ippm-ioam-yang/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Hi,

Thanks for this document,  I noted that this document hadn't had a recent YANG
doctor review.  I have a few suggestions for you to consider that may improve
the YANG.

Minor level comments:

(1) p 3, sec 3.1.  Overview

   The "ioam-info" is a container for all the read-only information that
   assists monitoring systems in the interpretation of the IOAM data.
   module: ietf-ioam
      +--rw ioam
         +--ro ioam-info
         |  +--ro timestamp-type?        identityref
         |  +--ro available-interface* [if-name]
         |     +--ro if-name    if:interface-ref
         +--rw ioam-profiles

Please rename the 'ioam-info' container to 'info' and 'ioam-profiles' to
'profiles', and 'ioam-profile' to 'profile'.  This will make the paths shorter
and reduce duplicate semantic information on the path.

ZTR> Agreed.

(2) p 3, sec 3.1.  Overview

            +--rw admin-config
            |  +--rw enabled?   boolean

Please move 'admin-config' outside of the ioam-profiles container, so that the
container is only wrapping the list entry.

ZTR> Agreed.

(3) p 17, sec 4.  IOAM YANG Module

         description
           "This boolean value indicates whether the sequence number is
            used in the direct export option 32-bit flow identifier. If
            this value is true, the sequence number is used. By default,
            it's turned off.";
       }
     }

Are you allowed to set both enable-sequence-number and a flow-id?  If not, then
it might be worth adding text to this effect.

ZTR> Both sequence-number and flow-id are optional in data plane. The sequence-number is enabled by enable-sequence-number.
If there is configuration on the flow-id, then it will be encapsulated in the data plane. If there is no such configuration, flow-id is not enabled in data plane.

(4) p 20, sec 4.  IOAM YANG Module

             leaf enabled {
               type boolean;
               default false;
               description
                 "When true, apply incremental tracing option to the
                  specified flow identified by the filter.";
             }

You have several similar containers that all an "enabled" leaf, which defaults
to false.  Did you consider setting these containers as presence containers
instead? Which would remove the need for the enable leaf, since the existence
of the container in the config would indicate that it is enabled.

ZTR> Yes. Thanks.

Nit level comments:

(5) p 17, sec 4.  IOAM YANG Module

       leaf node-action {
         type ioam-node-action;
         default action-transit;
         description "This indicates what action the node will take,
         e.g. encapsulation.";

Description isn't properly formatted (although the RFC editor should also fix
this).

ZTR> Yes. Thanks.

(6) p 17, sec 4.  IOAM YANG Module

         description
           "A 32-bit flow identifier. The field is set at the
            encapsulating node. The Flow ID can be uniformly assigned
            by a central controller or algorithmically generated by the
            encapsulating node. The latter approach cannot guarantee
            the uniqueness of Flow ID, yet the conflict probability is
            small due to the large Flow ID space.flow-id is used to
            correlate the exported data of the same flow from multiple
            nodes and from multiple packets.";
       }

".flow-id" => ". flow-id"

ZTR> Yes. Thanks.

(7) p 23, sec 5.  Security Considerations

   *  /ioam/ioam-profiles/ioam-profile: The entries in the list above
      include the whole IOAM profile configurations.  Unexpected changes
      to these entries could lead to the mistake of the IOAM behavior
      for the corresponding flows.  Consequently, it will impact the
      performance monitoring, data analytics, and the assciated reaction
      to network services.

assciated => associated

ZTR> Yes. Thanks.

Regards,
Rob