Re: [yang-doctors] Yangdoctors early review of draft-ietf-mpls-base-yang-10

Tarek Saad <tsaad.net@gmail.com> Thu, 12 September 2019 13:18 UTC

Return-Path: <tsaad.net@gmail.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4F8F0120041; Thu, 12 Sep 2019 06:18:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 b5UEE0P6gWIu; Thu, 12 Sep 2019 06:18:05 -0700 (PDT)
Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3634C12002F; Thu, 12 Sep 2019 06:18:02 -0700 (PDT)
Received: by mail-io1-xd34.google.com with SMTP id b136so54432806iof.3; Thu, 12 Sep 2019 06:18:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding:mime-version; bh=N2XUqEdbN7bvsk+zQxf7o/Q8SqAMYjlq+AkDB8sbIH0=; b=a4m0pAtXAIo2EcNXpt+oliAi5Cm8Zk995Sx+zgMjdXPKMh/eUKZ+qwL7k3pRlvlfZw 5gKsHUgGiFCWXa8iE0VYag/f0IKoUweVcog/BPnyDRzHp93LSub6N06HgzWra/RA7nTo lPKm9hc0U3O6K1EDKqAiYfrRn4evzsBsmRSkBG/i/gkAXP4QMZbFhCmcpsc/7E21HArH kXLfdPph3GWfP6PN0BYIoXrfxrOxKyL8fmnf9oZpNnhPJZfyTP30W+JurCreVYl+dnSg 5UiDPkDdvHprydcHy0cvwgKPvt9wpVZ++qtQb3O7vOocyvlvPWa+u+Xa9XtxjCdIOWca a6Lw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding:mime-version; bh=N2XUqEdbN7bvsk+zQxf7o/Q8SqAMYjlq+AkDB8sbIH0=; b=aUwEc2fhjF0t3tPJvhtpviwy5rNf/Jw4GMiydDuAY8yrekkKSOpv3+OfmJQmJ/GG0F VlrhRWbN2cgsaNzNCQ8flg4hAje1+RQ3/yIAPGfVfdVm8oqbX7jHKiVgJpuXrFJaZhkk m3xWrHSYcMD1+jUqvXeHZ0a8Zc0wPTb9lf1Fahh0IZ1/0BKr+PsCp+/luO/VAFwdOjrF DnBSaFuNWq6+SUtNyJcQOK/yBfTNt0dyPNJtPsmY6H+HI2jGA+v7fQS1VjNtxZ4j/quE EwtP0/DbI1jLwfoBXOfKDnWVENDh06nlN8sVK9pz+jowbke11fysc4mUa7OA09rOCi/b C2ZA==
X-Gm-Message-State: APjAAAWad48X/JclvP9nWwD9rROqrPkmbuGyYz2H3YdOG5BmWqrPqgpq adclsaOQ6mhlBN569LEPRfEQroBf
X-Google-Smtp-Source: APXvYqw0kmMFsoH5/vmsuvwOs5Zoun4V5EtllqG1eLtD1dTgbJAl0JkKSSXAp95LB2aWv/2Rv9ljxw==
X-Received: by 2002:a02:ab90:: with SMTP id t16mr45644698jan.110.1568294281306; Thu, 12 Sep 2019 06:18:01 -0700 (PDT)
Received: from BYAPR19MB3415.namprd19.prod.outlook.com ([2603:1036:307:293b::5]) by smtp.gmail.com with ESMTPSA id w22sm6917083ior.79.2019.09.12.06.18.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Sep 2019 06:18:00 -0700 (PDT)
From: Tarek Saad <tsaad.net@gmail.com>
To: Ebben Aries <exa@arrcus.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "mpls@ietf.org" <mpls@ietf.org>, "draft-ietf-mpls-base-yang.all@ietf.org" <draft-ietf-mpls-base-yang.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
Thread-Topic: Yangdoctors early review of draft-ietf-mpls-base-yang-10
Thread-Index: ATkwNDk0XwiEpmF5LrvZdM9A3YooW7hycIxb
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Thu, 12 Sep 2019 13:17:59 +0000
Message-ID: <BYAPR19MB3415533CD4DEA0AEB56022DBFCB00@BYAPR19MB3415.namprd19.prod.outlook.com>
References: <156615954036.3697.1825462750505422399@ietfa.amsl.com>
In-Reply-To: <156615954036.3697.1825462750505422399@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/3Ishj46Da17r0gRqkq_u1wC682A>
Subject: Re: [yang-doctors] Yangdoctors early review of draft-ietf-mpls-base-yang-10
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Sep 2019 13:18:09 -0000

Hi Ebben,

Thanks for your review and comments. We have uploaded a new revision of the document that addresses the comments.
Inline for more details.

On 8/18/19, 4:19 PM, "Ebben Aries via Datatracker" <noreply@ietf.org> wrote:

    Reviewer: Ebben Aries
    Review result: On the Right Track
    
    1 module in this draft:
    - ietf-mpls@2019-02-24.yang
    
    No YANG compiler errors or warnings (pyang 2.0.1, yanglint 1.1.40, confdc 6.6.3)
    
    Module ietf-mpls@2019-02-24.yang:
    --------------------------------------------------
    - Remove WG Chairs from contact information per
      https://tools.ietf.org/html/rfc8407#appendix-B
[TS]: done.

    - 'ietf-interfaces' import should reference RFC8343 rather
[TS]: updated.

    - Must clause for start/end-label is incorrect.  Would suggest moving this
      must statement underneath the `leaf end-label` as well:
    
      e.g.
    
      leaf end-label {
          type rt-types:mpls-label;
          must '. >= ../start-label' {
              error-message
                "The end-label must be greater than or equal " +
                "to start-label";
          }
          description "Label-block end";
      }
[TS]: OK, I moved this check to under end-label. I added similar check for start-label too.

    - Use of 'state' container under '/routing/mpls/label-blocks/label-block/state'
      These nodes could sit as r/o nodes by the looks of it directly under the
      label-block list.  In addition, do these nodes need '-count' suffixes?
      Should they rather be of type `yang:counter32`?
[TS]: removed the 'state' container and updated to directly go under list. Also changed to type to yang:counter32.

      See: https://github.com/netmod-wg/FAQ/wiki/NMDA-Modelling-FAQ
    - Is there any intention to define any surrounding features?
[TS]: updated.
    
    General comments/minor nits on the draft/modules:
    --------------------------------------------------
    - Section 1: s/feauture/feature/
    - Section 2.1: s/the the/the/
    - Section 2.1: 'labeled' vs. 'labelled'
    - Section 2.4: s/followinig/following/
    - Module line 354/367: This is for the 'active-route' action statement rather
    
 [TS]: addressed the typos, thanks.

Regards,
Tarek (for authors)