Re: [pim] Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot! Re: [yang-doctors] Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-03

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Sun, 09 September 2018 22:25 UTC

Return-Path: <rrahman@cisco.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 57FD0130E05; Sun, 9 Sep 2018 15:25:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, T_KAM_HTML_FONT_INVALID=0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 lA_bIGbrOqvF; Sun, 9 Sep 2018 15:25:02 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C57701292AD; Sun, 9 Sep 2018 15:25:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=64817; q=dns/txt; s=iport; t=1536531901; x=1537741501; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=oW+hILw/HYBUjAHIgzuqoaqhSnP3df7JehwFk89YAv8=; b=eoa8Tf11HEGCD/69ziznNgjtKyo478D91Qltklr7XnrJE7cdgf746esh M49XRZfwH0wE99DZ2gOB7Z939UAgYwtZEj9FTDpiU7DnggaQb9omRK+TS I/6bJO9OVNEvgUjEI86flT/QWd0xWlzWfYjfJUoNrP7dOEaCoJ8vZK3TS w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CaAQArnZVb/5NdJa1bGQEBAQEBAQEBAQEBAQcBAQEBAYJXd2V/KAqDaJQ1gg14lTwUgWMDCxgBDoRFAhcJg0IhNhYBAgEBAgEBAm0cDIU4AQEBAQMBARgJCkELDAQCAQYCEQMBAQEhAwQDAgICJQsUCQgBAQQOBQ6DEwGCAQ+IaptLgS6JaQoFimUXgUE/gRInH4IXNYMbAQECAQGBKgESATYJgmExggQiAogmhQwThU6IJ04JAoN6gj2JSReBQIQ/gn6Fc4s6iCwCERSBJSQLJmRxcBU7KgGCQYJNiEiFPm8BAYtsDRcHgQGBHQEB
X-IronPort-AV: E=Sophos;i="5.53,353,1531785600"; d="scan'208,217";a="450020408"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Sep 2018 22:25:00 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by rcdn-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id w89MP0wc015738 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 9 Sep 2018 22:25:00 GMT
Received: from xch-rcd-005.cisco.com (173.37.102.15) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 9 Sep 2018 17:24:59 -0500
Received: from xch-rcd-005.cisco.com ([173.37.102.15]) by XCH-RCD-005.cisco.com ([173.37.102.15]) with mapi id 15.00.1395.000; Sun, 9 Sep 2018 17:24:59 -0500
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: Hongji Zhao <hongji.zhao@ericsson.com>
CC: "draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org" <draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org>, "pim@ietf.org" <pim@ietf.org>, YANG Doctors <yang-doctors@ietf.org>
Thread-Topic: Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot! Re: [yang-doctors] Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-03
Thread-Index: AdQt/4cDjJnliXlxSjmMbcshMv9t1walMsSA
Date: Sun, 09 Sep 2018 22:24:59 +0000
Message-ID: <D88D0793-9EE6-4D95-9F4B-C0B483C1F21C@cisco.com>
References: <VI1PR07MB41921D54D3B708744DFFE21796270@VI1PR07MB4192.eurprd07.prod.outlook.com>
In-Reply-To: <VI1PR07MB41921D54D3B708744DFFE21796270@VI1PR07MB4192.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.b.0.180311
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.86.243.210]
Content-Type: multipart/mixed; boundary="_004_D88D07939EE64D959F4BC0B483C1F21Cciscocom_"
MIME-Version: 1.0
X-Outbound-SMTP-Client: 173.37.102.15, xch-rcd-005.cisco.com
X-Outbound-Node: rcdn-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/f8PEagMYM4njinnuusc5Pl9jbjk>
X-Mailman-Approved-At: Wed, 19 Sep 2018 16:07:35 -0700
Subject: Re: [pim] Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot! Re: [yang-doctors] Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-03
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: Sun, 09 Sep 2018 22:25:05 -0000

Hi Hongji,

I’ve taken a look at the latest rev, thanks for changing the model to augment l2vpn-instance and bridge, I believe this improves the model substantially. Before posting review comments on the latest version, I’d like to get clarifications/closure on the following (this was my 2nd main comment from initial review, email attached).

With the augment of if:interface, we have IGMP/MLD snooping data both under l2vpn-instance or bridge (via the augment) and under if:interface. To me such a segmentation of the IGMP/MLD snooping data is undesirable, is it not possible to have the data for static-mrouter-interface and static-l2-multicast-group under l2vpn-instance or bridge? For example, looking at static-mrouter-interface, we have leaf-lists of ACs/PWs and then under interface we have an l2vpn-instance name (should be leafref btw), so looks like interface refers to l2vpn-instance and l2vpn-instance has lists of ACs and PWs for the same mrouter-interface functionality. I don’t get it.

Regards,
Reshad.

