Re: [pim] Benjamin Kaduk's Discuss on draft-ietf-pim-igmp-mld-snooping-yang-17: (with DISCUSS and COMMENT)

Benjamin Kaduk <kaduk@mit.edu> Tue, 14 July 2020 03:39 UTC

Return-Path: <kaduk@mit.edu>
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 F29FB3A091D; Mon, 13 Jul 2020 20:39:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 aMudWtBWvDfT; Mon, 13 Jul 2020 20:39:40 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 83AA13A0916; Mon, 13 Jul 2020 20:39:39 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 06E3dW1f007830 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jul 2020 23:39:34 -0400
Date: Mon, 13 Jul 2020 20:39:31 -0700
From: Benjamin Kaduk <kaduk@mit.edu>
To: Hongji Zhao <hongji.zhao@ericsson.com>
Cc: The IESG <iesg@ietf.org>, "draft-ietf-pim-igmp-mld-snooping-yang@ietf.org" <draft-ietf-pim-igmp-mld-snooping-yang@ietf.org>, "pim-chairs@ietf.org" <pim-chairs@ietf.org>, "pim@ietf.org" <pim@ietf.org>, Stig Venaas <stig@venaas.com>, "aretana.ietf@gmail.com" <aretana.ietf@gmail.com>
Message-ID: <20200714033931.GB16335@kduck.mit.edu>
References: <159430697358.25000.8158144534647796320@ietfa.amsl.com> <HE1PR0701MB2492D5A57C9E2A8EE0F4258696610@HE1PR0701MB2492.eurprd07.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <HE1PR0701MB2492D5A57C9E2A8EE0F4258696610@HE1PR0701MB2492.eurprd07.prod.outlook.com>
User-Agent: Mutt/1.12.1 (2019-06-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/dXgFGIuvca-Vtkt_Fu-gHRgnkao>
Subject: Re: [pim] Benjamin Kaduk's Discuss on draft-ietf-pim-igmp-mld-snooping-yang-17: (with DISCUSS and COMMENT)
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.29
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, 14 Jul 2020 03:39:42 -0000

Hi Hongji,

Yes, that looks like it will work quite well in terms of indicating what
behavior will result.  (I do not have enough YANG experience to comment on
whether this usage of a "type empty" is conventional, but trust that the
responsible AD will get additional review if needed.)

Thank you,

Ben

On Tue, Jul 14, 2020 at 03:04:49AM +0000, Hongji Zhao wrote:
> Hi Benjamin,
> 
> Thanks a lot for your comments. 
> 
> Regarding your discuss,  we plan to modify exclude-lite leaf as below. 
> Is it ok? Thanks.
> 
> leaf lite-exclude-filter {
>       if-feature lite-exclude-filter;
>       type empty;
>       description
>            "For IGMP Snooping, the presence of this
>             leaf enables the support of the simplified EXCLUDE filter 
>             in the Lightweight IGMPv3 protocol, which simplifies the
>             standard versions of IGMPv3.
>             For MLD Snooping, the presence of this
>             leaf enables the support of the simplified EXCLUDE filter
>             in the Lightweight MLDv2 protocol, which simplifies the
>             standard versions of MLDv2.";
>       reference
>            "RFC 5790: Lightweight Internet Group Management Protocol
>             Version 3 (IGMPv3) and Multicast Listener Discovery
>             Version 2 (MLDv2) Protocols";
>     }
> 
> BR/Hongji
> 
> -----Original Message-----
> From: Benjamin Kaduk via Datatracker <noreply@ietf.org> 
> Sent: Thursday, July 9, 2020 11:03 PM
> To: The IESG <iesg@ietf.org>
> Cc: draft-ietf-pim-igmp-mld-snooping-yang@ietf.org; pim-chairs@ietf.org; pim@ietf.org; Stig Venaas <stig@venaas.com>om>; aretana.ietf@gmail.com; stig@venaas.com
> Subject: Benjamin Kaduk's Discuss on draft-ietf-pim-igmp-mld-snooping-yang-17: (with DISCUSS and COMMENT)
> 
> Benjamin Kaduk has entered the following ballot position for
> draft-ietf-pim-igmp-mld-snooping-yang-17: Discuss
> 
> When responding, please keep the subject line intact and reply to all email addresses included in the To and CC lines. (Feel free to cut this introductory paragraph, however.)
> 
> 
> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-pim-igmp-mld-snooping-yang/
> 
> 
> 
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
> 
> Let's discuss whether we need to be a bit more clear about what behavior should be expected when the exclude-lite leaf has value true vs. false -- the apparent inconsistency between "exclude"
> in the leaf name and the positive verb "track" in the description left me confused.
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Is a gauge type better than an int for the various 'count' fields?
> 
> Do we want to put in explicit "discontinuity-time" elements for when the counters last reset?  (I see at least one "up-time" leaf but it's not entirely clear that the semantics match up.)
> 
> Section 3.2
> 
>     The mld-snooping-instance is the same as IGMP snooping except changing
>     IPv4 addresses to IPv6 addresses. One mld-snooping-instance could be
> 
> The diff also shows some mechanical changes, like replacing "igmp-version" with "mld-version", and the name of statistics leafs that are tied to protocol version/elements.  There doesn't seem to be a clear need to call out every such difference, though.
> 
> Section 4
> 
>   feature exclude-lite {
>     description
>       "Support configuration of per instance exclude-lite.";
>     reference
>       "RFC 5790";
> 
> RFC 5790 does not use the keyword "EXCLUDE-lite" (or actually, "lite" at all), so a little bit more description of which functionality this refers to could be helpful.
> 
>     leaf-list bridge-mrouter-interface {
>       when 'derived-from-or-self(../scenario,"ims:bridge")';
>       type if:interface-ref;
>       config false;
>       description
>         "The mrouter interface in BRIDGE forwarding. When switch
>          receives IGMP/MLD queries from multicast router on an
>          interface, this interface will become mrouter interface
>          for IGMP/MLD snooping.";
> 
> nit: the grammar in this description should be revisited; maybe just missing articles.  Similarly for the next few entries.
> 
>           leaf last-reporter {
>             type inet:ipv4-address;
>             description
>               "Address of the last host which has sent report
>                to join the multicast group.";
> 
> I guess I'm not entirely sure what this is used for; it doesn't seem like it would provide a way to reliably get a stream of all hosts that sent a report to join (the "list host" with feature explicit-tracking would be needed for that, right?), and could be stale at any time, but I'm probably just missing something.
> (Similarly for the MLD case.)
> 
>       container interfaces {
>          config false;
> 
>          description
>            "Interfaces associated with the IGMP snooping instance";
> 
>          list interface {
>            key "name";
> 
>            description
>              "Interfaces associated with the IGMP snooping instance";
> 
> Should we consider non-verbatim-equivalent descriptions for the container and the list?  (Likewise for MLD.)
> 
> Section 5
> 
> It's probably worth a brief note in the "readable data nodes" section about any privacy considerations of exposing multicast group membership (e.g., if IP addresses are associated with users, and multicast groups associated with certain types of content, then there is transitively an association between the user and the content, which could be privacy sensitive).
> 
> Section 7.1
> 
> It's not entirely clear that RFC 8407 needs to be normative.
> 
> It is, however, pretty clear that RFC 8652 does not need to be normative, since we reference it basically to say "we don't need to pull this in".
> 
> Section 7.2
> 
> RFC 6636 is referenced from the YANG module; doesn't that make it normative?
> 
> Appendix A
> 
> [Just noting that I did not carefully review the examples.]
> 
> 
>