Re: [bess] [Idr] draft-ietf-bess-evpn-overlay vs. draft-ietf-idr-tunnel-encaps

Ravi Shekhar <rshekhar@juniper.net> Wed, 04 May 2016 20:45 UTC

Return-Path: <rshekhar@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 588A412D1CD; Wed, 4 May 2016 13:45:55 -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, 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 oQPX0TmekPyH; Wed, 4 May 2016 13:45:52 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-eopbgr680096.outbound.protection.outlook.com [40.107.68.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D5DC12D81D; Wed, 4 May 2016 13:45:52 -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=QRd0WfJ7cNnlM74/fFvy/gOPp/1Q9VIZqPiOBvuFaf0=; b=PGpqPQ7/C0AYk85Bt78TanAApnyNBuZOnCcVdYd2lTgYKlxNAhRC1x27onoISlT+ic+Mu3sTLihfEwDP3g7aB2dAuLIOZnJFhPXOPFOE2WFnOzm54rCkilGQ7cPBB0RqNTPRh20Wq1ZBmFef6oD/0bRbBYkGRmmac2+cDRoheO8=
Received: from CY1PR05MB2220.namprd05.prod.outlook.com (10.166.192.20) by CY1PR0501MB1705.namprd05.prod.outlook.com (10.163.140.154) with Microsoft SMTP Server (TLS) id 15.1.485.9; Wed, 4 May 2016 20:45:50 +0000
Received: from CY1PR05MB2220.namprd05.prod.outlook.com ([10.166.192.20]) by CY1PR05MB2220.namprd05.prod.outlook.com ([10.166.192.20]) with mapi id 15.01.0485.011; Wed, 4 May 2016 20:45:50 +0000
From: Ravi Shekhar <rshekhar@juniper.net>
To: "Rabadan, Jorge (Nokia - US)" <jorge.rabadan@nokia.com>, John E Drake <jdrake@juniper.net>, "EXT - thomas.morin@orange.com" <thomas.morin@orange.com>, BESS <bess@ietf.org>, IDR <idr@ietf.org>, "draft-ietf-bess-evpn-overlay@tools.ietf.org" <draft-ietf-bess-evpn-overlay@tools.ietf.org>, "Ali Sajassi (sajassi)" <sajassi@cisco.com>
Thread-Topic: [Idr] draft-ietf-bess-evpn-overlay vs. draft-ietf-idr-tunnel-encaps
Thread-Index: AQHRpi+6Yxu+7jyT7UG9wH5rbs/8yp+pGrqAgAAV74CAAA3WoA==
Date: Wed, 04 May 2016 20:45:50 +0000
Message-ID: <CY1PR05MB2220AB9D831D89469A2BE42EC87B0@CY1PR05MB2220.namprd05.prod.outlook.com>
References: <5729F1C3.1030605@orange.com> <5729F7C5.6040604@orange.com> <52D35106-ED5E-4C95-9131-6EA4527370D5@alcatel-lucent.com> <BY2PR0501MB1702CD2423A817F3725CB5DFC77B0@BY2PR0501MB1702.namprd05.prod.outlook.com> <012C176C-A8D6-45AA-BA69-616C0ED7E41E@alcatel-lucent.com>
In-Reply-To: <012C176C-A8D6-45AA-BA69-616C0ED7E41E@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.239.12]
x-ms-office365-filtering-correlation-id: 47d135a1-e36a-4e04-fc62-08d3745d1402
x-microsoft-exchange-diagnostics: 1; CY1PR0501MB1705; 5:3syhuTACRKHeIdqTqUOzBiKq2ugJBtpy1QvL2enaJ8rHWwxohwECGl0vIi/TMWw2jgH5DlBsgSDSOjgostWo1rmTjoET0N/LCAtMuJTlbLNOhYYnBrIT2OYNjl8W9wngjamoKpyYEnVVbBTDj6Jm1Q==; 24:bwbq4LJYT/Ei0yrYAMFTEfCRsBE9duIGmDIL/dbqbj1tcmtAWxMwTsdDcx1I1NOnNh6w6YFB3n1U3y2xYimnh1y0S8c938sZdt1y9onyp1U=; 7:mXGfT1N6NA7fW7zzGNlh/FfPyUGftKOuNL/I+M4PW3YNr1l5kGMfN0yayMtV6J0Fj++8SNs6bIhQwGz7FJ2224C0lZsyVSK01Gf2m39MWaMuRwkTyXLYJgmhXeDxi44BdAt+bLSCUKxUxRBkF1jF7+BwYQtzkWfUpP7YULPR9I8=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1705;
x-ld-processed: bea78b3c-4cdb-4130-854a-1d193232e5f4,ExtAddr
x-microsoft-antispam-prvs: <CY1PR0501MB1705472F3805E6CACDFA8E72C87B0@CY1PR0501MB1705.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(138986009662008)(95692535739014);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(9101528026)(9101521098)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:CY1PR0501MB1705; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0501MB1705;
x-forefront-prvs: 093290AD39
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377424004)(377454003)(13464003)(24454002)(5008740100001)(87936001)(19580405001)(2906002)(92566002)(86362001)(81166005)(2501003)(107886002)(122556002)(5002640100001)(19580395003)(8936002)(106116001)(189998001)(99286002)(10400500002)(230783001)(77096005)(1220700001)(102836003)(5004730100002)(33656002)(2950100001)(3846002)(76176999)(6116002)(9686002)(586003)(50986999)(3660700001)(76576001)(3280700002)(74316001)(5003600100002)(15975445007)(11100500001)(54356999)(93886004)(5001770100001)(2900100001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0501MB1705; H:CY1PR05MB2220.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2016 20:45:50.4798 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1705
Archived-At: <http://mailarchive.ietf.org/arch/msg/bess/ke-QJKBX-r6FkzqWxulaoLDXFek>
Subject: Re: [bess] [Idr] draft-ietf-bess-evpn-overlay vs. draft-ietf-idr-tunnel-encaps
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: Wed, 04 May 2016 20:45:55 -0000

Hi Jorge,
The VNI field in Ethernet Tag has been used to differentiate two BGP routes that have same MAC but different VNI/VLAN-ID. Ideally, it should not be used for nexthop creation. May be we can add that clarification.
Thanks.
- Ravi.


-----Original Message-----
From: BESS [mailto:bess-bounces@ietf.org] On Behalf Of Rabadan, Jorge (Nokia - US)
Sent: Wednesday, May 04, 2016 12:53 PM
To: John E Drake <jdrake@juniper.net>; EXT - thomas.morin@orange.com <thomas.morin@orange.com>; BESS <bess@ietf.org>; IDR <idr@ietf.org>; draft-ietf-bess-evpn-overlay@tools.ietf.org; Ali Sajassi (sajassi) <sajassi@cisco.com>
Subject: Re: [bess] [Idr] draft-ietf-bess-evpn-overlay vs. draft-ietf-idr-tunnel-encaps

Hi John,

About this:

[JD] For the IMET route the MPLS label field is carried in the PMSI attribute. I think we need to ask everyone whether they used the Ethernet Tag or the PMSI attribute to carry the VNI 


In case it helps, I’ve seen a few implementations running and they all encode the VNI in the MPLS label field in the PTA. And a couple of them, encode the VNI in the ethernet-tag, in addition to the MPLS label in the PTA. In any case, I think section 9 contradicts section 5.1.3 and should be clarified.

"5.1.3 Constructing EVPN BGP Routes
<snip>
the MPLS label field in the MAC Advertisement, Ethernet AD per EVI, and **Inclusive Multicast Ethernet Tag** routes is used to carry the VNI or VSID." 

Thanks.
Jorge





On 5/4/16, 8:34 PM, "EXT John E Drake" <jdrake@juniper.net> wrote:

>Thomas and Jorge,
>
>Snipped, comments inline.
>
>Yours Irrespectively,
>
>John
>
>> >
>> >draft-ietf-bess-evpn-overlay (see section 9) relies on the BGP 
>> >Encapsulation extended to encode the tunnel encap to use for BUM 
>> >traffic, but contrary to other E-VPN routes, relies on the Ethernet 
>> >Tag field of the NLRI to encode the VNI/VSID.
>> 
>> [JORGE] This is certainly a leftover from an old version where the 
>> VNI/VSID was encoded in the ethernet tag for all the routes. The VNI 
>> should be encoded in the Label field in all the routes. This has to be corrected.
>> 
>> In fact, section 5.1.3 says:
>> 
>> 5.1.3 Constructing EVPN BGP Routes
>> 
>> <snip>
>> 
>> Accordingly, and
>>    specifically to support the option of locally assigned VNIs, the MPLS
>>    label field in the MAC Advertisement, Ethernet AD per EVI, and
>>    Inclusive Multicast Ethernet Tag routes is used to carry the VNI or
>>    VSID.  For the balance of this memo, the MPLS label field will be
>>    referred to as the VNI/VSID field. The VNI/VSID field is used for
>>    both local and global VNIs/VSIDs, and for either case the entire 24-
>>    bit field is used to encode the VNI/VSID value.
>> 
>> <snip>
>
>
>[JD]  For the IMET route the MPLS label field is carried in the PMSI attribute.  I think we need to ask everyone whether they
>used the Ethernet Tag or the PMSI attribute to carry the VNI    
>
>
>> >>
>> >> There are minor things that could be improved in 
>> >> draft-ietf-bess-evpn-overlay wrt. consistency with 
>> >> draft-ietf-idr-tunnel-encaps :
>> >>
>> >> * since draft-ietf-idr-tunnel-encaps will deprecate RFC5512, it 
>> >> would be better that draft-ietf-bess-evpn-overlay refers to 
>> >> draft-ietf-idr-tunnel-encaps and not anymore to RFC5512.
>> 
>> [JORGE] I agree, as long as draft-ietf-idr-tunnel-encaps keeps the 
>> encapsulation extended community. There are a few implementations 
>> using this community and it is enough when only the encapsulation type is needed.
>
>
>[JD]   I agree and the tunnel encaps draft does keep the EC
>
>
>> 
>> >>
>> >> * I think it would be better to avoid the explicit list of encap 
>> >> types in section 5.1.3, and rather refer to 
>> >> draft-ietf-idr-tunnel-encaps instead
>> 
>> [JORGE] I agree.
>
>
>[JD]  According to IANA, it allocated the five tunnels types to the 
>overlay draft so I think we need to keep them
>
>
>> 
>> >> * the following minor modification was proposed, but not yet incorporated:
>> >>
>> >>     John Drake, 2015-11-13 (to BESS ML):
>> >>>     For the overlay draft, replace this text in section 5.1.3:
>> >>>
>> >>>     "If the BGP Encapsulation extended community is not present, 
>> >>> then the default MPLS encapsulation or a statically configured 
>> >>> encapsulation is assumed."
>> >>>
>> >>>     With the following:
>> >>>
>> >>>     "Note that the MPLS encapsulation tunnel type is needed in 
>> >>> order to distinguish between an advertising node that only 
>> >>> supports non-MPLS encapsulations and one that supports MPLS and 
>> >>> non-MPLS encapsulations.  An  advertising node that only supports 
>> >>> MPLS encapsulation does not need to advertise any encapsulation 
>> >>> tunnel types;  i.e.,  if the BGP Encapsulation extended community 
>> >>> is not present, then either MPLS encapsulation or a statically 
>> >>> configured encapsulation is assumed."
>> >>
>> >> I think this change is useful and should be incorporated, although 
>> >> skipping the last sentence would be wise if the full list of 
>> >> tunnel types is removed.
>
>
>[JD]  Fine with me either w/ or w/o the last sentence
>
>
_______________________________________________
BESS mailing list
BESS@ietf.org
https://www.ietf.org/mailman/listinfo/bess