Re: [bess] Shepherd's Review of draft-ietf-bess-evpn-pref-df

Luc André Burdet <laburdet.ietf@gmail.com> Wed, 03 March 2021 13:42 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 C93C43A11AF; Wed, 3 Mar 2021 05:42:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8NQfmr8MXqBC; Wed, 3 Mar 2021 05:42:30 -0800 (PST)
Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D1403A11AE; Wed, 3 Mar 2021 05:42:27 -0800 (PST)
Received: by mail-ot1-x32e.google.com with SMTP id t16so4034733ott.3; Wed, 03 Mar 2021 05:42:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :mime-version; bh=BO/xEwDc3A2gMF+SApE8TbyldnJq3ZTvxir8qDMOIGM=; b=SykCCMqOZXNHyCRps8C4zmI5Qa3PcfGhjtVkAGu/Cg19wqGCE00qmhzFjgpF9aS/xd sC9PhLPPLXa1E7dnoroot0G3AxOe4xfRGYn2sQk2M/bKfWkq2FwSEyyp2xrdhHIOj1hF IgZ71E2cg+XnKjfEBDkKLw+bhXzHItzyQB5TGck0ZECwUgMfjtYKKLWWqkE7T2d/XF43 Q6qeMGRJ9ZTfFCBXu1bhsgwsRgMboa/lHuei4F3vts/qeglrdLM1LTZeeTeR4Hp/rOEH i/9JEj6cTMMNgvlzrE/0+Z9WBHGG28eCJ//nTKMVDkaOP9VBzmmOxF0vtcYh9/RbIwaA eS1w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:mime-version; bh=BO/xEwDc3A2gMF+SApE8TbyldnJq3ZTvxir8qDMOIGM=; b=rISfQu58EduhCU7QUKHmOmJc7jCV0Pzmu1qN+RyVXWVHlWaMxq8J7LmDCvN2BApS7Y Mldhv2QE/sCEhtNrr7VQhVoLoGJvmEE166qR+5gozOAmims2pOicN+G5fS8gUr9b++CJ /7YVPZD/hjxVuQxYxfeAzzR71RzJj/YhyR6FNBInR8of+CeMKwcXv3DpdJqdxPZJJiUK Vh4+qFpSRzQ7NEq1Hk2tltRMu0PNANWp60lR0YOSN4AWr24Mw0eR54q0dNwP+d4W8gYR uCEy3aX7EqHE4IDiGYapVOHtHDn4C3kSp/WNEL/dJ1U6lectLUpwBwQKjDsB0TGCMd1G mfJQ==
X-Gm-Message-State: AOAM532mtYLBrp51dWGSVRudHqRgjw/lWIeSsEFT0iNcbfDCrgREdv8a 2HrOhMsRxd1pum0jzjxpU+k=
X-Google-Smtp-Source: ABdhPJwOYrrNBa1UJo8pUBaJSuKV2CBh2JHhK6FDOOid4plCY5AL72ezC2NxeW2yy4Lmf4dhaVSMSQ==
X-Received: by 2002:a05:6830:4109:: with SMTP id w9mr22630254ott.176.1614778945738; Wed, 03 Mar 2021 05:42:25 -0800 (PST)
Received: from DF4PR8401MB0650.NAMPRD84.PROD.OUTLOOK.COM ([2a01:111:f400:7509::5]) by smtp.gmail.com with ESMTPSA id v9sm4523731oon.11.2021.03.03.05.42.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Mar 2021 05:42:25 -0800 (PST)
From: Luc André Burdet <laburdet.ietf@gmail.com>
To: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>, "slitkows.ietf@gmail.com" <slitkows.ietf@gmail.com>
CC: "draft-ietf-bess-evpn-pref-df@ietf.org" <draft-ietf-bess-evpn-pref-df@ietf.org>, "bess-chairs@ietf.org" <bess-chairs@ietf.org>, "bess@ietf.org" <bess@ietf.org>
Thread-Topic: [bess] Shepherd's Review of draft-ietf-bess-evpn-pref-df
Thread-Index: AQHWgCEepcye55sjGUWaUO6buYCw+6nOu0IAgKSqj80=
X-MS-Exchange-MessageSentRepresentingType: 1
Date: Wed, 03 Mar 2021 13:42:24 +0000
Message-ID: <DF4PR8401MB0650666AB40B6E5A60268B25AF989@DF4PR8401MB0650.NAMPRD84.PROD.OUTLOOK.COM>
References: <041601d5ecaf$d3e46410$7bad2c30$@gmail.com> <477475D5-5521-48F8-850B-9DA353CEE297@nokia.com> <0b9301d67f7c$0809f1b0$181dd510$@gmail.com> <MWHPR08MB3520F6DDC633ED95F9DB046FF72E0@MWHPR08MB3520.namprd08.prod.outlook.com> <CAPDb2b04TPtSDPXSjUj0YNOybFg1vimzDPL3DUVUdAY3A-q9Lw@mail.gmail.com>
In-Reply-To: <CAPDb2b04TPtSDPXSjUj0YNOybFg1vimzDPL3DUVUdAY3A-q9Lw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
Content-Type: multipart/alternative; boundary="_000_DF4PR8401MB0650666AB40B6E5A60268B25AF989DF4PR8401MB0650_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/Jnt61ROUFe0-l2yBYHd222blwBM>
Subject: Re: [bess] Shepherd's Review of draft-ietf-bess-evpn-pref-df
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: Wed, 03 Mar 2021 13:42:34 -0000

