Re: [pim] Last Call: <draft-ietf-pim-igmp-mld-yang-10.txt> (A YANG data model for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD)) to Proposed Standard

tom petch <daedulus@btconnect.com> Thu, 09 May 2019 16:12 UTC

Return-Path: <daedulus@btconnect.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 CEFE7120112; Thu, 9 May 2019 09:12:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.247
X-Spam-Level:
X-Spam-Status: No, score=0.247 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 BbSfmWwaBz_S; Thu, 9 May 2019 09:12:48 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40114.outbound.protection.outlook.com [40.107.4.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EEE6B12000E; Thu, 9 May 2019 09:12:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EMOMy7URYPW3ErhiPqpEAQJkpfV9pSiSkIxLnp1OzWY=; b=H3WK+d1mx4B38h8z1ma4nIPjRn/a736CKEQ8s1/YEnW2S+VLfJY30nmo0FrcN93B/7PdYPUehLDVUfplMaJeEK46XdmdUE1WFDxHAJKaK0WyudFNq/8+pcOmGf39VlOoQXCxH5tM4CiEDDCCBScd0/ZlwGtS9rtpTiGOCg3ICyw=
Received: from HE1PR0701MB3004.eurprd07.prod.outlook.com (10.168.93.138) by HE1PR0701MB2795.eurprd07.prod.outlook.com (10.168.189.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.6; Thu, 9 May 2019 16:12:45 +0000
Received: from HE1PR0701MB3004.eurprd07.prod.outlook.com ([fe80::9150:105f:a3ea:edae]) by HE1PR0701MB3004.eurprd07.prod.outlook.com ([fe80::9150:105f:a3ea:edae%2]) with mapi id 15.20.1878.019; Thu, 9 May 2019 16:12:45 +0000
From: tom petch <daedulus@btconnect.com>
To: Xufeng Liu <xufeng.liu.ietf@gmail.com>
CC: "ietf@ietf.org" <ietf@ietf.org>, "pim-chairs@ietf.org" <pim-chairs@ietf.org>, "draft-ietf-pim-igmp-mld-yang@ietf.org" <draft-ietf-pim-igmp-mld-yang@ietf.org>, "pim@ietf.org" <pim@ietf.org>
Thread-Topic: Last Call: <draft-ietf-pim-igmp-mld-yang-10.txt> (A YANG data model for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD)) to Proposed Standard
Thread-Index: AQHUtZg2w1Jomb9PTEC9rMWTxSatFA==
Date: Thu, 09 May 2019 16:12:45 +0000
Message-ID: <01bf01d50681$8780a300$4001a8c0@gateway.2wire.net>
References: <154844808422.29188.6676721895526799.idtracker@ietfa.amsl.com> <016301d4b598$12950700$4001a8c0@gateway.2wire.net> <01cc01d4b897$017f9d20$4001a8c0@gateway.2wire.net> <CAEz6PPQXHvG2A8Q_RhgyEbKBx0DK4ZHjZh9eMMwMh84rE9QVpw@mail.gmail.com> <04c601d4ff3d$77e3e920$4001a8c0@gateway.2wire.net> <CAEz6PPTzbomdDYuYr3nwzs+Q=k7sCPSOnxXfppXPkwj9xyRzGQ@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0061.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:60::25) To HE1PR0701MB3004.eurprd07.prod.outlook.com (2603:10a6:3:4d::10)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=daedulus@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: Microsoft Outlook Express 6.00.2800.1106
x-originating-ip: [86.139.215.234]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 88fd725a-13e4-4d30-9356-08d6d4992be0
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:HE1PR0701MB2795;
x-ms-traffictypediagnostic: HE1PR0701MB2795:
x-ms-exchange-purlcount: 4
x-microsoft-antispam-prvs: <HE1PR0701MB27951A455DA18D0DA4EA00E9C6330@HE1PR0701MB2795.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 003245E729
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(376002)(396003)(136003)(39860400002)(346002)(13464003)(199004)(189003)(51914003)(54094003)(51444003)(966005)(3846002)(68736007)(6116002)(44736005)(6486002)(99286004)(478600001)(25786009)(71200400001)(71190400001)(54906003)(305945005)(4326008)(66446008)(64756008)(66556008)(66476007)(66946007)(73956011)(476003)(14454004)(7736002)(316002)(6436002)(14444005)(256004)(66574012)(50226002)(8676002)(30864003)(81166006)(4720700003)(81156014)(8936002)(5660300002)(52116002)(81686011)(81816011)(1556002)(76176011)(86362001)(84392002)(6916009)(2906002)(86152003)(66066001)(6306002)(14496001)(9686003)(6512007)(446003)(6246003)(62236002)(44716002)(102836004)(6506007)(386003)(486006)(53546011)(186003)(26005)(229853002)(53936002)(61296003)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB2795; H:HE1PR0701MB3004.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: YBNlcX1Yks2++/FClyMIMsc0U9cd+iCsgrWV07dS43o5QwmyTcbgxk7Oohw5bcjmkUxLGxsq2N1Kj1uUKLVI7UGbLXs83qmNaSXypDdyIScgssQldia2FnZjEtxCRNPLt89ZlCXR1DCB98dSSF27VdB+zoje6v4B6TqL/m69HOVLwjj4yD0TokDvm2JyLU2iJXxcDMUxmwg3FufjERoPGx+q7iBwC05pog3GLIJ2om+fZxhQ9ULyGj7UlHqCsQEXmEiUbIN/egXMh7dWjVl5ViYn+0t0OdbPRJ+ilMAMB/LV2qHesXEhBK4jghCLgu2Z7bsN7WW3vxl1rjM5Uf66U4i/4anQjbn3Whob9eLnoTuZsSAwdDV/rkFApMNxiqCRepKz66tZydxlCp4bpNkYsYCi7uoZUEZY9Do+b1/CCU0=
Content-Type: text/plain; charset="utf-8"
Content-ID: <043307EC1B0F5D418E21336D1F1FCB86@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 88fd725a-13e4-4d30-9356-08d6d4992be0
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2019 16:12:45.4650 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2795
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/JGZ8LZXaU-UIhRXM3OJCzYor7iY>
Subject: Re: [pim] Last Call: <draft-ietf-pim-igmp-mld-yang-10.txt> (A YANG data model for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD)) to Proposed Standard
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: Thu, 09 May 2019 16:12:51 -0000

