Re: [Lsr] New Version Notification for draft-bonica-lsr-ip-flexalgo-00.txt

Peter Psenak <ppsenak@cisco.com> Wed, 30 September 2020 12:05 UTC

Return-Path: <ppsenak@cisco.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A7DA43A0E96 for <lsr@ietfa.amsl.com>; Wed, 30 Sep 2020 05:05:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.814
X-Spam-Level:
X-Spam-Status: No, score=-9.814 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.213, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 vg3oQ5o6b6vQ for <lsr@ietfa.amsl.com>; Wed, 30 Sep 2020 05:05:27 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71F973A0E93 for <lsr@ietf.org>; Wed, 30 Sep 2020 05:05:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6342; q=dns/txt; s=iport; t=1601467527; x=1602677127; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=zwkPhD8mHEnsuOzc9VYH1+AvbYsbRwUANJvh2WFHaIc=; b=Wiej7mI+Mls95ZMz4euHt6ELf1F4AllcOmrwtDRbygKQBrYsJGl8w57e nmVsOevQmXx2Gk04nbNFf9Q0QTldalJN3tssGKeIPogHMfvMHl30kiMlY kkzlO7e0kK7KgDZ+QLA0sx5P4PvMksreS2j76hlLOvhuZC8Meyo0pGYZi U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B+AAAjc3Rf/xbLJq1gGgEBAQEBAQEBAQEDAQEBARIBAQEBAgIBAQEBQIFPgxpVASASLIQ9iQKIGAgmmjmBaQsBAQEPGAsMBAEBhEsCgjEmOBMCAwEBCwEBBQEBAQIBBgRthVwMhXIBAQEBAgEBASEPAQU2CQIMBAsRBAEBAQICIwMCAicfCQgGDQYCAQGDIgGCXCAPtHl2gTKET0FDgy+BQoEOKo1JgUE/gREnDIJdPoJcAQECAQGBJgESAYM4gmAEmlqLWZEQgnGDE4VokVEFBwMfgw6BKIhWhROMR4IvnXWVS4FrI2dwMxoIGxUaIYJpCUcZDY4rF4NOg0aBToVEPwMwAjUCBgEJAQEDCY8HAQE
X-IronPort-AV: E=Sophos;i="5.77,322,1596499200"; d="scan'208";a="30022793"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 30 Sep 2020 12:05:23 +0000
Received: from [10.60.140.51] (ams-ppsenak-nitro2.cisco.com [10.60.140.51]) by aer-core-3.cisco.com (8.15.2/8.15.2) with ESMTP id 08UC5MWF031437; Wed, 30 Sep 2020 12:05:22 GMT
To: "Joel M. Halpern" <jmh@joelhalpern.com>
Cc: "lsr@ietf.org" <lsr@ietf.org>
References: <160138654056.12980.329207214151594381@ietfa.amsl.com> <DM6PR05MB63482DBC001DD56BEF6F7311AE320@DM6PR05MB6348.namprd05.prod.outlook.com> <D57939B9-8409-47E1-A2F7-DBD12ED61413@tony.li> <04d09cb0fe8341d184683ca01d5b6ae3@huawei.com> <93b3a490-d76d-8db4-5083-238120c0edda@joelhalpern.com>
From: Peter Psenak <ppsenak@cisco.com>
Message-ID: <bfdbb9c5-d5e8-d30c-8853-9ed2ed6cbfd6@cisco.com>
Date: Wed, 30 Sep 2020 14:05:22 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <93b3a490-d76d-8db4-5083-238120c0edda@joelhalpern.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Outbound-SMTP-Client: 10.60.140.51, ams-ppsenak-nitro2.cisco.com
X-Outbound-Node: aer-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/i5ZhMCv01fzwAzLTrJcb31rlgVE>
Subject: Re: [Lsr] New Version Notification for draft-bonica-lsr-ip-flexalgo-00.txt
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Sep 2020 12:05:30 -0000

Hi Joel,

On 30/09/2020 06:04, Joel M. Halpern wrote:
> I am missing something in this discussion of multiple algorithms.

not really.

> 
> My understanding of flex-algo whether for MPLS, SRv6, SRH, or IPv6, is
> that you need to associated a forwarding label (e.g. MPLS label or IPv6
> address) with a specific algorithm so that you can compute the next hope
> for the forwarding label using the proper algorithm.  Then when a packet
> arrives, it is simply forwarded according to the forwarding table (e.g.
> FIB, LIB, ..)

right.

For SR MPLS, the flex-algo forwarding is associated with the algo 
specific label that is derived from the algo specific SID. That unique 
algo specific label allows the traffic for the same prefix to be 
forwarded using many algorithms by simply using the right MPLS label.

For SRv6, the SRv6 Locator is associated with a single Algorithm.

The proposal here is to associate the prefix with the unique flex-algo 
only and use that association on all routers. This is similar to SRv6 
locators.

> 
> If that is so, then I do not understand how a given prefix can be safely
> associated with more than one algorithm.  I could imagine doing several
> calculations according to different algorithms.  But how do you decide
> which one applies to the packet?  As far as I know, flex-algo does not
> look at the QoS/CoS/ToS bits.

absolutely not. Doing classification of the data traffic at each hop 
does not work. It has been attempted in the past, but without much success.

thanks,
Peter


