Re: [Idr] I-D Action: draft-ietf-idr-tunnel-encaps-00.txt

Robert Raszuk <robert@raszuk.net> Tue, 01 September 2015 19:24 UTC

Return-Path: <rraszuk@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 340CA1B2F62; Tue, 1 Sep 2015 12:24:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=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 P8WosB7u4U_V; Tue, 1 Sep 2015 12:24:56 -0700 (PDT)
Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C3061B3380; Tue, 1 Sep 2015 12:24:53 -0700 (PDT)
Received: by wicmc4 with SMTP id mc4so43822045wic.0; Tue, 01 Sep 2015 12:24:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Knm0M0hw1XolzuLLmSP8P9YYTtogZ7y/9ObaUj4aWwY=; b=0qX6au0bzS7VcmdpGh7np6fA/dfhrFjJl+iZPXmALEjAaaj4vyI6K1gc8kT2lF/MSq j9Tx3NVBeNf8zly8MLtq9b8W6fW+Sz4AytYpGqD4+uz9VcIkKEhuvQg+TXUm2vGRcPeR q8ZGlMzYTdyAyekKJeF11wp9EwBPgUcyJbA2vUCyELUxpW/YIWHPvEv3eIe2ZHZiYevJ DvPJkI7drEsH2yLVSZhZ8EHKYj3mXfiZus4E0eFyDsoZtgCwuzCyqM+dJr5vxBUc0nv3 FCbFpBGAVwbyrY71UjZcOCEK8yLSsDpjhXQPQATVT/uppVDJOXZ5N+5uwtc0fuGqEGPE O9yQ==
MIME-Version: 1.0
X-Received: by 10.180.182.7 with SMTP id ea7mr5497866wic.58.1441135492391; Tue, 01 Sep 2015 12:24:52 -0700 (PDT)
Sender: rraszuk@gmail.com
Received: by 10.194.234.197 with HTTP; Tue, 1 Sep 2015 12:24:52 -0700 (PDT)
In-Reply-To: <55E5F8FA.6020108@labn.net>
References: <20150819185950.7160.20919.idtracker@ietfa.amsl.com> <55E5CA6B.1000308@labn.net> <D20B2EC6.26AC6%keyupate@cisco.com> <CA+b+ERmEEO4_6_tdih68BAjrFVOxJ-VaAuAR=Ms=zj7NdF0YiA@mail.gmail.com> <55E5F8FA.6020108@labn.net>
Date: Tue, 01 Sep 2015 21:24:52 +0200
X-Google-Sender-Auth: 52izvdsB-1-Pc_0Ff8lYJo5lk8c
Message-ID: <CA+b+ERkAAkMLRjuec+Qi5N35pSZZ55o7JpKDZ+wtuZc+mN2C7Q@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
To: Lou Berger <lberger@labn.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/idr/2eLxJ0vssw31PnC7LZYloBL8HY4>
Cc: "Keyur Patel (keyupate)" <keyupate@cisco.com>, "idr@ietf.org" <idr@ietf.org>, "draft-ietf-idr-tunnel-encaps@ietf.org" <draft-ietf-idr-tunnel-encaps@ietf.org>
Subject: Re: [Idr] I-D Action: draft-ietf-idr-tunnel-encaps-00.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2015 19:24:58 -0000

Hi Lou,

I think Encap SAFI has number of useful use cases regardless if and
how it was implemented by vendor XYZ.

I think it does not require extra route lookup for each of the overlay
prefix at all. So the cost of next hop resolution when next hop
parameters change I would rather consider a noise when compared to per
prefix change.

As to multiple "tunnels" to a next hop that is always the case
(example: native forwarding + 1 encap) and needs to be properly
handled. Encap SAFI is just a signalling tool. The use it depends on
the operator's choice and local/global policy.

Sure you can remove Encap SAFI from your code, but likely you will
need to replace it with some other new SAFI with exact same set of
problems and pretty much similar use cases :)

Besides last time I checked IDR requires two implementations to
proceed with a WG last call and move draft to RFC precisely to avoid
the thread like this later on ....

Best,
r.





