Re: [pim] draft-ietf-pim-yang-02 WGLC

Stig Venaas <stig@venaas.com> Fri, 16 September 2016 21:27 UTC

Return-Path: <stig@venaas.com>
X-Original-To: pim@ietfa.amsl.com
Delivered-To: pim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C113312B339 for <pim@ietfa.amsl.com>; Fri, 16 Sep 2016 14:27:30 -0700 (PDT)
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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=venaas-com.20150623.gappssmtp.com
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 186_AEfW0maY for <pim@ietfa.amsl.com>; Fri, 16 Sep 2016 14:27:29 -0700 (PDT)
Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (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 40E6412B00C for <pim@ietf.org>; Fri, 16 Sep 2016 14:27:28 -0700 (PDT)
Received: by mail-lf0-x22f.google.com with SMTP id h127so74946872lfh.0 for <pim@ietf.org>; Fri, 16 Sep 2016 14:27:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=venaas-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tIw+1rCRtxrPtuwWGkv404+BRfQNykHwHv4BurgUyR8=; b=ruFGDbiRnbTNAv68ypfI5T6ficpsSW2ZNJewQlXsZSy7iJl9ci0tzDgYrSIw1ZyX/h KENaqvPyQ7IVt0dLTjI2Bw3R+6E+lt9JdwrrJVf3pPQwYZEAjC0gq23sDbq07gpZGUlV p7V4UZrq+7+hgZwG2YVSK3WyV90++tUz2mhY8RAm3DodiGd8S96BFdM0Wfi9A3lTVakq jLkDn3tdgfRV93JYUMOf68S+NOjisfKuB7FMV1vBfD4bJ/2oXPYBAxge1lxNlDpm/Vcr rEhURcy/AtFkVvJE45c9JL1PPXr0UkTzt0fMc2ul0RGK9XEtwJVBO8gUdTEqDKIDrrI+ rFQg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tIw+1rCRtxrPtuwWGkv404+BRfQNykHwHv4BurgUyR8=; b=T0B7UM13mdxyfcazItWBdtexBTDoTAwvSXxH4W2x6qGZJ7q/bZL82R2i2EGGwTHsWE pv+5l5ihtGEyxStWHqfi10wDeVr+92YvFYt+0Uhq4j+7uYg9EDg1uoWKMTyG4pdIY8fi bZ4ooQADfL9HQz0dP+kDmFjbbKNWT6AkHpc8BAAFY1VepcyZC1PxsbzugtGNw42Ymu8h gOTSDdP+qgIp+q4yhyuuCAHsClO4pfubt3VmrGBHt5SLaUxMhhleB+IjuSoPESgiaqj8 0Lhn77hdVIl/cb9FGO0iOIuOn3HjZZzZ0aVI7MGDcIQCPGSZDcqb8svKXw3Gj2vei7bg JqTQ==
X-Gm-Message-State: AE9vXwMej3xiFm36sZG0JqLR7n6ohWanyfS4D9FmVUdzxNKRswwza2A4kEUVNujybapEwAfHQfAyA6CTwdO2nQ==
X-Received: by 10.25.29.85 with SMTP id d82mr7087342lfd.60.1474061246210; Fri, 16 Sep 2016 14:27:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.28.15 with HTTP; Fri, 16 Sep 2016 14:27:25 -0700 (PDT)
In-Reply-To: <CAHANBtKshRW3KU34gjSNoOjswhy9TVm4KXxRPFRCo=HZ1wGCrQ@mail.gmail.com>
References: <8CCB28152EA2E14A96BBEDC15823481A09FBC8FB@dfweml501-mbx> <CAHANBt+GKCUhhZH1NCERq6R5+KbkppUJ6oBK2OAKmGEB2osq-A@mail.gmail.com> <CAHANBt+k3AZoaLPgX1QmJ0eg-rZ6oMkAgepX6o8yL4inXXfj2g@mail.gmail.com> <02c701d201fc$6b2b4570$4181d050$@gmail.com> <8CCB28152EA2E14A96BBEDC15823481A09FDDE32@dfweml501-mbx> <007401d20940$61edff70$25c9fe50$@gmail.com> <CAHANBtKshRW3KU34gjSNoOjswhy9TVm4KXxRPFRCo=HZ1wGCrQ@mail.gmail.com>
From: Stig Venaas <stig@venaas.com>
Date: Fri, 16 Sep 2016 14:27:25 -0700
Message-ID: <CAHANBtLL8ancAkoLsjsxSFiG0GA91jZXw7xDPOdbXdwmnkVPEw@mail.gmail.com>
To: Xufeng Liu <xufeng.liu.ietf@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/jm6i8f9MK8ILHvK8RB9hsr8VNNE>
Cc: "pim@ietf.org" <pim@ietf.org>
Subject: Re: [pim] draft-ietf-pim-yang-02 WGLC
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Protocol Independent Multicast <pim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pim>, <mailto:pim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pim/>
List-Post: <mailto:pim@ietf.org>
List-Help: <mailto:pim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pim>, <mailto:pim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Sep 2016 21:27:31 -0000

Hi

I now took some time to review the draft more carefully. Here are
comments in addition to what I posted earlier for the WGLC.

First some potential issues with the models.

I see for hello-interval, jp-interval etc. the data type is
timer-value which can also be infinity and no-expiry. Isn't
this type to be used for something counting down? These intervals
would always be some number of seconds and won't change unless the
configuration changes.

Also I see the PIM-SM spec calls them periods, like hello-period
and jp-period. So maybe those names would be better?

I also see "expiration" is usually timer-value, but I see for
the multicast-route-attributes we have expiration that is uint32.
2.1

In the BSR model I see:

leaf hash-mask-length{
           type uint8 {
             range "0..32";
           }

The length can be larger for IPv6.

It might be useful to add some text explaining what the multipliers do.
I know some implementations use this concept, but it is not in any IETF
documents that I know. So good to explain it somewhere in this document.


The issues below are more minor.

   The model covers PIM Sparse Mode [RFC4601], including the Source-
   Specfic subset [RFC3569], Dense Mode [RFC3973], and Bi-directional
   PIM [RFC5015].

Typo "Specific"

   The PIM extensions represented in the model include BSR [RFC5059] and
   Anycast RP [RFC4610].

I think it should say "Anycast-RP".

The language in these paragraphs in 2.1 seems to say that this is still
work in progress, and should probably be changed a bit. The last
paragraph is mostly ok, but I think it should say "specified in separate
documents", rather than "future Internet Drafts".

2.4 starts with the words "The current draft". It should perhaps say
"This document".

What to do with section 3? You probably should change the language a
bit, and also not have a TODO list. You could perhaps make it talk about
the scope of the model, limitations, and what is left out?

In 4.1 you need to replace "our current direction" with some other
language. Maybe some of the text can be removed.

In 4.3 it says "ipv6-anycast-rip" in 2 places. Also 2 places it says
"range-poligy".

In 4.5 I see a couple of "offer-multipler".

For all these typos, please search and look for additional occurrences.
I see "multipler" several places in 5.1 too.

In 5.1 it says a couple of places"configuraiont". Also in description
of DR priority, perhaps capitalize DR.

Also I see a "list neighbor-ipv4", where it should be ipv6.

In the descriptions it says "address family" in some places, and "af"
other places. Maybe try to make it consistent. Consider "AF" instead of
"af"?

"The number of bsr messages" should have BSR capitalized.

Some places in 5.2 it says "Gouring".

I think it should say "IPv4" and "IPv6" in the descriptions, rather
than "ipv4 and ipv6". I see both used.

In 5.3, I think you should capitalize RPT, SPT and DR in the
descriptions. Also I see a description where it says "Spars Mode". I
see various ways of writing IPv4 and IPv6 in the descriptions. I think
they should be written like I just did. It says "Gouping" a few places.

In the description of passive it says:
            "Specifies that no PIM messages are sent out of the PIM
             interface, but the interface can be included in a multicast
             forwarding entry.";
Doesn't it also mean that no PIM messages are accepted?

In 5.5 there are two descriptions ending with "..". I also see some of
the same issues as mentioned above. Capitalization and typos like
"gouping" and "multipler".

Section 7
Please try to think if there could be any issues.

Section 8
I'm not sure if there are IANA considerations. If there are none, then
write that.

The 4601 reference should be updated to RFC 7761.

Stig