> 
> Yours,
> Joel
> 
> PS: I will admit that it took until  an operator described some
> "interesting" constraints before I understood why one would even do this.
> 
> On 9/29/2020 11:50 PM, Huzhibo wrote:
>> Hi.
>>
>> Associating multiple algorithms with a given prefix is an interesting topic, and I think this can simplify the complexity of FlexAlgo. I wonder if the author would consider using cases with multiple algorithms with a given prefix.
>>
>> Thanks
>>
>> ZHibo
>>
>> -----Original Message-----
>> From: Lsr [mailto:lsr-bounces@ietf.org] On Behalf Of tony.li@tony.li
>> Sent: Tuesday, September 29, 2020 10:05 PM
>> To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
>> Cc: lsr@ietf.org
>> Subject: Re: [Lsr] New Version Notification for draft-bonica-lsr-ip-flexalgo-00.txt
>>
>>
>> Ron,
>>
>> This is nice. It makes it clear that constraint based path computation need not have MPLS overhead for those that don’t want it.
>>
>> One thing that you don’t talk about is how this gets used, tho that may be blindingly obvious: you’ll need all nodes placing their prefixes in the RIB/FIB, where it will need to be selected over other path computation for the same prefixes.  This somewhat precludes the possibility of a given prefix being useful in multiple flex-algos.
>>
>> More text on application would be most welcome, just to ensure that we’re on the same page.
>>
>> Tony
>>
>>
>>> On Sep 29, 2020, at 6:37 AM, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
>>>
>>>
>>> Please review and comment
>>>
>>>                                         Ron
>>>
>>>
>>>
>>> Juniper Business Use Only
>>>
>>>> -----Original Message-----
>>>> From: internet-drafts@ietf.org <internet-drafts@ietf.org>
>>>> Sent: Tuesday, September 29, 2020 9:36 AM
>>>> To: Parag Kaneriya <pkaneria@juniper.net>; Shraddha Hegde
>>>> <shraddha@juniper.net>; Ron Bonica <rbonica@juniper.net>; Rajesh M
>>>> <mrajesh@juniper.net>; William Britto A J <bwilliam@juniper.net>
>>>> Subject: New Version Notification for
>>>> draft-bonica-lsr-ip-flexalgo-00.txt
>>>>
>>>> [External Email. Be cautious of content]
>>>>
>>>>
>>>> A new version of I-D, draft-bonica-lsr-ip-flexalgo-00.txt
>>>> has been successfully submitted by Ron Bonica and posted to the IETF
>>>> repository.
>>>>
>>>> Name:           draft-bonica-lsr-ip-flexalgo
>>>> Revision:       00
>>>> Title:          IGP Flexible Algorithms (Flexalgo) In IP Networks
>>>> Document date:  2020-09-29
>>>> Group:          Individual Submission
>>>> Pages:          14
>>>> URL:            https://urldefense.com/v3/__https://www.ietf.org/id/draft-bonica-
>>>> lsr-ip-flexalgo-00.txt__;!!NEt6yMaO-gk!X7PVDP-
>>>> FnUA0oCcZMw3Qde6in0C72hu_9hOZ53kPspIarR8fNDyU9Vck80Zbjoij$
>>>> Status:
>>>> https://urldefense.com/v3/__https://datatracker.ietf.org/doc/draft-bo
>>>> nica-lsr-
>>>> ip-flexalgo/__;!!NEt6yMaO-gk!X7PVDP-
>>>> FnUA0oCcZMw3Qde6in0C72hu_9hOZ53kPspIarR8fNDyU9Vck8x7e5ZqI$
>>>> Htmlized:
>>>> https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/dra
>>>> ft-
>>>> bonica-lsr-ip-flexalgo__;!!NEt6yMaO-gk!X7PVDP-
>>>> FnUA0oCcZMw3Qde6in0C72hu_9hOZ53kPspIarR8fNDyU9Vck82w_6CyU$
>>>> Htmlized:       https://urldefense.com/v3/__https://tools.ietf.org/html/draft-
>>>> bonica-lsr-ip-flexalgo-00__;!!NEt6yMaO-gk!X7PVDP-
>>>> FnUA0oCcZMw3Qde6in0C72hu_9hOZ53kPspIarR8fNDyU9Vck81_QrJ_p$
>>>>
>>>>
>>>> Abstract:
>>>>     An IGP Flexible Algorithm computes a constraint-based path and maps
>>>>     that path to an identifier.  As currently defined, Flexalgo can only
>>>>     map the paths that it computes to Segment Routing (SR) identifiers.
>>>>     Therefore, Flexalgo cannot be deployed in the absence of SR.
>>>>
>>>>     This document extends Flexalgo, so that it can map the paths that it
>>>>     computes to IP addresses.  This allows Flexalgo to be deployed in any
>>>>     IP network, even in the absence of SR.
>>>>
>>>>
>>>>
>>>>
>>>> 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.
>>>>
>>>> The IETF Secretariat
>>>>
>>> _______________________________________________
>>> Lsr mailing list
>>> Lsr@ietf.org
>>> https://www.ietf.org/mailman/listinfo/lsr
>>
>> _______________________________________________
>> Lsr mailing list
>> Lsr@ietf.org
>> https://www.ietf.org/mailman/listinfo/lsr
>> _______________________________________________
>> Lsr mailing list
>> Lsr@ietf.org
>> https://www.ietf.org/mailman/listinfo/lsr
>>
> 
> _______________________________________________
> Lsr mailing list
> Lsr@ietf.org
> https://www.ietf.org/mailman/listinfo/lsr
> 
>