Re: [bess] FW: WG Last Call (including implem status & shepherd) for draft-ietf-bess-evpn-vpws-03

"Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net> Thu, 12 May 2016 19:13 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 1284312D19B for <bess@ietfa.amsl.com>; Thu, 12 May 2016 12:13:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=junipernetworks.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 ocycVduAOftw for <bess@ietfa.amsl.com>; Thu, 12 May 2016 12:13:17 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0798.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:798]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25C0812D501 for <bess@ietf.org>; Thu, 12 May 2016 12:13:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5hblJZAVpXyTjYj/3NvDta7xvcboX7fzCvSsHHhxubY=; b=QuNH+icVoM+OkPKYPRomsuGBOTBeUOXufgx6CbmvjAWsNJWdHjrTxVmvbiwAQQjaR880DAHIx2t3SAiATyaF9/INF/uG+Lsqg+heAJVNMcu2+oeb0i/yqxBL8PRoaOtgg88cX79b3209QsTJXWKnuqhvuYkLqR4TkGACDan7xuc=
Received: from BLUPR0501MB1715.namprd05.prod.outlook.com (10.163.120.18) by BLUPR0501MB1715.namprd05.prod.outlook.com (10.163.120.18) with Microsoft SMTP Server (TLS) id 15.1.492.11; Thu, 12 May 2016 19:12:57 +0000
Received: from BLUPR0501MB1715.namprd05.prod.outlook.com ([10.163.120.18]) by BLUPR0501MB1715.namprd05.prod.outlook.com ([10.163.120.18]) with mapi id 15.01.0492.019; Thu, 12 May 2016 19:12:57 +0000
From: "Jeffrey (Zhaohui) Zhang" <zzhang@juniper.net>
To: "Rabadan, Jorge (Nokia - US)" <jorge.rabadan@nokia.com>, BESS <bess@ietf.org>
Thread-Topic: [bess] FW: WG Last Call (including implem status & shepherd) for draft-ietf-bess-evpn-vpws-03
Thread-Index: AQHRqgOZUf2Jc4CuVk++VehXUPZTSJ+0A3aAgAEvuwCAABsloIAAS0CAgAABZGCAAAjvAIAAB5GA
Date: Thu, 12 May 2016 19:12:57 +0000
Message-ID: <BLUPR0501MB1715D22FBFDE577327AD115AD4730@BLUPR0501MB1715.namprd05.prod.outlook.com>
References: <572B2655.3020605@alcatel-lucent.com> <D3095B2F-072B-42CA-B160-DB4888DA02A7@alcatel-lucent.com> <57303CEE.8040104@orange.com> <7A432DD5-E28B-4670-B53E-2137A0A6E445@alcatel-lucent.com> <57309395.8090408@orange.com> <SN1PR0501MB1709149BA36C410EF7E46E52C7700@SN1PR0501MB1709.namprd05.prod.outlook.com> <SN1PR0501MB1709DD24B90B52F014AA58CFC7700@SN1PR0501MB1709.namprd05.prod.outlook.com> <BLUPR0501MB17151371F2D0A16368B63FFAD4720@BLUPR0501MB1715.namprd05.prod.outlook.com> <5104CBC4-8EB4-42A9-BDE8-6AC0F5B55848@alcatel-lucent.com> <BLUPR0501MB171553FF47FD1D6E368A6015D4730@BLUPR0501MB1715.namprd05.prod.outlook.com> <6995A832-0932-403E-A6A0-6604A64B8630@alcatel-lucent.com> <BLUPR0501MB1715614BA316E6074D89ECBBD4730@BLUPR0501MB1715.namprd05.prod.outlook.com> <D87BD154-EAD0-4635-9BF3-81233984EE87@alcatel-lucent.com>
In-Reply-To: <D87BD154-EAD0-4635-9BF3-81233984EE87@alcatel-lucent.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: nokia.com; dkim=none (message not signed) header.d=none;nokia.com; dmarc=none action=none header.from=juniper.net;
x-originating-ip: [66.129.241.12]
x-ms-office365-filtering-correlation-id: 70a8123c-efeb-40e0-3e31-08d37a996da2
x-microsoft-exchange-diagnostics: 1; BLUPR0501MB1715; 5:TsvCvkI85RzvDU9B4KiCc3QN31zH1IpWE+QBeuoSxCHtMYG3eB2a1mDg/M1/VT9uAn6IVyb6zJVuju4yaLKfVunWZZBZTrS/MSig4RY/obtyx1WuG9ywx2cmVOpnxR/4xxFXhEREybTvdYaUMD0HjQ==; 24:5xbWbN0/Wm4DDg+whUhm2VHip7KrjqFY9fZ0evncW+ASvXSlK8gIUWehwKexweXF9/uQJkhYD76geLQZbY2Mr7q+jWsRMi8sudo8a5qS6nk=; 7:JxgWZRmjmvnYu147m4msQOJ2rc4idbx6lFNcCHeivb8rKRySRusGKD+TBVHdEFvr/Dhy2TAZvNUKGWKLsVU/KojhkwWCJaoYgxVtLwtV7xewJ8Yy119UvBRKCAChtY2hYp5MphEOoExIr/JmcIeZ6Rzrdma2xuRnzful7f0RyaY6K1mBuf2LdKbaTpJAVgYb
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB1715;
x-microsoft-antispam-prvs: <BLUPR0501MB17157B9401573642F9F859C3D4730@BLUPR0501MB1715.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(138986009662008);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:BLUPR0501MB1715; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB1715;
x-forefront-prvs: 0940A19703
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(24454002)(13464003)(377454003)(8936002)(86362001)(66066001)(92566002)(87936001)(5002640100001)(3280700002)(2906002)(5008740100001)(19580405001)(122556002)(19580395003)(2900100001)(3660700001)(2950100001)(5004730100002)(93886004)(106116001)(11100500001)(5001770100001)(15975445007)(99286002)(77096005)(107886002)(189998001)(102836003)(6116002)(3846002)(1220700001)(76576001)(76176999)(54356999)(50986999)(586003)(9686002)(74316001)(10400500002)(81166006)(230783001)(5003600100002)(33656002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0501MB1715; H:BLUPR0501MB1715.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2016 19:12:57.6056 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB1715
Archived-At: <http://mailarchive.ietf.org/arch/msg/bess/Df9B80hbSTB9zNQuNUMLuebIK24>
Subject: Re: [bess] FW: WG Last Call (including implem status & shepherd) for draft-ietf-bess-evpn-vpws-03
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.17
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, 12 May 2016 19:13:20 -0000

Hi Jorge, Ali,

> [JORGE2] In VPWS DF election is needed for single-active. The NDF will
> block the AC for the service.

> [JORGE] This is single active, so only one can transmit/receive to/from
> the CE. So only that one should send P=1.

If I understand it correctly, the draft should specify the following:

- Use of DF election to determine primary/backup (curious how it is done for plain old EVPN), including backup DF concept
- Only the current DF should set the P-bit
- Only the current BDF should set the B-bit
- P=B=1 is invalid
- There could be transient situations where multiple P=1 and/or multiple B=1 routes co-exist. Some heuristic should be used to pick which one to use to avoid traffic discard at the other end.

For the P=B=0 case - the receiving router can't use it anyway until its P/B is changed, right? If you want to use it as 2nd backup, the spec needs to point it out.

Thanks.

Jeffrey

> -----Original Message-----
> From: Rabadan, Jorge (Nokia - US) [mailto:jorge.rabadan@nokia.com]
> Sent: Thursday, May 12, 2016 2:28 PM
> To: Jeffrey (Zhaohui) Zhang <zzhang@juniper.net>; BESS <bess@ietf.org>
> Subject: Re: [bess] FW: WG Last Call (including implem status & shepherd)
> for draft-ietf-bess-evpn-vpws-03
> 
> HI Jeffrey,
> 
> 
> On 5/12/16, 8:13 PM, "BESS on behalf of EXT Jeffrey (Zhaohui) Zhang"
> <bess-bounces@ietf.org on behalf of zzhang@juniper.net> wrote:
> 
> >Hi Jorge,
> >
> >> >If a PE sends a route w/o setting P-bit, wouldn't that indicate it is
> a
> >> backup? Why would it bother sending the route if it does not want to be
> >> the backup?
> >>
> >> [JORGE] Let’s assume you have 3 PEs in ES-1 (PE1/2/3) that is a single-
> >> active ES. PE4 is a remote PE doing backup function.
> >
> >I assume PE4 is not "doing backup function" but is just one end of the PW.
> Or perhaps you mean it needs to decide which of PE1/2/3 is the
> primary/backup.
> 
> [JORGE2] by “doing backup function” I mean that PE4 sets up a destination
> to PE1 with a backup to PE2. Aliasing and Backup functions are effectively
> done by the remote PEs based on the information advertised by the PEs in
> the ES, right?
> 
> >
> >> - PE1 is the primary - the winner of the DF election. PE1 sends P=1
> >> - PE2 is the backup - the winner of the DF election (without PE1). PE2
> >> sends B=1.
> >
> >Hmm ... DF election is for BUM in RFC 7432 and never mentioned in this
> draft. If it is used for VPWS, it needs to be specified.
> 
> [JORGE2] In VPWS DF election is needed for single-active. The NDF will
> block the AC for the service. For all-active there is no DF, of course,
> since there is no BUM ;-)
> 
> >
> >The draft says multiple PEs could all set the P/B bits:
> >
> >   In multihoming single active scenario, a remote PE receiving P=1 from
> >   more than one PE will select only one primary PE when forwarding
> >   traffic. A remote PE receiving B=1 from more than one PE will select
> >   only one backup PE. A remote PE MUST receive P=1 from at least one PE
> >   before forwarding traffic.
> >
> >And the decision is based on the receiving PE, not on DF election?
> 
> [JORGE] This is BGP, there are always transient situations, so it may
> happen that even in single active you get more than one P=1 or B=1, so you
> need to say what to do in that case, right? In a steady situation, in
> single-active MH, only the DF MUST send the P=1 since it is only the DF
> the one unblocking the AC in the ES.
> 
> >
> >> - PE3 then sends P=B=0. This indicates that PE3 is neither primary nor
> >> backup, but the AC is active (if it was oper-down, it would withdraw
> the
> >> route).
> >
> >What purpose does the route from PE3 serve?
> 
> [JORGE] since the AC is oper-up on PE3, PE3 needs to send the route. At
> PE4 you know that PE3’s AC in the ES is good, but simply neither primary
> nor backup.
> 
> >
> >> - In case of a failure on PE1, PE2 will activate its AC on ES-1 since
> he
> >> wins the new DF election.
> >
> >What does "activate" involve exactly? Just re-advertise the route with P-
> bit set and B-bit cleared?
> 
> [JORGE] unblock Tx/Rx on the AC… and later readvertise the route with the
> new bits.
> 
> >
> >> At the same time, PE4 can immediately send
> >> traffic to PE2 as soon as PE1 withdraws the AD routes. PE4 does not
> even
> >> need to wait for the confirmation that PE2 is the new DF. This backup
> >> mechanism speeds up convergence big time.
> >> - The mechanism above does not work if PE2 and PE3 send both the same
> >> P=B=0, since it case of PE1 failure, PE4 could not send any traffic (it
> >> does not know who is the active one in the ES) and would need to wait
> for
> >> PE2 to send P=1.
> >
> >I don't see any use of the route from PE3. The draft seems to say that
> both PE1 and PE2 can set the P bit initially and PE4 will pick one to send
> traffic to. If it picks PE1 and then PE1 withdraws the route, PE4 will
> then pick PE2?
> 
> [JORGE] This is single active, so only one can transmit/receive to/from
> the CE. So only that one should send P=1.
> 
> >
> >Jeffrey
> >_______________________________________________
> >BESS mailing list
> >BESS@ietf.org
> >https://www.ietf.org/mailman/listinfo/bess