Re: [Lsr] LSR Working Group Adoption Poll for Flex Algorithm Drafts

"Les Ginsberg (ginsberg)" <ginsberg@cisco.com> Fri, 20 April 2018 17:44 UTC

Return-Path: <ginsberg@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 9336112D88D for <lsr@ietfa.amsl.com>; Fri, 20 Apr 2018 10:44:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, 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 axBbpjQAyrLR for <lsr@ietfa.amsl.com>; Fri, 20 Apr 2018 10:44:18 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E41A12D889 for <lsr@ietf.org>; Fri, 20 Apr 2018 10:44:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9907; q=dns/txt; s=iport; t=1524246258; x=1525455858; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=0b8uumdCaF7wRRhwQE75JNl3XOmZmqOddITVgRla5bI=; b=PrVh3O8zulsl2WsIUBON0+4iFjXWFZ6ltgqmtlMaU2hLdOPA0CG5XIhK 7GkgedxfKvka2RbqgjY+I+izfTL8xTdBvEseKia1neW+BRaFEgKOzjtqz vG7LjdVc4MeRrQZFmwl2EThJHfjdBVF0QXzIhG9qk1tu3zsIP5HQJIPYl 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AVAQB3Jtpa/4UNJK1bGQEBAQEBAQEBAQEBAQcBAQEBAYNCYXooCotijHiBdIEPkniBeAsYC4RGAoJFITQYAQIBAQEBAQECbBwMhSIBAQEBAgEBATg0BBMEAgEIEQQBAQEeCQcnCxQJCAIEARIIE4RqCA+pAYhBgiQFiAaBVD+DG1EugxEBAQIBAYcwAocQkGEIAoVZglCGDIE8g12HPYk0hk4CERMBgSQBHDiBUnAVO4JDgiAXiFmFPm+OToEYAQE
X-IronPort-AV: E=Sophos;i="5.49,302,1520899200"; d="scan'208";a="102516581"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Apr 2018 17:44:17 +0000
Received: from xch-rcd-011.cisco.com (xch-rcd-011.cisco.com [173.37.102.21]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id w3KHiGf5000524 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 20 Apr 2018 17:44:17 GMT
Received: from xch-aln-001.cisco.com (173.36.7.11) by XCH-RCD-011.cisco.com (173.37.102.21) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 20 Apr 2018 12:44:16 -0500
Received: from xch-aln-001.cisco.com ([173.36.7.11]) by XCH-ALN-001.cisco.com ([173.36.7.11]) with mapi id 15.00.1320.000; Fri, 20 Apr 2018 12:44:16 -0500
From: "Les Ginsberg (ginsberg)" <ginsberg@cisco.com>
To: "Peter Psenak (ppsenak)" <ppsenak@cisco.com>, "Dongjie (Jimmy)" <jie.dong@huawei.com>, "Acee Lindem (acee)" <acee@cisco.com>, "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: [Lsr] LSR Working Group Adoption Poll for Flex Algorithm Drafts
Thread-Index: AQHT1lqU9EG8NacYPUeDduC3/EAVyaQHqLKAgABu+4CAATgpgIAASluAgAAY6wCAAAligIAAMMdQ
Date: Fri, 20 Apr 2018 17:44:16 +0000
Message-ID: <4fcf235c46d14e18811a448d0a590347@XCH-ALN-001.cisco.com>
References: <5B8EB88E-9C54-47FA-BF8A-EEB952F6C0BF@cisco.com> <76CD132C3ADEF848BD84D028D243C927983EA0E3@NKGEML515-MBX.china.huawei.com> <5AD852FD.9080301@cisco.com> <76CD132C3ADEF848BD84D028D243C927983F01BE@NKGEML515-MBX.china.huawei.com> <5AD99739.3050000@cisco.com> <76CD132C3ADEF848BD84D028D243C927983F0926@NKGEML515-MBX.china.huawei.com> <5AD9B3FF.8000805@cisco.com>
In-Reply-To: <5AD9B3FF.8000805@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.24.54.19]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/XI7Hbuos8q4THHSjQobyxYHDEXQ>
Subject: Re: [Lsr] LSR Working Group Adoption Poll for Flex Algorithm Drafts
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 20 Apr 2018 17:44:21 -0000

Jie -

I strongly agree with Peter here.

It is "tempting" to think of algorithm/topology as interchangeable - but I think it is wrong to do so.
It is true that some things achievable via flex-algo could be achieved using a separate topology - but at a much higher deployment cost and with considerably less flexibility.

The "right way" to think of flex-algo is as a constraint based SPF applied to a given topology. 

Today, topologies are most commonly used to define a set of nodes/links which support a particular functionality (e.g., IPv4, IPv6, multicast).

