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

Hongji Zhao <hongji.zhao@ericsson.com> Tue, 11 September 2018 02:18 UTC

Return-Path: <hongji.zhao@ericsson.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 5BF6613102D for <pim@ietfa.amsl.com>; Mon, 10 Sep 2018 19:18:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.309
X-Spam-Level:
X-Spam-Status: No, score=-4.309 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, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=OrdRLIws; dkim=pass (1024-bit key) header.d=ericsson.com header.b=l5gkQXps
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 CBaNIKuXyt6M for <pim@ietfa.amsl.com>; Mon, 10 Sep 2018 19:18:17 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (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 C436D13109F for <pim@ietf.org>; Mon, 10 Sep 2018 19:18:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1536632295; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VaVMuETtLAkfYnwyi6FKWlWHpab5j4qE2bSzpgfVZkY=; b=OrdRLIwsbVl30Ibee+UStkT2uRnO9Wmt7omDRjkvGOfbhko181ibqnYuLOgFRDX9 nVrQVyCD/YTxsIvld+YkXp3PQd1/bOxRAflkCUms2fqt/N0DxIMB4F6U6v5cWcGH zalLS/X4VaV0eIQc2Bq94TnayvueDP2gY7RIe+lqz1I=;
X-AuditID: c1b4fb30-ff9ff700000055da-c3-5b9725e76643
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id C4.C2.21978.7E5279B5; Tue, 11 Sep 2018 04:18:15 +0200 (CEST)
Received: from ESESSMB501.ericsson.se (153.88.183.162) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 11 Sep 2018 04:18:14 +0200
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Tue, 11 Sep 2018 04:18:14 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VaVMuETtLAkfYnwyi6FKWlWHpab5j4qE2bSzpgfVZkY=; b=l5gkQXpsRwZCe7WpCufAV+QCavtwOF0HiNYWRrMS4OaluIwa8FQR5M18OiHmLLxqKXzHHX9SWq9BDKUWhAF0W20iNputabdVSYWrrlJPQMoMp3+05lGFH9gZ9ix7ySs6CBbiQ+GuqYjgBg5MCUgQq0xgXFmG6lv3OFskFNaJiNE=
Received: from VI1PR07MB4192.eurprd07.prod.outlook.com (20.176.6.29) by VI1PR07MB3952.eurprd07.prod.outlook.com (52.134.28.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.12; Tue, 11 Sep 2018 02:18:13 +0000
Received: from VI1PR07MB4192.eurprd07.prod.outlook.com ([fe80::4849:1c1a:e22a:c079]) by VI1PR07MB4192.eurprd07.prod.outlook.com ([fe80::4849:1c1a:e22a:c079%3]) with mapi id 15.20.1143.010; Tue, 11 Sep 2018 02:18:13 +0000
From: Hongji Zhao <hongji.zhao@ericsson.com>
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>, 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/4cDjJnliXlxSjmMbcshMv9t1walMsSAADdMZfA=
Date: Tue, 11 Sep 2018 02:18:13 +0000
Message-ID: <VI1PR07MB419207CA816246DAD95F455396040@VI1PR07MB4192.eurprd07.prod.outlook.com>
References: <VI1PR07MB41921D54D3B708744DFFE21796270@VI1PR07MB4192.eurprd07.prod.outlook.com> <D88D0793-9EE6-4D95-9F4B-C0B483C1F21C@cisco.com>
In-Reply-To: <D88D0793-9EE6-4D95-9F4B-C0B483C1F21C@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [106.38.5.8]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB3952; 6:7vvT3pscI9rj1C6MkQujKbp2u76te7pgKZXbNn4t1NFWUzRhiI6F+UtVovrjnj96HYQQXNfQ+xs7IwF5ATV2bZOdhwQFk8oEykPL4jb00NAidInaP5KHlL8+0OYqULyQlX1b6aYFFVvlHGnCJqacCiUL42BQswAsoNivL+9mjU0zn4E4Gj8Cq0KaMl9OstA13iWPK/eN2wvl9vNE/fm7Rse45HgexCAeO9PaW/7nnZnBOwOluFfp2Ei50u/oq3q7E8aEUA2txDxap6qawUtKv07zGk1Vx6dS+VGPZXpLE5BwK+ZaWXuHgaxrv4yRdt6J2aLbNefNaGlC9bM2siiFw3g+mnQFiCDtKEXjLRpNVOmQSGhG+FxG5ENppDDlEFeo1zx5NblCjwp5Pfhkmn1p7TxjFPP2BnhOf2Nlq1CEJcGc51DTIdqhtXy5g3YP7j3AamnLVuPlsCFXL2n7G0hedw==; 5:jwtY0y9U16Vmy+x67IQ8T+Wl+2eYscrVpBt3WSFdIL2+/q6BbOZ56BnzT2mdAU2cRuwukaItxVIQdPg0kZKYx5FL0jL5mkOuqmitO2G3oTxCYU5wux5TpvytApbYOVmoUudshH2YtSWm0zO2ZsTuS3j6t21tPJ5E2ku3MZ7Y7DE=; 7:SKSUlCQBp3eOLPOEk3Rs/ovJ+Qg2Te4Wh96mDdYaw/SrmONkyYqF66IgGnJKZpKkE6X88N6co0pr4a+l6tzbHe3CvHGwHQyHP4cn3yzNluSNTMjBEpAS2cvMrJCdRuU+0bBY23UidmGtsP4+FeBsBaIhZY8CzsJIlWGBiyUyfAoZ9zNPk+Rt8esXSffmoK8bljELQCWQiR0zb6fHDY6Agc3K3EaqpoFk0GZeltJ50NfYS6hY0xreBF0D1KrG7Hrt
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 283d21c9-bd00-4d34-d2f4-08d6178cd3c2
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(4534165)(4627221)(201703031133081)(201702281549075)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:VI1PR07MB3952;
x-ms-traffictypediagnostic: VI1PR07MB3952:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=hongji.zhao@ericsson.com;
x-microsoft-antispam-prvs: <VI1PR07MB3952FDD8BDFA5652F6B6F05A96040@VI1PR07MB3952.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(28532068793085)(120809045254105)(95692535739014)(21748063052155)(248295561703944);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231344)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050)(76991033); SRVR:VI1PR07MB3952; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB3952;
x-forefront-prvs: 0792DBEAD0
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(39860400002)(366004)(136003)(199004)(69234005)(189003)(76176011)(9686003)(229853002)(26005)(966005)(53546011)(74316002)(54906003)(7696005)(14444005)(256004)(33656002)(5024004)(606006)(8676002)(7736002)(105586002)(106356001)(102836004)(19609705001)(6506007)(66066001)(478600001)(186003)(2900100001)(446003)(81156014)(9326002)(3846002)(55016002)(6116002)(81166006)(8936002)(54896002)(14454004)(486006)(68736007)(790700001)(86362001)(236005)(316002)(6436002)(224903001)(476003)(6246003)(97736004)(5250100002)(53936002)(2906002)(5660300001)(4326008)(6306002)(44832011)(6916009)(25786009)(11346002)(99286004)(28003001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB3952; H:VI1PR07MB4192.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: O7PGHveAq2Am4fiGAyKKo72WZlVejMK1/yvJFfc29VtUT6xvSzz1sLu/4HAg3ylfYuwPmJGaiXXG7Q9rFF889FEgFr24hQakFKsScPQT9x2jA3/ESc9QFXu1BOki/p8el2YXl6KbxMyHiIcq6w0w7B0WmgusUZyJvPL+s+uUAxkWKRqmafMBWHVqnVDDS3PaP0AAnS0nlXP9LNOCdWBxLpU9MqvIJ7eqJ5fupggX+34N0zGLEqIyA6nqq9St3vVOZ3NjVwXexiHODgYqMRweoB9EIRODiEkW7e1DdP6QpOkfheINLt/ZBUnGJEluSy4UDKMUom2h/yKoMwhz1e0A09nAmZgOuwQOSSl4SijplHI=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB419207CA816246DAD95F455396040VI1PR07MB4192eurp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 283d21c9-bd00-4d34-d2f4-08d6178cd3c2
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2018 02:18:13.3673 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB3952
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRjuO+dsOzMnn2vqq2nQQjDROaVidNV/BhVCf0QFW3lQ0U3bTNNf CknqNOct75fSysSM5aU5TVRYNakWQqlRyS6igwgt8TLRcjsK/ntuL8/7fnw0KdRzAuh0ZQ6j UsozxVwPqjH+dV74YnB9onTlB0c2qpnnylYtc6Tsa3cxT/bAMI6iqdjaLR0ntqtrk4gjEjzO pzCZ6bmMKuLiDY+0hpXHKHt5E91tN1iJQtT9F5UhmgZ8Cma04WXIgxZiI4KxIifBkjUEmpYN Hku6CHiz+Qy5CIW1JJR0D+w5WgLu1W5wWGJF0Fzv3HX4NBeHQalmkHSViHAkOHvPuTIkHkKw ZPriLjmC9QhM99+7iQgPI1gxV7mnRfgs7Dyd5bowhYPhj+ETcmEBToKigYm9ukoEll8ajsvg 4wsw9buTcGGEfWF9qteNSewH3+ztbgwYQ9eomWSxDzhsOxwWH4Olvpo9PQim2zXuSwGP8aC6 5i1ijXBYrqvbC10F44iOYEODCJw/2yjWCIUScyGP3SIR+oxFPFbPAPNEA8kOlCPotzmo/eqe CgulRdKmA9s27T4aibPAuZrR5L7aG0yNdoqVT8JLQwSbPg61GguPxSFQ3NLKO6h3IF4P8lEz 6puK1KgoCaNKv6VWZyklSibnFdr9TxMDW1I9cizGTCJMI7GnoONEfaKQI89V5ysmEdCkWCQw hD1MFApS5PkFjCorWXUnk1FPoqM0JfYTyK71JwhxqjyHyWCYbEa17xI0P6AQDfsnz+cl+5c3 13CbhHybrmwh6bnSO1BbvRwVeMWfPztkb3s09i+6/oOvZEanxTFeMs8FmaPSur2eaTo9XmC5 bDNmNyy961yLK422B/VOH/qoVQzVlm3wv9NyqbVQ0uoI6VSc8b89x7G8qK77fGm7qsTzyUiH /bre63BFUnyamFKnySNDSZVa/h8u0ayqSwMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/QZ23-FNo3WCMPtQdIYHAxV9X7Ws>
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: Tue, 11 Sep 2018 02:18:20 -0000

Hi Reshad,

Thanks for your reply.

In IGMP Snooping, the mrouter interface (i.e. Multicast router interface)  is the interface which connects to the multicast router. So there may be more than one mrouter interfaces in a l2vpn-instance or BRIDGE.
As you say,  an interface refers to l2vpn-instance and l2vpn-instance has lists of ACs and PWs for the same mrouter-interface functionality.

Here is how to configure and show Internet Group Management Protocol (IGMP) snooping for IPv4 multicast traffic on the Cisco 7600 series routers.
Gi1/1,Gi2/1,Fa3/48 are all the mrouter interfaces in vlan 1.

Displaying Multicast Router Interfaces
When you enable IGMP snooping, the router automatically learns to which interface the multicast
routers are connected.
To display multicast router interfaces, perform this task:
This example shows how to display the multicast router interfaces in VLAN 1:
Router# show ip igmp snooping mrouter vlan 1
vlan ports
-----+----------------------------------------
1 Gi1/1,Gi2/1,Fa3/48,Router


In the current igmp snooping model, we can configure static-mrouter-interface and static-l2-multicast-group either under the igmp-snooping-instance or under the augment /if:interfaces/if:interface. The purpose is to provide the customer more than one way to configure static-mrouter-interface and static-l2-multicast-group.
Maybe it looks in a mess.
If removing the static-mrouter-interface and static-l2-multicast-group under augment /if:interfaces/if:interface is better, I can remove them.


BR/Hongji
赵宏吉

From: Reshad Rahman (rrahman) <rrahman@cisco.com>
Sent: Monday, September 10, 2018 6:25 AM
To: Hongji Zhao <hongji.zhao@ericsson.com>
Cc: draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org; pim@ietf.org; YANG Doctors <yang-doctors@ietf.org>
Subject: Re: 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 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<mailto:hongji.zhao@ericsson.com>>
Date: Monday, August 6, 2018 at 11:36 PM
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com<mailto:rrahman@cisco.com>>
Cc: "draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org<mailto:draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org>" <draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org<mailto:draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org>>, "pim@ietf.org<mailto:pim@ietf.org>" <pim@ietf.org<mailto: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.