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

"Rabadan, Jorge (Nokia - US)" <jorge.rabadan@nokia.com> Wed, 04 May 2016 21:25 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 29D7F12D97E; Wed, 4 May 2016 14:25:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 rtu644RhceR3; Wed, 4 May 2016 14:25:20 -0700 (PDT)
Received: from smtp-fr.alcatel-lucent.com (fr-hpida-esg-02.alcatel-lucent.com [135.245.210.21]) (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 89F6512D8A8; Wed, 4 May 2016 14:25:19 -0700 (PDT)
Received: from fr712umx3.dmz.alcatel-lucent.com (unknown [135.245.210.42]) by Websense Email Security Gateway with ESMTPS id 16312739A12DE; Wed, 4 May 2016 21:25:12 +0000 (GMT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (fr711usmtp1.zeu.alcatel-lucent.com [135.239.2.122]) by fr712umx3.dmz.alcatel-lucent.com (GMO-o) with ESMTP id u44LPF6k007067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 May 2016 21:25:15 GMT
Received: from FR711WXCHHUB01.zeu.alcatel-lucent.com (fr711wxchhub01.zeu.alcatel-lucent.com [135.239.2.111]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id u44LPF44006780 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 4 May 2016 23:25:15 +0200
Received: from FR711WXCHMBA03.zeu.alcatel-lucent.com ([169.254.3.187]) by FR711WXCHHUB01.zeu.alcatel-lucent.com ([135.239.2.111]) with mapi id 14.03.0195.001; Wed, 4 May 2016 23:25:15 +0200
From: "Rabadan, Jorge (Nokia - US)" <jorge.rabadan@nokia.com>
To: EXT 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" <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+kmvQEkxjTwkqTS+eCL8sT/p+o+TOAgAA3cgD//+1XAIAALIQA
Date: Wed, 04 May 2016 21:25:14 +0000
Message-ID: <2F7BA699-A7F3-43DD-AE94-33ADF6866E8F@alcatel-lucent.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>
In-Reply-To: <CY1PR05MB2220AB9D831D89469A2BE42EC87B0@CY1PR05MB2220.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.15.1.160411
x-originating-ip: [135.239.27.40]
Content-Type: text/plain; charset="utf-8"
Content-ID: <10AE155D3E62C14DAA7814BCE8833973@exchange.lucent.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/bess/oWWZW6ggVyO_W5dIOHl6emNOFos>
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:25:23 -0000

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