Re: [Lime] AD review: draft-ietf-lime-yang-connectionless-oam-methods

Qin Wu <bill.wu@huawei.com> Fri, 01 September 2017 04:52 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: lime@ietfa.amsl.com
Delivered-To: lime@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4317B132E7E for <lime@ietfa.amsl.com>; Thu, 31 Aug 2017 21:52:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level:
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, WEIRD_PORT=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 dYC6sgEHQuhH for <lime@ietfa.amsl.com>; Thu, 31 Aug 2017 21:52:21 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E61F7132EA0 for <lime@ietf.org>; Thu, 31 Aug 2017 21:52:20 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml705-cah.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DUO31341; Fri, 01 Sep 2017 04:52:19 +0000 (GMT)
Received: from NKGEML414-HUB.china.huawei.com (10.98.56.75) by lhreml705-cah.china.huawei.com (10.201.108.46) with Microsoft SMTP Server (TLS) id 14.3.301.0; Fri, 1 Sep 2017 05:52:17 +0100
Received: from NKGEML513-MBX.china.huawei.com ([169.254.1.219]) by nkgeml414-hub.china.huawei.com ([10.98.56.75]) with mapi id 14.03.0235.001; Fri, 1 Sep 2017 12:52:14 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Benoit Claise <bclaise@cisco.com>, "lime@ietf.org" <lime@ietf.org>
CC: "Carl Moberg (camoberg)" <camoberg@cisco.com>
Thread-Topic: [Lime] AD review: draft-ietf-lime-yang-connectionless-oam-methods
Thread-Index: AQHTErQqSGzB05NL0E+O1Mp6NhA6D6KflkNw
Date: Fri, 01 Sep 2017 04:52:14 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA9AAEB827@nkgeml513-mbx.china.huawei.com>
References: <da8af3c8-67f2-64e3-d9b7-d592db2d5eb5@cisco.com> <43b1244d-f834-4251-b930-4f2cb66d774c@cisco.com>
In-Reply-To: <43b1244d-f834-4251-b930-4f2cb66d774c@cisco.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.79.163]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA9AAEB827nkgeml513mbxchi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.59A8E783.0083, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.1.219, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 87a906d463fc7ba3f42c0f591bac580e
Archived-At: <https://mailarchive.ietf.org/arch/msg/lime/vH95cxhrbzlIfNRg61lLNHPLqRw>
Subject: Re: [Lime] AD review: draft-ietf-lime-yang-connectionless-oam-methods
X-BeenThere: lime@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Layer Independent OAM Management in Multi-Layer Environment \(LIME\) discussion list." <lime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lime>, <mailto:lime-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lime/>
List-Post: <mailto:lime@ietf.org>
List-Help: <mailto:lime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lime>, <mailto:lime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Sep 2017 04:52:24 -0000

Thank for valuable comments, your comments have been addressed in v-(06) with other comments on the list:
https://datatracker.ietf.org/doc/draft-ietf-lime-yang-connectionless-oam-methods/

-Qin
发件人: Lime [mailto:lime-bounces@ietf.org] 代表 Benoit Claise
发送时间: 2017年8月11日 23:12
收件人: lime@ietf.org
抄送: Carl Moberg (camoberg)
主题: [Lime] AD review: draft-ietf-lime-yang-connectionless-oam-methods

Dear all,

Here is my AD review.

- I see that the draft is NMDA-compliant. Good.
https://yangcatalog.org:8443/search/modules/ietf-connectionless-oam-methods,2017-05-18,ietf
- " This document presents a retrieval method YANG Data model for connectionless OAM protocols" is this right?

   rpc path-discovery {

         description

           "Generates path discovery as per RFC7276<https://tools.ietf.org/html/rfc7276>.";


   rpc continuity-check {

         if-feature coam:continuity-check;

         description

           "Generates continuity-check as per RFC7276<https://tools.ietf.org/html/rfc7276>.";
AFACT, the RPC triggers an "on-demand" (as opposed to proactive draft-ietf-lime-yang-connectionless-oam, to use the draft-ietf-lime-yang-connectionless-oam term) OAM mechanism and retrieves the results directly.
" This document presents a retrieval method YANG Data model for connectionless OAM protocols" makes it sound like "polling" the results, which could also be "proactive". You should improve the text

After hours spent on the two LIME drafts ...
If the continuity-check RPC is really "on-demand", why do we have the session-type-enum as input?

 rpc continuity-check {

    if-feature "coam:continuity-check";

    description

      "Generates continuity-check as per RFC7276<https://tools.ietf.org/html/rfc7276>.";

    input {

      container destination-tp {

        uses coam:tp-address;

        description

          "Destination test point.";

      }

      uses coam:session-type;         <==============

      leaf source-interface {

        type if:interface-ref;

        description

          "Source interface.";

      }
From the other draft (why, btw?)

    grouping session-type {

      description

        "This object indicates the current session

         definition.";

      leaf session-type-enum {

        type enumeration {

          enum "proactive" {

            description

              "The current session is proactive";

          }

          enum "on-demand" {

            description

              "The current session is on-demand.";

          }

        }

        default "on-demand";

        description

          "Session type enum";

      }

    }
This should always be "on-demand", right?

Same remark for the persistent RPCs in the appendix A, which should always have a "session-type-enum" value of "proactive".
Trying to understand...


- Abstract:

   The retrieval methods

   model presented here can be extended to include technology specific

   details.
But this is not in line with the appendix A, which is the place that speaks about "extensions"
You should have another place (a new appendix) to explain how to augment the technology specific details ... in a consistent way, if possible.


-

   RPC - A Remote Procedure Call, as used within the NETCONF protocol
This document is about a YANG data model. So independently of NETCONF or RESTCONF or something else.
So referring to NETCONF only is not right. I would remove "as used within the NETCONF protocol"
Btw, RFC 7950 makes the distinction between :

   o  RPC: A Remote Procedure Call.



   o  RPC operation: A specific Remote Procedure Call.

You should include RPC and RPC operations in section 2
You want to review all "RPC" instances.
For example, RPC commands should be: RPC operations
Most of the time, RPC should be: RPC operation(s). Ex: 3.1 title.

- Since you import ietf-connectionless-oam,  draft-ietf-lime-yang-connectionless-oam should probably be a normative reference

- The security considerations have been updated: https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines


Editorial:
-
OLD:

   It provides a technology-independent

   RPC commands for connectionless OAM protocols.

NEW:

   It provides technology-independent

   RPC commands for connectionless OAM protocols.

-

   It provides a flexible way to retrieve the retrieved-

   data which defined by the "ietf-connectionless-oam.yang"

   [I-D.ietf-lime-yang-connectionless-oam<https://tools.ietf.org/html/draft-ietf-lime-yang-connectionless-oam-methods-05#ref-I-D.ietf-lime-yang-connectionless-oam>].



retrieve the data?
-

OLD:

     "This YANG module defines the RPCs for ,

     connectionless OAM to be used within IETF

     in a protocol Independent manner.



NEW:

     "This YANG module defines the RPCs for

     connectionless OAM to be used within IETF

     in a protocol independent manner.
-
Appendix A
OLD:

   The following are some examples of extensions possible to the yang

   model.  The example discusses persistent methods.

NEW:

   The following are some examples of extensions possible to the YANG

   model.  The example discusses persistent methods.


Regards, Benoit