Hi Jorge,

Stéphane, Satya and I have gone over this draft again and propose the following regarding the Lowest-IP vs. Highest-IP debate.

Option 1
Pick one, e.g. draft explicitly states highest-weight wins. Removes all ambiguity.

Option 2:
Support Lowest-weight and Highest-weight both, and it must be signaled.
Signaling is done using DF-Algorithm types:

  *   DF-Type=2 : Preference-DF, Highest-weight
  *   DF-Type=3 : Preference DF, Lowest-weight
. Example/precedent for this approach:  draft-ietf-bess-evpn-per-mcast-flow-df-election
  claims 2 DF-Types for each S,G and *,G DF election (ignoring that the draft is in serious need of revision)
. 7432-fallback if non-agreement (type2<>type3)
. forward-compatible with existing implementations: DF-Type 2 with default Highest-wt.

Option 3:
Support Lowest-weight and Highest-weight both, and it must be signaled.
Signaling is done using a Flag in the DF-Elect extcomm

  *   DF-Type=2 : Preference-DF
  *   DF-Elect ExtComm:  specify a Flag: 0=Highest, 1=Lowest.
. 7432-fallback if non-agreement (flag) is more complicated on an EC
. doesn’ match other WG documents’ approach
. forward-compatible with existing implementations: DF-Type 2 with Fl=0.
. minimal support would be alarming based on flag mismatch
. must use ‘Reserved’ and NOT capability bitmap because that would require analysis against all other DF Algo modes.


Speaking for myself, I would add that  ‘D’ bit capability is a generic flag across DF Type Algos.  Evaluation against all existing DF-types must be done but... I would remove the ‘all other DF-types SHOULD ignore’.
Many other DF types may want to leverage and I think it is a good addition as a generic capability..


Regards,
Luc André

Luc André Burdet |  Cisco  |  laburdet.ietf@gmail.com  |  Tel: +1 613 254 4814


From: Luc André Burdet <laburdet.ietf@gmail.com>
Date: Wednesday, November 18, 2020 at 14:05
To: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>, "slitkows.ietf@gmail.com" <slitkows.ietf@gmail.com>
Cc: "draft-ietf-bess-evpn-pref-df@ietf.org" <draft-ietf-bess-evpn-pref-df@ietf.org>, "bess-chairs@ietf.org" <bess-chairs@ietf.org>, "bess@ietf.org" <bess@ietf.org>
Subject: Re: [bess] Shepherd's Review of draft-ietf-bess-evpn-pref-df

Hi Stéphane, Jorge,

On the issue of tie-breaking, I would agree with Stéphane.

It is too easy for peering PEs to be misconfigured / in disagreement as to Hi or Lo and this should be signaled if at least in an error reporting capacity.

I would propose to go even further. This DF Election algorithm compares fields in a given order:

  *   Field 1: Preference Weight
  *   Field 2: IP Address Tie-break if Field1 is a tie, and hope all PEs use same Hi or Lo.