2)            If:interface is augmented and has the name of the l2vpn-instance. This config seems redundant since under l2vpn-instance (draft-ietf-bess-l2vpn-yang)
there is already an interface-ref for AC (Access Circuit). Why not augment the L2VPN endpoint or AC?
--------Augmenting if:interface in this model is used to configure static multicast router interface (static-mrouter-interface) and static l2 multicast forward table.
                    They are the concepts in IGMP/MLD Snooping. Augmenting if:interface could cover BRIDGE and L2VPN scenario at the same time.




From: Hongji Zhao <hongji.zhao@ericsson.com>
Date: Monday, August 6, 2018 at 11:36 PM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
Cc: "draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org" <draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org>, "pim@ietf.org" <pim@ietf.org>
Subject: Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot! Re: [yang-doctors] Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-03

Hi Reshad,

I have updated the draft-ietf-pim-igmp-mld-snooping-yang according to your comments and upload the latest version.

In the new version I augmented the l2vpn-instance (from draft-ietf-bess-l2vpn-yang) and ieee802-dot1q-bridge module instead of the old reference style. I also addressed your other comments.

Could you please review it again? Thanks a lot!



https://datatracker.ietf.org/doc/draft-ietf-pim-igmp-mld-snooping-yang/


BR/Hongji

赵宏吉



FYI, easier to read https://datatracker.ietf.org/doc/review-ietf-pim-igmp-mld-snooping-yang-03-yangdoctors-early-rahman-2018-06-28/ than the email below.



On 2018-06-28, 5:42 PM, "yang-doctors on behalf of Reshad Rahman" <yang-doctors-bounces@ietf.org on behalf of rrahman=40cisco.com@dmarc.ietf.org<mailto:yang-doctors-bounces@ietf.org%20on%20behalf%20of%20rrahman=40cisco.com@dmarc.ietf.org>> wrote:



    Reviewer: Reshad Rahman

    Review result: On the Right Track



    YANG Doctor review of draft-ietf-pim-igmp-mld-snooping-yang-03 (by Reshad

    Rahman)

1)      The YANG model has a new container+list for bridges and

    “l2vpn-instances”.  Why not augment l2vpn-instance (from

    draft-ietf-bess-l2vpn-yang)? …



    I will have to re-review once the issues are addressed.


--- Begin Message ---
Hi Reshad,

 

Below are the explanations for major issues.  Thank you very much! 

 

1)            The YANG model has a new container+list for bridges and “l2vpn-instances”.  Why not augment l2vpn-instance (from draft-ietf-bess-l2vpn-yang)? 

If all L2 features end up adding their own lists for “l2vpn-instances” this will be messy and there’ll be no easy way to look at all the configuration relevant to 

an l2vpn-instance, it’ll have to be done feature by feature.

--------  There are 2 reasons for not augment l2vpn-instance

   a) If augment l2vpn-instance, the igmp-snooping-instances need to defined as grouping. This igmp snooping model will not be an independent model, and couldn't be augmented furtherly;

   b) If augment l2vpn-instance and BRIDGE, this draft will rely on l2vpn-instance and BRIDGE.

 

 

2)            If:interface is augmented and has the name of the l2vpn-instance. This config seems redundant since under l2vpn-instance (draft-ietf-bess-l2vpn-yang)

there is already an interface-ref for AC (Access Circuit). Why not augment the L2VPN endpoint or AC?

--------Augmenting if:interface in this model is used to configure static multicast router interface (static-mrouter-interface) and static l2 multicast forward table.

                    They are the concepts in IGMP/MLD Snooping. Augmenting if:interface could cover BRIDGE and L2VPN scenario at the same time. 

                                

 

3)            There doesn’t seem to be the capability to enable IGMP/MLD snooping on a subset of ACs or PW (i.e. not on the full l2vpn-instance)?

--------Generally IGMP/MLD Snooping is corresponding to l2vpn-instance. They are in the same level. AC or pw is lower than l2vpn-instance.

 

 

4)            I thought Bridge related YANG models belong to IEEE. But if we have to do the model for bridges in this draft, why not augment IEEE YANG models 

e.g.  ieee802-dot1q-bridge.yang (same comment as for l2vpn-instance)?

--------It is similar as Question 1.

 

- Section 2.2, 2nd paragraph needs rewording. Explanation of how reference also not super clear (add reference to 2.4?) , e.g. what does an igmp-snooping-instance correspond to

(to me it seems to be more a profile than the instances we have with routing protocols)? And is 1 instance usable in multiple l2vpn or BRIDGE instances? I believe it’s for 1 instance? 

 Anyway clarify that.

  ----------------There are config data and stata data in igmp-snooping-instance. So I think it is an instance. Generally there is no state data in profile.

                                                                  1 instance is usable in multiple l2vpn or BRIDGE instances, but we don't recommend.

 

 

 

