[RTG-DIR] RtgDir review: draft-ietf-pim-yang-12

"Adrian Farrel" <adrian@olddog.co.uk> Sat, 30 December 2017 15:12 UTC

Return-Path: <adrian@olddog.co.uk>
X-Original-To: rtg-dir@ietfa.amsl.com
Delivered-To: rtg-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 39770124205; Sat, 30 Dec 2017 07:12:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] 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 vmtRnZmnP8cR; Sat, 30 Dec 2017 07:12:39 -0800 (PST)
Received: from asmtp5.iomartmail.com (asmtp5.iomartmail.com [62.128.201.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB3C3120713; Sat, 30 Dec 2017 07:12:38 -0800 (PST)
Received: from asmtp5.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id vBUFCY9R018711; Sat, 30 Dec 2017 15:12:34 GMT
Received: from 950129200 ([193.57.120.171]) (authenticated bits=0) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id vBUFCW9l018701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 30 Dec 2017 15:12:33 GMT
Reply-To: adrian@olddog.co.uk
From: Adrian Farrel <adrian@olddog.co.uk>
To: rtg-ads@ietf.org
Cc: rtg-dir@ietf.org, pim@ietf.org, draft-ietf-pim-yang@ietf.org
Date: Sat, 30 Dec 2017 15:12:36 -0000
Message-ID: <010901d38180$a0f38ff0$e2daafd0$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AdOBgEavRPJMMLo6TiuYFJT/uCHC+w==
Content-Language: en-gb
X-TM-AS-MML: disable
X-TM-AS-Product-Ver: IMSS-7.1.0.1679-8.2.0.1013-23564.000
X-TM-AS-Result: No--9.005-10.0-31-10
X-imss-scan-details: No--9.005-10.0-31-10
X-TMASE-MatchedRID: eeUnDllZ99htcr/uuDMv3m7hbmASKcrpQPCWRE0Lo8LIvQIyugvKdVjt prj9/vncRTpdHYygurQZwn7DIQtGC+4dcT3ZaToc+L2GsArAgtofXzVgO0hVqrrfxlRjqBJ3FhM gncTYqySEffBdqJ9bt9Rb3Q9vGGb1vn+AFle5KGKvdf2B19ItZZFLUnnvueyBc8FZmOUzKzbaQG WiWaQYJbIA3x+6SpckQwwy/cd0phjjNn0Okk5VX0Zakoam9+aeQPCPzycuBFNZQ1dCoB0lh0rnK ix7t5mTvZLi5RQy1neE8bKqMVp+ntXQ2R27CZyz1N5tiqLHMguEQiKo28GuY1mmz7LVVfOpCWJo blTvUKL6HhZWpEMzZBJ9TPcQEwRYkiGg8AH+HIiTd7CJ8bYw01PgO2JKQydYjU56jjASCeHAeq5 888pQ6xe8J2RweKCoX4EEF3IhqZp1lZiYcaoZiMWUKBjERoYTERzrQ87nh6rVl0v7E9KhhqtdBZ swv8LDTc03k8m3BJHHZ8+jv0CzYPAvve5vrq0sffXtKyM+c+s5vvch9MIrZCJCNKaWd/XP+5i5n 31cQPEoAnd0YbrN34rmmltxTGj+D0VXqQ1iI8fi3aa5wOREES5RABfuDLQM0KaJBUk7woBL5V27 T2utfEyRraHfqQCMTIwiaSLSwPi0/JWJqIoqppmug812qIbzs+SyIdviDnwWoS+vMj3A25VDZsT 0rYWCu7bTkgebPnOnqW3VSGf5d01+zyfzlN7y/sToY2qzpx7dB/CxWTRRu25FeHtsUoHusE5hry JgQ0K4HbZc57xyxN26p7lrRwNamPcGcL81GZzrpcchznD6Bw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-dir/na2Zw6-CCOzTYEpI2G2A058cmyo>
Subject: [RTG-DIR] RtgDir review: draft-ietf-pim-yang-12
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Area Directorate <rtg-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-dir/>
List-Post: <mailto:rtg-dir@ietf.org>
List-Help: <mailto:rtg-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Dec 2017 15:12:41 -0000

Hello, 

I have been selected as the Routing Directorate reviewer for this draft. The
Routing Directorate seeks to review all routing or routing-related drafts as
they pass through IETF last call and IESG review, and sometimes on special
request. The purpose of the review is to provide assistance to the Routing ADs.
For more information about the Routing Directorate, please see
http://trac.tools.ietf.org/area/rtg/trac/wiki/RtgDir 
Although these comments are primarily for the use of the Routing ADs, it would
be helpful if you could consider them along with any other IETF Last Call
comments that you receive, and strive to resolve them through discussion or by
updating the draft. 

Adrian

Document: draft-ietf-pim-yang-12.txt 
Reviewer: Adrian Farrel
Review Date: 2017-12-30
IETF LC End Date: date-if-known 2017-12-22
Intended Status: Standards Track

==Summary:==

Sorry that this review comes after last call, but the request only reached me on
2017-12-27

I have some minor concerns about this document that I think should be resolved
before publication. 

==Comments:==

This document supplies a collection of YANG modules to configure and monitor a
PIM implementation. The separate modules are intended to make it possible to
operate an implementation that uses only a subset of the features of the
protocol.

This is good work. A relatively easy read despite combining YANG and PIM in one
document.

I would note that it has been a long time since I last looked at PIM, and I was
never an expert. I am also not a YANG expert.

Ultimately the test of this sort of work is to know that it has been
implemented and successfully used to control/operate PIM devices.
The information at https://trac.ietf.org/trac/pim/wiki/yang is a 
good start although does not appear to show wide support for all the
objects in this model.

==Major Issues:==

I expected to see defaults defined in the modules. 2.4 says...
>  Where fields are not genuinely essential to protocol operation, they
>  are marked as optional.  Some fields will be essential but have a
>  default specified, so they need not be explicitly configured.
...which is a strong hint that there should be some defaults, but a
search for the "default2 statement turns up none.

Now, if I look at 7761 (which, surprisingly, I did) I see statements
like...
>  The DR Priority option allows a network administrator to give
>  preference to a particular router in the DR election process by
>  giving it a numerically larger DR Priority.  The DR Priority option
>  SHOULD be included in every Hello message, even if no DR Priority is
>  explicitly configured on that interface.  This is necessary because
>  priority-based DR election is only enabled when all neighbors on an
>  interface advertise that they are capable of using the DR Priority
>  option.  The default priority is 1.
...which is a stronger hint that there should be a least one default
available for the configuration of the local DR priority.

==Minor Issues:==

The introduction could use a citation of RFC 7761.

---

typedef pim-mode has an enum called "other". AFAICS there is no mention
of other modes anywhere else in the document. It might be good to flesh
the description out a little and/or add text to the overview (maybe
2.4?).

---

DR priority is optional on Hello messages. 7761 ss 4.3.2 notes that 
"the following information about the sending neighbor is recorded" and
lists (as well as dr_priority) dr_priority_present which it describes as
"A flag indicating if the DR Priority field was present in the Hello
message."

I can't see how that piece of information is accessed in this model.

==Nits:==

The Document Shepherd write-up will need to explain why >5 front page
authors

---

The document title needs correct capitalisation.

---

Please choose and consistently hyphenate "Protocol Independent
Multicast"

---

Section 1
Your wording...

> YANG [RFC6020] [RFC7950] is a data definition language

...is unusual. Normally say it is a "data modeling language". That is
how 7950 describes YANG.

---

Please fix capitalisation in section headings

---

3.4 and 3.5 you have "This module will cover..."
You should probably use "This module covers..."