Re: [bess] draft-ietf-bess-evpn-overlay-10 PMSI with Ingress Replication

Thomas Morin <thomas.morin@orange.com> Fri, 15 December 2017 16:42 UTC

Return-Path: <thomas.morin@orange.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 1CA1F126CC7 for <bess@ietfa.amsl.com>; Fri, 15 Dec 2017 08:42:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.234
X-Spam-Level:
X-Spam-Status: No, score=-1.234 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, SPF_SOFTFAIL=0.665] autolearn=no 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 Z5punXtA2AKT for <bess@ietfa.amsl.com>; Fri, 15 Dec 2017 08:42:26 -0800 (PST)
Received: from p-mail1.rd.orange.com (p-mail1.rd.orange.com [161.106.1.2]) by ietfa.amsl.com (Postfix) with ESMTP id 4F868126C83 for <bess@ietf.org>; Fri, 15 Dec 2017 08:42:26 -0800 (PST)
Received: from p-mail1.rd.orange.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 2D3167CC002; Fri, 15 Dec 2017 17:42:25 +0100 (CET)
Received: from FTRDCH01.rd.francetelecom.fr (unknown [10.194.32.11]) by p-mail1.rd.orange.com (Postfix) with ESMTP id 147AA41022F; Fri, 15 Dec 2017 17:42:25 +0100 (CET)
Received: from l-fipglop (10.193.71.131) by FTRDCH01.rd.francetelecom.fr (10.194.32.11) with Microsoft SMTP Server id 14.3.361.1; Fri, 15 Dec 2017 17:42:24 +0100
Message-ID: <1513356144.6588.38.camel@orange.com>
From: Thomas Morin <thomas.morin@orange.com>
To: "Fedyk, Don" <don.fedyk@hpe.com>, John E Drake <jdrake@juniper.net>, Marco Marzetti <marco@lamehost.it>
CC: "bess@ietf.org" <bess@ietf.org>
Date: Fri, 15 Dec 2017 17:42:24 +0100
In-Reply-To: <AT5PR8401MB035389AC482DEFA78909334FF60B0@AT5PR8401MB0353.NAMPRD84.PROD.OUTLOOK.COM>
References: <CAO367rVvmv4kyFbS8C=WEyZpXZZQUgLsFX1gscy49UNU2_pJvQ@mail.gmail.com> <1513258777.30252.11.camel@orange.com> <CAO367rWCvS2fOD43agch0Mpu1pOfoXYHkptJPfccJsPHc+vzZQ@mail.gmail.com> <AT5PR8401MB0353B2B69B6F8D292FFB268BF60A0@AT5PR8401MB0353.NAMPRD84.PROD.OUTLOOK.COM> <1513334544.6588.9.camel@orange.com> <MWHPR05MB355144EB0007DE112C09F34BC70B0@MWHPR05MB3551.namprd05.prod.outlook.com> <AT5PR8401MB035389AC482DEFA78909334FF60B0@AT5PR8401MB0353.NAMPRD84.PROD.OUTLOOK.COM>
Organization: Orange S.A.
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.26.3-1
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/0yr5dJw5tcxko3eAXAru_fiD0_A>
Subject: Re: [bess] draft-ietf-bess-evpn-overlay-10 PMSI with Ingress Replication
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 15 Dec 2017 16:42:29 -0000

Hi Don,

Fedyk, Don, 2017-12-15 15:34:
> I know I read this part several times.  The draft specifies a
> Multicast tunnel with attribute Ingress replication that you don't
> use for multicast traffic.
> 
> > > > > > 
> 
>    For example,
>    the PMSI Tunnel attribute may indicate the multicast tunnel is of
>    type PIM-SM; whereas, the BGP Encapsulation extended community may
>    indicate the encapsulation for that tunnel is of type VxLAN. The
>    following tunnel types as defined in [RFC6514] can be used in the
>    PMSI tunnel attribute for VXLAN/NVGRE:
> 
>          + 3 - PIM-SSM Tree
>          + 4 - PIM-SM Tree
>          + 5 - BIDIR-PIM Tree
>          + 6 - Ingress Replication
> 
> 
>    Except for Ingress Replication, this multicast tunnel is used by
> the
>    PE originating the route for sending multicast traffic to other
> PEs,
>    and is used by PEs that receive this route for receiving the
> traffic
>    originated by hosts connected to the PE that originated the route.
> <<<<<

