Re: [bess] DF election rule in EVPN MH, for untagged interface - reg

Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com> Fri, 05 April 2019 09:41 UTC

Return-Path: <jaikumar.somasundaram@ericsson.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B2E51201C0 for <bess@ietfa.amsl.com>; Fri, 5 Apr 2019 02:41:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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
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 1BXWuoSydiW6 for <bess@ietfa.amsl.com>; Fri, 5 Apr 2019 02:40:58 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40062.outbound.protection.outlook.com [40.107.4.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67644120045 for <bess@ietf.org>; Fri, 5 Apr 2019 02:40:57 -0700 (PDT)
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=ZrO9XuAtxXkEjKv+T1ECxVXLEWLy2KHpMsbidKhXFmQ=; b=VIn5Ix/MkKqGxRz63nHx1SqxKhRldgL9RG4AcbeGoNYnmo+2ifpeO/+jxkzVGTuCahz5QY1YgBCFuZ/DqjZGw0+hW8KhQypd6EOAxk5UsR9rRXIR7dCitVXiw4nheHzeXm3KibQN3aZb0Lp7S/bvJwS4388cAJZLFJnYlmclDkA=
Received: from VI1PR07MB4302.eurprd07.prod.outlook.com (20.176.6.159) by VI1PR07MB4927.eurprd07.prod.outlook.com (20.177.63.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.9; Fri, 5 Apr 2019 09:40:54 +0000
Received: from VI1PR07MB4302.eurprd07.prod.outlook.com ([fe80::f869:e65c:92b2:e6e5]) by VI1PR07MB4302.eurprd07.prod.outlook.com ([fe80::f869:e65c:92b2:e6e5%6]) with mapi id 15.20.1771.007; Fri, 5 Apr 2019 09:40:54 +0000
From: Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com>
To: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>, "bess@ietf.org" <bess@ietf.org>
CC: P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com>
Thread-Topic: [bess] DF election rule in EVPN MH, for untagged interface - reg
Thread-Index: AQHU63I0j0hKXYAZcUSX1MLBOHGklaYtUGxw
Date: Fri, 05 Apr 2019 09:40:54 +0000
Message-ID: <VI1PR07MB43023B982F71952486D7D3BD86510@VI1PR07MB4302.eurprd07.prod.outlook.com>
References: <09CBA32C-C703-408F-9F73-9F26D8FD1C25@nokia.com>
In-Reply-To: <09CBA32C-C703-408F-9F73-9F26D8FD1C25@nokia.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=jaikumar.somasundaram@ericsson.com;
x-originating-ip: [125.16.213.150]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 458b63a0-24f8-47b5-edee-08d6b9aacc9f
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(2017052603328)(7193020); SRVR:VI1PR07MB4927;
x-ms-traffictypediagnostic: VI1PR07MB4927:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <VI1PR07MB4927BAF53DFBB758C6E18C5186510@VI1PR07MB4927.eurprd07.prod.outlook.com>
x-forefront-prvs: 0998671D02
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(396003)(346002)(376002)(39860400002)(53754006)(199004)(189003)(790700001)(6116002)(11346002)(7696005)(4326008)(110136005)(68736007)(25786009)(446003)(7736002)(33656002)(97736004)(53936002)(81166006)(81156014)(486006)(8936002)(106356001)(55236004)(107886003)(6506007)(186003)(2501003)(102836004)(6246003)(99286004)(53546011)(3846002)(476003)(26005)(2906002)(76176011)(74316002)(105586002)(14454004)(71190400001)(71200400001)(66066001)(6436002)(606006)(5660300002)(86362001)(6306002)(54896002)(9686003)(52536014)(236005)(8676002)(5024004)(256004)(44832011)(55016002)(316002)(296002)(229853002)(966005)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR07MB4927; H:VI1PR07MB4302.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-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: EGko8UPYt1e7BRBhwJEHnP223yGUR0wNvri2NGqpVaEwZ99PPGE5oa8lBFOVvFW2Ft7lLUTxKvQ+HA/14sHi6TLcl+aBMnpUdJNetNZTjNb0XfpgaHfjD3djeSohoCEALzIb8cmGa2PyCUNTCxLmjUZXcRt3CkBNFAAlhlcNRchR/kHJZ5fJBctnD9jtw+yiDKiPOKI0DmEoNsvHgzTbLjMrdAarq3k4q8kKuKcaGNcczaq2OAsmXwYNGlauldOmZKeD4HSwmspboR6TcpWWUJ50mYgUpcoHLH0Y6yssVeM2RdIiC3vqGAFcPi9hNxXbX2TOeYBBze46DTXru2oNifAACwm51bzGHkS6HWnd1fBaLJaXY44qXY9PbMwNhv499xBWRYHboGzwLHpTmVs/SMwTn4nV/m/37TayQhZX3ho=
Content-Type: multipart/alternative; boundary="_000_VI1PR07MB43023B982F71952486D7D3BD86510VI1PR07MB4302eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 458b63a0-24f8-47b5-edee-08d6b9aacc9f
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2019 09:40:54.7055 (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-Transport-CrossTenantHeadersStamped: VI1PR07MB4927
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/2Yn8z78Ivb4xDS7OgPqQglEX1Zc>
Subject: Re: [bess] DF election rule in EVPN MH, for untagged interface - reg
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Apr 2019 09:41:01 -0000

Thanks a lot Jorge.

Thanks & Regards
Jaikumar S

From: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com>
Sent: Friday, April 5, 2019 11:11 AM
To: Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com>; bess@ietf.org
Cc: P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com>
Subject: Re: [bess] DF election rule in EVPN MH, for untagged interface - reg

Hi,

I think you should check out https://tools.ietf.org/html/draft-ietf-bess-evpn-df-election-framework-09

This draft updates RFC7432 in certain aspects of the DF Election, and it is already at the RFC editor.

Check out the use of Ethernet Tag in the document.

   o Ethernet Tag - used to represent a Broadcast Domain that is
     configured on a given ES for the purpose of DF election. Note that
     any of the following may be used to represent a Broadcast Domain:
     VIDs (including Q-in-Q tags), configured IDs, VNI (VXLAN Network
     Identifiers), normalized VID, I-SIDs (Service Instance
     Identifiers), etc., as long as the representation of the broadcast
     domains is configured consistently across the multi-homed PEs
     attached to that ES. The Ethernet Tag value MUST be different from
     zero.

Thanks.
Jorge

From: BESS <bess-bounces@ietf.org<mailto:bess-bounces@ietf.org>> on behalf of Jaikumar Somasundaram <jaikumar.somasundaram@ericsson.com<mailto:jaikumar.somasundaram@ericsson.com>>
Date: Friday, April 5, 2019 at 6:15 AM
To: "bess@ietf.org<mailto:bess@ietf.org>" <bess@ietf.org<mailto:bess@ietf.org>>
Cc: P Muthu Arul Mozhi <p.muthu.arul.mozhi@ericsson.com<mailto:p.muthu.arul.mozhi@ericsson.com>>
Subject: [bess] DF election rule in EVPN MH, for untagged interface - reg

Hi All,

RFC7432, section 8.5, talks about DF election algorithm (service carving algorithm)

only for <ES, VLAN> for VLAN-based service or <ES, VLAN bundle> for VLAN-(aware)
bundle service.

But there wont be any vlan id for untagged interface and so I wonder
how the service carving algorithm can be applied to elect the DF.
Also, should I use the lower VLAN ID even in the case of VLAN-bundle
service, for electing the DF?

Could some one help me to understand this please?

==========<snip from RFC 7432, section 8.5>===============
8.5<https://tools.ietf.org/html/rfc7432#section-8.5>.  Designated Forwarder Election

…

   The default procedure for DF election at the granularity of <ES,

   VLAN> for VLAN-based service or <ES, VLAN bundle> for VLAN-(aware)

   bundle service is referred to as "service carving".
…

      Assuming a redundancy group of N PE nodes, for VLAN-based service,

      the PE with ordinal i is the DF for an <ES, VLAN V> when (V mod N)

      = i.  In the case of VLAN-(aware) bundle service, then the

      numerically lowest VLAN value in that bundle on that ES MUST be

      used in the modulo function.
…
=========<snip end>======================================

Thanks & Regards
Jaikumar S