Xufeng

Looks good except ... sigh ...

"            The value space of this leaf is restricted to the existing
            policy instances defined by the refered schema [RFC8519].
            As specified by [RFC8519],  ..."
where [RFC8519] looks like an XML/HTML type anchor whereas the YANG
module per se must be plain text so it can be extracted as such ie I
would expect to see (RFC8519)
.
And referred should have two 'r'.

My take would be to leave these to be incorporated once the IESG has
come up with its comments but that is up to you and the WG Chairs.

Tom Petch

----- Original Message -----
From: "Xufeng Liu" <xufeng.liu.ietf@gmail.com>
To: "tom petch" <daedulus@btconnect.com>
Cc: <ietf@ietf.org>; <pim-chairs@ietf.org>;
<draft-ietf-pim-igmp-mld-yang@ietf.org>; <pim@ietf.org>
Sent: Thursday, May 09, 2019 3:10 PM

Hi Tom,

Thanks for the further comments. The fixes have been posted at
https://tools.ietf.org/html/draft-ietf-pim-igmp-mld-yang-12.

Best regards,
- Xufeng

On Tue, Apr 30, 2019 at 6:17 AM tom petch <daedulus@btconnect.com>
wrote:

> Yes, much revised, much clearer to me.
>
> A few small glitches
>
> "   The terminology for describing YANG data models is found in
>    [RFC6020] and [RFC7950]."
>
> The terminology keeps moving on.  If you look at RFC8341, you can see
a
> more expansive summary of the terminology; I have not been through and
> checked it but, knowing the author, it is unlikely I could find fault
> with it:-)  I am not saying use it, but it is worth thinking about.
> YANG Guidelines says there must be a Terminology section but not what
> must be in it.
>
[Xufeng]: Fortunately the YANG terms used in this document are
traditionally stable ones. I do agree that listing some terms would
benefit
the readers by the convenience and clarity. We have listed a few ones
that
are important to this document and have been used many times.

