Re: [bess] draft-ietf-bess-evpn-overlay / section 5.1.3 vs. section 9 (was Re: [Idr] draft-ietf-bess-evpn-overlay vs. draft-ietf-idr-tunnel-encaps)

John E Drake <jdrake@juniper.net> Wed, 15 June 2016 14:22 UTC

Return-Path: <jdrake@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 1BB9C12D783 for <bess@ietfa.amsl.com>; Wed, 15 Jun 2016 07:22:26 -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=unavailable 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 y2aujh5PJf1P for <bess@ietfa.amsl.com>; Wed, 15 Jun 2016 07:22:23 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0146.outbound.protection.outlook.com [207.46.100.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 70BEB12D621 for <bess@ietf.org>; Wed, 15 Jun 2016 07:13:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+kiv5+kYxOx5qKdA7rG8xxC1T5YIb4oWtlygf8Kc2mA=; b=Iko35H1MH/OPZwEbNZwpgxJbvCwzSIxqXPT8PVnNrE9zwEWjG2vTIXpkCUq/85yHSUYvT+uWdGjadP6sc1vXobR6JK5x8ff6m4aT430FYykNfh3Swm7RaT19/IuTwGRpXwxh+xML1e6W/zG7NE1lwbIAl0AOUQQU0uN9E7BKLAU=
Received: from BY2PR05MB2310.namprd05.prod.outlook.com (10.166.112.148) by BY2PR05MB2309.namprd05.prod.outlook.com (10.166.112.147) with Microsoft SMTP Server (TLS) id 15.1.517.8; Wed, 15 Jun 2016 14:13:49 +0000
Received: from BY2PR05MB2310.namprd05.prod.outlook.com ([10.166.112.148]) by BY2PR05MB2310.namprd05.prod.outlook.com ([10.166.112.148]) with mapi id 15.01.0517.014; Wed, 15 Jun 2016 14:13:49 +0000
From: John E Drake <jdrake@juniper.net>
To: "EXT - thomas.morin@orange.com" <thomas.morin@orange.com>, "Rabadan, Jorge (Nokia - US)" <jorge.rabadan@nokia.com>, BESS <bess@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: draft-ietf-bess-evpn-overlay / section 5.1.3 vs. section 9 (was Re: [Idr] draft-ietf-bess-evpn-overlay vs. draft-ietf-idr-tunnel-encaps)
Thread-Index: AQHRxwQV9ZoNUfpEM0iF6gUSP1rAXJ/qj2Zg
Date: Wed, 15 Jun 2016 14:13:49 +0000
Message-ID: <BY2PR05MB2310ACC9C44A066EBB615D53C7550@BY2PR05MB2310.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> <SN1PR0501MB1709E1AF8C398791421E2123C77B0@SN1PR0501MB1709.namprd05.prod.outlook.com> <31d2c99b-de11-9e3c-fae9-2d60017c3090@orange.com>
In-Reply-To: <31d2c99b-de11-9e3c-fae9-2d60017c3090@orange.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=jdrake@juniper.net;
x-originating-ip: [66.129.241.14]
x-ms-office365-filtering-correlation-id: 15af0077-7732-40c9-f185-08d3952745c4
x-microsoft-exchange-diagnostics: 1; BY2PR05MB2309; 6:YmoXsOXVHpUCJIFYEC3OZUjeLvpgpcDez880Pto9Q7quPeunUHGVUnYhCXkACcHnR4B+8zaEqSPKt5nVmFnkwniqzTwpOtYd37JdvR/xb93o9HL2BMSd7n5Xh+eylQ+E18E240SAJAxrM09tXHkojF4otAkdOFxWxNiIYcyfRizduAgtHxW7xH/oZdtW79MPCXQLxskw2AWNEc8zwfEOl37ApOtQLhlVg86wisUK3/yxvQ0E0cE4eC35Wmux8MEx5MaZC/RHuNcsTtZTKawEeRFj70v7CeS5Q+gLBtP2VeobGJ20H12AW3sdHXTu1MC6KSo/Ljlxzi2f5Bg2MyjFwA==; 5:7+aoy60ztP4fLm3u/tIOM4uNO1V+3NA7l+xjE3FIjrDik/jLa8qEyUb9txZ7lDVOWsbUHPY+iGuAKFSNkiKTVFeq6LaPZBMf3RiPc3NE80ImKwUtaox5xXGBqdIqm4NE5NbDsIp4JxyAMhRDIu03Ag==; 24:Ve1FwA5r+ECCsGNRZQxlSOIze2tcntYI3EvYY8uPtisejPgT9kl6ox+jwgYiYjAyuZZxKSe7p/2h1xjS7dGBHetA+zW++pTqhltMnlOCHEA=; 7:UMDiKIQeoyGJ4ubCzRvM+nhvDC+ZyH5OO0ldVPO1prmrM0zva1+H3E5YIdy3afLN9TyKkkodCDTFpLihZElIFqWRMI77q86UoBdxL9JyAd07MmuKSLexLnEiRMNj6Qnmb5ohfj6UFUczXsiYFNx23OfxONx5zT+/R/YoQp4DNUmDHO+Vrbn03ypVIqS1o8hkWEw46oaBmz4piVhd5aORtUqujpsF+zWERwzKUr/s9JY=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR05MB2309;
x-ld-processed: bea78b3c-4cdb-4130-854a-1d193232e5f4,ExtAddr
x-microsoft-antispam-prvs: <BY2PR05MB2309B3074991E135DBADAD98C7550@BY2PR05MB2309.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(138986009662008)(82608151540597)(788757137089)(18271650672692);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:BY2PR05MB2309; BCL:0; PCL:0; RULEID:; SRVR:BY2PR05MB2309;
x-forefront-prvs: 09749A275C
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(199003)(24454002)(13464003)(377424004)(377454003)(189002)(19580405001)(5003600100002)(74316001)(19580395003)(230783001)(33656002)(87936001)(97736004)(5001770100001)(4001150100001)(68736007)(3846002)(102836003)(6116002)(93886004)(9686002)(92566002)(586003)(5002640100001)(66066001)(107886002)(76576001)(11100500001)(189998001)(106116001)(106356001)(50986999)(54356999)(76176999)(3660700001)(122556002)(105586002)(86362001)(3280700002)(10400500002)(101416001)(2900100001)(2950100001)(99286002)(5008740100001)(15975445007)(81156014)(77096005)(2906002)(8676002)(5004730100002)(8936002)(2501003)(81166006); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR05MB2309; H:BY2PR05MB2310.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; CAT:NONE; LANG:en; CAT:NONE;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
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: 15 Jun 2016 14:13:49.5469 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR05MB2309
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/FSqKraJcQnzLp78mFJBoZL5R00Q>
Subject: Re: [bess] draft-ietf-bess-evpn-overlay / section 5.1.3 vs. section 9 (was Re: [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, 15 Jun 2016 14:22:26 -0000

Thomas,

Comments inline.

Yours Irrespectively,

John

> -----Original Message-----
> From: Thomas Morin [mailto:thomas.morin@orange.com]
> Sent: Wednesday, June 15, 2016 8:47 AM
> To: John E Drake; Rabadan, Jorge (Nokia - US); BESS; draft-ietf-bess-evpn-
> overlay@tools.ietf.org; Ali Sajassi (sajassi)
> Subject: draft-ietf-bess-evpn-overlay / section 5.1.3 vs. section 9 (was Re: [Idr] draft-ietf-
> bess-evpn-overlay vs. draft-ietf-idr-tunnel-encaps)
> 
> Hi John, Ali,
> 
> Through the discussion below it appeared that section 9 and section
> 5.1.3 needed adjustments to be brought in sync, and indeed there were some changes in
> last revision.
> 
> However, I don't think the cleanup/precision is complete yet:
> - section 5.1.3 says "the MPLS label field in the [...] Inclusive Multicast Ethernet Tag routes is
> used to carry the VNI" although the "Inclusive Multicast Ethernet Tag Route" has no "MPLS
> label field"
> - (directly related to the above) none of these section talks about using the MPLS field of
> the PMSI Tunnel Attribute as the VNI, although the discussion below concluded that it is
> what implementations actually do


[JD] Accordingly, and specifically to support the option of locally assigned VNIs, the MPLS label1 field in the MAC Advertisement route, the MPLS label field in the Ethernet AD per EVI route, and the MPLS label field in the PMSI Tunnel Attribute of the Inclusive Multicast Ethernet Tag route are used to carry the VNI.


> - also, section 9 now says "The Ethernet Tag field of this route is set as described in section
> 5.1.3.", but I find this sentence useless and redundant (precisely because 5.1.3 already says
> it and nothing would indicate that section 9 would be exempt of what 5.1.3 says)


[JD]  We should strike the sentence.  


> 
> Additionally, it occurred to me that "the MPLS field" is not, strictly speaking, unambiguous
> for MAC Advertisement routes, because the route actually has two MPLS fields.  The text
> should just say "MPLS Label1 field" for the MAC/IP advertisement route.


[JD]  See above.
 

> 
> Best,
> 
> -Thomas
> 
> 
> 2016-05-04, John E Drake:
> > Jorge,
> >
> > We put the VNI value in the MPLS label field of the PMSI attribute for all service types,
> and we put a value in the Ethernet Tag field following the rules for each service type as
> described in 5.1.3 (https://tools.ietf.org/html/draft-ietf-bess-evpn-overlay-02#section-
> 5.1.3).
> >
> > You're right that we need to clean up section 9.
> >
> > Yours Irrespectively,
> >
> > John
> >
> >> -----Original Message-----
> >> From: Rabadan, Jorge (Nokia - US) [mailto:jorge.rabadan@nokia.com]
> >> Sent: Wednesday, May 04, 2016 3:53 PM
> >> To: John E Drake; EXT - thomas.morin@orange.com; BESS; IDR;
> >> draft-ietf-bess-evpn- overlay@tools.ietf.org; Ali Sajassi (sajassi)
> >> Subject: Re: [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
> >>>
> >>>