Re: [bess] An use-case that RFC 8584 (EVPN DF Framework)  works not so well and its solution .

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com> Tue, 30 April 2019 15:34 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 DA2381200EC for <bess@ietfa.amsl.com>; Tue, 30 Apr 2019 08:34:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.358
X-Spam-Level:
X-Spam-Status: No, score=-0.358 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 m4HXo4zBbkMA for <bess@ietfa.amsl.com>; Tue, 30 Apr 2019 08:34:29 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30096.outbound.protection.outlook.com [40.107.3.96]) (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 E709C1200B4 for <bess@ietf.org>; Tue, 30 Apr 2019 08:34:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M6NPgot/ut3hfJs3tsnCTSvuJOpYSeU09rnuZDBUHAc=; b=hJjV2bBkGcKHAwyR+Ch7/ZgBxj/nu7aY0pGlyrihqqNU0RSOfXydpa2XQ1qwrQ7SQ9hIRjBYGey3+rB1JEvP2/rz+wiG+n5IVJ2eTWyB5/PPAytDxPjx6vGRr5bmqzO3sRyT9zgo1u/iTcqQKhf/j85/fSc9XOZ9E3FPskuRvXU=
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com (52.134.82.20) by AM0PR07MB4019.eurprd07.prod.outlook.com (52.134.83.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1856.6; Tue, 30 Apr 2019 15:34:26 +0000
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::886f:c9f8:650e:1dd6]) by AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::886f:c9f8:650e:1dd6%6]) with mapi id 15.20.1856.008; Tue, 30 Apr 2019 15:34:26 +0000
From: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
To: "wang.yubao2@zte.com.cn" <wang.yubao2@zte.com.cn>, "bess@ietf.org" <bess@ietf.org>
Thread-Topic:  [bess] An use-case that RFC 8584 (EVPN DF Framework)  works not so well and its solution .
Thread-Index: AQHU/wEjC2HWfSHqe0aus9EIzERksKZUgn4A
Date: Tue, 30 Apr 2019 08:34:14 +0000
Message-ID: <24EB60D8-3787-4695-8F45-883C83F13F49@nokia.com>
References: <201904301102120783046@zte.com.cn>
In-Reply-To: <201904301102120783046@zte.com.cn>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.18.0.190414
authentication-results: spf=none (sender IP is ) smtp.mailfrom=jorge.rabadan@nokia.com;
x-originating-ip: [135.245.20.2]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: edef72b1-0d4c-4895-8f5a-08d6cd8153e6
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR07MB4019;
x-ms-traffictypediagnostic: AM0PR07MB4019:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <AM0PR07MB40198131D1974D81F3DBF48DF73A0@AM0PR07MB4019.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:6430;
x-forefront-prvs: 00235A1EEF
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(39860400002)(396003)(136003)(346002)(376002)(53754006)(189003)(199004)(7736002)(6506007)(6246003)(102836004)(81156014)(81166006)(76176011)(256004)(53546011)(966005)(14454004)(6512007)(8936002)(606006)(6666004)(9326002)(478600001)(86362001)(25786009)(26005)(66574012)(66066001)(36756003)(186003)(54896002)(66556008)(6306002)(5660300002)(83716004)(71190400001)(446003)(71200400001)(6436002)(2616005)(3846002)(11346002)(68736007)(486006)(236005)(53936002)(476003)(316002)(66476007)(5024004)(229853002)(6486002)(14444005)(82746002)(6116002)(64756008)(2501003)(2906002)(66946007)(73956011)(91956017)(76116006)(58126008)(97736004)(66446008)(110136005)(33656002)(99286004)(132733001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB4019; H:AM0PR07MB3844.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: AY6w0V4JKFMiAa0NMVDKVskII9A0Gw7ecQwfel5rmdyr/CBTSRb2XXsMs5TGSCPGOyzy9Sucs5g2Wlj9aId/5QFnmnQEOyIHG0DPG9Cp5sxkEgeTKcovedtWhtqv6Tz/j3a/jp5ORfRNiPQ6xW41EGc7HHbPWsgUxA1H/+3uxDp7qgpbF+wzIymk8OVZL1JCrcUqhOxz/G7BgusURiiOvNjn8R/4X2p9xgiRHlPfNdlljn/EU6p9Y0L4Mp0OXJLVyMFcfvxp+E6iyvV37UQXn8SjB6VKnM6oKvZ3bFo1mom2qYkeVq2hnvK/s5AICAkPyyqaXbIJ19z5bDMkBiVnvL4s/cQ5higIN8SaZhFB8nP0xws0/QXw1OYbNsTjXHkPM/FeO+bFe1mpvjnqxJEghT1ORlIBCyanG0unmFcHte8=
Content-Type: multipart/alternative; boundary="_000_24EB60D8378746958F45883C83F13F49nokiacom_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: edef72b1-0d4c-4895-8f5a-08d6cd8153e6
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2019 15:34:26.1128 (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-Transport-CrossTenantHeadersStamped: AM0PR07MB4019
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/G-OvvVUselMSx8BKGho7OgHIdqY>
Subject: Re: [bess] An use-case that RFC 8584 (EVPN DF Framework)  works not so well and its solution .
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: Tue, 30 Apr 2019 15:34:32 -0000

Hi Bob,

Here is my two cents:


  *   The FSM in RFC8584 is not new and has many implementations by now. I would recommend to stay with it.
  *   The timer is generic and gives some room to collect ES routes. You may already have the routes in the PE in your case, but if the node boots and comes up still need to gather them from the RR or the remote PEs.
  *   The issue that you describe about a third PE taking over can be solved in different ways. For instance:
     *   You can check the HRW Alg describe in RFC8584 that helps in many cases.
     *   You can also check the non-revertive capability along with the Preference based Alg in the DF preference draft.
     *   Or the handshake Alg in the fast df recovery draft

Thanks.
Jorge

From: "wang.yubao2@zte.com.cn" <wang.yubao2@zte.com.cn>
Date: Tuesday, April 30, 2019 at 5:02 AM
To: "bess@ietf.org" <bess@ietf.org>
Cc: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
Subject:  [bess] An use-case that RFC 8584 (EVPN DF Framework)  works not so well and its solution .




Hi everyone,



I reviewed the draft-09 of RFC 8584 a few days ago, and found that the DF Election FSM can't work well after the ES goes UP for the second time.

I described it in detail in this mail: https://mailarchive.ietf.org/arch/msg/bess/9fK2HHdish3b5Hosa5ZU4NKwX7o

And I think the issue remained in RFC 8584 unchanged.

So I described the use-case more clearly here so that we can check that whether it is a misunderstanding or it is worth updating.



0) the ES goes up on PE1 for the first time while the same ES has been DF_DONE on PE2/PE3 for a long time, the DF FSM per RFC8584 works well.
1)the ES goes down later, but the PE1 node itself still works well. Because the failure only occurs on the ES interface.
2)so the remote routes(assumed that they are from PE2 and PE3) for the same ES need not to be collected again.
3)the ES goes up again, PE1 advertises the ES route immediately after the ES_UP event.
4)So PE1 makes PE2 and PE3 to re-elect a new DF for VLAN x immediately after its ES_UP event, and the new DF may be PE1 itself.
5)But PE1 doesn't take itself as the new DF of VLAN x untill the DF_TIMER. so the VLAN x doesn't have a DF untill the DF_TIMER event.