>
> ACL is now RFC8519 which you have in the list of prefixes but not in
the
> References for the I-D
>
[Xufeng]: Fixed the reference.

>
> s.3.1
> " The identity "igmp" derived from  the "rt:control-plane-protocol"
base
> identity is defined to indicate   a control-plane-protocol instance is
> for IGMP.
> "
>
> Not clear what this is saying; perhaps
>
> The identity "igmp" is derived from
>    the "rt:control-plane-protocol" base identity and indicates that
>    a control-plane-protocol instance is IGMP.
>
[Xufeng]: Right. Fixed as suggested.

>
> s.3.2 likewise for mld
>
[Xufeng]: Fixed.

>
> In passing, can there be more than one IGMP or MLD instance in a
router
> or not?  I do not know the answer to that; OSPF, e.g., can and I see
> that, BGP can but I do not; this would affect the English in some
places
>
[Xufeng]: This model allows multiple instances because of the augmented
module ietf-routing and its convention in [RFC8349]. Usual
implementations
do not allow multiple instances, in which case the restriction may be
added
to the model during implementation. I went through the text, and the
descriptions seem to be ok. Two sentences have been added to make this
explicit.

>
>
> "       leaf group-policy {
>          type leafref {
>            path "/acl:acls/acl:acl/acl:name";
> "
> could do with a reference to RFC8519; and since the RFC says
>
> " length "1..64";
>         }
>         description
>           "The name of the access list.  A device MAY further
>            restrict the length of this name; space and special
>            characters are not allowed.";
> "
>
> then I think the description needs to reflect that.  A device can
> restrict the length but cannot be greater than the 64 of the RFC.  And
> the RFC bans space and special characters - again, the device cannot
> gainsay that (unless you are into deviations which are a bad thing
IMO).
>
[Xufeng]: Modified as suggested.

>
> "     rpc clear-igmp-groups {
> ...
>               If it is not specified, IGMP groups from all interfaces
>               are cleared.";
> "
> Mmm is this wise?  it is fail danger, someone makes a mistake and all
it
> lost.  I wonder if there should be a default which the user has to
> wilfully override in order to clear everything.  Something to ponder.
>
> "     rpc clear-mld-groups { "
> ditto
>
[Xufeng]: Glad that you brought this up. Using unspecified argument to
clear all entries is convenient and often implemented. However, as you
mentioned, the fail danger does exist. We have modified the parameters
to
use explicit “all-interfaces” instead of empty interface name, and the
special value “*” to indicate all addresses.

>
> Reference
>
> "   [RFC8407] Bierman, A., "Guidelines for Authors and Reviewers of
YANG
>              Data Model Documents", draft-ietf-netmod-rfc6087bis-
>              20(work in progress), March 2018.
> "
> Um, nearly but not quite:-)
>
[Xufeng]: Fixed.

