Re: [yang-doctors] YANG Doctor Review of draft-ietf-i2rs-yang-network-topo-03

"Susan Hares" <shares@ndzh.com> Wed, 06 July 2016 07:49 UTC

Return-Path: <shares@ndzh.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 7E55112D731; Wed, 6 Jul 2016 00:49:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.739
X-Spam-Level: *
X-Spam-Status: No, score=1.739 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DOS_OUTLOOK_TO_MX=2.845, HTML_MESSAGE=0.001, RDNS_NONE=0.793] autolearn=no 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 dodQkf-v8aLS; Wed, 6 Jul 2016 00:49:33 -0700 (PDT)
Received: from hickoryhill-consulting.com (unknown [50.245.122.97]) (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 1A0FC12D6B3; Wed, 6 Jul 2016 00:49:33 -0700 (PDT)
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=184.157.81.45;
From: Susan Hares <shares@ndzh.com>
To: 'Kent Watsen' <kwatsen@juniper.net>, draft-ietf-i2rs-yang-network-topo.all@ietf.org
References: <330E8448-FBA4-44C4-BD99-CBE9E50D6E33@juniper.net>
In-Reply-To: <330E8448-FBA4-44C4-BD99-CBE9E50D6E33@juniper.net>
Date: Wed, 06 Jul 2016 03:49:05 -0400
Message-ID: <047001d1d75a$df327730$9d976590$@ndzh.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0471_01D1D739.5821C190"
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQKNykEXyOuJlKlHss+P5NWDrSk5jp6TIPxQ
X-Authenticated-User: skh@ndzh.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/yXdJ1LxSPFaEgI-F8dGW01y2M4s>
Cc: 'YANG Doctors' <yang-doctors@ietf.org>, "'Alexander Clemm (alex)'" <alex@cisco.com>
Subject: Re: [yang-doctors] YANG Doctor Review of draft-ietf-i2rs-yang-network-topo-03
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 06 Jul 2016 07:49:34 -0000

Kent: 

 

Thank you for the Yang Doctor reviews.  The authors will respond to your comments shortly. 

 

Sue 

 

From: Kent Watsen [mailto:kwatsen@juniper.net] 
Sent: Tuesday, July 5, 2016 2:55 PM
To: draft-ietf-i2rs-yang-network-topo.all@ietf.org
Cc: YANG Doctors
Subject: YANG Doctor Review of draft-ietf-i2rs-yang-network-topo-03

 

Hi,

 

I am the assigned YANG doctor for this individual submission document.  This review regards the YANG modules alone.  While I did read the draft, I only did so to better understand the modules.   Note: I was hoping the draft would contain examples, but alas it does not.

 

This draft contains two yang modules: ietf-network and ietf-network-topology

    - ietf-network-topology imports and augments ietf-network

    - both yang modules pass `pyang --ietf` testing.

 

These modules are relatively small and straightforward, which makes reviewing them easy.  Below are some detailed comments on these two modules.

 

ietf-network

==========

·         grouping “node-ref” is defined but not used in this module, though it is used by the ietf-network-topology module.  Should the “node-ref” grouping should be moved to the ietf-network-topology module?

·         Why have top-level container “networks-state”?   Why not have the “server-provided” config false leaf in /nd:networks/nd:network/ instead?   

·         Is there a need to define any notifications in this module?  - or is the plan to leverage yang-push?

 

ietf-network-topology

==================

·         The description statements for “link-id” and “tp-id” were not helpful.  The node is a URI, so I expect the description statement to be mostly about setting the URI value.  Example URI values would be helpful.

·         Watch capitalization on the “link” description statement: “A Network Link connects a by Local (Source) node and a Remote (Destination) Network Nodes.”

·         The sentence structure of the first sentence in the “link” description statement needs fixing.

·         Using uncommon acronyms is discouraged.  Recommend replacing “tp” with “termination-point” throughout.

·         Is the description statement for the grouping link-ref missing the word “to”?

·         The description for “supporting-termination-point” says “leaf list”, though it’s actually just a list...

·         I notice that ‘require-instance false’ is used on all leafrefs except source/dest-node and source/desy-tp, is this intentional?

 

 

Kent