Re: [yang-doctors] Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-05

Hongji Zhao <hongji.zhao@ericsson.com> Thu, 18 October 2018 03:32 UTC

Return-Path: <hongji.zhao@ericsson.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6733D120072 for <yang-doctors@ietfa.amsl.com>; Wed, 17 Oct 2018 20:32:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.364
X-Spam-Level:
X-Spam-Status: No, score=-4.364 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.064, 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=HZgqVsMk; dkim=pass (1024-bit key) header.d=ericsson.com header.b=G+2KDI1b
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 JgKgtM7C80BR for <yang-doctors@ietfa.amsl.com>; Wed, 17 Oct 2018 20:32:04 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 1CAB6127332 for <yang-doctors@ietf.org>; Wed, 17 Oct 2018 20:32:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1539833522; x=1542425522; 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=ZHk9OqoVhrtS5K0AV2FvbmZlk+Joe5/YG0Lptw5NnYA=; b=HZgqVsMk44yRqwW2Q2Jc88WPeeJBd1pU3XiA+J4hX7/tTcHbl47M7c9YmYORZDX3 Jcuu+Gmk7oTB9/iS+h0rhwlLSJaKMvrC0n+PO2Vivy9jBQWawosawq5++2omu5Td DsSVblLo1e/PyDmna9vKjXadEJgy6pG1Zf5cQlbt59I=;
X-AuditID: c1b4fb3a-604d59e0000012ff-02-5bc7feb26ad9
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 12.69.04863.2BEF7CB5; Thu, 18 Oct 2018 05:32:02 +0200 (CEST)
Received: from ESESSMB503.ericsson.se (153.88.183.164) 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; Thu, 18 Oct 2018 05:32:01 +0200
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB503.ericsson.se (153.88.183.164) 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; Thu, 18 Oct 2018 05:32:01 +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=ZHk9OqoVhrtS5K0AV2FvbmZlk+Joe5/YG0Lptw5NnYA=; b=G+2KDI1bEP+pdjil3rtHhO+bcpTDuPqlwf9NXQzolVkkbA7NpIDgaZmKh3oRvenXS4mAT5/K/uBklHjWAaXtCHYAnoHkWK8coJO67AP+X4jwkdpoBpbsKwUUIREJNeXYAFuujs6RHKmtea6DbajI6ifJj5ZTw4OG39canMGXnxA=
Received: from VI1PR07MB4192.eurprd07.prod.outlook.com (20.176.6.29) by VI1PR07MB3949.eurprd07.prod.outlook.com (52.134.28.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.19; Thu, 18 Oct 2018 03:32:00 +0000
Received: from VI1PR07MB4192.eurprd07.prod.outlook.com ([fe80::7d44:9062:8cce:6abf]) by VI1PR07MB4192.eurprd07.prod.outlook.com ([fe80::7d44:9062:8cce:6abf%2]) with mapi id 15.20.1250.020; Thu, 18 Oct 2018 03:32:00 +0000
From: Hongji Zhao <hongji.zhao@ericsson.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
CC: "pim@ietf.org" <pim@ietf.org>, YANG Doctors <yang-doctors@ietf.org>
Thread-Topic: Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-05
Thread-Index: AQHUZkNsLOM6Zagayk61DqKTE7CU6qUkVK1g
Date: Thu, 18 Oct 2018 03:31:59 +0000
Message-ID: <VI1PR07MB41923BC9BD9411DF8AFE3E8F96F80@VI1PR07MB4192.eurprd07.prod.outlook.com>
References: <B7E291AA-E083-4D86-B9A7-5A8400714179@cisco.com>
In-Reply-To: <B7E291AA-E083-4D86-B9A7-5A8400714179@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=hongji.zhao@ericsson.com;
x-originating-ip: [106.38.5.8]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB3949; 6:7mH8PBNFjmn6npq3dOrD+IIbBpjJ0/Mkx36yfMcDGdA38ZVvMvyK8fKihk7s12zeZnyO0o08qd58n+cNaRrD9FoR6OA8jCuzZIJImEEpS3UVpSYCRrsCAzFBynt3buNliTBPTU/GyQhpaspI4tYeeqtHwiKiNIbCLxyTiiIPARntyxdtBAJnUQXrLz8p11XwOiVH6BrtYjzvH8Cn09BFOONZHnNMbv0rOb01AAc09z/qHL2FfBnTTyyG9knHVER5eOa4/cuI4/IWLk1bvDax6jAY5YQUUC880YIs8rzrNtGnDyps822UFHEDYxV1N5RblQEPRuqfeuyLeTAKrMjs5szs2AcIdEMIPLeKECbgfkg+Api9MWVJeLKySYw08IKRd182BwaJnACvQBYIYn8PDi2/IQEnnhVpNK7CVsTYpMFnszNzIa3n18siolofjYy3HAIE3C6/6L6jhyo0iWmNsg==; 5:5dQMKzDwsyM4IOY5l+zEZ5bopxb9H1KlbfJzBmnwExbKL0WOEgeRhh3APzTKjHZva2gOSunS3sFVygSQ221628mAKmyizBupAMEhNRt53GD37kfOV+9L4JJfVAzjYwVRF3ldPF3nS7oSKHjcGyPNtv/3+t1WM7uhAomQai9SNqw=; 7:pwOQGlwxB5x607C6XEYtLpckhsrf7n7Kp1iYifz9OPCaYzIQaWd6M606Ze6r177SAghMur8/+QnJCuNWCxjwOqJfSwq+iqnuh84lz/aIHuWTR9jLN/Q9I6rJJUHwSmoa3pXcUe4b9F3HFIJqMYewMDOE4RCCRgeSZM6yL04pQdacPNJuUXbBrZOyo4e3KlbklVMa/ApNpGY4NThAsJKnIy7Yn8YuJTStXaifxjFyMy5gw7hu0oYLLVtcdhKLwXFS
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 26bd47ae-42dd-4223-5d62-08d634aa4375
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR07MB3949;
x-ms-traffictypediagnostic: VI1PR07MB3949:
x-microsoft-antispam-prvs: <VI1PR07MB3949993FD2FB36FDDE08D1EF96F80@VI1PR07MB3949.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(95692535739014)(37575265505322)(248295561703944)(120809045254105)(192374486261705)(21748063052155)(28532068793085)(190501279198761)(227612066756510)(166708455590820);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(3002001)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:VI1PR07MB3949; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB3949;
x-forefront-prvs: 08296C9B35
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(39860400002)(136003)(366004)(189003)(199004)(33656002)(81156014)(6916009)(486006)(476003)(44832011)(68736007)(9326002)(8936002)(53936002)(9686003)(6306002)(54896002)(2906002)(81166006)(236005)(19609705001)(6436002)(74316002)(229853002)(5660300001)(7736002)(55016002)(71200400001)(71190400001)(54906003)(7696005)(6506007)(26005)(11346002)(446003)(8676002)(99286004)(53546011)(76176011)(102836004)(186003)(256004)(14444005)(66066001)(3846002)(5250100002)(790700001)(606006)(6246003)(6116002)(966005)(105586002)(86362001)(97736004)(4001150100001)(2900100001)(478600001)(106356001)(25786009)(316002)(4326008)(14454004)(21314002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB3949; H:VI1PR07MB4192.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: iBay6ZFvW01BBcLUinNzGb+E07jdbLIo+bvLDViCx+jN+4twSanhmaGIOPnQqdP2HqmcHe2kmer5qEXAug5YOy2/kJwrcM01bFWL2K6YTsB8W+y/XC8Graus3rsKbJog7+1TXzpf+SJkVwqwx60HZDpe0bsSHyUV3cvuJIcaVoNgIs5U3R5c6e9cakO3UCTl4Epotu89K2aP8cJKPf2Z4DAyfjdgBjRWHCZsAGn1PRwtulrR9MdN9BzyNjpoAl8/Yg/03URzuB4uVw7ktj2tDZy7da725WfEEmHCPxSfC2okX7z4vkX64tmYmur7x6JsOLki6UVhNYK0E/nT7CGNZSU0nze2O+Vrvw/IrQ/jIlU=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB41923BC9BD9411DF8AFE3E8F96F80VI1PR07MB4192eurp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 26bd47ae-42dd-4223-5d62-08d634aa4375
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2018 03:31:59.9653 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB3949
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHKsWRmVeSWpSXmKPExsUyM2J7ue6mf8ejDY60Clt8eXiT2eLailZ2 i75dBxgdmD2m/N7I6rFkyU+mAKYoLpuU1JzMstQifbsErowpPUdYCuacYaq4OXMtUwPjkcNM XYycHBICJhI7Ji9i72Lk4hASOMoocaplBRuE841RYtGztVCZJUwSDc8XgLWwCExgllh0JxIi MYFJounnMaiWR4wSy+fvYAepYhPQkejs3srcxcjBISJgKPFrjTWIySzgLnFrmwxIhbBAsMTW LXvZQGwRgRCJl0umsEDYRhJTp1xihtilKvF1/ks2kFZegRiJ3+/EQMJCAjYSK79+AVvEKWAr MeXbarAxjAJiEt9PrQE7k1lAXOLWk/lQXwpILNlznhnCFpV4+fgfK0R9tMS6o43sEHE5iRfr JkPVyEpcmt/NCPKVhMA+dok5t0+wQiR0JT5MnQpV5Cvx51A/G0TRcUaJLZuOsUAktCQez3wJ 1ZAtsXntaqiiC4wSU/a1wa1b1fuQZQKjwSwk10LY+RLnFu9kBLF5BQQlTs58wjILHHaaEut3 6UOUKEpM6X7IDmFrSLTOmcuOLL6AkX0Vo2hxanFxbrqRkV5qUWZycXF+nl5easkmRmAqOrjl t9UOxoPPHQ8xCnAwKvHwzv97PFqINbGsuDL3EKMEB7OSCC/LbKAQb0piZVVqUX58UWlOavEh RmkOFiVxXqc0iyghgfTEktTs1NSC1CKYLBMHp1QDY+dn/eUzV6nVL3vuFcMWZnZr6VL5tef6 f0v2+jknNvVu9zASsojlcX+f7zLH7MnBhk9ZDTvX5Xsqv2JmaZ/wNnah3sQr8208xfI3xj3d +PPto62d5+fvKXy5mKNevWbG18qm2F/WsbYNG9rbt6//t+eRm2vmtxf8QpyduXPU/lzyD3ky J3ieshJLcUaioRZzUXEiAIBkDONBAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/mc9YQLI6P9saV4w4FTEttYsBNK4>
Subject: Re: [yang-doctors] Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-05
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Oct 2018 03:32:09 -0000

Hi Reshad,

Thanks a lot for your review.

Regarding tje main issues/questions:

  *   igmp-snooping-instances (mld- also) are top level containers, I believe they should be under rt:control-plane-protocol (RFC8349). I should have raised this in the previous review.

              ------------------------I think it is ok, and will move igmp-snooping-instances under rt:control-plane-protocol

  *   Should there be a dependency on draft-ietf-pim-igmp-mld-yang, e.g. should we allow IGMP/MLD snooping configuration only if IGMP/MLD is enabled (leaf “enable”) or supported (feature-mld and feature-igmp)? E.g. I don’t think it makes sense to configure igmp-snooping if igmp is not supported.
                           -------------------------I think there is no dependency on draft-ietf-pim-igmp-mld-yang
                                                             IGMP is enabled on L3 router, but IGMP Snooping is enabled on L2 switch.  The switch snoops into IGMP Report and generates the mapping between port and Multicast MAC Address.
                                                             The IGMP Report is sent by host, passes the L2 switch, and to the L3 router.

                                                             So you can configure the IGMP snooping when IGMP is not enabled or supported.


Regarding other comments, I will research them and modify the draft ASAP.   Thanks a lot!

BR/Hongji
赵宏吉

From: Reshad Rahman (rrahman) <rrahman@cisco.com>
Sent: Thursday, October 18, 2018 2:01 AM
To: Hongji Zhao <hongji.zhao@ericsson.com>
Cc: pim@ietf.org; YANG Doctors <yang-doctors@ietf.org>
Subject: Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-05

Hi Hongji,

I have reviewed rev-05 (revised the existing review), see https://datatracker.ietf.org/doc/review-ietf-pim-igmp-mld-snooping-yang-03-yangdoctors-early-rahman-2018-06-28/
Since no email was sent, I have copied my comments below.

Regards,
Reshad.

YANG Doctor review of draft-ietf-pim-igmp-mld-snooping-yang-05 (by Reshad Rahman)

This is my YD review of -05, in June 2018 I had done an early review of -03.

1 module defined in this draft:

  *   ietf-igmp-mld-snooping@2018-10-11.yang<mailto:ietf-igmp-mld-snooping@2018-10-11.yang>


Errors are shown at https://datatracker.ietf.org/doc/draft-ietf-pim-igmp-mld-snooping-yang/ but that seems to be tools related (yang modules can’t be found)

All major issues raised in previous review have been addressed.

Main issues/questions:

  *   igmp-snooping-instances (mld- also) are top level containers, I believe they should be under rt:control-plane-protocol (RFC8349). I should have raised this in the previous review.
  *   Should there be a dependency on draft-ietf-pim-igmp-mld-yang, e.g. should we allow IGMP/MLD snooping configuration only if IGMP/MLD is enabled (leaf “enable”) or supported (feature-mld and feature-igmp)? E.g. I don’t think it makes sense to configure igmp-snooping if igmp is not supported.

Minor comments, suggestions and nits:

  *   Section 2, I don’t see the point of last sentence “This document provides freedom….”.
  *   Section 2.1 has a reference to draft-dsdt-nmda-guidelines which has expired
  *   YANG indentation is off, please correct
  *   Comment “replace with IANA namespace” applies to what line?
  *   In YANG module, s/Refrence/Reference/ (1 instance)
  *   Leaf “type” in snooping-instances, why not have an identity for type (l2vpn and bridge only for now). Right now there’s an enum which is defined twice (for mld and igmp)
  *   Similar comment as above for leaf “host-filter-mode”
  *   Send-query: s/topo/topology/, s/param/parameter/
  *   For all feature definitions, add references (RFC + relevant sections)
  *   Leaf exclude-lite, in description should there an explanation or reference of what exclude lite means?
  *   Grouping statistics-sent-received:

     *   remove -sent-received from name
     *   Description of counters, some have messages and some don’t
     *   For all counters for messages, add a reference for the messages
     *   Counter names, e.g. “pim” is too short, it should be something along the lines of num-pim-messages or num-pim.
     *   In pim description s/pim/PIM/

  *   RPCs clear-xxx-snooping-groups, rename to clear-xxx-snooping-cache (as per description)?
  *   Security Considerations, you should also mention the xxx-snooping-instance leaf nodes under vlan and l2vpn
  *   Examples (Appendix A)

     *   Indentation is off, please correct
     *   Were the examples validated with a tool? You can use yanglib<https://github.com/CESNET/libyang>
     *   bridge-mrouter-interface should be “eth1/1” instead of “1/1”. Likewise for interface, bridge-outgoing-interface
     *   The example is for bridge, there should be an example for l2vpn also

  *   Discrepancy in affiliation of Mahesh (1st page v/s author author’s addresses).