[pim] Some explanations for you questions. Thanks! RE: [yang-doctors] Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-03

Hongji Zhao <hongji.zhao@ericsson.com> Tue, 03 July 2018 06:54 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 7745D130E2F for <pim@ietfa.amsl.com>; Mon, 2 Jul 2018 23:54:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level:
X-Spam-Status: No, score=-4.3 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, T_KAM_HTML_FONT_INVALID=0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=fFwnHPbY; dkim=pass (1024-bit key) header.d=ericsson.com header.b=Q3aEsvu3
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 EYGecco85heB for <pim@ietfa.amsl.com>; Mon, 2 Jul 2018 23:54:20 -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 47BEC130E73 for <pim@ietf.org>; Mon, 2 Jul 2018 23:54:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1530600857; 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=/V3TWJyh7lJTZ8d6Zm0KcJNIbGJ8jGTH2Y4InZF1Hms=; b=fFwnHPbYmatDIRHzE3YntlNFch5hHfoylXZdn1r7FAwzxMaOGSqJh5VOgsNiHwDW cLzWQXc9IOiThjgtt7glNQsWv67WMRGTWg4ZI2hELVMfMgcarqsICCUFeqofBnRv pcRBNYaJNyMSpdXp4HJhkrOq6Vvdh7iGRkjP4vvoTGs=;
X-AuditID: c1b4fb3a-dcb6e9c0000079c1-24-5b3b1d9914c1
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 20.A5.31169.99D1B3B5; Tue, 3 Jul 2018 08:54:17 +0200 (CEST)
Received: from ESESBMB503.ericsson.se (153.88.183.170) 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, 3 Jul 2018 08:54:17 +0200
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB503.ericsson.se (153.88.183.170) 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, 3 Jul 2018 08:54:16 +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=/V3TWJyh7lJTZ8d6Zm0KcJNIbGJ8jGTH2Y4InZF1Hms=; b=Q3aEsvu3R/9BHyNKZ6/qLmk4l6F7CBOfwWrWwfx7pq1Kvko2MiRnGZ6X7SFmyOnlcyLfF22FGIPqLu9BaLryDaSxnYHB96wlyTSyDo0JNku4f/pUUOCH5LtLXXiFTaW36GhwA7xyvpr6tJDUR1PstqfYVQ5/UShtYiSocXROAco=
Received: from VI1PR07MB4192.eurprd07.prod.outlook.com (20.176.6.29) by VI1PR07MB4606.eurprd07.prod.outlook.com (20.177.56.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.18; Tue, 3 Jul 2018 06:54:15 +0000
Received: from VI1PR07MB4192.eurprd07.prod.outlook.com ([fe80::3848:62ec:b028:3c92]) by VI1PR07MB4192.eurprd07.prod.outlook.com ([fe80::3848:62ec:b028:3c92%2]) with mapi id 15.20.0930.016; Tue, 3 Jul 2018 06:54:15 +0000
From: Hongji Zhao <hongji.zhao@ericsson.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
CC: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "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>, Xufeng Liu <xufeng.liu.ietf@gmail.com>, Liuyisong <liuyisong@huawei.com>
Thread-Topic: Some explanations for you questions. Thanks! RE: [yang-doctors] Yangdoctors early review of draft-ietf-pim-igmp-mld-snooping-yang-03
Thread-Index: AdQSmgiw7+sLKQpBToWrB7kbECQiGQ==
Date: Tue, 03 Jul 2018 06:54:15 +0000
Message-ID: <VI1PR07MB4192036A5992A003E1A56C8596420@VI1PR07MB4192.eurprd07.prod.outlook.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; VI1PR07MB4606; 7:YuUcx3sZZ1sCkLcA9yf3b5cRDeXb+NWvVeaRX1fh4jf49aXXc7jtZg5NcwrHmfLLlEiFxn1P1IbcSYCzdgUAvPbl1JMWj+K96HB2tZz6egrH2yB7x626nAFK42a2KULzbn7FiGeFt94cHNGWxZy7ucq5+439Qp12pMN77b7SylXjeawO7+4hnUahDvC8dGorfMrj9BLl2ZP/62GdBKIz3+QyKMAgBVrfHrI2BwRa1IH8a7u52oskevFseZrqwf7Y
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 7d7e8a2f-e7e6-4895-4e6b-08d5e0b1cab2
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:VI1PR07MB4606;
x-ms-traffictypediagnostic: VI1PR07MB4606:
x-microsoft-antispam-prvs: <VI1PR07MB460626E16F1F7EBCFF7F564E96420@VI1PR07MB4606.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(120809045254105)(95692535739014)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:VI1PR07MB4606; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB4606;
x-forefront-prvs: 0722981D2A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(366004)(376002)(396003)(346002)(13464003)(69234005)(189003)(199004)(97736004)(74316002)(4326008)(9326002)(6116002)(3846002)(790700001)(7736002)(66066001)(99286004)(5660300001)(186003)(14444005)(2906002)(86362001)(256004)(8936002)(486006)(476003)(6916009)(26005)(81156014)(81166006)(8676002)(606006)(44832011)(6436002)(53546011)(6506007)(5250100002)(7696005)(102836004)(55016002)(236005)(6306002)(54896002)(9686003)(2900100001)(14454004)(25786009)(68736007)(54906003)(316002)(39060400002)(53936002)(106356001)(105586002)(33656002)(478600001)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB4606; 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: 0dWBiLBxXerrKRPJhWiAiQp3V7JdpXbdulKrr9bq7uT8CI+vnTislfw823DE7iDhEkCKNLaGcPkTiDooWiD7qrKUTmkQpdaNwXfYwMvgl/RzyoyXqgDNGdVHssXV5subaJYBMY4ioVEWy/Co+e4daaQzyFpDcHg9Gx7Q812wDBlr2BpZhhf09d87WtkOSgmCC+fAbbVQScrVZ+OCMerhlkiZ+0rdG93T6HkckH3NJWA7oYRq9X8sOMKzjqb2ihzw5dGvzLRJ0SSoW0Jnv/T9ysFVkOADDdpqVePWJnyLu35QQOeT0ipk25ROiL08CorquwQrwQ8PNcq9qL/ZC031E4mSBrMAvYRPT+zGvgTAiuY=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB4192036A5992A003E1A56C8596420VI1PR07MB4192eurp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 7d7e8a2f-e7e6-4895-4e6b-08d5e0b1cab2
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jul 2018 06:54:15.5518 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB4606
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHec85246j0evy8mQZdFIyzXmpD0PLrA8xPxgRfigVaulJhzpl xzQjyXRGOW/lNBRlSkrmLSrNC2a6sqlUSolkGTU0TNAwzMy0zLMzwW+/9/n/3ssfXpqUW0Ru tEabyuq06kRGLKXKT7en+5a7B0f5N00wym7DZ7Hy69oB5U/rOKkcq8+VKEctq4SysKsXhYpV xpWHIlVnxSeJSv9iTqSqrV0mTlKR0kOxbKImjdX5hZyTxr9bapek1JYQlwoKZFnoRj6Rhxxo wAch586kOA9JaTnuR3DvRw0lLBYRWGf19uQuAS+N04hfULiYhLme90hIigi43bko5g+TYyuC omc2FuP9cNPQRuYhmnbCAfCnKZj3Sd5/vlhou3wbLkJQvxzPB07YiGCl/g3iAyesgPu/22wS hT2gt8Mi4lmGo+H1mIXkGWEXWBpqsjkkdoUPUyZ7Iwy13cOkwM4wM/lPJPhR0NJ/TSLMd8G3 lhK74w5vTQZbG8CtBPS2NtoDX5gvLbVzOMyVjhKCNIKgf27AHnhDWU2BnROg2ZKP+Mo8G2bO bFzWUGClhL09JDytb7a/dCesll0nipGiYlOJivXtJE6GBZO8wtbZEQbLpyhhvA8edPkJ9m4w GqwSgb0gt7JKsnlejSQNyJljOS4pLjBQweo0MRyXrFVo2dRHaP179bWuBHWgvumjZoRpxGyR xUiDo+QidRqXkWRGQJOMk+yJZ1CUXBarzrjM6pLP6i4mspwZ7aApxlV27IIyUo7j1KlsAsum sLqNlKAd3LJQTH7d6lprdajql3j0Y6r2r+rWlavizFfZW2UtVfphv5bIx9sZ6ZGG3JTQiIHK 43tOGBc1w5Fh2hr6cPjyec8hH2nO4N5ZIt80Mh+NXU551ZlDpvWa710exj5tVWZ6wryXJ0MX Ny6bFZnj2foFf68sH5NBWsKEpXERE5kpjl8YiotXB3iTOk79HysJjf5aAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/bm5iWQIPnIIxWe6SRCbiz2JIpxI>
Subject: [pim] Some explanations for you questions. Thanks! 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.26
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, 03 Jul 2018 06:54:25 -0000

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<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 module defined in this draft:

    - ietf-igmp-mld-snooping@2018-05-03.yang<mailto: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<mailto:yang-doctors@ietf.org>

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