Honestly, interpreting the above as "The draft specifies a Multicast
tunnel with attribute Ingress replication that you don't use for
multicast traffic" is in my opinion really far fetched, for two
reasons:
- the paragraph does not talk about the advertised routes, but what is
used in the dataplane (the actual dataplane construct corresponding to
the PMSI Tunnel Attribute)
- the paragraph only talks about the traffic flowing from advertiser to
remote PEs, so it does not exclude the other direction of traffic from
being used in the case of ingress replication

So well, it's not the first time that additional text aiming at helping
people understand, rather than add precisions required for interop,
ends up being a source of questions.

Here I would suggest to authors to consider purely removing this
paragraph, not because it would be wrong or ambiguous (as said above, I
don't think it is), but because as far as I can tell it has never meant
to specify anything not already implied by RFC7432, but was here only
to help understand.

Best,

-Thomas




-----Original Message-----
> From: John E Drake [mailto:jdrake@juniper.net] 
> Sent: Friday, December 15, 2017 9:52 AM
> To: EXT - thomas.morin@orange.com <thomas.morin@orange.com>; Fedyk,
> Don <don.fedyk@hpe.com>; Marco Marzetti <marco@lamehost.it>
> Cc: bess@ietf.org
> Subject: RE: [bess] draft-ietf-bess-evpn-overlay-10 PMSI with Ingress
> Replication
> 
> Thomas,
> 
> I completely agree w/ your email, below.
> 
> Yours Irrespectively,
> 
> John
> 
> 
> > -----Original Message-----
> > From: BESS [mailto:bess-bounces@ietf.org] On Behalf Of Thomas Morin
> > Sent: Friday, December 15, 2017 5:42 AM
> > To: Fedyk, Don <don.fedyk@hpe.com>; Marco Marzetti <marco@lamehost.
> > it>
> > Cc: bess@ietf.org
> > Subject: Re: [bess] draft-ietf-bess-evpn-overlay-10 PMSI with
> > Ingress 
> > Replication
> > 
> > Hi Don,
> > 
> > Fedyk, Don, 2017-12-14 20:33:
> > > I think the gray area is that this draft talks about BUM traffic
> > > and 
> > > ingress replication and then has a section on Multicast tunnels 
> > > which excludes ingress replication traffic from the tunnels.
> > 
> > No, ingress replication is not excluded at all:
> > 
> >    The following tunnel types as defined in [RFC6514] can be used
> > in
> >    the PMSI tunnel attribute for VXLAN/NVGRE:
> > 
> >          + 3 - PIM-SSM Tree
> >          + 4 - PIM-SM Tree
> >          + 5 - BIDIR-PIM Tree
> >          + 6 - Ingress Replication
> > 
> > > If you are using point to point VXLAN/NVGRE  tunnels then
> > > ingress 
> > > replication is default [...]
> > 
> > This formulation surprises me: that some implementations behave as
> > you 
> > describe is possibly true (this seems to be the case of the 
> > implementation that triggered this discussion), but I don't know
> > about 
> > any text in the specs we are discussing that would imply such a
> > 'default'.
> > 
> > You might have implementations that in the absence of any local 
> > configuration for an EVPN instance on which type of tunnel to use
> > for 
> > BUM, will default to ingress replication: this is fine, out of the 
> > scope of what is specified for interop, and not breaking other 
> > implementations (as long, of course, that what is chosen locally
> > is 
> > then advertised as expected in a PMSI Tunnel Attribute).
> > 
> > 
> > > but IMET is being used to identify the NVE IP.    I read RFC7432
> > > and
> > > RFC6514 in this area and thought that the PMSI attribute MUST be
> > > set 
> > > when there is an Inclusive Multicast Ethernet tag IMET.
> > 
> > Yes!  (the text of RFC7432 quoted by Ali reminds us that)
> > 
> > 
> > > I can see two possible fixes:
> > > -          Specify that the PMSI attribute MUST be set if there
> > > is an
> > > IMET route and specify correct attribute.
> > 
> > Given the content of RFC7432 and the fact that this is a normative
> > ref 
> > of draft-ietf-bess-evpn-overlay, I think that we don't need to
> > repeat 
> > this MUST in draft-ietf-bess-evpn-overlay.  That is, unless we 
> > explicitly identify an ambiguous piece of text.
> > 
> > > -          Allow that ingress replication is default when PMSI is
> > > absent but accept PMSI that specifies ingress replication.
> > > 
> > 
> > I don't think we should do that. It would overnight make non-
> > compliant 
> > pre- standard implementation of draft-ietf-bess-evpn-overlay,
> > without 
> > a rationale to do so except coping with an implementation that
> > assumed a bit too much.
> > 
> > Best,
> > 
> > -Thomas
> > 
> > 
> > 
> > > From: BESS [mailto:bess-bounces@ietf.org] On Behalf Of Marco 
> > > Marzetti
> > > Sent: Thursday, December 14, 2017 9:21 AM
> > > To: Thomas Morin <thomas.morin@orange.com>
> > > Cc: bess@ietf.org
> > > Subject: Re: [bess] draft-ietf-bess-evpn-overlay-10 PMSI with 
> > > Ingress Replication
> > > 
> > > Hello,
> > > 
> > > I have encountered an implementation that is not attaching any
> > > PMSI 
> > > to the IMET.
> > > The authors think they don't really need it because they only 
> > > support Ingress Replication.
> > > Such behavior breaks interoperability with other implementations 
> > > that are dropping the NLRI if PMSI is not attached.
> > > 
> > > So i looked at draft-ietf-bess-evpn-overlay-10 and noticed that 
> > > there's no clear indication of what the proper behavior is.
> > > As said i assumed i had to look at RFC7432 and RFC6514 (and i
> > > did 
> > > it), but i wasn't 100% sure and i preferred to ask.
> > > 
> > > Onestly you already made my day by confirming what i thought.
> > > My suggestion was to make things more clear, but i admit that it 
> > > could look redundant.
> > > 
> > > Thanks
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > On Thu, Dec 14, 2017 at 2:39 PM, Thomas Morin
> > 
> > <thomas.morin@orange.co
> > > m> wrote:
> > > > Hi Marco,
> > > > 
> > > > Marco Marzetti, 2017-12-14 12:25:
> > > > > I am writing this email asking you to clarify what's the
> > > > 
> > > > suggested
> > > > > behavior when PMSI Tunnel Type is set to "Ingress
> > > > > Replication"
> > > > 
> > > > (type
> > > > > 6) as draft-ietf-bess-evpn-overlay-10 only suggests what to
> > > > > do
> > > > 
> > > > with
> > > > > multicast tunnel trees.
> > > > > 
> > > > > I think the originating PE should conform with RFC6514 and
> > > > 
> > > > RFC7432
> > > > > (from which you've taken inspiration) and always (RFC2119
> > > > > MUST) 
> > > > > attach PMSI Tunnel attribute with the Tunnel Type set to
> > > > > Ingress 
> > > > > Replication and Tunnel Identifier set to a routable address
> > > > > of
> > > > 
> > > > the PE
> > > > > itself (more specifically NVE's IP address).
> > > > > 
> > > > > Is that correct?
> > > > > In that case i suggest to add the following line at the end
> > > > > of 
> > > > > Section 9.
> > > > > """
> > > > > For Ingress Replication the PE should follow what's stated in
> > > > 
> > > > RFC6514
> > > > > Section 5 .
> > > > > """
> > > > 
> > > > The text of section 9 lists "Ingress Replication" in the list
> > > > of 
> > > > tunnel types that can be used. My understanding is that, in
> > > > the 
> > > > absence of anything being specifically said for Ingress 
> > > > Replication, an implementation should follow what is said in
> > > > RFC7432 and RFC6514.
> > > > (What
> > > > other specs could it follow to implement this supported type ?
> > > > RFC7432
> > > > and RFC6514 are more than an inspiration here, these are specs 
> > > > that the document refers to explicitly)
> > > > 
> > > > So I'm not sure that it is useful or needed to add text.
> > > > 
> > > > Can you perhaps expand on why the current text would possibly
> > > > be 
> > > > ambiguous, misleading or incomplete...?
> > > > 
> > > > -Thomas
> > > > 
> > > 
> > > 
> > > 
> > > --
> > > Marco
> > 
> > _______________________________________________
> > BESS mailing list
> > BESS@ietf.org
> > https://urldefense.proofpoint.com/v2/url?u=https-
> > 3A__www.ietf.org_mailman_listinfo_bess&d=DwICAg&c=HAkYuh63rsuhr6Sc
> > bfh0UjBXeMK-ndb3voDTXcWzoCI&r=CRB2tJiQePk0cT-h5LGhEWH-
> > s_xXXup3HzvBSMRj5VE&m=tHiUTn9_QXrhs3cw-
> > Dn9_qwR3VK2xWv72DcpoOfR_SI&s=VxylPoVhzXC58hBsqToxzhUK6-3kfy-
> > ktUi7A9KZDcs&e=