Re: [netmod] review of draft-acee-netmod-rfc8022bis-05

Ladislav Lhotka <lhotka@nic.cz> Tue, 07 November 2017 19:13 UTC

Return-Path: <lhotka@nic.cz>
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 6003C132031 for <netmod@ietfa.amsl.com>; Tue, 7 Nov 2017 11:13:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=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 HqMS-ZVfuiOF for <netmod@ietfa.amsl.com>; Tue, 7 Nov 2017 11:13:53 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id 55E1F13213D for <netmod@ietf.org>; Tue, 7 Nov 2017 11:13:52 -0800 (PST)
Received: by trail.lhotka.name (Postfix, from userid 109) id F03AB1820F7A; Tue, 7 Nov 2017 20:13:18 +0100 (CET)
Received: from localhost (unknown [172.29.2.111]) by trail.lhotka.name (Postfix) with ESMTPSA id 8E4021820F78; Tue, 7 Nov 2017 20:13:17 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Vladimir Vassilev <vladimir@transpacket.com>, "netmod@ietf.org" <netmod@ietf.org>
In-Reply-To: <4b313b03-73e2-1633-5936-4526ca67f820@transpacket.com>
References: <4b313b03-73e2-1633-5936-4526ca67f820@transpacket.com>
Mail-Followup-To: Vladimir Vassilev <vladimir@transpacket.com>, "netmod\@ietf.org" <netmod@ietf.org>
Date: Tue, 07 Nov 2017 20:14:55 +0100
Message-ID: <87y3nhaok0.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ftIjKj62UmWCPGxBvXV2Op5dR-Y>
Subject: Re: [netmod] review of draft-acee-netmod-rfc8022bis-05
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 07 Nov 2017 19:13:56 -0000

Vladimir Vassilev <vladimir@transpacket.com> writes:

> Hello,
>
> I have reviewed draft-acee-netmod-rfc8022bis-05. My conclusion is that 
> the YANG modules part of the draft have been successfully modified in 
> accordance with sec. '4.23.3 NMDA Transition Guidelines' of 
> draft-ietf-netmod-rfc6087bis-14. The modifications are coherent with the 
> ietf-interfaces@2017-08-17.yang module in 
> draft-ietf-netmod-rfc7277bis-00 and ietf-ip@2017-08-21.yang module in 
> draft-ietf-netmod-rfc7277bis-00.
>
> Vladimir
>
>
> Review of draft-acee-netmod-rfc8022bis-05.
> Vladimir Vassilev
> 2017-10-30
>
> 'Abstract':
> 'Introduction 1':
>   - Both Abstract and Sec 1. contain duplicated text which can be removed
> from Abstract. The text in Sec 1. can be simplified:
>
> OLD:
>     This version of these YANG modules uses new names for these YANG
>     models.  The main difference from the first version is that this
>     version fully conforms to the Network Management Datastore
>     Architecture (NMDA).  Consequently, this document obsoletes RFC 8022.
> NEW:
>     This version of the Routing Management data model supports the Network
>     Management Datastore Architecture (NMDA) 
> [I-D.ietf-netmod-revised-datastores].
>
>
> '7.  Routing Management YANG Module':
>
>   - Why should address-family identity be different e.g. mandatory 
> "false"; for system created RIBs? I think this needs some explanation 
> (Page 21):
>             ...
>             uses address-family {
>               description
>                 "Address family of the RIB.
>
>                  It is mandatory for user-controlled RIBs.  For
>                  system-controlled RIBs it can be omitted; otherwise, it
>                  must match the address family of the corresponding state
>                  entry.";
>               refine "address-family" {
>                 mandatory "false";
>               }
>             }
>             ...
>

Following the logic of RFC 8022, address-family has to be a mandatory
parameter for all RIB entries in <operational>, so there seems to be no
other choice than make it "mandatory true" in the schema, as NMDA only
has one schema for all datastores.

Lada

>   - Suggested change of 'base address-family;' -> 'base 
> rt:address-family;' for identity ipv4 and ipv6 (ref. 
> draft-ietf-netmod-rfc6087bis-14#section-4.2):
>
>      o The local module prefix MUST be used instead of no prefix in
>      all "default" statements for an "identityref" or "instance-identifier"
>          data type
>
> '8.  IPv4 Unicast Routing Management YANG Module' 
> (ietf-ipv4-unicast-routing@2017-10-14.yang):
> '9.  IPv6 Unicast Routing Management YANG Module' 
> (ietf-ipv6-unicast-routing@2017-10-14.yang):
>
>
>   - The ietf-ipv4-unicast-routing and ietf-ipv6-unicast-routing modules 
> import the ietf-routing without revision (ref. rfc6087#section-4.6):
>
>
>      o The revision-date substatement within the imports statement SHOULD be
>      present if any groupings are used from the external module."
>
>
> 'Appendix D. Data Tree Example':
>
>   - The example in the Appendix D. has not been updated and it must be 
> extended in order to demonstrate a usecase of operational datastore of 
> configuration data with different origin (intended, system, etc.) 
> similar to the 'Appendix C. Example Data' of 
> draft-ietf-netmod-revised-datastores-05.
>
>
> Nits:
>   - s/Figures 1/Figure 1/
>   - s/systemindependently/system independently/
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67