Re: [bess] Discussion on modulo-based DF-Election of draft-ietf-bess-rfc7432bis-07

"Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com> Tue, 16 May 2023 20:55 UTC

Return-Path: <jorge.rabadan@nokia.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 0EAACC13737E for <bess@ietfa.amsl.com>; Tue, 16 May 2023 13:55:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nokia.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C4aPO2_Jkun4 for <bess@ietfa.amsl.com>; Tue, 16 May 2023 13:55:22 -0700 (PDT)
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on20713.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eab::713]) (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 A5617C1526ED for <bess@ietf.org>; Tue, 16 May 2023 13:55:22 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MFE7k1aECVG6eg4WrE9bfh5m9BQpd4PxDc+ttiIRkGjdciGJ5xX10kdL786LX3QjvdYxvKXtN0XUqZRyOrNK7eE0O4w7mlePfUczPSXLrh0h+ABGL8zNeJVSZXiiarJCfeIURK6gIKwXs2YA+cfm9mX1BGTpgOPsLtYOe4OuJAIrTdOTPloKoVzf92k4mYNVT6fqNu86lWSenBcGZCCm/O4eb/fV93VrfVMq/+c7F/OXXS8dAK9Z9JxGRzlEbxD2mawhXE4PuvrQ2G801lIJcTtDJDZPisw2mHV55dEJyZNnYfO0cQtgmRtu8eivsZTbchGXYD+4ioNy/BkrMZCrIQ==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xEBT4bPIZ37I0UNwNpDu/qR3PyL9WJTRyytGNTYZWPk=; b=br5ui0U3juCJk4L8KHM/SV+n47ygwagJ4z8WtSM+d+dkWwjXobFNq6ufzohaGMW3kr6d+oALG4hWXZslhf8uB261uwt0CKNKUOZEiB/YSEdBjFWpijt5tZ2beqhS/I79Z95GnpMEkp1/EU1sBgPdT52GYcaOQscEq5iyL+eQQYgJL3JqvMuMEQB9nhu9XslRazEnwJT6hZQFFq1sJ9wmEp1emDiO/68H1AgnkpLHgTA4X1PMd4PiIqIPUXcrSEcPl56YHIM35Gw2HtQbp+QwWwxKHm1IQrOd+8gPCc9BcS/CcPGzajPe3nlpM5+NmCiVPVhaY6r29sbw+uQu1ikqUQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xEBT4bPIZ37I0UNwNpDu/qR3PyL9WJTRyytGNTYZWPk=; b=ZWivwjyAA031EO79P8IMO/UEb9pL89J7sv+rYw/FJxBXIzascKVsMyVTmFAi1OQiBfQmKj4yOIHUPZjLWQdZs0prYdTMWktghggc8DyPpw/BGLqe6yaFKKDaAp7n/FC4am8oapP3+JImLefJGhc/nVTvLP2X9Ygcdhf9A+AuEptAfqxB1SCQOPRuY20T0sZ/tJjyH2/mGNetmZMJ/NAbn8IO85IbMXM3mAaI35sY3uxho/oZ2uOCeh6NrEvtbQsGlUXPBF+zWhaJBYDt9wLfihZKyKnqznmtzXrhTxo4EOQ9uNE3IR6NN3tf8AWgIhhDb36UbVXzF7iCiUPNqSN9sw==
Received: from BY3PR08MB7060.namprd08.prod.outlook.com (2603:10b6:a03:36d::19) by SA3PR08MB8548.namprd08.prod.outlook.com (2603:10b6:806:300::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.29; Tue, 16 May 2023 20:55:15 +0000
Received: from BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::e519:798e:7fa8:68ed]) by BY3PR08MB7060.namprd08.prod.outlook.com ([fe80::e519:798e:7fa8:68ed%7]) with mapi id 15.20.6387.033; Tue, 16 May 2023 20:55:15 +0000
From: "Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com>
To: "wang.yubao2@zte.com.cn" <wang.yubao2@zte.com.cn>, "draft-ietf-bess-rfc7432bis-07@ietf.org" <draft-ietf-bess-rfc7432bis-07@ietf.org>
CC: "bess@ietf.org" <bess@ietf.org>
Thread-Topic: [bess] Discussion on modulo-based DF-Election of draft-ietf-bess-rfc7432bis-07
Thread-Index: AQHZh9rp9MztZb5UDkehSrZAuxzXQK9dYIHe
Date: Tue, 16 May 2023 20:55:15 +0000
Message-ID: <BY3PR08MB7060AB55F64414E5DE1C6B2EF7799@BY3PR08MB7060.namprd08.prod.outlook.com>
References: <202305161743187541444@zte.com.cn>
In-Reply-To: <202305161743187541444@zte.com.cn>
Accept-Language: en-US
Content-Language: en-US
X-Hashtags: #NewslettersPlus
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BY3PR08MB7060:EE_|SA3PR08MB8548:EE_
x-ms-office365-filtering-correlation-id: 1697967c-220a-47ef-823b-08db564fd97a
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: famI+8irMM0DF3qnJoU0an3AiABgVWCOR2tOAFa3LVfS9eX3C0OxPh6imVVrn6JDeBlV3KrwfiqO3q8AJlsQ1ik0ywWrYvEShZnH84gfs/wnNjkgodYY+lK41eH7TBNPtQmXzBHFViMK9YtHQv/h2PZjsCo1iIMN6HuB80Ti49hAl6jE7jTqxa5JVQQ7IRb0TVZgTY/RL8qYGLSPccvY/IjTvYYl/2BB+i64Im2vt68JSS45iYhMnGtwoABImq9GjA118dwTG3n4lC+uCuj7BKtavgn2JncXlReCYbhI9yU/X4WLesQgLO8K/YfHPzQr9Ev4Js39uw+12aLr7gaw4TVHuC6JqkC4sNJwoZrIb75+UzcXCXm6WuPk0IDYD3tSR9k7lQIpjZzReAtsiLtbX07i5GgRgEXG849BgttesvZt/Ho3kO+DV8YQcmce8ze0ifkLlCtYZpbVye5cOBBcR0nZhTV0zcgSbY6JzHQw9XPjFdQUA2Nwlc0qAfGcs4IHgjkv/vRnzgIHqX/z1T9ANvOz5rJIAOqgzaL4K9Qe00ao3SBZpOacPgjQR+8H5ggAxHoeZaoBk7mcCnREn0dF4Hb6yRSOf0PwTfV9WaxRJ96sfwsGGyofSZKtxDjzRNLJpWMYtcmkA55OGthIDDH12Q==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY3PR08MB7060.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(136003)(366004)(396003)(346002)(376002)(451199021)(84970400001)(83380400001)(4326008)(316002)(41300700001)(38070700005)(66476007)(82960400001)(166002)(38100700002)(122000001)(53546011)(7696005)(9686003)(55016003)(66556008)(66946007)(64756008)(478600001)(76116006)(66446008)(91956017)(5660300002)(8936002)(2906002)(33656002)(52536014)(6506007)(8676002)(9326002)(26005)(110136005)(86362001)(71200400001)(186003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: y/QsGDoMwGjo69i/muuifQRyWqS+TrAvFwFBwQrv0oKWn1i98mxtANY0w0CAvdVXJLO66n+uZ3B9iyjFI8RuM4tufn497lyspigUWSVidE/lCon0aR4pUp2HrrgfFQzqKHRS73Qh9VodL9BmlmUpupa/xGtuyh9nIgYmp9/pCRUr8P8o6NacQKUPWIZP3zBoDhFLotdFC8YM8sMs/QBrVuUByZkHS0zE9eY1GQbiDb/lu67vBnfzZCxWrM1c3R1Tm3LyRAGlY8z7livHCql0sXYGwQH6lhi4xhj3jveiPbWZhGuFXXHf4INsha2jWoYo2WlGcLwmkniFvb6WaC0By21j/ws6wXtUlRxd9PEdTeYFuwKWtouSz3XbIyYbqMWJJ5Jq4FAP40z1eWoJ1+ENabMIrlM68tI/wagzkC6Rxj5E9GVKT6P0p5cGHhW1/EmBevt3knidLZQPXF6Dm8iGKCuSXS9ZswNbB3PknXgRvKmxKqTHBQzBKhLNTos7E4kYYU7Bmo04Vgb6wQarBsIZ4KFsu3lJP2+1XqH3f1Ug9ebefWPhYAhU2zBOXLwJgbWrUXxlvA/fr9PBco/NiG7KVkizmJmjg3EXKSbwulTrfGNsivADSVTU9KUE2PaLAMYwBWDBGjamFEeQPm7dknJRiRFh6Zco2BYdUHF3EoGLR6tBOIMon/dnnhU2drDsO74pJs+s7KzAw8TO1qacQlY5giwG2hAR8s2qQ0JPvWjxVx+CgxG3sWvXhqusvb+S7G4BfONkFt+qxbxxEp5SjOb2cE8wShbZXZ3QzGizezExX+Ac83qFRGpAIx4oOZ8wmwQ7eKvzIxdC+tzJD10S4JQhfNK/Q6H3W0D3F7bnTm+GmDbQx+tzN3c7K6IUEby7mk/2KJ++VWOLqReon7gXRIPXpPItAw4C9zaIf6LS2Agcbqt7GI/8eZJTXqdcODeCZwZJEQgMOGNHGoTSuHhcvLaGu4jq6mWqkzWJf8Ta6LnhnNjy0qyJuQMGA/F3ho7JTOwb9H9CRlMeAsz/COL1Reo4ipK9S/wkPyRydgY2jcNR3ZeB2U5+Nv6T+AakAN+DMlGkgTdUlqnb5wLC5liw/mv+MfJJMuILkN1ocL9ps1MN0pvzYDbGaVZNbPr0h+rcjYFLllHTfckQ3EyM1TOSh11djD9NfQUrQ10rFr40mYipQTOaI56xXQ9lpKu2n/5+X1cZI4rNylZrOa4UgZnYLDWVrjrcnGcBXEaEsc6F3eG/8EVEUaHvxAXc71a+8OdsAcPVpMqc8I6STIHsa9yvEiF5VTmCXJ1kBm1PQptSCMMFdKMgBkcvCQSt7duz0kk+otgEiyslT9DO89Zjer1FMxLLqELiKmoOT5EGXG7q1yikknUApsz1GOIBZO85rx6lw5vGUndvxrUg2GMO3gD20MK1E/1IIMs2QWtQQ0mBpMUETvvMhWBcthUtfS4fGQL6czNlzDLt/xRSXiO2MtXxx/dXPWuPk+qHmg1gmEmixjtu+BSMfOVO2BHARxkAr+AZiNgoZGL++mb04ZMMf2w4kKdjjYMXz4pt/vVTQyF47IjWO0HfdARb9hE7aIpietse4AbZApKwNK3VFrkUanULSIc0SQ==
Content-Type: multipart/alternative; boundary="_000_BY3PR08MB7060AB55F64414E5DE1C6B2EF7799BY3PR08MB7060namp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY3PR08MB7060.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 1697967c-220a-47ef-823b-08db564fd97a
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2023 20:55:15.3829 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 8eHtpnJDBLFWznhFj7WrY4U+eRBOltW9Ymw+/JflVCel4p1Hf/b67IaOKnSrB0d0dAFIon77aMYnuLZ5+h1FnQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR08MB8548
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/cPuZSRtjh-dPzMZmgMldFKBOwZE>
Subject: Re: [bess] Discussion on modulo-based DF-Election of draft-ietf-bess-rfc7432bis-07
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.39
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: Tue, 16 May 2023 20:55:27 -0000

Hi Yubao,

I would recommend reading RFC8584 section 4.1 for VLAN-aware bundle and AC-DF.

Also it is important to understand the difference between ethernet tag id and ethernet tag. The latter is used for DF election, and not the former.

“Ethernet Tag:
Used to represent a BD that is configured on a given ES for the purposes of DF election and <EVI, BD> identification for frames received from the CE. Note that any of the following may be used to represent a BD: VIDs (including Q-in-Q tags), configured IDs, VNIs (Virtual Extensible Local Area Network (VXLAN) Network Identifiers), normalized VIDs, I-SIDs (Service Instance Identifiers), etc., as long as the representation of the BDs is configured consistently across the multihomed PEs attached to that ES.
Ethernet Tag ID:
Normalized network wide ID that is used to identify a BD within an EVI and carried in EVPN routes.”

Hope it helps.
Thanks.
Jorge


From: BESS <bess-bounces@ietf.org> on behalf of wang.yubao2@zte.com.cn <wang.yubao2@zte.com.cn>
Date: Tuesday, May 16, 2023 at 11:43 AM
To: draft-ietf-bess-rfc7432bis-07@ietf.org <draft-ietf-bess-rfc7432bis-07@ietf.org>
Cc: bess@ietf.org <bess@ietf.org>
Subject: [bess] Discussion on modulo-based DF-Election of draft-ietf-bess-rfc7432bis-07

CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.





Hi all,



I noticed that the DF-election for VLAN-based/VLAN-bundle service interface has been modified in section 8.5 of rfc7432bis.



"3. When the timer expires, each PE ... ... The ordinals are used to determine which PE node will be the DF for a given EVPN instance on the Ethernet segment, using the following rule: Assuming a redundancy group of N PE nodes, the PE with ordinal i is the DF for an <ES, EVI> when (V mod N) = i, where V is the Ethernet tag for that EVI. For VLAN-Aware Bundle service, then the numerically lowest Ethernet tag in that EVI MUST be used in the modulo function."



If the EVIs are all VLAN-based or VLAN-bundle and above Ethernet tag is the Ethernet Tag ID of the corresponding A-D per EVI route, the Ethernet tag for each EVI will be 0. Thus above i will be 0 for each of these EVIs. But the goal of service carving is "The load-balancing procedure carves the set of EVIs on that ES among the PEs nodes evenly such that every PE is the DF for a disjoint and distinct set of EVIs for that ES."

How can this goal be achieved for VLAN-based or VLAN-bundle service? As far as I know, RFC7432 didn't say that V is the ethernet tag ID for that EVI.



I understand that in AC-DF mode (AC-influenced DF-election) , the Ethernet tag for that EVI should be used to match a corresponding A-D per EVI route.

But if the modulo function is done using Ethernet Tag ID, the load-balancing cannot be evenly done for VLAN-based and VLAN-bundle service interface.



I guess, according to original RFC7432, when the modulo function is done, the V should be the original VLAN on that AC, especially in VLAN-based service interface and VLAN-aware bundle service interface with VID translation (https://datatracker.ietf.org/doc/html/draft-ietf-bess-rfc7432bis-07#name-vlan-aware-bundle-service-i), where the VID is not the same as the ethernet Tag ID.

Is my understanding correct? Have I missed something important?



Furthermore, the lowest Ethernet Tag ID for all VLAN-aware bundle EVIs may be the same value, I guess it may be 0 or 1.  In such case,  the load-balancing cannot be evenly done for VLAN-aware bundle service interface either.

So maybe it should be said as the following: For VLAN-Aware Bundle service, then the numerically lowest Ethernet tag on that <ES, EVI> MUST be used in AC-DF mode, and the VID corresponding to that lowest ethernet Tag ID of that <ES, EVI> is used in the modulo function.



The last question is that: If an ES are attached to serveral VLAN-aware bundle EVIs, can these EVIs use the same Ethernet Tag ID for that ES?

If they can, then using ethernet tag ID to do the modulo function may not be a good choice.



Thanks,

Yubao