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

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com> Fri, 19 June 2020 18:37 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 B1E963A0CDD; Fri, 19 Jun 2020 11:37:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, 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=nokia.onmicrosoft.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 93_pRONTQcZq; Fri, 19 Jun 2020 11:37:18 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-eopbgr760104.outbound.protection.outlook.com [40.107.76.104]) (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 03A6E3A0AA2; Fri, 19 Jun 2020 11:37:17 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cu277Pr4uT8Qz1fVWpuKoTTEC3nQLqUYZENCCVix1XOK6c+Y1msfNXxSgmQ93wtklk8mWOcOW0BMj8M9RkAC6mkE/z8I09mROPwXFhUbDRXYW8l8yHc+Hccxkgust6apsh14xf+nKcLheF0v5jHokVPPNgNUhRea/3GU5kVQnG+PJhRn8n5GtSm2bzvykmgEyzSvi6dh2F6larrxYKfZS+kbzEIb8zwJ2Bf7I+2JN+bO2b/RkMw6mIQvnmopvcn1f90/ysHwFTF+urRt5eTLA5/i8+m1kQd7fl14bAsRmddFLyQN4LO2as9++TBftThLpTO+pw7hBGy4r7OKKTw7Dw==
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-SenderADCheck; bh=uEy9k9QdonoALV+xHXxuxauT8nIaRH33MGCFPUZ/hag=; b=JqOt/xpoXHOUy/c7BvlrSKTJf8FR7Eyx8gjDv1hUosyP/U5xaUb0PM6FXGHMrQk9wfj9RC0VkhYXF3phPok/RnA9xSJW7/HKzL0qTCj00Yobr+vb5Pftv+zYEv3TX7xmbEdzs2CLHzjNywsFIJ43T3R4KMDJPzSdauCyPdhoPmBjDfqPal/jTE3srQdwG2lzc8/gyUXV9ozj+jgXCa2Rm+QW5pfom1gJyql7b0Fcbh25XrFibX44AKuc6QuGOuw45HuyL4ATly/7Q6ocw5e9B7Fs+cDN75ICQnv+k2+oYExV4tynCi7beIJ6mjlumwflPPHC3op3Ao+2kArAUOcIOw==
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.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uEy9k9QdonoALV+xHXxuxauT8nIaRH33MGCFPUZ/hag=; b=JDyqImKIXDvgbjiCEGcKSWzqy0TgEFT2BVq/jxnME5Dr/w4estkBT6uAR19gxFB2pdTcxE1LtPKqPw/myfBfnnSr574AkZCSWTC3IdPfltlZiWszJ5HkD9BX0tqPgtznFvAXT/aqV3x4ThXY+b3bHmRKsqf6VXVI45B0K1P8sFU=
Received: from MWHPR08MB3520.namprd08.prod.outlook.com (2603:10b6:301:61::15) by MWHPR08MB3519.namprd08.prod.outlook.com (2603:10b6:301:6c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.23; Fri, 19 Jun 2020 18:37:15 +0000
Received: from MWHPR08MB3520.namprd08.prod.outlook.com ([fe80::d04d:ae14:91f:fb6c]) by MWHPR08MB3520.namprd08.prod.outlook.com ([fe80::d04d:ae14:91f:fb6c%3]) with mapi id 15.20.3109.021; Fri, 19 Jun 2020 18:37:15 +0000
From: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
To: "slitkows.ietf@gmail.com" <slitkows.ietf@gmail.com>, "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: Shepherd's Review of draft-ietf-bess-evpn-pref-df
Thread-Index: AdXsr5AT3X0TJkMhT5uKbn2Lo1B9fhYxT1oA
Date: Fri, 19 Jun 2020 18:37:14 +0000
Message-ID: <477475D5-5521-48F8-850B-9DA353CEE297@nokia.com>
References: <041601d5ecaf$d3e46410$7bad2c30$@gmail.com>
In-Reply-To: <041601d5ecaf$d3e46410$7bad2c30$@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.38.20061401
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nokia.com;
x-originating-ip: [135.245.20.5]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: fa6cdd95-6e38-4e8d-ea3f-08d8147fc9d5
x-ms-traffictypediagnostic: MWHPR08MB3519:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MWHPR08MB3519B31B28CEB26B32E1EC75F7980@MWHPR08MB3519.namprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0439571D1D
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: HbNTwWKUQVn239S9BBXvkgefnUiM/nFol6vZ3k5AsE1hB1hqhVzIXpygTr4/WU2Qeuqlz9DBdsSZ6k2+GJqDJ3IZ99FRr8kTMMWyln740C7bJMe0Z2BPR8pEr5ozMu43xVYFkUiSOP4PLtRAgPPHTBsccHq2DFTUjNRPr4FpIz2I0+BUTQTi3uiHpv2EhpAFy0PyiMwC81u4RGvP0UhiL76WqAVAsah9Yja8P82Xnsi/y9GlStlyXAgaAwm8rXOTw6P0r8xKSBr/mx1EJeYmylKbRplxMTn7lo5Jy+ixwyeoJcIz3sAorMNSeW+nqAzsw97xA1eASsBOfK+LsKRs27Jpb7hkHd4uJaLfn8a37yaWjo5iXCcrhyRFrDYJXwct5htxCJHm+w3e7xAL2dNWCw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR08MB3520.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(346002)(39860400002)(396003)(136003)(2616005)(8676002)(6512007)(33656002)(76116006)(478600001)(966005)(166002)(36756003)(83380400001)(91956017)(66446008)(64756008)(66946007)(66556008)(9326002)(66476007)(2906002)(8936002)(316002)(6486002)(26005)(6506007)(5660300002)(110136005)(53546011)(86362001)(186003)(71200400001)(66574015); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: J7td7u2BlSp1wtoPRc2FoK92NmzN0siV0ApwcWjnvC38QSG1BiOfCrWw1/qBgAYTGAGKsvr5y3zSLJ5y0QiQR2XyZjf6szdgjOQxTcxeG16wt4zm88aYVsVirX/35iWXY4N7DtOwY9eY7KKCO2uyixb4IqarKezWjlLUTsiSy2k05VZdJorpm7cH+bQcfrQly1LRmrbfLs3/HxUHFyH8rMVTjIJ9niy1HlBK6TygAkN7bFqeUp95Wl+BIdrnauPFsQwn0JW/j4+0At3aKz7Qdi8lZ2dwyFjFGWZ+89FxwfInzthi7SSakqhn8Q0pmqD5jEis6TndaLxN11kID2ZjSrVO0pTx++59gFbPluWfuUCD1eFGLbDpgUon75aTIfTR1+4SNTGS2cBaQNopTBC0+jgWMVVT2/Ll7sVDXrkc+6o5il8tLaJzvCiEiuJbuECW44EnsaCMz0OFy9aO/N1V2AEBS2jS1wYHAISS0xa6Nh8=
Content-Type: multipart/alternative; boundary="_000_477475D5552148F8850B9DA353CEE297nokiacom_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: fa6cdd95-6e38-4e8d-ea3f-08d8147fc9d5
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2020 18:37:14.9868 (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: 4IoHVY448+4VHNJYQSGRy6T2a0TYz2EeskW5IcXoDoCgj6YiHBQJEhGXmwf7dBa0M+xLMmRrhqcV0+nMH4EqtA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR08MB3519
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/X62xurUZK_QkLxOMpcOKqTjaaWg>
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: Fri, 19 Jun 2020 18:37:21 -0000

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

Hi Authors,


Here is my review of the document:

Please look at the nits and fix them.
https://www6.ietf.org/tools/idnits?url=https://www.ietf.org/archive/id/draft-ietf-bess-evpn-pref-df-05.txt

[Jorge] done.


Section 3:

-          Is the DF preference field only there when DF Alg=2 ? I mean if DF Alg !=2, can the reserved field be encoded differently ? This should be clear IMO.

[Jorge] ok, added:
“If the DF Alg is different than Alg 2, these two octets can be encoded differently.”


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.


In case of equal Preference in two or more PEs in the ES, the

       tie-breakers will be the DP bit and the lowest IP PE, in that

       order.  For instance:
The sentence is not clear enough and must use normative language.
Example: In case of equal Preference between two or more PEs in the ES, an implementation MUST first prefer PEs advertising the DP bit set and then prefer the PE with the lowest IP address.
Which IP address are we talking about exactly here ?
[Jorge] I change this text to:
“In case of equal Preference in two or more PEs in the ES, the DP bit and the lowest IP of the candidate PEs are used as tie-breakers. After selecting the PEs with the highest Preference value, an implementation MUST first select the PE advertising the DP bit set, and then select the PE with the lowest IP address (if the DP bit selection does not yield a unique candidate). The PE's IP address is the address used in the candidate list and it is derived from the Originating Router's IP address of the ES route. Some examples of the use of the DP bit and IP address tie-breakers follow…”


Section 4.3:
Typo on:

A new "Don't Preempt Me" capability is defined on a per-PE per-ES

       Basis



Should be : “A new "Don't Preempt Me" capability is defined on a per-PE

       basis
[Jorge] actually the DP capability is defined per ES on each PE. So I changed it to the following to make it clear:
“A new "Don't Preempt Me" capability is defined on a per-PE/per-ES basis,”


s/however this document do not enforces the/however this document does not enforce the/

Question: Why don’t you enforce consistency ? What is the side effect of not ensuring consistency ?

[Jorge] The “SHOULD” term is because normally you would expect all the PEs in the ES to be consistent in the use of DP. But the procedures are really independently run by each PE and there is no negative side effect if only part of the PEs are configured as non-revertive. Former DF PEs configured without this capability will preempt the DF when they recover after a failure, but that is of course expected. In any case, I added: “In case of inconsistency in the support of the DP capability in the PEs of the same ES, non-revertive behavior is not guaranteed.”





“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).



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.



Shouldn’t the “no preemption” thing be valuable being agnostic to DF Alg ?

[Jorge] the non-preemption may not be possible with some Algs, so it has to be studied with each individual Alg. For instance, I can’t see how it can work with the default Alg in the way it is defined.



On 6)

Consider that we had:

PE3 advertising <300,1>

PE2 advertising <200,1>

PE1 advertising <100,1>



PE3 fails and come back, advertising [200,0], leading to PE2 being DF.

PE2 fails, but in a similar time PE1 changes its pref to 250. This leads to PE1 being DF while in this case PE3 should be DF because it should have recovered its preference but it can’t.

[Jorge] there may be race conditions, but whenever PE3 receives PE2 withdraw, it advertises (300,1). Even if both things happen at the same time, both will be computed by PE3. The main point is that upon a change in the ES, all the PEs calculate the highest and lowest PEs that are active in the ES. And if a PE becomes either one and its ‘in-use’ pref != ‘admin’ pref, then it will send an update with its admin values.





References:

I think vES should be set as normative as people really need to understand what vES is to understand the document.

[Jorge] ok, I made a few changes in the references. Let me know if it is ok.



Brgds,

Stephane