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

Ravi Shekhar <rshekhar@juniper.net> Wed, 04 May 2016 21:39 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 9D63912D937; Wed, 4 May 2016 14:39:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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 88Q8-GQieLnQ; Wed, 4 May 2016 14:39:14 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0133.outbound.protection.outlook.com [65.55.169.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9553212D970; Wed, 4 May 2016 14:39:11 -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=Og/sapd4CsnAmHbCWIblXNNIwSpR9YPb8wXc+uiyWlA=; b=Qyb6+vn0MRROwyKmGXySgx0yMHJYkQatVyeqxnyx9PjcL+duhSXk+aN+38B/sksslHkFEdWmpWWSIkW6GT7Zt96SvmeuxPoNxmpkKeO7GbJxW1GV4aoK4SXVot/9dgO939w91kQuq3NnKE01DjEZzC6QQDu/gpnuCS4W/F5i1xk=
Received: from CY1PR05MB2220.namprd05.prod.outlook.com (10.166.192.20) by BLUPR0501MB1700.namprd05.prod.outlook.com (10.163.120.158) with Microsoft SMTP Server (TLS) id 15.1.485.9; Wed, 4 May 2016 21:39:09 +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 21:39:09 +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+pGrqAgAAV74CAAA3WoIAADAYAgAAANQA=
Date: Wed, 04 May 2016 21:39:09 +0000
Message-ID: <CY1PR05MB2220A0A3755AE7D425FA609AC87B0@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> <CY1PR05MB2220AB9D831D89469A2BE42EC87B0@CY1PR05MB2220.namprd05.prod.outlook.com> <2F7BA699-A7F3-43DD-AE94-33ADF6866E8F@alcatel-lucent.com>
In-Reply-To: <2F7BA699-A7F3-43DD-AE94-33ADF6866E8F@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: f63b0c10-316e-4605-785c-08d374648686
x-microsoft-exchange-diagnostics: 1; BLUPR0501MB1700; 5:RQp57rZos39b6MNmcwDwLu3Iy9iEn3kDA1lQB5ZGOxTvZCOrQympmGB1zg0BwvImqB2fuj37ysQMuCVuOHhuk/nrr4WXjsMwIeutE1TjB5XjnHuZ99qDgQAyqlVE0MBMMUEUZvDCSaqFdek5bTv5OQ==; 24:eh/sfb/BRhoZ+K87Fjl1PeKV/bGU9sBEGJX12FBb5AlP/agw6mZDQiA2VZ8N4opKNJ7PVaQF3cnVuNlYTdatzqYwx6A9gYCc/DF9RPPqX+Y=; 7:V3v4ZPxcKq/7rG1RhAxaw3F20NcFyYoEXoms7JBQjaPIS/3AFS++yu89SmyyhUKxb6OS4ebS1BQrzgtiivyQtmuxMXvbJb5csBY0piqWU7LlEJoSsIIxIhe8oNowWnNhMEY/T52JVwCfuL3UGFMqgjfIMcK1q/yDAa9OACzR/uM=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB1700;
x-ld-processed: bea78b3c-4cdb-4130-854a-1d193232e5f4,ExtAddr
x-microsoft-antispam-prvs: <BLUPR0501MB1700518E039FDEB706592D7EC87B0@BLUPR0501MB1700.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(138986009662008)(95692535739014);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(9101521098)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:BLUPR0501MB1700; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB1700;
x-forefront-prvs: 093290AD39
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377424004)(13464003)(377454003)(24454002)(87936001)(33656002)(2906002)(189998001)(9686002)(81166005)(5001770100001)(86362001)(107886002)(99286002)(3660700001)(11100500001)(8936002)(122556002)(5002640100001)(106116001)(93886004)(5004730100002)(76576001)(5008740100001)(19580405001)(230783001)(2950100001)(2900100001)(50986999)(2501003)(19580395003)(3846002)(6116002)(77096005)(10400500002)(92566002)(3280700002)(102836003)(1220700001)(15975445007)(5003600100002)(76176999)(54356999)(74316001)(586003); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR0501MB1700; 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 21:39:09.1414 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB1700
Archived-At: <http://mailarchive.ietf.org/arch/msg/bess/xssSohw78VsxnDNiLVxM1DFR0hU>
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 21:39:17 -0000

Hi Jorge, As per the current spec that is correct - it is being used only for vlan-aware bundle model.

For vlan-based, if a system supports more than 64K vlans, keeping Etag zero forces implementation to create new RDs. The current IP address based RD structure only has 16 bits left in RD for identifying vlans. If RD has to be auto-derived, it also adds extra complexity in the implementation that it has to now manage a separate 16 bit number space (across graceful restart, and across configured RDs). It would be much easier if one could use configured 24 bits of vnid/vlan-id to do that. Ideally, we should give it a structure like auto-RT : 1 bit for auto/manual and 24 bits for vlan identification, and put those 32 bits to good use even for vlan-based.

Alternative is to define a new type of RD that leaves 3 bytes of RD available to fit in vlan identification. The current types of RD are only a handful, but the type field takes a full 2 byte space. We can possibly free up a byte from that space. Since the problem is very specific to EVPN, I am not sure if it is prudent to do that. Using 32 bits of Ethernet tag in EVPN routes sounds more appropriate for this purpose.

Thanks.
- Ravi.



-----Original Message-----
From: Rabadan, Jorge (Nokia - US) [mailto:jorge.rabadan@nokia.com] 
Sent: Wednesday, May 04, 2016 2:25 PM
To: Ravi Shekhar <rshekhar@juniper.net>; 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: [Idr] draft-ietf-bess-evpn-overlay vs. draft-ietf-idr-tunnel-encaps

Hi Ravi,

Of course, in case of vlan-aware bundle services. But should be zero in case of VLAN-based or VLAN-bundle.
Thx
Jorge 




On 5/4/16, 10:45 PM, "EXT Ravi Shekhar" <rshekhar@juniper.net> wrote:

>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