The algorithm could be made very generic in terms of tie break and provide for a cascading order or skipping a field entirely:

  *   Field 1: Preference Weight

  *   Optional Tie-break Method X: IP Address Field, Highest-IP
  *   Optional Tie-break Method Y: IP Address Field, Lowest-IP
  *   Optional Tie-break Method Z: Local-Policy ( see section 4.1(g) )

We could potentially mandate at least one MUST be provided and signaled incl order of resolving tie-break?
Basically my point is that IP is unique but also an arbitrary Field to use, many more could be better suited for tie-break dép. use-case.  There are practical examples where local policies will affect weight but perhaps that local-policy itself serves as a tie-break.
One could split the Reserved field of section 3 into 2 nibbles: Tie-break-1, Tie-break-2 for mismatch detection, and this draft defines "well-known values" IP-Hi=0 and IP-Lo=1 (leaving all others to implementation-specific values (non-assigned) and ONLY for error detection.

Luc André Burdet | laburdet.ietf@gmail.com<mailto:laburdet.ietf@gmail.com> | +1 613 254 48 14
.:|:.:|:. Cisco Systems Canada Inc.


On Tue, Sep 1, 2020 at 1:25 AM Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>> wrote:
Hi Stephane,

Please see in-line with [jorge2].
Thank you!
Jorge

From: slitkows.ietf@gmail.com<mailto:slitkows.ietf@gmail.com> <slitkows.ietf@gmail.com<mailto:slitkows.ietf@gmail.com>>
Date: Monday, August 31, 2020 at 11:49 AM
To: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>>, draft-ietf-bess-evpn-pref-df@ietf.org<mailto:draft-ietf-bess-evpn-pref-df@ietf.org> <draft-ietf-bess-evpn-pref-df@ietf.org<mailto:draft-ietf-bess-evpn-pref-df@ietf.org>>, bess-chairs@ietf.org<mailto:bess-chairs@ietf.org> <bess-chairs@ietf.org<mailto:bess-chairs@ietf.org>>, bess@ietf.org<mailto:bess@ietf.org> <bess@ietf.org<mailto:bess@ietf.org>>
Subject: RE: Shepherd's Review of draft-ietf-bess-evpn-pref-df
Hi Jorge,

Please find additional feedback inline.
(Stripping things we agree on)

Stephane


From: Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>>
Sent: vendredi 19 juin 2020 20:37
To: slitkows.ietf@gmail.com<mailto:slitkows.ietf@gmail.com>; draft-ietf-bess-evpn-pref-df@ietf.org<mailto:draft-ietf-bess-evpn-pref-df@ietf.org>; bess-chairs@ietf.org<mailto:bess-chairs@ietf.org>; bess@ietf.org<mailto:bess@ietf.org>
Subject: Re: Shepherd's Review of draft-ietf-bess-evpn-pref-df

Hi Stephane,

Thanks for the review and my apologies for the delay.
We just posted a new revision.

As usual, very good points. Please see in-line.

Thx
Jorge

From: "slitkows.ietf@gmail.com<mailto:slitkows.ietf@gmail.com>" <slitkows.ietf@gmail.com<mailto:slitkows.ietf@gmail.com>>
Date: Wednesday, February 26, 2020 at 3:20 PM
To: "draft-ietf-bess-evpn-pref-df@ietf.org<mailto:draft-ietf-bess-evpn-pref-df@ietf.org>" <draft-ietf-bess-evpn-pref-df@ietf.org<mailto:draft-ietf-bess-evpn-pref-df@ietf.org>>, 'BESS' <bess@ietf.org<mailto:bess@ietf.org>>
Cc: "bess-chairs@ietf.org<mailto:bess-chairs@ietf.org>" <bess-chairs@ietf.org<mailto:bess-chairs@ietf.org>>
Subject: Shepherd's Review of draft-ietf-bess-evpn-pref-df
Resent-From: <alias-bounces@ietf.org<mailto:alias-bounces@ietf.org>>
Resent-To: <jorge.rabadan@nokia.com<mailto:jorge.rabadan@nokia.com>>, <senthil.sathappan@nokia.com<mailto:senthil.sathappan@nokia.com>>, <prz@juniper.net<mailto:prz@juniper.net>>, <wlin@juniper.net<mailto:wlin@juniper.net>>, <jdrake@juniper.net<mailto:jdrake@juniper.net>>, <sajassi@cisco.com<mailto:sajassi@cisco.com>>, <satyamoh@cisco.com<mailto:satyamoh@cisco.com>>
Resent-Date: Wednesday, February 26, 2020 at 3:20 PM



Section 4.1:

        “ Note that, by default, the Highest-Preference is chosen for each
       ES or vES, however the ES configuration can be changed to the
       Lowest-Preference algorithm as long as this option is consistent
       in all the PEs in the ES.
I don’t think it is a good idea to open this modification. People can play with preference values to achieve the required behavior while always keeping high pref.
We have no way to ensure consistency, except if we advertise the behavior as part of the exct. Consistency of DF election is key and needs to be ensured as much as we can.
[Jorge] the idea is have the highest preference as default (maybe use normative language?), which means that it will work fine. Opening to lowest is to give more flexibility, knowing that if the user has to change the config from the default, they will do it in all the PEs of the ES.

[SLI] I don’t think this is a good idea, consistency is really important, if you absolutely want to do both lowest and highest, you can allocate a new DF Alg for lowest so we ensure that everybody uses the same algorithm. But I don’t think this is necessary, having highest preference is enough. I don’t remember any feature using a preference that can do both highest and lowest, it is usually one or the other.


[Jorge2] ok, we can leave just the highest-preference in section 4.1. We’ll fix it in the next revision. Note that in 4.2 we still need to have highest and lowest pref per ethernet tag range to make sure there is load balancing.








“When PE3's vES2 comes back up, PE3 will start a boot-timer (if

       booting up) or hold-timer (if the port or EVC recovers).  That

       timer will allow some time for PE3 to receive the ES routes from

       PE1 and PE2. »



