Re: [Yang-multicast] Hi Hitoshi, here is a yang model for IGMP/MLD proxy in draft-zhao-pim-igmp-mld-proxy-yang-03. Welcome your comments. Thanks a lot!
Hongji Zhao <hongji.zhao@ericsson.com> Tue, 13 August 2019 08:59 UTC
Return-Path: <hongji.zhao@ericsson.com>
X-Original-To: yang-multicast@ietfa.amsl.com
Delivered-To: yang-multicast@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DBCFF1200D6 for <yang-multicast@ietfa.amsl.com>; Tue, 13 Aug 2019 01:59:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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
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 Lio4N97Ao06a for <yang-multicast@ietfa.amsl.com>; Tue, 13 Aug 2019 01:59:33 -0700 (PDT)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20075.outbound.protection.outlook.com [40.107.2.75]) (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 464881200D7 for <yang-multicast@ietf.org>; Tue, 13 Aug 2019 01:59:33 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gJowV6+QvNP3/zf97uOKadOr+O/K2gl+GCKP2Gpwr9RGCRGutxPESNa/irawtnzbI6OHg70Qf7xlqcfpyqBly6174hx89U+sPfj84shMaplqqD6Ro4ka0MRVfJVbYBRU8S25hCH0cBf2Khy1runxI7foDPoC0OYZis1dTZ8iG2E0x/zdcPbBj87g9De3V+2D1QbSdtEEFaQ+AKaCZf/kAdEty5o3GdiiFD1NSQhczvoAHEcm0TR7pG5Y4iEfQn577vuwJUwzRhQWbnDFtp0iWNxgrF7b8B3wfNIxrexGKpqs+o/fB2MPUk83sSDrwu7zI9iiFsVpTzoTj1R+uiJFeg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WW0cqGcqE/QD72ooIVf2uZuUF4/6G3T4AShx2pEGmxI=; b=L+kUJCM5BBbYeuNsM1Gr60aZ3RpwsJPxbBHbE6IBnHYyTlWJ/kFSejmNKKAsGtsbJ/e05DukQ0rEXEfbWv4636wosPfQr3dKg/E30Sdp2GzHG8BTfNPWqTbv07XktCorVTYN2ZADjVW2vY9hbqbwokUwvI/czOpBuygkeR0f5IY1/UEegk9lbu0fufGhxSlt3KhUQK4Lee6Y1+za/8asZD5CT11YDqTmjs2eenMjo25MaFWbcod83EvkqsUyhAeh3LnDwPphM/kUhGY7qPkoWz9TLYDtuWGxOrrkymDphe+96BytBcM5/fQbB8smwcQDxXHzXmQ2l0kTVyEJyox/kA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WW0cqGcqE/QD72ooIVf2uZuUF4/6G3T4AShx2pEGmxI=; b=OSjR1S7QIjf2JOAfafrKEFmiKmHlfOQX/PevyzWoIob4hr7QxOWqX0eHEzR1ycgUUEVJyo30+24E82AhQ2RW6cxq8hmFoD0xARiXvgzxNQqMflwUfQpaS+4Pj73/l0eisH6FknsWKM/+Uyzub6/OxZjpiQEbmqEEGwUhWz77XLw=
Received: from HE1PR07MB3148.eurprd07.prod.outlook.com (10.170.245.22) by HE1PR07MB3451.eurprd07.prod.outlook.com (10.170.247.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.11; Tue, 13 Aug 2019 08:59:30 +0000
Received: from HE1PR07MB3148.eurprd07.prod.outlook.com ([fe80::982:2e42:dd39:384a]) by HE1PR07MB3148.eurprd07.prod.outlook.com ([fe80::982:2e42:dd39:384a%2]) with mapi id 15.20.2178.013; Tue, 13 Aug 2019 08:59:30 +0000
From: Hongji Zhao <hongji.zhao@ericsson.com>
To: Hitoshi Asaeda <asaeda@nict.go.jp>
CC: "yang-multicast@ietf.org" <yang-multicast@ietf.org>
Thread-Topic: Hi Hitoshi, here is a yang model for IGMP/MLD proxy in draft-zhao-pim-igmp-mld-proxy-yang-03. Welcome your comments. Thanks a lot!
Thread-Index: AdVI93NBP9QGytccRlePiTI2KBCh+AAqAoqAAgTe9zA=
Date: Tue, 13 Aug 2019 08:59:30 +0000
Message-ID: <HE1PR07MB31488F35C5CCB69D3921E71596D20@HE1PR07MB3148.eurprd07.prod.outlook.com>
References: <HE1PR07MB3148D135ACE75A8733F0334396D90@HE1PR07MB3148.eurprd07.prod.outlook.com> <20190803.110223.165655323756954665.asaeda@nict.go.jp>
In-Reply-To: <20190803.110223.165655323756954665.asaeda@nict.go.jp>
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: [124.156.165.204]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5dec65fb-e479-40ae-c871-08d71fcc8dc8
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:HE1PR07MB3451;
x-ms-traffictypediagnostic: HE1PR07MB3451:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <HE1PR07MB3451C07B91D7CCF6467B6F0496D20@HE1PR07MB3451.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 01283822F8
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(39860400002)(366004)(346002)(396003)(13464003)(189003)(199004)(7696005)(256004)(74316002)(71190400001)(71200400001)(446003)(66066001)(14454004)(53546011)(186003)(486006)(6116002)(11346002)(26005)(561944003)(476003)(6506007)(102836004)(3846002)(99286004)(316002)(2906002)(33656002)(44832011)(478600001)(6246003)(9686003)(53936002)(81156014)(81166006)(86362001)(6306002)(4326008)(55016002)(25786009)(8936002)(6916009)(305945005)(76176011)(52536014)(5660300002)(229853002)(8676002)(76116006)(7736002)(66556008)(66446008)(66476007)(966005)(66946007)(64756008)(6436002)(28003001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3451; H:HE1PR07MB3148.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-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: ibkReVbPc02cOqH/LZqgzEhmJm5uqWN3fO1RjC9nCPWiTy3GguroOIMmuMXehmNbhWE/8EJ+43HA0zs7Sewz2apGvHFonGRf07FEvBQRp5TxalZAqZBUwTyz1IovOCqehen4H8B2wcV1mQhPbTAzlzPgnFSP5GgyB8eCm+MZyjjpWF3nvq2lo1XeE0Gkt0vDaM+OjY0NNueDqBYjUd/ihIaL02F49kVFkbsdzezpcLGOY9YewUnRvhF8DaUMO7toZUsCwPu6HHIAaG6oHgoZPe8YarYNu/tVIQivjkLWIY+yBu31pBSG9O601UB9tbLMK/BBmhMTz3nvbx2vn/QtTfaP2O+wuHv4MJqwaXXF4oQ4iZ0pgieP2RXD+TqmqoefXQ8N/6chpuMrzWejTBdSq+K3mSQvyLAdu7dAfVPJBbQ=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 5dec65fb-e479-40ae-c871-08d71fcc8dc8
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Aug 2019 08:59:30.5401 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: /4GTkodTNG/Ta9XYE+fucMJankLjFERX4Nyurtz4OF70t+H4/8sp9sU7oWeB9Ulxf1IjY5qjtFUGxWGlYfHbyPkmawCBmfDL+Btyfr4oG/E=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3451
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-multicast/KwizMZZE0-_Ao4cB2O1TQI4FKk8>
Subject: Re: [Yang-multicast] Hi Hitoshi, here is a yang model for IGMP/MLD proxy in draft-zhao-pim-igmp-mld-proxy-yang-03. Welcome your comments. Thanks a lot!
X-BeenThere: yang-multicast@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: YANG Multicast <yang-multicast.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-multicast>, <mailto:yang-multicast-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-multicast/>
List-Post: <mailto:yang-multicast@ietf.org>
List-Help: <mailto:yang-multicast-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-multicast>, <mailto:yang-multicast-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Aug 2019 08:59:37 -0000
Hi Hitoshi, Thanks a lot for your comments. 1. The interface-name here is upstream interface. If an interface-name is configured, it shows that the interface is the upstream interface for IGMP/MLD proxy. 2. We just need to configure upstream interface, and don't need to configure downstream interface. So "interface* [interface-name]" is "rw", and the "downstream-interface* [interface-name]" is "ro". Most vendors (including Huawei, Juniper) implement IGMP/MLD proxy like this. 3. For each upstream interface the number of downstream interfaces could be multiple, so there is a downstream-interface list. This YANG model could support multiple upstream interfaces now, because there is an upstream interface list under the igmp-proxy and mld-proxy node. But I don't know clearly about your multiple upstream interfaces for igmp/mld proxy. What is the relationship between upstream interface and downstream interface in your proposal. Thanks a lot! 😊 BR/Hongji 赵宏吉 -----Original Message----- From: Hitoshi Asaeda <asaeda@nict.go.jp> Sent: Saturday, August 3, 2019 10:02 AM To: Hongji Zhao <hongji.zhao@ericsson.com> Subject: Re: Hi Hitoshi, here is a yang model for IGMP/MLD proxy in draft-zhao-pim-igmp-mld-proxy-yang-03. Welcome your comments. Thanks a lot! Hi Hongji, I'm not familiar with YANG models, so I have a few questions first. 1. How does this YANG model classify upstream interface and downstream interfaces? I know the "downstream-interface* [interface-name]" clasifies downstream, then "interface* [interface-name]" implies upstream interface? 2. Why the higher level is "rw" for "interface* [interface-name]" but the lower level is "ro" for "downstream-interface* [interface-name]"? 3. Can the number of downstream interfaces be multiple? It MUST. On the other hand, how about upstream interface? It can be multiple, or MUST be a single? The current igmp/mld proxy specification, rfc4605, only allows a single upstream interface. However there was a proposal (in fact it's mine, though) to support multiple upstream interfaces for igmp/mld proxy. At this moment, you don't need to officially consider to support multiple upstream interfaces for igmp/mld proxy, but if this YANG model can easily support multiple upstream interfaces for the future, it might be good, IMO. Regards, Hitoshi From: Hongji Zhao <hongji.zhao@ericsson.com> Subject: Hi Hitoshi, here is a yang model for IGMP/MLD proxy in draft-zhao-pim-igmp-mld-proxy-yang-03. Welcome your comments. Thanks a lot! Date: Fri, 2 Aug 2019 06:00:21 +0000 > Hi Hitoshi, > > I am the coauthor of draft-zhao-pim-igmp-mld-proxy-yang-03 and get your name in the IETF attendee list. > This draft describes the yang model of IGMP/MLD Proxy. IGMP/MLD Proxy is widely used and needs a yang model. I need your comments to make it perfect. Thank you very much! > > https://www.ietf.org/id/draft-zhao-pim-igmp-mld-proxy-yang-03.txt > > > module: ietf-igmp-mld-proxy > augment /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol: > +--rw igmp-proxy {feature-igmp-proxy}? > +--rw interfaces > +--rw interface* [interface-name] > +--rw interface-name if:interface-ref > +--rw version? uint8 > +--rw enable? boolean > +--ro group* [group-address] > +--ro group-address inet:ipv4-address > +--ro up-time? uint32 > +--ro filter-mode? enumeration > +--ro source* [source-address] > +--ro source-address inet:ipv4-address > +--ro up-time? uint32 > +--ro filter-mode? enumeration > +--ro downstream-interface* [interface-name] > +--ro interface-name if:interface-ref > +--ro filter-mode? Enumeration > > augment /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol: > +--rw mld-proxy {feature-mld-proxy}? > +--rw interfaces > +--rw interface* [interface-name] > +--rw interface-name if:interface-ref > +--rw version? uint8 > +--rw enable? boolean > +--ro group* [group-address] > +--ro group-address inet:ipv6-address > +--ro up-time? uint32 > +--ro filter-mode? enumeration > +--ro source* [source-address] > +--ro source-address inet:ipv6-address > +--ro up-time? uint32 > +--ro filter-mode? enumeration > +--ro downstream-interface* [interface-name] > +--ro interface-name if:interface-ref > +--ro filter-mode? enumeration > > > BR/Hongji > 赵宏吉 >