[pim] draft-ietf-pim-igmp-mld-snooping-yang-01 comments

Stig Venaas <stig@venaas.com> Mon, 23 April 2018 22:05 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 D168B124B18 for <pim@ietfa.amsl.com>; Mon, 23 Apr 2018 15:05:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_DKIMWL_WL_MED=-0.01] 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 wWe5cDWAy3ig for <pim@ietfa.amsl.com>; Mon, 23 Apr 2018 15:05:50 -0700 (PDT)
Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (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 742AF1200B9 for <pim@ietf.org>; Mon, 23 Apr 2018 15:05:50 -0700 (PDT)
Received: by mail-wr0-x236.google.com with SMTP id v60-v6so45270849wrc.7 for <pim@ietf.org>; Mon, 23 Apr 2018 15:05:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=venaas-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=OIq/Ey9aFVS3QqNXu0dOHDlJDGseED+9jQ2ER+650QQ=; b=yPoaqSgPVmxAFL4TKa4nttUzJt/2ZYgdQgfpUys53b8JXrOYje0DawYgQa0VmT2N3m OGwS+bLcPv1/uT0ebMyYDjjUTGbzxSUXUSMl1Z8UIM9chzIPHt608SpEnxI77/emj/56 ECytZ1Hj43tpRJvaxNZANpJX1usVgOtqmVWtH5e+1Fccmj4s0x1lWFI1nzt7Zd+kLa9h 7IblOuHvFMHndToeCJvOiw6NbjqRfEBJUD3ajYDEd1I9M69t5nxubVwFvXuyEfznlDEM +8lYLEJfhgyptpDbGjeO3EJfoGAENhUJ14sURlx0oNjkDXYJvaqsgcXPDmXPFujTyOi7 bHJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OIq/Ey9aFVS3QqNXu0dOHDlJDGseED+9jQ2ER+650QQ=; b=p9PNUIsvAUAgqQU3gOdQ7Tp5TRNWDUT9QFYPH1QPRtT0i7YCyr9SWzOpAaXH8VSlZ0 5BSnDwrDGoEEKrrUMVrUnLMWPh1zmcttt2T2hRbj8Cvafi1dGF0w1ZqF+HuDhnJbKESo KZKSx5s2IP/usLYpplN/XNtj0F+KVqBU91LAtQGvl/0LDD4VF+5iJVWkrkmaHAlFoVFG +ZuWgGklWS5AdT1UBfsPGhgB9TDi5Fbx6f4NxGhn4ZCh7Ek1AIEyueiSQxKsRNmp6TwI O+mwKqzYO6YpHevw146JtonzcieN1AullkR3lH66W5Tu6LdOMOYgvphGrheNvVO10cHD P8vg==
X-Gm-Message-State: ALQs6tDLvuxX44u3AlubK3GXQxnEXml35J4J5b9RBGawvEaGRPfP0eg6 hrLihlAX6gOsmFutTXhsjDU9tawC6HamwDi21XiNvd07Gm8=
X-Google-Smtp-Source: AIpwx489MiUI2axicrdwKQM15zzjOVjjm4CHyB2jMUmT6dkaP9NLYqqppJbgPvSB3/RQo/GhN2EumSHod+eEuhEoPB0=
X-Received: by 10.80.131.7 with SMTP id 7mr28960707edh.263.1524521148805; Mon, 23 Apr 2018 15:05:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.190.132 with HTTP; Mon, 23 Apr 2018 15:05:48 -0700 (PDT)
From: Stig Venaas <stig@venaas.com>
Date: Mon, 23 Apr 2018 15:05:48 -0700
Message-ID: <CAHANBtKVjjakhy6DyYQ=4e_dJX-GzW1+-b1V9LFePC57g+BsWA@mail.gmail.com>
To: draft-ietf-pim-igmp-mld-snooping-yang@ietf.org, pim@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/VfgeJKG-IKoJzkZAkQ5oXyAVLuI>
Subject: [pim] draft-ietf-pim-igmp-mld-snooping-yang-01 comments
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 23 Apr 2018 22:05:53 -0000

Hi

After reading through the draft I have some comments.

The main comment I have is regarding the robustness variable. I see it
says the value must be in the range 2..7. But RFC 3376 does allow 1,
quote:

   The Robustness Variable allows tuning for the expected packet loss on
   a network.  If a network is expected to be lossy, the Robustness
   Variable may be increased.  IGMP is robust to (Robustness Variable -
   1) packet losses.  The Robustness Variable MUST NOT be zero, and
   SHOULD NOT be one.  Default: 2

Shouldn't this document, and also the IGMP-MLD model allow the value 1?

Below are various less important comments.


In section 2:
   The goal of this document is to define a data model that provides a
   common user interface to IGMP and MLD Snooping.  There is very
   information that is designated as "mandatory", providing freedom for
   vendors to adapt this data model to their respective product
   implementations.

It seems something is wrong with this sentence "There is very
information...". Are there some words missing?

In 2.1, I'm not sure what this sentence means:
   The YANG module includes IGMP and MLD Snooping instances
   definition, instance references in the scenario of BRIDGE, VPLS.
Note that in 2.3 it says "bridge, L2VPN".

In 2.1 it says "clearing the specified IGMP and MLD Snooping". I
think it should say something more, perhaps "IGMP and MLD Snooping
group tables".

In 2.1, 2 dots at the end "data modeling language..".

In 2.2, double space "to configure IGMP and  MLD".

In 2.2, maybe find a better way to phrase
"The attribute who could be read and written shows
configuration data."

Section 3 comments.

It says "fowarding" several places.

It says "Outgoing ac in l2vpn fowarding". Should "ac" be
"AC"? Same question regarding "pw". Also, should "mac"
be "MAC" in the descriptions? Also "l2vpn" should be
"L2VPN" I think.

It says "VSI" in one place. What is VSI?

"leaf require-router-alert", is it to set RA, and/or
requiring RA on received messages.

I think "The time after the device created L2 multicast record."
should be "The time elapsed since".

For last reporter it says "The last host address which has sent
the report"... It should say "address of the last host which has.."
or perhaps better "address of the last report received...".

What is the name/key used for a snooping instance? Can a user
choose an arbitrary name, or do implementations somehow decide
the name?

In many descriptions it says "IP address", but some places it
says "IPv4 address" or "IPv6 address". I think it is best to
include the version in the description when the leaf is for a
particular version.

Section 4 Security considerations probably need to be expanded. At the
least explain why no issues if that's the case.

Section 5 needs to be updated, there is some work for IANA.

Mahesh's affiliation and address need to be updated.

Stig