I think the PE1 has to advertise the ES route on the DF_TIMER event from the moment of the second ES_UP on.
And I think it is better for PE1 to advertise the ES route on the DF_TIMER event even for the first ES_UP.
Because since PE1 don't intend to take a DF responsibility in the collecting time, it is technically not necessary for it to make other PEs select itself as the DF.
So I suggest that the ES route should be advertised on the DF_TIMER event, not the ES_UP event.

I think both RFC7432 and RFC8584 may need an update on the above use case.
I think the original use case for RFC7432/RFC8584's DF_WAIT state may be that all the adjacent PEs for an specified ESI are restarted on the same time.
In the original use case the ES routes should be advertised immediately after the ES_UP event because the collecting will not happen untill they advertise ES routes to each other.
But I think in the original use case the PEs technically can't be restarted on the exact same time,
and the interval among their restarting time may be more bigger than the transmission time of the ES route.
Note that the original use case will not happen so frequently than my above use case.
So I think it is not quite fair to focus on the original use case and ignore the above use case.

How do you think about the above use case and the solution?



Best Regards,

Bob



On Wed, 24 Apr 2019 21:12:29 -0700 (PDT)

rfc-editor@rfc-editor.org wrote:



> A new Request for Comments is now available in online RFC libraries.

>

>

>         RFC 8584

>

>         Title:      Framework for Ethernet VPN Designated

>                     Forwarder Election Extensibility

>         Author:     J. Rabadan, Ed.,

>                     S. Mohanty, Ed.,

>                     A. Sajassi,

>                     J. Drake,

>                     K. Nagaraj,

>                     S. Sathappan

>         Status:     Standards Track

>         Stream:     IETF

>         Date:       April 2019

>         Mailbox:    jorge.rabadan@nokia.com,

>                     satyamoh@cisco.com,

>                     sajassi@cisco.com,

>                     jdrake@juniper.net,

>                     kiran.nagaraj@nokia.com,

>                     senthil.sathappan@nokia.com

>         Pages:      32

>         Characters: 69774

>         Updates:    RFC 7432

>

>         I-D Tag:    draft-ietf-bess-evpn-df-election-framework-09.txt

>

>         URL:        https://www.rfc-editor.org/info/rfc8584

>

>         DOI:        10.17487/RFC8584

>

> An alternative to the default Designated Forwarder (DF) selection

> algorithm in Ethernet VPNs (EVPNs) is defined.  The DF is the

> Provider Edge (PE) router responsible for sending Broadcast, Unknown

> Unicast, and Multicast (BUM) traffic to a multihomed Customer Edge

> (CE) device on a given VLAN on a particular Ethernet Segment (ES).

> In addition, the ability to influence the DF election result for a

> VLAN based on the state of the associated Attachment Circuit (AC) is

> specified.  This document clarifies the DF election Finite State

> Machine in EVPN services.  Therefore, it updates the EVPN

> specification (RFC 7432).

>

> This document is a product of the BGP Enabled Services Working Group of the IETF.

>

> This is now a Proposed Standard.

>

> STANDARDS TRACK: This document specifies an Internet Standards Track

> protocol for the Internet community, and requests discussion and suggestions

> for improvements.  Please refer to the current edition of the Official

> Internet Protocol Standards (https://www.rfc-editor.org/standards) for the

> standardization state and status of this protocol.  Distribution of this

> memo is unlimited.

>

> This announcement is sent to the IETF-Announce and rfc-dist lists.

> To subscribe or unsubscribe, see

>   https://www.ietf.org/mailman/listinfo/ietf-announce

>   https://mailman.rfc-editor.org/mailman/listinfo/rfc-dist

>

> For searching the RFC series, see https://www.rfc-editor.org/search

> For downloading RFCs, see https://www.rfc-editor.org/retrieve/bulk

>

> Requests for special distribution should be addressed to either the

> author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless

> specifically noted otherwise on the RFC itself, all RFCs are for

> unlimited distribution.

>

>

> The RFC Editor Team

> Association Management Solutions, LLC

>

>

>

>