On Tue, Sep 1, 2015 at 9:14 PM, Lou Berger <lberger@labn.net> wrote:
> Robert,
>     Great explanation of why the Encap safi *should* be very useful.
> Yes, there should be really nice advertisement scaling properties when
> an encap next hop changes (e.g., 1M routes over a tunnel and the tunnel
> endpoint changes, 1vs 1M prefixes updated).
>
> What motivated my proposal is reality, more specifically (a) the extra
> route lookup resolution causes all sorts of complexity in code that
> needs fully resolved forwarding information and has multiple tunnels to
> the same next hop, (b) I know of only one implementation, and (c) we
> aren't seeing the value of the encap safi outweighing the complexity in
> implementation.
>
> That said, if there's a real desire to keep 5512 as is, I can live with
> it and we can still remove the encap SAFI from our code whenever we want;-)
>
> Lou
>
> On 9/1/2015 2:40 PM, Robert Raszuk wrote:
>> Hi Keyur, Lou
>>
>>> That¹s a good idea.
>> Well let's think about it a bit more ...
>>
>> BGP power is in its indirection and recursion. The native BGP
>> hierarchy is a very powerful tool. Decoupling transport from
>> forwarding has proven in many cases useful.
>>
>> Now imagine the underlay vs overlay split .. moreover imagine that my
>> underlay is controlled centrally in some sort of software defined way.
>>
>> If we obsolete Encap SAFI in order to modify encapsulation parameters
>> used by transport layer to send traffic from ingress to bgp next hop
>> of the underlay I would need to readvertise all overlay routes
>> (perhaps millions) with new encap attribute. /* I could perhaps try to
>> readvertise the next hops but with much higher AD of IBGP those are
>> not used normally for route resolution as IGP wins race to RIB. */
>>
>> However with Encap SAFI I need to advertise only new parameters with
>> few next hops.
>>
>> IMO it is not that Encap SAFI idea which is bad here. It is us -
>> humans - those who did not catch up to it yet :).  Note that recently
>> in number of EPE discussions this in fact may be a very useful SAFI.
>>
>> If we depreciate it we will likely create new SAFI with new names,
>> patents and new authors for doing essentially the same.
>>
>> So for set of applications which is not that had to imagine I would
>> rather keep the encap SAFI, allow those who understand its power to
>> implement it and use it while in the same time have standalone
>> attribute which could be attached to any SAFI.
>>
>> Best,
>> Robert.
>>
>> PS. Just to make it clear I am in no major way associated with Encap
>> SAFI (except being listed in the ack section of 5512 :)
>>
>>
>> On Tue, Sep 1, 2015 at 7:31 PM, Keyur Patel (keyupate)
>> <keyupate@cisco.com> wrote:
>>> Lou,
>>>
>>> That¹s a good idea. We authors did discuss it amongst ourselves and do
>>> plan to cover it in next revision.
>>>
>>> Regards,
>>> Keyur
>>>
>>> On 9/1/15, 8:55 AM, "Lou Berger" <lberger@labn.net> wrote:
>>>
>>>> Authors/WG,
>>>>    Now that we have a WG draft on this topic, I'd like to propose that
>>>> this draft deprecate the Encap SAFI and obsolete/replace RFC5512.
>>>>
>>>> I'm not sure if anyone else has implemented Encap SAFI, but we have and
>>>> found it to be much more complex and limiting than just using the Encap
>>>> Attribute ala the new draft.
>>>>
>>>> Also, I can propose specific text changes needed if the Authors wish,
>>>> but I suspect they can handle this themselves!
>>>>
>>>> Thanks,
>>>> Lou
>>>>
>>>> On 8/19/2015 2:59 PM, internet-drafts@ietf.org wrote:
>>>>> A New Internet-Draft is available from the on-line Internet-Drafts
>>>>> directories.
>>>>>  This draft is a work item of the Inter-Domain Routing Working Group of
>>>>> the IETF.
>>>>>
>>>>>         Title           : Using the BGP Tunnel Encapsulation Attribute
>>>>> without the BGP Encapsulation SAFI
>>>>>         Authors         : Eric C. Rosen
>>>>>                           Keyur Patel
>>>>>                           Gunter Van de Velde
>>>>>      Filename        : draft-ietf-idr-tunnel-encaps-00.txt
>>>>>      Pages           : 29
>>>>>      Date            : 2015-08-19
>>>>>
>>>>> Abstract:
>>>>>    RFC 5512 defines a BGP Path Attribute known as the "Tunnel
>>>>>    Encapsulation Attribute".  This attribute allows one to specify a set
>>>>>    of tunnels.  For each such tunnel, the attribute can provide
>>>>>    additional information used to create a tunnel and the corresponding
>>>>>    encapsulation header, and can also provide information that aids in
>>>>>    choosing whether a particular packet is to be sent through a
>>>>>    particular tunnel.  RFC 5512 states that the attribute is only
>>>>>    carried in BGP UPDATEs that have the "Encapsulation Subsequent
>>>>>    Address Family (Encapsulation SAFI)".  This document updates RFC 5512
>>>>>    by deprecating the Encapsulation SAFI (which has never been used),and
>>>>>    by specifying semantics for the attribute when it is carried in
>>>>>    UPDATEs of certain other SAFIs.  This document also extends the
>>>>>    attribute by enabling it to carry additional information needed to
>>>>>    create the encapsulation headers additional tunnel types not
>>>>>    mentioned in RFC 5512.  Finally, this document also extends the
>>>>>    attribute by allowing it to specify a remote tunnel endpoint address
>>>>>    for each tunnel.
>>>>>
>>>>>
>>>>> The IETF datatracker status page for this draft is:
>>>>> https://datatracker.ietf.org/doc/draft-ietf-idr-tunnel-encaps/
>>>>>
>>>>> There's also a htmlized version available at:
>>>>> https://tools.ietf.org/html/draft-ietf-idr-tunnel-encaps-00
>>>>>
>>>>>
>>>>> Please note that it may take a couple of minutes from the time of
>>>>> submission
>>>>> until the htmlized version and diff are available at tools.ietf.org.
>>>>>
>>>>> Internet-Drafts are also available by anonymous FTP at:
>>>>> ftp://ftp.ietf.org/internet-drafts/
>>>>>
>>>>> _______________________________________________
>>>>> I-D-Announce mailing list
>>>>> I-D-Announce@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/i-d-announce
>>>>> Internet-Draft directories: http://www.ietf.org/shadow.html
>>>>> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>>>>>
>>>>
>>> _______________________________________________
>>> Idr mailing list
>>> Idr@ietf.org
>>> https://www.ietf.org/mailman/listinfo/idr
>
>