To take a simple example, if a given flex-algorithm  is defined to prefer "blue" links one could:

1)Calculate shortest path using only blue links on a unicast topology. Result would be used to forward a certain class of unicast traffic.

2)Calculate shortest path using only blue links on a multicast topology. Result would be used to build an RPF tree for some subset of multicast traffic.

Could you do this purely with MT? Yes - but it would require introducing two new topologies (blue unicast, blue multicast), advertising additional topology specific support per adjacency, and configuring additional topology support per link on every router in the network which participates in the new topologies.
And if you wanted to prefer green links for another use case, you would then have to introduce two more topologies.
Much much easier to simply advertise support for a given algorithm and use it on the topology(s) where you have a use case.

And this example is a very simple one. Flex-algo supports multiple constraints besides affinity - so the scalability of using a separate topology for each set of constraints is extremely poor.

HTH

    Les


> -----Original Message-----
> From: Lsr <lsr-bounces@ietf.org> On Behalf Of Peter Psenak (ppsenak)
> Sent: Friday, April 20, 2018 2:34 AM
> To: Dongjie (Jimmy) <jie.dong@huawei.com>; Acee Lindem (acee)
> <acee@cisco.com>; lsr@ietf.org
> Subject: Re: [Lsr] LSR Working Group Adoption Poll for Flex Algorithm Drafts
> 
> Dongjie,
> 
> On 20/04/18 11:00 , Dongjie (Jimmy) wrote:
> > Hi Peter,
> >
> > Please see inline:
> >
> >> -----Original Message-----
> >> From: Peter Psenak [mailto:ppsenak@cisco.com]
> >> Sent: Friday, April 20, 2018 3:31 PM
> >> To: Dongjie (Jimmy) <jie.dong@huawei.com>; Acee Lindem (acee)
> >> <acee@cisco.com>; lsr@ietf.org
> >> Subject: Re: [Lsr] LSR Working Group Adoption Poll for Flex Algorithm
> >> Drafts
> >>
> >> Hi Dongjie,
> >>
> >> please see inline:
> >>
> >>
> >> On 20/04/18 05:04 , Dongjie (Jimmy) wrote:
> >>> Hi Peter,
> >>>
> >>> Thanks for the prompt response. Please see inline:
> >>>
> >>>> -----Original Message-----
> >>>> From: Peter Psenak [mailto:ppsenak@cisco.com]
> >>>> Sent: Thursday, April 19, 2018 4:28 PM
> >>>> To: Dongjie (Jimmy) <jie.dong@huawei.com>; Acee Lindem (acee)
> >>>> <acee@cisco.com>; lsr@ietf.org
> >>>> Subject: Re: [Lsr] LSR Working Group Adoption Poll for Flex
> >>>> Algorithm Drafts
> >>>>
> >>>> Hi Dongjie,
> >>>>
> >>>> please see inline:
> >>>>
> >>>> On 19/04/18 09:10 , Dongjie (Jimmy) wrote:
> >>>>> Hi,
> >>>>>
> >>>>> Here are some comments on the Flex Algo drafts.
> >>>>>
> >>>>> SR algorithm as defined in
> >>>>> draft-ietf-isis-segment-routing-extensions
> >>>>> is about the algorithm used for path calculation, such as SPF, strict SPF,
> etc.
> >>>>>
> >>>>> In the Flex Algo drafts, the definition of algorithm is extended
> >>>>> to include topological constraints and the metric type used in
> >>>>> calculation, which makes its functionality analogous to
> >>>>> multi-topology routing
> >>>> (MTR).
> >>>>
> >>>> not really. MTR is defined on a per link basis and each MTR
> >>>> participation needs to be advertised on a per link basis. There is
> >>>> no such
> >> concept in flex-algo draft.
> >>>
> >>> Both mechanisms have the capability to define a specific
> >>> sub-topology in the
> >> network, that's why I say they are analogous in functionality.
> >> Flex-algo uses link affinity to describe the constraints of the
> >> corresponding topology, which is also a link attribute and needs to be
> configured on a per-link basis.
> >>>
> >>> The difference is in topology advertisement. In MTR a consistent
> >>> topology is
> >> constructed by each node advertising its own adjacent links in the
> topology.
> >> While in flex-algo, the whole topology is advertised as part of the
> >> algorithm definition by each node, and priority based selection is
> >> used to reach a consistent view by all nodes.
> >>>
> >>>> Flex-algo works on top of existing IGP topologies.
> >>>
> >>> Do you mean flex-algo can work on top of the default IGP topology,
> >>> and can
> >> also work on top of multiple IGP topologies created with MTR?
> >>
> >> yes
> >>
> >>> In the latter case, it seems you would create sub-topologies on top
> >>> of a sub-topology (MTR) of the default topology,
> >>
> >> no. We don't create any topologies with flex-algo. We compute
> >> constrained based paths.
> >
> > MTR is also used to compute constrained based path:) The constraint is
> described as a sub-topology.
> 
> you are mixing two different things - topology and path computations, these
> are two different things.
> 
> >
> > With flex-algo, you need to define the algorithm first, then the constrained
> path can be computed according to the algorithm.
> >
> > According to your presentation in IETF101, a flex-algo specifies:
> >
> >    a) Set of constraints - e.g affinity exclude-any, include-any, include-all
> >    b) Metric type - IGP metric, Delay (RFC7810), TE metric (RFC5305), ...
> >    c) Algorithm type - SPF, ...
> >
> > As I see a) defines a constrained topology, or a sub-topology.
> 
> again, you are mixing "set of constraints" with a "topology", these are two
> different things.
> 
> >
> >>> which sounds quite complicated. Maybe another way is to use MTR to
> >>> create
> >> the sub-topology needed, and define the metric type and computation
> >> algorithm using a particular flex-algo?
> >>
> >> what we propose is simple - compute multiple constrained based paths
> >> on top of a given topology.
> >>
> >> What you propose is indeed complicated - create as many topologies as
> >> many constrained based paths you need. That solution does not scale.
> >
> > Not exactly. Multiple constrained paths can be created in the same sub-
> topology. You don't need as many topologies as the number of paths.
> 
> if you calculate multiple constrained paths on a single MT, you need to agree
> what the constraints are for each calculation and that is what the flex-algo
> draft is doing.
> 
> regards,
> Peter
> 
> >
> >>>
> >>>>> Section 4.1 of the Flex Algo drafts says "Flex-Algorithm
> >>>>> definition is topology independent", while in some places Flex
> >>>>> Algo is described as a "light weight alternative" to MTR.
> >>>>
> >>>> there is no mention of MTR in the document.
> >>>
> >>> I was referring to another relevant draft:
> >> draft-wijnands-mpls-mldp-multi-topology-00. Sorry for the confusion
> >> caused. It seems that draft considered MTR and flex-algo as
> >> comparable candidates for creating sub-topology.
> >>
> >> then please talk to the authors of that draft.
> >
> > OK. It seems some sync up is needed to have consistent understanding of
> what flex-algo means.
> >
> >>>
> >>>>> It would be necessary if the relationship between Flex-Algo and
> >>>>> MTR can be further clarified. Whether the two mechanisms are
> >>>>> complementary to each other, or Flex-Algo will be used to replace
> MTR?
> >>>>
> >>>> they are orthogonal.
> >>>
> >>> If as you said they are orthogonal, it would be better to avoid
> >>> overlapping
> >> functionalities in topology definition and creation.
> >>
> >> orthogonal does not mean overlapping.
> >
> > Right, in order to make them orthogonal, overlapping (if any) should be
> resolved.
> >
> > Best regards,
> > Jie
> >
> >>
> >> thanks,
> >> Peter
> >>
> >>>
> >>> Best regards,
> >>> Jie
> >>>
> >>>
> >>>> thanks,
> >>>> Peter
> >>>>
> >>>>>
> >>>>> And if it is claimed that Flex-Algo is light weight than MTR, it
> >>>>> would be helpful to give a thorough comparison of the two
> >>>>> mechanisms
> >> somewhere.
> >>>>>
> >>>>> Best regards,
> >>>>>
> >>>>> Jie
> >>>>>
> >>>>> *From:*Lsr [mailto:lsr-bounces@ietf.org] *On Behalf Of *Acee
> >>>>> Lindem
> >>>>> (acee)
> >>>>> *Sent:* Tuesday, April 17, 2018 10:44 PM
> >>>>> *To:* lsr@ietf.org
> >>>>> *Subject:* [Lsr] LSR Working Group Adoption Poll for Flex
> >>>>> Algorithm Drafts
> >>>>>
> >>>>> This begins a two-week adoption poll for the following Flex
> >>>>> Algorithm
> >>>>> drafts:
> >>>>>
> >>>>> https://datatracker.ietf.org/doc/draft-hegdeppsenak-isis-sr-flex-a
> >>>>> lg
> >>>>> o/
> >>>>>
> >>>>> https://datatracker.ietf.org/doc/draft-ppsenak-ospf-sr-flex-algo/
> >>>>>
> >>>>> The adoption poll will end at 12:00 AM EST on May 2^nd , 2018.
> >>>>> Please indicate your support of opposition of the drafts.
> >>>>>
> >>>>> Additionally, the authors are amenable to combining the drafts
> >>>>> into a single draft. If you have an opinion, please state that as well.
> >>>>>
> >>>>> Thanks,
> >>>>>
> >>>>> Acee
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> 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