Re: [bess] DF election text in RFC7432/7432bis and draft-ietf-bess-evpn-fast-df-recovery
Luc André Burdet <laburdet.ietf@gmail.com> Fri, 26 April 2024 19:41 UTC
Return-Path: <laburdet.ietf@gmail.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 BAB8BC14F70D for <bess@ietfa.amsl.com>; Fri, 26 Apr 2024 12:41:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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=gmail.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 9CqKP1EErsPI for <bess@ietfa.amsl.com>; Fri, 26 Apr 2024 12:41:49 -0700 (PDT)
Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3513C14F5F4 for <bess@ietf.org>; Fri, 26 Apr 2024 12:41:49 -0700 (PDT)
Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-61acfd3fd3fso28636987b3.1 for <bess@ietf.org>; Fri, 26 Apr 2024 12:41:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714160509; x=1714765309; darn=ietf.org; h=mime-version:msip_labels:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=IIWMIBxcYuZ+3182XMMBoIkSRlFDpluqd1lOXCSBQiw=; b=Q6SenMIcW35rVi4p2NqcihapyCap6YxRRoSPEGhux2dShxnh0wX81aK909snV3CV0s uNFjJjL/jYvmtY4FilDVjietpUNm7zfHr8u/M5uYnvNA2qEAnLKwS/crROzhsyCligPP ivf2qbac1viNhNMtDN0Cx8zM42X8Rgah2hvDDstCr42zAMIAk5iSdJGSiUOZn8I0rJwi jvRTzsxwekV6vjMcuLpXhv2pU9oODI1JtJUd4UnOAk2f0pUaiNtygSfeTbF8Zxd4V5IW joFm1OPe0EjiVFJ/oBAW62aaG0vXZPil4t1vQrfAUtAot9Gf++X4ljhsy4FYpBbIFl2C P2xQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714160509; x=1714765309; h=mime-version:msip_labels:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IIWMIBxcYuZ+3182XMMBoIkSRlFDpluqd1lOXCSBQiw=; b=P53IuaTHY6LGPKzRALXKQO0+IPWFzg06kvSkD3Ffl6y4gVa2Zl0anHoA2TDg51gEaL MFm1vQ8nuy/aN10wW9zqZ8aJ4aXrW3xHK3hYrGKWGXPRCTVlAszGD8ULBLlC/nPTh9iy a2LFbGzCLGGnKGBhWuGTS2/ycXu65p7xvcWH5GgaIoS9kjJZvuFCqZacbMMiAtw5tAal mJBcUMhBErh+JDi7s4C7jxJ/kMgXYfmVdGd3nkjRCPSLoUIH1g4/izz9P7QiyvcE74mS O1ndZIB1H868bWdj6sIoOyzR/N1UlVkzB+jmmdlljFkKrTztNV2bChbj9VR07B01UOVw eVyA==
X-Forwarded-Encrypted: i=1; AJvYcCV54lN4TtfpyY0Q1PFTfoWuMmYGwgWsi7PGOWEf2P9ACeUPoskUla9JDkS1zgCki4uhMlw4orgONphCxynD
X-Gm-Message-State: AOJu0YwMI4jKytxb8Haiv7DKPNcgulu8PBAT72RbHLL079Rnf+2CU4Bd Gw3NQ38IiukXRruvsPBssjhbDPBj/Hihv15CsmbFVEHYJHLR3bjDXNfcHw==
X-Google-Smtp-Source: AGHT+IFEg//Zi5dshjN6Pb6/nV30N/O0V+qTCLchXI90Z8ugVI7VwS1XpKi7vHRLjwdZo0BrcAhubA==
X-Received: by 2002:a05:690c:6481:b0:61a:bc2d:5186 with SMTP id hs1-20020a05690c648100b0061abc2d5186mr4002661ywb.32.1714160508463; Fri, 26 Apr 2024 12:41:48 -0700 (PDT)
Received: from CH0PR14MB4962.namprd14.prod.outlook.com ([2603:1036:304:80d::5]) by smtp.gmail.com with ESMTPSA id v78-20020a814851000000b0061855e3332dsm4215328ywa.120.2024.04.26.12.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 12:41:47 -0700 (PDT)
From: Luc André Burdet <laburdet.ietf@gmail.com>
To: "Jeffrey (Zhaohui) Zhang" <zzhang=40juniper.net@dmarc.ietf.org>, 'BESS' <bess@ietf.org>
Thread-Topic: DF election text in RFC7432/7432bis and draft-ietf-bess-evpn-fast-df-recovery
Thread-Index: AdqGxjH1yCFyLez8S96gU4BeMiZORQIlholv
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Fri, 26 Apr 2024 19:41:42 +0000
Message-ID: <CH0PR14MB49629C2FEF6F504981FE432BAF092@CH0PR14MB4962.namprd14.prod.outlook.com>
References: <IA1PR05MB95504421036D21C9B156CCF5D43C2@IA1PR05MB9550.namprd05.prod.outlook.com>
In-Reply-To: <IA1PR05MB95504421036D21C9B156CCF5D43C2@IA1PR05MB9550.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-CA
X-MS-Exchange-Organization-ModifySensitivityLabel: ; 0633b888-ae0d-4341-a75f-06e04137d755
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2024-04-04T19:14:05.0000000Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=0633b888-ae0d-4341-a75f-06e04137d755; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=0; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard
Content-Type: multipart/alternative; boundary="_000_CH0PR14MB49629C2FEF6F504981FE432BAF092CH0PR14MB4962namp_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/AgdYKkxUj00Xa-DGmu-haWx3088>
Subject: Re: [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: Fri, 26 Apr 2024 19:41:54 -0000
Hi Jeffrey,
#3 is the one that should be updated, only the recovering PE starts a timer.
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. ...
to:
3. 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. ...
The correction is really just to remove that statement re: timer expiry. All the Peers build the list, only recovering timer has a “3s window to receive routes” which is meant to prevent the rapid-reshuffle when recovering PE gets 1,2,3... peer routes in succession.
With this change, the text is aligned with the RFC8584 FSM. In a nutshell: failures on the DF are resolved as fast as possible. Recoveries of the former DF depend on the timer.
I don’t think the “timer should be the same on all PEs in ES” statement is harmful? It’s just good practice and that ‘should’ is not normative.
For Fast-DF-Recovery, it is not the CALC that is delayed, it is the application. The calculation itself continues to be same as RFC7432/bis. Only applying the result to HW is delayed on “other PEs”, which the (updated) FSM reflects.
Section 2.2 of the fast-df recovery draft is correct the way it is described: it refers to delaying the transition from DF_CALC to DF_DONE, which is not to be confused with the initial/discovery timer which is a locally configured timer. The delay between DF_CALC and DF_DONE is driven by the received SCT in the ES route not a local config.
Regards,
Luc André
Luc André Burdet | Cisco | laburdet.ietf@gmail.com | Tel: +1 613 254 4814
From: BESS <bess-bounces@ietf.org> on behalf of Jeffrey (Zhaohui) Zhang <zzhang=40juniper.net@dmarc.ietf.org>
Date: Thursday, April 4, 2024 at 16:25
To: 'BESS' <bess@ietf.org>
Subject: [bess] DF election text in RFC7432/7432bis and draft-ietf-bess-evpn-fast-df-recovery
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
_______________________________________________
BESS mailing list
BESS@ietf.org
https://www.ietf.org/mailman/listinfo/bess
- [bess] DF election text in RFC7432/7432bis and dr… Jeffrey (Zhaohui) Zhang
- Re: [bess] DF election text in RFC7432/7432bis an… Luc André Burdet
- Re: [bess] DF election text in RFC7432/7432bis an… Jeffrey (Zhaohui) Zhang