Re: [netmod] WG Last Call: draft-ietf-netmod-intf-ext-yang-07
Martin Bjorklund <mbj@tail-f.com> Wed, 21 August 2019 13:59 UTC
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 71484120052 for <netmod@ietfa.amsl.com>; Wed, 21 Aug 2019 06:59:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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 NcDshA3PAnSS for <netmod@ietfa.amsl.com>; Wed, 21 Aug 2019 06:59:52 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id A990D1209B7 for <netmod@ietf.org>; Wed, 21 Aug 2019 06:59:52 -0700 (PDT)
Received: from localhost (h-46-233.A165.priv.bahnhof.se [46.59.46.233]) by mail.tail-f.com (Postfix) with ESMTPSA id E4C071AE0397 for <netmod@ietf.org>; Wed, 21 Aug 2019 15:59:50 +0200 (CEST)
Date: Wed, 21 Aug 2019 15:59:50 +0200
Message-Id: <20190821.155950.1596034237173159188.mbj@tail-f.com>
To: netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <0100016bd93bfe12-b7c7407d-7c5f-4d61-a714-3aa38b0d1da7-000000@email.amazonses.com>
References: <0100016bd93bfe12-b7c7407d-7c5f-4d61-a714-3aa38b0d1da7-000000@email.amazonses.com>
X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/EiAO5dPtGlJyW7wHUdz5WQ8gu6o>
Subject: Re: [netmod] WG Last Call: draft-ietf-netmod-intf-ext-yang-07
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Aug 2019 13:59:54 -0000
Hi, Here is my (late) review of draft-ietf-netmod-intf-ext-yang-07. It is a well-written document and my comments are mostly minor. o Abstract OLD: The YANG data model in this document conforms to the Network Management Datastore Architecture (NMDA) defined in RFC 8342. NEW: The YANG modules in this document conform to the Network Management Datastore Architecture (NMDA) defined in RFC 8342. o Section 1 One of the aims of this draft is to provide a standard namespace and path for these configuration items regardless of the underlying interface type. For example a standard namespace and path for "standard namespace and path" sounds a bit clumsy. In section 2 you use "standard definition", perhaps that can be use here. o General s/this internet draft/this document/g s/this draft/this document/g o Section 2 It seems this short section mostly says what is already said in section 1. Remove? o 3 The text says: o A parent interface leaf useable for all types of sub-interface that are children of parent interfaces. I suggest you add before that bullet: o A generic "sub-interface" identity that an interface identity defintion can derive from if it defines a sub-interface. o 3.1 The text says: E.g. in the case that the link state transition is suppressed then there is no change of the /if:interfaces-state/if:interface/oper-status or /if:interfaces-state/if:interfaces/last-change leaves for the interface that the feature is operating on. This should be: no change of the /if:interfaces/if:interface/oper-status or /if:interfaces/if:interfaces/last-change leaves for the interface that the feature is operating on. o 3.2 It took me some time to understand the dampening algorithm. Why is it important to talk about nominal values and that a device doesn't have to use 1000 as the penalty, as long as they scale the given values? Wouldn't it be easier to describe the algorithm w/o any nominal values, and then explain that an implementation is free to implement this algorithm in any way it wants (which of course is true for everything we do...) Otherwise, the text currently says: Implementations are not required to use a penalty of 1000 units in their dampening algorithm, but should ensure that the Suppress Threshold and Reuse Threshold values are scaled relative to the nominal 1000 unit penalty to ensure that the same configuration values provide consistent behaviour. Should "should" in this text be "SHOULD"? Or perhaps "MUST"? o 3.2.1 The text says: When the accumulated penalty reaches the default or configured suppress threshold, the interface is placed in a dampened state. The term "dampended state" occurs twice, in 3.2.1 and 3.2.3. It is not used in the YANG model. I suspect the leaf "suppressed" reflects this. Perhaps align naming. o 4 It would be useful with a sentence that describes the relationship to /if:interfaces/if:interface/if:phys-address. It seems that the mac-address leaf is useful when the mac address can be configured; otherwise if:phys-address should be sufficient, right? Should the mac-address leaf have a feature, or can we expect all implementations to support configurable mac addresses? o 4 You add a container 'statistics' under 'ethernet-like', so we have: +--rw interfaces +--rw interface* [name] ... +--ro statistics ... +--rw ethlike:ethernet-like +--ro ethlike:statistics ... Did you consider augmenting the container if:statistics instead? I think it can be useful to have all statistics in the same container in this case. o 7.2 Perhaps show the (related) 'if:oper-status' leaf as well. o 7.3 Perhaps show the (related) if:phys-address' leaf as well in the first and third examples. Before the second example, perhaps change: The following example shows an explicit MAC address being configured on interface eth0. to: The following example shows the intended configuration for interface eth0 with an explicit MAC address being configured. o YANG nits Both YANG modules list the WG chairs; we don't do that anymore. Both YANG modules have the IETF Trust Copyright statement, but not exactly as it should be (try: pyang --ietf and/or pyang --ietf-help) Many descriptions are full sentences w/o the ending ".". The reference in the revision statement should be changed to "RFC XXXX: <title>" /martin
- [netmod] WG Last Call: draft-ietf-netmod-intf-ext… Kent Watsen
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Acee Lindem (acee)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Acee Lindem (acee)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Vladimir Vassilev
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Vladimir Vassilev
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Balázs Lengyel
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Vladimir Vassilev
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Qin Wu
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Martin Bjorklund
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Martin Bjorklund
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Martin Bjorklund
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Martin Bjorklund
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Vladimir Vassilev
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Qin Wu
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Mahesh Jethanandani
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Qin Wu
- Re: [netmod] WG Last Call: draft-ietf-netmod-intf… Rob Wilton (rwilton)