[bess] DF election text in RFC7432/7432bis and draft-ietf-bess-evpn-fast-df-recovery

"Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net> Thu, 04 April 2024 20:25 UTC

Return-Path: <zzhang@juniper.net>
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 8726BC15155A for <bess@ietfa.amsl.com>; Thu, 4 Apr 2024 13:25:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.174
X-Spam-Level:
X-Spam-Status: No, score=-7.174 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.08, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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=juniper.net header.b="eeu2aGs2"; dkim=pass (1024-bit key) header.d=juniper.net header.b="jSYKD+4x"
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 ino2FaezMax8 for <bess@ietfa.amsl.com>; Thu, 4 Apr 2024 13:25:21 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 4FB7DC151539 for <bess@ietf.org>; Thu, 4 Apr 2024 13:25:21 -0700 (PDT)
Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 434BVfbp016389 for <bess@ietf.org>; Thu, 4 Apr 2024 13:25:21 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h= from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=PPS1017; bh=40Pra+Khi VYlR1wdoT11Z/iwo0nSUISHDP7kYjLmP7k=; b=eeu2aGs2dfNlRdGKX3kKm5XOF WRWItfFnOxaHIYPg3H8vnY+LoKyAvkDlwKC9XGBXqlMEqOm54vVlkGFajnWq8rWc Gw4jyStg0y9nF8sc05K97I1ZLvakWrx62rgTsIgPPuqrM2ZR6dHAhdDcCxf36KpK LUzJv13YdK9d59Kod6atGNwyqg7RoU5FphClDgFLwA9uC9YBUpc0+gEgIQOgn9tH mP7dWLdMyRwxUOuo1y5MzcxT1oK5194TyZ7lhBPDjEdIZMWvGWzQS9HGgZqF/Y73 OLSUkvrqa/poqo8W3FbjEwllq8//HE2XM7dklpTq8C+AgC5dylL6lH0ZgIfjg==
Received: from sj2pr03cu001.outbound.protection.outlook.com (mail-westusazlp17010000.outbound.protection.outlook.com [40.93.1.0]) by mx0a-00273201.pphosted.com (PPS) with ESMTPS id 3x9ep9ac28-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <bess@ietf.org>; Thu, 04 Apr 2024 13:25:20 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RuJAvjtalKmIvSL2eNY/xEHYiKOGKhYn848glro80s+MMXQm09GfyXh1Pi9DVwHz50cTjenrmtCdE9hyxl+H87jSQHYEjK/q+NN1vgK5QcGKAP3HsA3KD/AEXui1ycjE7Q3SOgRobo2pDl5ZBrzq+xwsDUXy4Km9akFZLxPUktQ5AetbPYcA0hjaUQ5E+Kw5RUJxf0jXgsQo78hxnwX6Y+TkhA+JeX68yJbbtuSJi5LRjgxHYlGbUnn606ROevkTk4r9un/Y0p8sA9She1oM13kH/SSr71xDcsD4T8hxFclD3BOv7FYhQJQhhnL9FdjdFgxDmvlTjvH6pQQCQWE3xg==
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=40Pra+KhiVYlR1wdoT11Z/iwo0nSUISHDP7kYjLmP7k=; b=Vniigyy2XDQj84ksyiY+LYXCKm4k0R86c7b++lRLiEtEnrcbZKC2qYhnY89UlcXHFEINRkMNT9W0LMGUrlwVBksAZVha2fhRvVMPNtljULZT0wUXyVVyHuGTZMkKXqL6wZ1UEqC09YWx8raUsZPeECjaFl6kUSL4HTa/X4CmpVDJDZ/FMxhfrOYZYVxCCgy8QIt4mVjkQepGfZDWWrTvzXrzZiWuRWdHfFjVhhr87hhr2OP/aeR46rcnn3WRwSm32FejngjUnL0LLoZe+xDCXnv1gdu6vhcDzffuh7arLwgxm0dcOJJ1Tzw/KqFlhcOX1z+EF5ajGsYbNj/YurznPg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=40Pra+KhiVYlR1wdoT11Z/iwo0nSUISHDP7kYjLmP7k=; b=jSYKD+4xEWr/rfxhwYvfrQDF6C9sxORjRiyBAE4mqxZbDtckat/TdGPp1FH6F1X5L0Q9yb+ZgIgCRGeIE+RxCi/+MPf3tn92Xb+jSIJu5i2pDDfeSrOoMUKezSU+5Z2mdCDj4eGh2R7M6OqlCUbQkZ0gvI1mmNWeL/GfCwj4dM0=
Received: from IA1PR05MB9550.namprd05.prod.outlook.com (2603:10b6:208:426::16) by SN7PR05MB9878.namprd05.prod.outlook.com (2603:10b6:806:323::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Thu, 4 Apr 2024 20:25:16 +0000
Received: from IA1PR05MB9550.namprd05.prod.outlook.com ([fe80::d6:95b2:7d4f:5bc9]) by IA1PR05MB9550.namprd05.prod.outlook.com ([fe80::d6:95b2:7d4f:5bc9%3]) with mapi id 15.20.7409.042; Thu, 4 Apr 2024 20:25:16 +0000
From: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>
To: 'BESS' <bess@ietf.org>
Thread-Topic: DF election text in RFC7432/7432bis and draft-ietf-bess-evpn-fast-df-recovery
Thread-Index: AdqGxjH1yCFyLez8S96gU4BeMiZORQ==
Date: Thu, 04 Apr 2024 20:25:15 +0000
Message-ID: <IA1PR05MB95504421036D21C9B156CCF5D43C2@IA1PR05MB9550.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=5f1c9f8c-8fd5-4be8-b0c3-567f599984cd; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=0; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=0633b888-ae0d-4341-a75f-06e04137d755; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2024-04-04T19:14:05Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: IA1PR05MB9550:EE_|SN7PR05MB9878:EE_
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: VzoluSMYaQLkH84etxs9EE+4pVO7EFhdOs1obUI9MYXn1ZH2LaAX0q7EcYQ9N2cquJiTM/1ut7FqZkJiq2XU9pP6//O49LUVzkwvMh/A2RWKF3UgyDyAGptnjHyC2yCr8qTs0yJL3Nl1DXfBYrsSt/XhABHjNSA+KC/5PI2GhqNkT35XQMFc18Y/4KAR7PD3NHArWhLLXjGvE6+WZ4chJpXFrmJfFLBuCTxjo2CWpJl8/MBu/HF8HAhgxht8bbkEVAqjABUlpHxkRxS9SFfi48VJZ4HcuZiivo4cMvrol2ubAYSgiYj6hAvCijNjAjW230lecP7VNdRGFQCDAol8yu3Ub+21RdxPiKXqEfkEhNkXu4gcCqWqEtteO8ygmL1lPeHMAt8jX8QHw8qjNQjuKNSF34fQgct+EKTaHkqpZaJjVCjr3s9+HX4YeRrHpbJdMMPgSbL/+Eq4v1Tz/LT+uoUrSiuBFCFvIWk447+XO8/d4sDDQqSU4Oihe9f9362TGMQawizLkVdiJ9Dotm0cC/vz4vluYI15AEZLhSsdHoVGn7BDsqGGZ0LKMdBYkjgLrfiatKp9QUGoFXgtXPqzPlqQgh/sEfTfMFN/wB2F2Ug=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA1PR05MB9550.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(376005)(1800799015); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: DkTzOk98x7z7MNtizuqAN9bRoeQUx8q6Tc1n9QREl91Fkbc9a3voDA7VfoSxm5EtuunYzQ0Q2JXpicrGfAf/Ewgzv4++zrAMsZ3tMugu4OyA2xu/SrBpRSpEOGxw9x2cpbmbWPjIPFm6MF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HptxrQxPmDJrPQjGrQvz4NC3bFhcNGQ5Be3j2ue78g/71ICB0cxfUFU94EAkGlDcn9h8Ls94ZtCWso+upriELiBb38v9fap6jXzFOM79Cvve0zDSHIetUEy8YTNaakwqFLPrD5dy9avTs5rVb/jpVZcVKNfz0JuX41A2wzVO6Orxyjk1ZWbtlhXD0drBg9CtyVLshRaN41jOrytV6NW9LrjCCIqAnyF+TRLD6WGix8eurBMJNwPysmqwt1Is3lZupFcmRKu9gdRxfMPxns7MOJBfnuaFyfWfdEmhOvU2Oj6mSCJfOzP6zydY595VhDtysAmmzvWmhmQrDVm4vm7KyN/bkv23fxTipJ8Vuvb+CAU7iKWQ7C
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: IA1PR05MB9550.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7e385242-a74f-43a2-bcc5-08dc54e556a4
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2024 20:25:15.7375 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: qZvsesucWy/5mx+VFYdhJYc8O3zuM5RSpa5+z0rvP6sx5Y5EUtuj3LjWqr4EnHarwD/q0xv45TYv3Cla1yQ74Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR05MB9878
X-Proofpoint-GUID: 06XGH4qw6NBIICqt7TyGoLrepZ8B7wdm
X-Proofpoint-ORIG-GUID: 06XGH4qw6NBIICqt7TyGoLrepZ8B7wdm
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-04_16,2024-04-04_01,2023-05-22_02
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 mlxlogscore=949 bulkscore=0 mlxscore=0 priorityscore=1501 suspectscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 clxscore=1015 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404040145
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/bMRtEroUCTK1MgsrluHmyWdp6ng>
Subject: [bess] DF election text in RFC7432/7432bis and draft-ietf-bess-evpn-fast-df-recovery
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: Thu, 04 Apr 2024 20:25:25 -0000

Hi,

I discussed this offline with a few people before. I want to bring it up here to make sure that consistent text is used 7432bis and relevant drafts.

https://datatracker.ietf.org/doc/html/draft-ietf-bess-rfc7432bis-08#name-designated-forwarder-electi says:

   1.  When a PE discovers the ESI of the attached Ethernet segment, it
       advertises an Ethernet Segment route with the associated
       ES-Import extended community.

   2.  The PE then starts a timer (default value = 3 seconds) to allow
       the reception of Ethernet Segment routes from other PE nodes
       connected to the same Ethernet segment.  This timer value should
       be the same across all PEs connected to the same Ethernet
       segment.

   3.  When the timer expires, each PE builds an ordered list of the IP
       addresses of all the PE nodes connected to the Ethernet segment
       (including itself), in increasing numeric value. ...

#2 says "the PE" (the new PE coming up on that ES) starts a timer. It does not mention if other PEs start a timer or not.
#3 says "when the timer expires, each PE ..."

Based on this existing text, #2 should be updated to "each PE then starts a timer". However, RFC8584's FSM makes it clear that existing PEs don't wait. Therefore, #3 should be updated. In addition, if it is only the new PE that starts the timer, then "This timer value should be the same across all PEs connected to the same Ethernet segment" in #2 is no longer needed.

I also wonder if in the https://datatracker.ietf.org/doc/html/draft-ietf-bess-evpn-fast-df-recovery#name-updates-to-rfc8584 we should transition from DF_DONE to DF_WAIT instead of DF_CALC. Of course, the existing/peering PE's wait time is different from the new PE - the wait time is determined based on the received absolute SCT. This way, we have consistent behavior for the new and existing PEs.

Thanks.
Jeffrey



Juniper Business Use Only