>
> Tom Petch
>
>
> ---- Original Message -----
> From: "Xufeng Liu" <xufeng.liu.ietf@gmail.com>
> Sent: Monday, April 29, 2019 4:51 PM
>
> Hi Tom,
>
> Thanks for the comments. We have posted the updated
> https://tools.ietf.org/html/draft-ietf-pim-igmp-mld-yang-11 to address
> these issues, along with other review comments.
> Best regards,
> - Xufeng
>
> On Wed, Jan 30, 2019 at 7:27 AM tom petch <daedulus@btconnect.com>
> wrote:
>
> > Looking into the technical aspects of this, I am inclined to think
> that
> > it is not ready to become an RFC, needing widespread revision; the
> > problem is the language.  In places, I can guess what is meant, in
> > others, I cannot.  An example of the latter is
> > "Interface-global: Only including configuration data nodes that
> >    IGMP configuration attributes are applicable to all the
interfaces
> >    whose interface-level corresponding attributes are not existing,
> >    with same attributes' value for these interfaces."
> > which is differentiated from "Global level" and "Interface-level".
> That
> > combination of 'not existing' and 'same value' leaves me uncertain
as
> to
> > the meaning.
> >
> [Xufeng]: Rephrased a bit to see if the description is improved.
>
> >
> > (When these terms are used in the YANG descriptions, the hyphens are
> > missing).
> >
> > 'Global level' (no hyphen) is defined as "configuration and
> operational
> > state attributes for the entire routing system."  Is that the entire
> > routing system of all routers and hosts? or just everything
regardless
> > of protocol in this router? or just IGMP in this router?  ...
> >
> [Xufeng]: Should be just the IGMP instance in this router. Fixed.
>
> >
> > SSM/ssm appears in dozens of places and is never expanded nor is
there
> a
> > single reference.  I imagine that this is RFC3569 in which case,
that
> > must be a Normative Reference.
> >
> [Xufeng]: Right. Added an entry in Sec 1.1, and added the references
> ([RFC3569] and [RFC4607])
>
> >
> > 'IGMP or MLD' appears in a dozen places and gives me the most
> heartache;
> > I do not know what it means.  Thus
> > "The maximum number of entries in IGMP or MLD.";
> > could be a maximum for IGMP which is also a maximum for MLD, same
> value;
> > or it could mean the maximum for IGMP or MLD combined, regardless of
> > which.  I cannot tell which is meant
> >
> [Xufeng]: I think that the confusion comes from the fact that such a
> grouping is used in either IGMP schema or MLD schema. It could be
better
> to
> split above statement into two separate statements: one for IGMP and
one
> for MLD. The document has been updated for all such occurrences.
>
> >
> > Likewise, with
> > grouping global-config-attributes/ leaf enable /type boolean;
> > you have enable or disable coupled with IGMP and MLD; that is four
> > choices, while a boolean only has two values - does not compute.
> >
> > Ditto
> >
> [Xufeng]: Fixed in the same way as above.
>
> > grouping interface-specific-config-attributes / leaf enable / type
> > boolean
> >
> > Is interface specific the same as interface level?
> >
> [Xufeng]: Yes. For consistency, it has been renamed to
> “interface-level-...
> ”.
>
> >
> > Interestingly, where I was expecting ambiguity,
> > leaf discontinuity-time
> > ...
> > description "The time on the most recent occasion at which any one
> >               or more of the statistic counters suffered a
> >               discontinuity. "
> > is perfectly clear; that ' any one or more' leaves me in no doubt.
> >
> > IGMP and MLD do get expanded on first use but it would be helpful to
> > have the RFC reference there - you give it for YANG (surely everyone
> > knows those RFC numbers off by heart by now:-) but not for the less
> > widely used MLD.
> >
> [Xufeng]: I think that you mean the first use in the YANG module,
whose
> description has be updated as such.
>
> >
> > And then there are many places where the English is understandable
but
> > quirky and might be left to the RFC Editor but here, probably worth
> > changing sooner rather than later; e.g.
> >
> > - not all included in this document of the data model
> > - including some with basic subsets of the IGMP and MLD protocols.
> > - any major now-existing implementation may be said to support the
> basic
> > model
> > - operational state parameters are not so widely designated as
> features
> > - Where fields are not genuinely essential to protocol operation
> > - The MLD YANG model uses the same structure as IGMP YANG model
> > - MLD module also defines in a three-level hierarchy structure
> > - IGMP and MLD RPC clears
> > - group-addrss?
> > - definitions common for IGMP and MLD
> > - whose are not existing in interface global level
> > - it prunes off the group
> > - that IGMP ro MLD can join
> > - If present, IGMP/MLD-based explicit membership tracking function
for
> > multicast routers and IGMP/MLD proxy devices supporting
IGMPv3/MLDv2.
> > - lightweight IGMPv3 and MLDv2 protocols will run on the which
> simplify
> > the
> > - List of multicast membership hosts
> > - The last host address which has sent the report to
> > - the MLD attributes at all of the interfaces level on a device
> >
> [Xufeng]: Went through these, and did some adjustments. Please let us
> know
> for any further issues.
>
> >
> > HTH:-(
> >
> > Tom Petch
> >
> >
> > ----- Original Message -----
> > From: "tom petch" <daedulus@btconnect.com>
> >
> > Sent: Saturday, January 26, 2019 4:57 PM
> >
> >
> > > Some initial  thoughts on this I-D
> > >
> > > Prefer 'Abstract' before 'Copyright' and 'Status'
> > >
> > >    | acl       | ietf-access-control-list | [I-D.ietf-acl-yang] |
> > > better to have
> > >    | acl       | ietf-access-control-list | [RFC YYYY] |
> > > Note to RFC Editor please replace YYYY with number assigned to
> draft-
> > > ietf-netmod-acl-model
> > >
> > > YANG module needs the Copyright statement
> > >
> > > 4. IGMP and MLD YANG Modules
> > > suggests that there are two modules but I only see one
> > >
> > >       import ietf-inet-types {
> > > and other imports need a reference clause to identify the RFC; for
> acl
> > > you need such as
> > > RFC YYYY "Network Access Control List (ACL) YANG Data Model",
> > > Note to RFC Editor please replace YYYY with number assigned to
> draft-
> > > ietf-netmod-acl-model
> > > ( you can put all RFC Editor Notes in one place at the front -
they
> > > prefer it this way)
> > >
> > >       revision 2019-01-03 {
> > > there must only be one revision clause stating 'Initial revision'
> with
> > > date of publication supplied by RFC Editor to match that on the
file
> > > statement
> > >
> > > several lines are too long e.g.
> > >              If QQIC >= 128, QQIC represents a floating-point
value
> as
> > > follows:
> > >
> > > 5. Security Considerations
> > >    transport is TLS [RFC5246].
> > > this is now superseded
> > >
> > > 6. IANA Considerations
> > >    Names registry [RFC7950]:
> > > this is a poor reference since all it does is tell you to go to
> > RFC6020;
> > > better to tell the reader to go straight there.
> > >
> > >    [I-D.ietf-netmod-rfc6087bis] Bierman, A., "Guidelines for
Authors
> > > this is now out of date - RFC8407
> > > (and it tells you to do most of what I have listed above:-)
> > >
> > > Tom Petch
> > >
> > > ----- Original Message -----
> > > From: "The IESG" <iesg-secretary@ietf.org>
> > > To: "IETF-Announce" <ietf-announce@ietf.org>
> > > Cc: <pim-chairs@ietf.org>; <pim@ietf.org>;
> > > <draft-ietf-pim-igmp-mld-yang@ietf.org>
> > > Sent: Friday, January 25, 2019 8:28 PM
> > >
> > > > The IESG has received a request from the Protocols for IP
> Multicast
> > WG
> > > (pim)
> > > > to consider the following document: - 'A YANG data model for
> > Internet
> > > Group
> > > > Management Protocol (IGMP) and
> > > >    Multicast Listener Discovery (MLD)'
> > > >   <draft-ietf-pim-igmp-mld-yang-10.txt> as Proposed Standard
> > > >
> > > > The IESG plans to make a decision in the next few weeks, and
> > solicits
> > > final
> > > > comments on this action. Please send substantive comments to the
> > > > ietf@ietf.org mailing lists by 2019-02-08. Exceptionally,
comments
> > may
> > > be
> > > > sent to iesg@ietf.org instead. In either case, please retain the
> > > beginning of
> > > > the Subject line to allow automated sorting.
> > > >
> > > > Abstract
> > > >
> > > >
> > > >    This document defines a YANG data model that can be used to
> > > >    configure and manage Internet Group Management Protocol
(IGMP)
> > and
> > > >    Multicast Listener Discovery (MLD) devices.
> > > >
> > > > The file can be obtained via
> > > > https://datatracker.ietf.org/doc/draft-ietf-pim-igmp-mld-yang/
> > > >
> > > > IESG discussion can be tracked via
> > > >
> >
https://datatracker.ietf.org/doc/draft-ietf-pim-igmp-mld-yang/ballot/
> > > >
> > > >
> > > > No IPR declarations have been submitted directly on this I-D.
>
>