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

Stig Venaas <stig@venaas.com> Tue, 24 April 2018 19:47 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 A10C512D87B for <pim@ietfa.amsl.com>; Tue, 24 Apr 2018 12:47:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.609
X-Spam-Level:
X-Spam-Status: No, score=-2.609 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable 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 6PGuCxZd52BS for <pim@ietfa.amsl.com>; Tue, 24 Apr 2018 12:47:11 -0700 (PDT)
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::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 1D3D712D879 for <pim@ietf.org>; Tue, 24 Apr 2018 12:47:11 -0700 (PDT)
Received: by mail-wm0-x22f.google.com with SMTP id j4so3309863wme.1 for <pim@ietf.org>; Tue, 24 Apr 2018 12:47:11 -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:content-transfer-encoding; bh=pGNBAwglyIxbIzAwpeqiE2Nh1T1vHvb7qBzlm1e+zp4=; b=RbVIjKDax1FstgEzSkZDLQ2V/ZfaIEYn54Yv6MLMPUnWt7Ey/xanRpaDm7Oz/ZAYXn TP7+6je58waLAmzSoeaayuwak4o8RGyLcFrTUnIXTLq3PYJ3z6W7doLw2n5CNHqXGh0c 2nI2OJGdjKhWSBqIR6hLx7+sJHqkD5fHA/vqSGTnlN0z797OmsTs4FUadrEZ0MDTxejY oUVM2553HnUcveXTQH/efH4xpReKtyrGJe0d/Uei4lXxzTPtMyBj8+QrGJXBVwNWG4XM biu3GRSefJ3iUwClfoo33kuCcRXE+C/ztgjch6HsfUS49E3gATtBkREGHTFLG/H+GeZJ DctA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=pGNBAwglyIxbIzAwpeqiE2Nh1T1vHvb7qBzlm1e+zp4=; b=ANyY8lSelJsdkyxAOdHsTzdxRMaCYe7fLS7hLUi6H0+bbAW5EqkFAXG5RIPPEyk+nb J2ncGbU8PZsLAah1eWaM3iuTXq31oXBwc7gUKfiNro8VcI3bb1LaCZWdC4uS9ljaWV22 dgYDM9a+Jd6qoXlwQR7bDVP7EnBkHqdnYdoWWRdz18vtmGihMpT8PE3HsfVsh4++D5aa yudqvu0TGSk27zJjEgNOO4GShDkLw1jQ51wwkplCuRt+65hRwMOESC7XxonPdJmQA/QB /6xMP8uYPiasmZCv+7wWmU6pRKY6Wwgt6s/mPfTnl8OMSW8egPb4IZ4FEE9MedpJt/jR LT6w==
X-Gm-Message-State: ALQs6tDksATWHc8gb8PCF5BjUjwbuoPuxD1L+NBJ/X1gy77MEVdvL7Dp Lgu1VfFacZaeuSsGuo3TomSdoMRPJHxDGQWKUD/Utg==
X-Google-Smtp-Source: AIpwx4+Dkg675s02G9/k2DDWkzrxkvqdya8SwZGgtN9KQdtGzJwoo1LWrU9T4wt2pLUMfftWLaxxIu9uZtFSADt17IA=
X-Received: by 10.80.235.65 with SMTP id z1mr34792832edp.154.1524599229432; Tue, 24 Apr 2018 12:47:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.80.190.132 with HTTP; Tue, 24 Apr 2018 12:47:09 -0700 (PDT)
In-Reply-To: <VI1PR0701MB1774CDBB5280DCD7895A471396880@VI1PR0701MB1774.eurprd07.prod.outlook.com>
References: <VI1PR0701MB1774CDBB5280DCD7895A471396880@VI1PR0701MB1774.eurprd07.prod.outlook.com>
From: Stig Venaas <stig@venaas.com>
Date: Tue, 24 Apr 2018 12:47:09 -0700
Message-ID: <CAHANBtLSRc8RgNqJ1GNrEr2fScdHhkt50ica4Q+0OKB7zx-2xQ@mail.gmail.com>
To: Hongji Zhao <hongji.zhao@ericsson.com>
Cc: "draft-ietf-pim-igmp-mld-snooping-yang@ietf.org" <draft-ietf-pim-igmp-mld-snooping-yang@ietf.org>, "pim@ietf.org" <pim@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/2XV4hVfl0yOQMG1xnBFlTjdytKs>
Subject: Re: [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: Tue, 24 Apr 2018 19:47:14 -0000

Hi

Thanks, I do think it should be 1..7 since 1 is a valid value. It
would have been different if the RFC said MUST NOT.

Thanks for making this and other changes. I hope the same change can
be made in the IGMP/MLD (not snooping) model.

Stig


On Mon, Apr 23, 2018 at 7:59 PM, Hongji Zhao <hongji.zhao@ericsson.com> wrote:
> Hi Stig,
>
> Thanks a lot for your comments.
>
>
>
> Regarding your main comment about the robustness variable. I have checked
> the RFC 3376
>
>
>
> Quote:
>
> 8.1. Robustness Variable
>
> 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   ------------------------Here it says the
> value should not be one. So I set the range for the robustness variable
> between 2 and 7.  I will modify the range to 1..7. Is it ok?
>
>
>
>
>
> I will check other comments and revise the draft later on.
>
>
>
>
>
> BR/Hongji
>
> 赵宏吉
>
>
>
> -----Original Message-----
> From: Stig Venaas [mailto:stig@venaas.com]
> Sent: Tuesday, April 24, 2018 6:06 AM
> To: draft-ietf-pim-igmp-mld-snooping-yang@ietf.org; pim@ietf.org
> Subject: draft-ietf-pim-igmp-mld-snooping-yang-01 comments
>
>
>
> 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
>
>
>
>
>
> BR/Hongji
>
> 赵宏吉
>
>