Re: [i2rs] Yangdoctors early review of draft-ietf-i2rs-yang-l3-topology-10

"Alexander Clemm" <ludwig@clemm.org> Wed, 26 July 2017 15:05 UTC

Return-Path: <ludwig@clemm.org>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03B32131CCE; Wed, 26 Jul 2017 08:05:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.421
X-Spam-Level:
X-Spam-Status: No, score=-1.421 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_HELO_PASS=-0.001] 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 tBotZvw5sSIT; Wed, 26 Jul 2017 08:05:44 -0700 (PDT)
Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) (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 2503512EC4B; Wed, 26 Jul 2017 08:05:43 -0700 (PDT)
Received: from LAPTOPR7T053C2 ([73.71.191.170]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Lu5Nw-1dkiuo26ac-011SBw; Wed, 26 Jul 2017 17:05:24 +0200
From: Alexander Clemm <ludwig@clemm.org>
To: 'Susan Hares' <shares@ndzh.com>, 'Ladislav Lhotka' <lhotka@nic.cz>, yang-doctors@ietf.org
Cc: i2rs@ietf.org, ietf@ietf.org, draft-ietf-i2rs-yang-l3-topology.all@ietf.org
References: <150105874813.26401.2245891817517041568@ietfa.amsl.com> <00a001d3060c$46a59fb0$d3f0df10$@ndzh.com>
In-Reply-To: <00a001d3060c$46a59fb0$d3f0df10$@ndzh.com>
Date: Wed, 26 Jul 2017 08:05:22 -0700
Message-ID: <00d801d30620$9bdabc40$d39034c0$@clemm.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQGgyIYTdDwZMCgA10mmEvcrPTJMKQHDDQmJoryT4pA=
Content-Language: en-us
X-Provags-ID: V03:K0:TTGj6OEAkjE2b4wnEJKt27UfFNsSrq2nZgWAWHS2uVeE8Pq6cXw VBjQvLYUvlbCDJnmHjpj7UWwaKaqes9qsnHlZuH2SGqYDcV0unyFfm1EI2S53CgGjV/F14C zxqHVLWJrTkRwI+fc50iouH8tms/3GViCY7c91YC1s81UeSpf2gXGcRzD1nlW4S6jVkSAaJ MZtN+v0voszzKlsm1n7xw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:+EVNTqawu88=:9Vrhz3tvvO/tdg2MRYdVDe sH9+VyadfzlSmhd6FS/u7HyubGjTryy9QyjpmYtHL8htMXDQmRDqsyD/BjdKj4O9lRUGK8Fmb MmCV7SImEVS4k684jXoUQ7keJH1rC+C/G1Yopgnf1boZAqLTnW4DEI+pbfj7KrqwX2ao5f41R DZ25vhg5hqzjc/QaURzpuDFI5UjL/KZ+EUe2GROJpfeWxcyLmdrkROVbKTWHGcBcdbyOJMZ2m bT9OofUZ6iRlvuz/Xu9o74ed++6PlV6h0Ef/Bcuz46DAxQ9p4ABM8Tt35+DMgFe2b4w8BgnlO nXb9cqD+0V421sfaxVLmAm2Xa7PIFsKlp+3U8Uz8P0EXa0v81D6p0lmZaAgXPgbCljj7a3/2r rhb/ZTyofV8Rgcq9qOZnCgvkGSLqHdTRYzwPvS+MVip16/zdv+79UTEw8WatnidKH9Ij4AChD 5RSldNbsDTwxJHLPOAHFlvIfk5YzY3E4jqPJkhXsq6si8vhmUNxX1d4QVaHhDam9c++Qj2wr8 kyqjMY1me26WIN3ZZlYf8PHF13LLBvJyb+x6Ds68AXPGEqcaCYAOnXZrkGbjf/CaOSoPHZC1d MBN3IpRlhWEKKZ4IzKKVSqEuAHS/2VMurfrSnrZjnB3Kgx5yKrXlqTq7J7qCMGHZN1A2hiVCV thStbb4B5HeQ/TuUH7GF6a6sF4+XA2FNZy2q04w2QD5QdA5t5r498yPrk0e18ESzQSHdWgJNp HHwOvl3+yb5TR6u8NLZDBXbTlT6NQ21XY5iBPdickdCvXlRp1Ji6CUmIfbY=
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/3YpOpjlR6WIMhN4Jvvgh2SowCI0>
Subject: Re: [i2rs] Yangdoctors early review of draft-ietf-i2rs-yang-l3-topology-10
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Jul 2017 15:05:46 -0000

Hello Lada,

Thank you very much for your detailed review.   Will plan to update the
draft over the coming two weeks or so (as I may be taking a few days off).
Most of the comments should be reasonably straightforward to accommodate.
However, I do have comments regarding #1 and #4.  

On #1 (presence containers vs identities).  Unless you feel very strongly
about this, we would prefer to keep this as is, not revert to identities.
This node is subject to quite a few "when" condition checks (when it comes
to topology-specific augmentations) which are very simple this way.
Changing this makes the conditions more complex and has ripple effects
through dependant modules.  Note that a topology can have multiple types; a
single leaf with identity would not be sufficient, it would need to be a
leaf-list.  On #4, (URIs) we had multiple discussions in the past but have
always come back to that; I would prefer to not change this at this point.
Please note that the model is implemented and deployed today, e.g. in Open
Daylight.  
 
Thanks
--- Alex

-----Original Message-----
From: i2rs [mailto:i2rs-bounces@ietf.org] On Behalf Of Susan Hares
Sent: Wednesday, July 26, 2017 5:40 AM
To: 'Ladislav Lhotka' <lhotka@nic.cz>; yang-doctors@ietf.org
Cc: i2rs@ietf.org; ietf@ietf.org;
draft-ietf-i2rs-yang-l3-topology.all@ietf.org
Subject: Re: [i2rs] Yangdoctors early review of
draft-ietf-i2rs-yang-l3-topology-10

Lada:

Thank you for reviewing the draft with such a careful eye to now and the
future.  Please look for a response from Alex within a few days, .

Sue 

-----Original Message-----
From: Ladislav Lhotka [mailto:lhotka@nic.cz] 
Sent: Wednesday, July 26, 2017 4:46 AM
To: yang-doctors@ietf.org
Cc: i2rs@ietf.org; ietf@ietf.org;
draft-ietf-i2rs-yang-l3-topology.all@ietf.org
Subject: Yangdoctors early review of draft-ietf-i2rs-yang-l3-topology-10

Reviewer: Ladislav Lhotka
Review result: Ready with Issues

This YANG module and I-D belong to an extensible suite of data models
addressing multi-layered network topology. It is an interesting, even if
somewhat atypical, application of YANG.

The entire network topology suite seems well thought out, and it is apparent
that the document has already undergone several rounds of discussions and
iterations. It is also positive that the document deals with possible
overlaps with other YANG modules such as ietf-interfaces or ietf-hardware.
Of course, an ultimate acid test of the network topology suite will come
with applications to real-life network.

My review below raises several issues that need to be addressed (especially
#1). Some of them are related to design decisions described in
draft-ietf-i2rs-yang-network-topo. Apart from that, I believe the document
is ready to be published.

*** Comments to draft-ietf-i2rs-yang-network-topo-14:

1. With YANG 1.1, the network type information looks like a perfect
   candidate for identities (with multiple inheritance). Instead, it
   is modelled with presence containers, which is cumbersome and
   redundant. I don't see any reasons for doing so, if there are any,
   then they should be explained in sec. 4.4.8.

2. The document defines "supporting network" and then says "A
   supporting network is in effect an underlay network." In the
   subsequent text "underlay network" is used almost exclusively. So
   perhaps the term "supporting network" should be dropped altogether?

3. The text should be better aligned with the terminology of
   draft-ietf-netmod-revised-datastores. In particular,
   "system-controlled" should be used instead of "server-provided".

4. Is it necessary to use URIs for identifying all objects in the
   data model. URIs are difficult to use, so applications are likely
   to introduce some abbreviations and keep an internal mapping, which
   could cause problems, e.g. when matching objects in notifications
   with a GUI representation. In my view, it should be sufficient to
   use URIs for network-id and plain strings for other IDs, because
   all other objects are encapsulated inside a network, so their name
   conflicts shouldn't matter.

*** Comments to draft-ietf-i2rs-yang-l3-topology-10

5. The type of "router-id" should be "yang:dotted-quad" and not
   "inet:ip-address" because the latter means both IPv4 and IPv6
   address, possibly also with a zone index.

6. Both prefix and link attributes include the "metric" parameter. It
   should be explained what they mean. In the context of ietf-routing
   the option of including "metric" as a general route parameter was
   discussed and finally rejected because different routing protocol use
   metrics with different semantics and properties. I wonder if it is
   the same case here. 

*** Formal issues and typos

7. Both documents should refer to draft-ietf-netmod-yang-tree-diagrams
   rather than describe the notation of tree diagrams in the text.

8. Sec. 7 in draft-ietf-i2rs-yang-l3-topology-10: s/moodel/model/



_______________________________________________
i2rs mailing list
i2rs@ietf.org
https://www.ietf.org/mailman/listinfo/i2rs