Are you changing the way the DF election works ? Usually, PE advertises its route and then wait to receive other routes.

[Jorge] those timers are on top of the FSM defined in RFC8584, e.g. we need to give some extra time before the ES goes up and we advertise the ES route, if the ES is configured with the DP capability. This is because the advertised preference and DP values may not be the same as the configured ones, and the ‘in-use’ values will depend on the other ES routes in the ES. If we advertise the ES route immediately after the ES is up, we may not have received the other ES routes and we don’t know what “in-use” values to advertise in order to avoid preemption in the ES. I added some text on point 5 (section 4.3).





[SLI] As we are updating the FSM, could we have new state and events defined to update the FSM similarly as we have in RFC8584 ?
[jorge2] not sure if we should update the FSM, the reason being that those hold timers are generic for any redundancy mechanism, to avoid attracting traffic from the access before the core IGP/BGP are up and have all the required routes available. Some implementations use fixed timers, others configurable timers, others watch when the IGP/BGP come up and leave an additional delta. I thought the current text is generic enough to allow all those implementations.





What happens if all PEs on the ES are failing at the same time or the ES booting up on all the PEs at the same time ? you have no way to hear what is the pref from the remote.

[Jorge] The non-revertive capability makes sense when there is at least one PE alive in the ES and we don’t want to preempt it so that there is no traffic impact. If all the PEs fail, there is traffic impact anyway, so there is really no non-revertive behavior, but an initialization in all the PEs.



[SLI] Let’s say that you have a CE attached to 3 PEs (same ESI). PE1 pref 100, PE2 pref 200, PE3 pref 300. PE1 to 3 are configured with DP set. PE4 is a remote PE.

T0:CE fails and boots up.

T1:PE1 to PE3 starts their HOLD_TIMER

T2: PE1 HOLD_TIMER expires,  advertises ES route and starts DF_TIMER

T3: PE4 discovers ES from PE1 and starts DF_TIMER
[jorge2] I assume you mean PE3 here.

T4: PE2 HOLD_TIMER expires,  advertises ES route and starts DF_TIMER, does it advertises with Pref100 and DP=0 as it knows from PE1 route even if PE1 is not DF yet ?
[jorge2] this is an example in which all PEs are ‘initializing’ at the same time, so there is traffic impact anyway because the CE reboots. So it would be more like an initialization example. Nevertheless, PE2 in this case should advertise the ES route with in-use pref 100 and DP=0.





Brgds,

Stephane

_______________________________________________
BESS mailing list
BESS@ietf.org<mailto:BESS@ietf.org>
https://www.ietf.org/mailman/listinfo/bess