Re: [pim] [yang-doctors] Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot!

Hongji Zhao <hongji.zhao@ericsson.com> Tue, 09 October 2018 02:44 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 D8DED13111B for <pim@ietfa.amsl.com>; Mon, 8 Oct 2018 19:44:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.755
X-Spam-Level:
X-Spam-Status: No, score=-4.755 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.456, 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, 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=XMhfoVYL; dkim=pass (1024-bit key) header.d=ericsson.com header.b=Ot+feN8U
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 upgsAKErYoog for <pim@ietfa.amsl.com>; Mon, 8 Oct 2018 19:44:54 -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 8582B131103 for <pim@ietf.org>; Mon, 8 Oct 2018 19:44:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1539053091; 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=dPB8PSsxz7WJiXa950ge0gPH8uI0lNb6A3v6WFXNiHA=; b=XMhfoVYLY7wsrZU+IvYMnt2h7T3MYfpSSub7RTAg8+Z3K4cZgpbaI5W0A3ketQ1+ Bjh3WkCBLGrIKOXDfEzvYXSFIkx9w7rQoW8kmr0eEIjda4N/1FVoEg8WSAtStYv3 Tv16A6nU6HFyfwNIimH5o+tVgImHEHuKA5dBkcbRWbk=;
X-AuditID: c1b4fb3a-9b7ff70000002fc1-ce-5bbc162303ad
Received: from ESESBMB505.ericsson.se (Unknown_Domain [153.88.183.118]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 61.6C.12225.3261CBB5; Tue, 9 Oct 2018 04:44:51 +0200 (CEST)
Received: from ESESSMR504.ericsson.se (153.88.183.126) by ESESBMB505.ericsson.se (153.88.183.188) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 9 Oct 2018 04:44:51 +0200
Received: from ESESBMB501.ericsson.se (153.88.183.168) by ESESSMR504.ericsson.se (153.88.183.126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 9 Oct 2018 04:44:51 +0200
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB501.ericsson.se (153.88.183.168) 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, 9 Oct 2018 04:44:50 +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=dPB8PSsxz7WJiXa950ge0gPH8uI0lNb6A3v6WFXNiHA=; b=Ot+feN8UhEwCrhHhl5V3XoS9eN5ycFisa9dclupmvbPibmT3GVBP89fw0iEr+3cE67QxPwOvyGEdQtLXJ5puq5uXwnXCf5WfUCSEwD6UbrA0NLBXo1u8TZRxuEMPK72d8/PIbmYtP2CDmYgTsCG1Q+f//XxEfSOShqgcHJVnrmM=
Received: from VI1PR07MB4192.eurprd07.prod.outlook.com (20.176.6.29) by VI1PR07MB4350.eurprd07.prod.outlook.com (20.176.7.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.13; Tue, 9 Oct 2018 02:44:49 +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.1228.020; Tue, 9 Oct 2018 02:44:49 +0000
From: Hongji Zhao <hongji.zhao@ericsson.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
CC: YANG Doctors <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>, "Acee Lindem (acee)" <acee@cisco.com>
Thread-Topic: [yang-doctors] Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot!
Thread-Index: AQHUWZAIg0bAVGEH+UWAo2QEnUAQoqUWPogg
Date: Tue, 09 Oct 2018 02:44:49 +0000
Message-ID: <VI1PR07MB41928C4F8CC4F686205453A096E70@VI1PR07MB4192.eurprd07.prod.outlook.com>
References: <9FBAE41A-6E7A-4240-9372-10656CD1E018@cisco.com>
In-Reply-To: <9FBAE41A-6E7A-4240-9372-10656CD1E018@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: [219.143.129.105]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB4350; 6:k94GsKHGa1ot2wVmtU2Bf+pA54p/Fpu5crllTab+c8oc3k40U0ERIsTFkRkVIVmT4fGA+6fLvdkX0dU75GB6cWIlynyvLLUOB/u3yuHVwML3JIlMKRGAqfdYlc2i6nT9H+HDpnjC09rIJY4+PUrWRmRXKzO3ur8Sh7DKWWY0s/Q49FELEh8UVE5lZMEpsQSXCaF0HQhoxvnSPE5fQby7k1/Ve9GIAxrGyAUPy0iHn30NfvtT/o21kQ0go4cFHR9VQZbD2PWW3Pw5123Qz/W0n4UPlql0/r8C8oVxHaHIvmKWO+H+eRSje6Dvcu/Ekgot1fhsgvnC00AfheysQM3XfgbiGWGgu+9IorLAG0brGITVI2MjvNptbhslCkUWJKON9GJ4u2lGbDyB7ePwco6OMtMxnjVIFKTFKQVz5/3JNYNFLylUeEMpkX9iCBOawIfG6YdrLwwOiJ8k5NUTMo6f8g==; 5:k3FeJfonReh9PKS/AaF38Vi/hl/rNy2cP+cXqUgLqMY5rrs+L0ZJySFvp0tvWuIMxaJkf3vphP6ctGXCBdZvyud9+Ee6JL/OhvjsJVUBjv/J+IKSiRFMIeGr2PuFDaVeXASczc70VN9Qc/YyVkzuWSY5FUBMXMEBsKzGFIBUv7o=; 7:sQ1CtVYuw/+3mM+W+4sSZ9px5vXDgeRdP2XBCzdGs0tPVba/q4cBs1L3KDlJRpu9GdMkSkEbJxGbrTXNjEQvxUpMQ0qhYBOxbmwYKJ+JHthp5NUYug4pwNmd6qr+oVsBrQXAzpwTFlYFOhrwB3ON+35PG/joLK0laziUeozEc0Wu/HDv3uefj3w9asjwoZYsQXDf/4kdZaDzigO3dAlG9rI9/AD0WLEAcYIbTHlyUjMQD9fs7f7Dtpl8p15tqlri
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 82f4b2a9-73c6-4f59-0de4-08d62d912e99
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:VI1PR07MB4350;
x-ms-traffictypediagnostic: VI1PR07MB4350:
x-microsoft-antispam-prvs: <VI1PR07MB4350507556224C17B3BA5C9396E70@VI1PR07MB4350.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(95692535739014)(248295561703944)(37575265505322)(21748063052155)(28532068793085)(190501279198761)(227612066756510);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(149066)(150057)(6041310)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:VI1PR07MB4350; BCL:0; PCL:0; RULEID:; SRVR:VI1PR07MB4350;
x-forefront-prvs: 08200063E9
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(136003)(39860400002)(366004)(396003)(189003)(199004)(68736007)(6916009)(86362001)(2900100001)(14454004)(6246003)(226693001)(81156014)(8676002)(99286004)(81166006)(256004)(105586002)(19609705001)(102836004)(316002)(7736002)(790700001)(3846002)(6116002)(2906002)(106356001)(74316002)(8936002)(97736004)(54906003)(5660300001)(26005)(66066001)(186003)(25786009)(5250100002)(229853002)(71190400001)(33656002)(71200400001)(476003)(486006)(44832011)(11346002)(236005)(53546011)(6506007)(7696005)(478600001)(76176011)(6306002)(446003)(9686003)(54896002)(4326008)(55016002)(6436002)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB4350; 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: wrxsaGlDABWqMdGLsjh+Hpw+a2iGvaPV86V/CYPbqnktW/eypilWCSkA0eW/ppIjSjzZWDC4xdiTtgxIrntYi0W7BIRGys4txoMZFnauQmnl8xlie3sf5IWxnwXU/1L43uqBV58F5TjfI9kVBKt25dq3+xLyQOCTzcPjy49ISpSNeUAoELUFrs3D3mzix4uEuAtLeSBd+u24Ly79g0U+gtj/+NqeasQd0Z3tzBGS75yI6vIUT02x9TwVmZDQNCF5S2VgSlEg3dv+NA9yLW7QPLFzHn4qK2AiLlIQyzatFQWO5ycT6sdKssn52m+NoBbL/jpuqVe5J09DDiFgqpT6+BTgYua2EI6hiXueL7NpzIM=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB41928C4F8CC4F686205453A096E70VI1PR07MB4192eurp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 82f4b2a9-73c6-4f59-0de4-08d62d912e99
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2018 02:44:49.3853 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB4350
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTURzAO7t3u9ex1WlO/WdEOAtM1DmLGGZhhSCRFdSHcEoNvan5vndK VoRGim1mllpq6jTNxMRX2mSo6MheX4wMJSHFR1nhUkLzNSK3u8Jvv/85v//rcGhC1iv0pBNS dAybok1SiMRk+XlTpr+3e48mMO+Bn7rYWk2oewwTIvXi5CdCPdKYS6kLzf0oVBhest4uDK+v XxWcEUSKQ2KZpIRMhlUeuSiOX/3RhNJeFAiuPH34TJCN2nIFeuRCAz4A1tmPlB6JaRkeRHBn IJvkgyUEK1PD1P9gYGyK4IM6AYwUtjk0EhcRYDKtO7VCATS2fHYGkwhG8tZIexsR9oPbhq6N fJqWYxWsNR+yOwSeQDD6qMwxiiu+DMOTZocvx4nw7Wc14jkIlvTTlJ1JvAfmRhscLMVRYMt7 48iV4RBoXTUSdnbBh2Gua8hRB2F3WH7X7HAI7AFjM0bn2hjqe4YInt3g+/QfIe9roGUwh+LP vcFaU0XyvAs+GA3IPjTgPgrq+vuckj8slJY6C0VAfqdexEuvERiNZme2L4zX2JydE2G+w+as VIXgVfNjURFSVWyakOdU+J1tQhWOTbfD2/IZsmLj9Qi8D1rNSl7xghLDJMWzD+RWVlGbz2sQ 1YTcOIbjkuOCggIYNiGG41JTAlIYXQfa+FQDnevB3Whg9qgFYRopJNJoSY9GJtRmclnJFgQ0 oZBL3UxmjUwaq826yrCpF9iMJIazoJ00qfCQHrukjpThOK2OSWSYNIb9dyugXTyzEXsQdVaF uenyYzjX0cb3txrmg3frQ06+bDJ+zdi6/PzX3coVefKOca/KhsHVgtBum/h4YS1ttF5TPWms uTkTnH5qS9iiMOrGSM49pqx9QuKj3rbX+7Rasl8ceJZu7Y/U3L8emZX0paG5NiKaPZeeU2wj lIbeIYuPTmmLmVo4sagguXitypdgOe1fX2dVp1ADAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/ykwA4I1rJMhOPg0PWBo6pxtnN1g>
Subject: Re: [pim] [yang-doctors] Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot!
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, 09 Oct 2018 02:44:57 -0000

Hi Reshad & Acee,

I see your points and I plan to move the statistics under the snooping instance as below.   Is it ok?   Thanks a lot!


module: ietf-igmp-mld-snooping
    +--rw igmp-snooping-instances
    |  +--rw igmp-snooping-instance* [name]
    |     +--rw name                                 string
    |     ...
    |     +--ro interfaces
          |        +--ro interface* [name]
          |           +--ro name                   if:interface-ref
                      +--ro statistics
                         +--ro received
                         |  +--ro query?                  yang:counter64
                         |  +--ro membership-report-v1?   yang:counter64
                         |  +--ro membership-report-v2?   yang:counter64
                         |  +--ro membership-report-v3?   yang:counter64
                         |  +--ro leave?                  yang:counter64
                         |  +--ro non-member-leave?       yang:counter64
                         |  +--ro pim?                    yang:counter64
                         +--ro sent
                            +--ro query?                  yang:counter64
                           +--ro membership-report-v1?   yang:counter64
                            +--ro membership-report-v2?   yang:counter64
                            +--ro membership-report-v3?   yang:counter64
                            +--ro leave?                  yang:counter64
                            +--ro non-member-leave?       yang:counter64
                            +--ro pim?                    yang:counter64

BR/Hongji
赵宏吉

From: Acee Lindem (acee) <acee@cisco.com>
Sent: Monday, October 01, 2018 10:07 PM
To: Reshad Rahman (rrahman) <rrahman@cisco.com>; Hongji Zhao <hongji.zhao@ericsson.com>
Cc: YANG Doctors <yang-doctors@ietf.org>; draft-ietf-pim-igmp-mld-snooping-yang.all@ietf.org; pim@ietf.org
Subject: Re: [yang-doctors] Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot!

Hi Hongji, Reshad,
I agree with Reshad. While both hierarchies have been implemented on various network devices, it is more straight forward to include protocol interface configuration and state in the hierarchy of the protocol instance rather than have it on the interface itself. The only time you want to place it on the interface is when the protocol instance is scoped to a single interface (e.g., VRRP).
Thanks,
Acee

From: yang-doctors <yang-doctors-bounces@ietf.org<mailto:yang-doctors-bounces@ietf.org>> on behalf of "Reshad Rahman (rrahman)" <rrahman@cisco.com<mailto:rrahman@cisco.com>>
Date: Monday, October 1, 2018 at 9:22 AM
To: Hongji Zhao <hongji.zhao@ericsson.com<mailto:hongji.zhao@ericsson.com>>
Cc: YANG Doctors <yang-doctors@ietf.org<mailto:yang-doctors@ietf.org>>, "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: Re: [yang-doctors] Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot!

Hi Hongji,

I understand that these statistics are interface specific, but I still don’t understand why you think augmenting if:interface is better, can you please explain? For me these counts are IGMP/MLD snooping specific, so should be under the snooping instance.

As an example, take a look at section 2.7 of draft-ietf-ospf-yang, the per-interface OSPF counters are under OSPF protocol container, not augment of if:interface.

Regards,
Reshad.

From: Hongji Zhao <hongji.zhao@ericsson.com<mailto:hongji.zhao@ericsson.com>>
Date: Tuesday, September 25, 2018 at 12:30 AM
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>>, YANG Doctors <yang-doctors@ietf.org<mailto:yang-doctors@ietf.org>>
Subject: RE: Hi Reshad, the issues about igmp snooping model are addressed. Thanks a lot!

Hi Reshad,

The statistics are related with igmp-mld-snooping, not only with mrouter interface.
The query is the number of  igmp query messages. The membership-report-v1/2/3 indicates the number of membership report v1/2/3 messages. The leave indicates the number of leave messages.
The pim is the number of pim hello messages. They are used to generate and maintain the entries for l2 multicast forwarding, multicast router interface, IGMP&MLD snooping membership, etc.

So I think keeping them under augment of if:interface is better.  What do you think of that?
Thanks!

BR/Hongji
赵宏吉

From: Reshad Rahman (rrahman) <rrahman@cisco.com<mailto:rrahman@cisco.com>>
Sent: Thursday, September 20, 2018 8:26 PM
To: Hongji Zhao <hongji.zhao@ericsson.com<mailto:hongji.zhao@ericsson.com>>
Cc: 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>; YANG Doctors <yang-doctors@ietf.org<mailto: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,

It looks like those statistics are needed only for interfaces (not for PWs) , so you could keep them under augment of if:interface, or put those stats under bridge-mrouter-interface and l2vpn-mrouter-interface-ac in the snooping-instance. My preference is for the latter.

Regards,
Reshad.