[yang-doctors] Yangdoctors last call review of draft-ietf-netconf-nmda-netconf-03

Ebben Aries <exa@juniper.net> Fri, 23 February 2018 00:01 UTC

Return-Path: <exa@juniper.net>
X-Original-To: yang-doctors@ietf.org
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id B5F7812E873; Thu, 22 Feb 2018 16:01:16 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Ebben Aries <exa@juniper.net>
To: yang-doctors@ietf.org
Cc: ietf@ietf.org, draft-ietf-netconf-nmda-netconf.all@ietf.org, netconf@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.72.3
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <151934407669.22591.51198627609392228@ietfa.amsl.com>
Date: Thu, 22 Feb 2018 16:01:16 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/JT2EMRETWHakWeSnAkRiTgHaY5Y>
Subject: [yang-doctors] Yangdoctors last call review of draft-ietf-netconf-nmda-netconf-03
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 23 Feb 2018 00:01:17 -0000

Reviewer: Ebben Aries
Review result: Almost Ready

1 module in this draft:
- ietf-netconf-nmda@2018-02-05.yang

YANG validation errors or warnings (from pyang 1.7.3 and yanglint 0.14.69)
- ietf-netconf-nmda@2018-02-05.yang:171: warning: RFC 6087: 4.10,4.12:
  statement "enum" should have a "description" substatement (From pyang 1.7.3)

0 examples are provided in this draft (section 3.12 of
draft-ietf-netmod-rfc6087bis-18)

Module ietf-netconf-nmda@2018-02-05.yang:
- Note: For the following imports, there are no references to the supporting
  documents as suggested in rfc6087bis however this item is currently under
  discussion on both usefulness/possible formatting
  - import "ietf-yang-types" should reference RFC 6991 per (not as a comment)
    https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-18#section-4.7
  - import "ietf-inet-types" should reference RFC 6991 per (not as a comment)
    https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-18#section-4.7
  - import "ietf-datastores" should reference I-D.ietf-netmod-revised-datastores per
    https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-18#section-4.7
  - import "ietf-origin" should reference I-D.ietf-netmod-revised-datastores per
    https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-18#section-4.7
  - import "ietf-netconf" should reference RFC 6241 per
    https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-18#section-4.7
  - import "ietf-netconf-with-defaults" should reference RFC 6243 per
    https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-18#section-4.7
- Module description, revision and feature definition should contain note to
  RFC Ed. to change placeholder reference to RFC when assigned
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-18#appendix-C
- Security Considerations looks good and is adjusted to account for NETCONF
  only as well as addressing the additional RPCs introduced
- L82: suggested replacement of text:
  s/, i.e., the filter criteria are logically ANDed/. Multiple filters are
  processed as a logical AND operation/
- L127: suggested replacement of text:
  s/then the get-data/the get-data/


General comments/nits on draft text:
- As mentioned above, there are 0 examples in this draft.  There should be XML
  RPC examples of the 2 newly defined RPCs as well as usage examples of the
  augments of RFC6241 RPCs
- :with-origin    urn:ietf:params:netconf:capability:with-origin:1.0
  Wouldn't it make more sense to have this URN defined in
  I-D.ietf-netmod-revised-datastores rather?  In addition, should this
  capability and feature be rather defined as 'origin' in the 'ietf-origin'
  module?  As defined today, this feature is used as a clause for
  'origin-filter' as well as 'with-origin' inputs to get-data however these
  inputs appear to be mutually exclusive.
  IMHO, this should be detached from this specific draft which focuses on
  NETCONF specific base extensions for datastores as the returning and
  filtering of origin metadata can be transport independent.
- L308: suggested replacement of text:
  s/parameter is optional to support/parameter is optional and dependant off
  of the servers support for the 'origin' feature/ (dependant off the previous
  comment)
- L320: "ietf-netconf-nmda" (see Section 4). - This should be an actual
  reference as in line #306
- L345: "default-operation" parameter of the <edit-config> operation - This
  should at a bare minimum call reference to the appropriate section in
  RFC6241
- To the previous point, since there is a large amount of reference and
  comparison to RFC6241 definitions, any references should be tagged
  appropriately