BR/Hongji

赵宏吉

 

-----Original Message-----
From: Reshad Rahman (rrahman) <rrahman@cisco.com> 
Sent: Friday, June 29, 2018 5:57 AM
To: draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org; pim@ietf.org
Cc: yang-doctors@ietf.org
Subject: Re: [yang-doctors] Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-03

 

FYI, easier to read https://datatracker.ietf.org/doc/review-ietf-pim-igmp-mld-snooping-yang-03-yangdoctors-early-rahman-2018-06-28/ than the email below.

 

On 2018-06-28, 5:42 PM, "yang-doctors on behalf of Reshad Rahman" <yang-doctors-bounces@ietf.org  on behalf of rrahman=40cisco.com@dmarc.ietf.org> wrote:

 

    Reviewer: Reshad Rahman

    Review result: On the Right Track

    

    YANG Doctor review of draft-ietf-pim-igmp-mld-snooping-yang-03 (by Reshad

    Rahman)

    

    1 module defined in this draft:

    - ietf-igmp-mld-snooping@2018-05-03.yang

    

    No YANG validation errors or warnings (from yang and yanglint).

    

    1 example are provided in this draft.

    

    Major issues perceived:

        1)      The YANG model has a new container+list for bridges and

    “l2vpn-instances”.  Why not augment l2vpn-instance (from

    draft-ietf-bess-l2vpn-yang)? If all L2 features end up adding their own lists

    for “l2vpn-instances” this will be messy and there’ll be no easy way to look at

    all the configuration relevant to an l2vpn-instance, it’ll have to be done

    feature by feature. 2)      If:interface is augmented and has the name of the

    l2vpn-instance. This config seems redundant since under l2vpn-instance

    (draft-ietf-bess-l2vpn-yang) there is already an interface-ref for AC (Access

    Circuit). Why not augment the L2VPN endpoint or AC? 3)      There doesn’t seem

    to be the capability to enable IGMP/MLD snooping on a subset of ACs or PW (i.e.

    not on the full l2vpn-instance)? 4)      I thought Bridge related YANG models

    belong to IEEE. But if we have to do the model for bridges in this draft, why

    not augment IEEE YANG models e.g.  ieee802-dot1q-bridge.yang (same comment as

    for l2vpn-instance)?

    

    There might be good reasons to justify the way the YANG model has been done,

    but if that's the case IMO there needs to be text which justifies the design of

    the YANG model.

    

    If the authors haven’t done so already I would suggest discussing with authors

    of draft-ietf-bess-l2vpn-yang, IETF102 would be a good opportunity and I can

    attend a meeting if needed.

    

    I will have to re-review once the issues are addressed.

    

    Other comments/questions/nits:

    - General: needs spelling verification

    - General: indentation of YANG model has to be fixed, also some descriptions

    are too long and wrap. - Add NMDA in abstract (that's what most drafts now do)

    - Section 1.1, add space after in "in[RFC6020]" - There are references for

    L2VPN/EVPN YANG but none for bridges - Section 2, add reference for IGMP -

    Section 2.2, 2nd paragraph needs rewording. Explanation of how reference also

    not super clear (add reference to 2.4?) , e.g. what does an

    igmp-snooping-instance correspond to (to me it seems to be more a profile than

    the instances we have with routing protocols)? And is 1 instance usable in

    multiple l2vpn or BRIDGE instances? I believe it’s for 1 instance? Anyway

    clarify that. - Section 2.2, 4th paragraph, instead of “routing system” should

    this be “snooping device”? - Section 2.5 "This model augment", should be

    "augments". - YANG model: s/to configure the igmp snooping/to configure IGMP

    snooping/ - YANG model, having a feature for supporting admin-enable seems like

    overkill. My first impression was that that's a lot of features for this model,

    but I guess that's debatable. - YANG model s/fowarding/forwarding/ - YANG

    model, for the lookup modes (IP-based and MAC-based, add reference). I don’t

    think adding a vendor-specific CLI-example in the YANG description is a good

    idea. - YANG model, use yang-version 1.1 and add reference to import statements

    (as per 6087bis) - YANG model, if per-instance-config feature is not supported,

    how are the IGMP/MLD instances configured? - YANG model, vlan-index-type, use

    of range 4096… not very clear. And vlan-id shouldn’t be uint32, uint16 is

    enough. There’s also ieee:vlanid - YANG model, as opposed to using regular

    address type for group/multicast addresses, is there a type already defined for

    group addresses? If not there should be (V4 and V6) - YANG model,

    host-filter-mode, add reference - Appendix A, fix diagram

    

    

    _______________________________________________

    yang-doctors mailing list

    yang-doctors@ietf.org

    https://www.ietf.org/mailman/listinfo/yang-doctors

 

--- End Message ---