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

"Dongjie (Jimmy)" <jie.dong@huawei.com> Mon, 12 October 2020 06:53 UTC

Return-Path: <jie.dong@huawei.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 0AFA13A12C1 for <lsr@ietfa.amsl.com>; Sun, 11 Oct 2020 23:53:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 D6iJtD8Fa4YN for <lsr@ietfa.amsl.com>; Sun, 11 Oct 2020 23:53:28 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 66A0A3A12C0 for <lsr@ietf.org>; Sun, 11 Oct 2020 23:53:28 -0700 (PDT)
Received: from lhreml720-chm.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 55CE8933D9E65BA816B1; Mon, 12 Oct 2020 07:53:25 +0100 (IST)
Received: from dggeme703-chm.china.huawei.com (10.1.199.99) by lhreml720-chm.china.huawei.com (10.201.108.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1913.5; Mon, 12 Oct 2020 07:53:24 +0100
Received: from dggeme754-chm.china.huawei.com (10.3.19.100) by dggeme703-chm.china.huawei.com (10.1.199.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Mon, 12 Oct 2020 14:53:22 +0800
Received: from dggeme754-chm.china.huawei.com ([10.6.80.77]) by dggeme754-chm.china.huawei.com ([10.6.80.77]) with mapi id 15.01.1913.007; Mon, 12 Oct 2020 14:53:22 +0800
From: "Dongjie (Jimmy)" <jie.dong@huawei.com>
To: Ron Bonica <rbonica@juniper.net>, Peter Psenak <ppsenak@cisco.com>, Yingzhen Qu <yingzhen.qu@futurewei.com>, Gyan Mishra <hayabusagsm@gmail.com>
CC: "lsr@ietf.org" <lsr@ietf.org>, Jeff Tantsura <jefftant.ietf@gmail.com>
Thread-Topic: [Lsr] FW: New Version Notification for draft-bonica-lsr-ip-flexalgo-00.txt
Thread-Index: AQHWlmVwC6ypd3I8xkyHSNG022ojU6l/nmSwgAESbICAACKHAIAA7E2AgADTYwCAAWy/gIAAAz6AgAA7sgCAAOLhAIAAi8SAgAAopgCAA1loEIAFx4OAgAExPQCAACwOgIADQL2w
Date: Mon, 12 Oct 2020 06:53:22 +0000
Message-ID: <f019733a39df4bc48c70bb5aff801d38@huawei.com>
References: <160138654056.12980.329207214151594381@ietfa.amsl.com> <DM6PR05MB63482DBC001DD56BEF6F7311AE320@DM6PR05MB6348.namprd05.prod.outlook.com> <CAKz0y8w5VOf_=baG6UCP8Q9s=VLM2ghT2jhiF5FZNN4JXB23eA@mail.gmail.com> <DM6PR05MB63485389C261CA2E0C08DE50AE330@DM6PR05MB6348.namprd05.prod.outlook.com> <0f85212d-fac7-47ea-a608-4f53061cbf02@Spark> <DM6PR05MB63480E863599BBC810BF334AAE300@DM6PR05MB6348.namprd05.prod.outlook.com> <CABNhwV2+jhjAfxq5FzaukdhCOqXvGCkv75xYWcStN=SCrpni4Q@mail.gmail.com> <f4fdff8b-fe11-cb75-3cd7-7766baedf730@cisco.com> <CB2F6A55-B231-4A2D-821C-D3F2ABE6649E@futurewei.com> <00158dee-bb0d-6f5e-f740-b7bac61a1c74@cisco.com> <7F26707A-8137-4114-9236-D80B060E2528@futurewei.com> <DM6PR05MB6348C6FBFD50C19C06DE719BAE0E0@DM6PR05MB6348.namprd05.prod.outlook.com> <4896cf59c3314f1c92cdb491d1d8a5a3@huawei.com> <c9b0f0aa-975a-f042-6773-58a603ba5d39@cisco.com> <fe517f068bea428a9a95b3247f20a100@huawei.com> <DM6PR05MB6348BE62F0F0801D4468B296AE090@DM6PR05MB6348.namprd05.prod.outlook.com>
In-Reply-To: <DM6PR05MB6348BE62F0F0801D4468B296AE090@DM6PR05MB6348.namprd05.prod.outlook.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.108.243.143]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/BwGqHrQV8HMmW-YYJN5ZyhYbo0E>
Subject: Re: [Lsr] FW: 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: Mon, 12 Oct 2020 06:53:31 -0000

Hi Ron, 

Please see inline:

> -----Original Message-----
> From: Ron Bonica [mailto:rbonica@juniper.net]
> Sent: Saturday, October 10, 2020 8:48 PM
> To: Dongjie (Jimmy) <jie.dong@huawei.com>; Peter Psenak
> <ppsenak@cisco.com>; Yingzhen Qu <yingzhen.qu@futurewei.com>; Gyan
> Mishra <hayabusagsm@gmail.com>
> Cc: lsr@ietf.org; Jeff Tantsura <jefftant.ietf@gmail.com>
> Subject: RE: [Lsr] FW: New Version Notification for
> draft-bonica-lsr-ip-flexalgo-00.txt
> 
> Hi Jimmie,
> 
> Inline.....
> 
>                     Ron
> 
> 
> Juniper Business Use Only
> 
> -----Original Message-----
> From: Dongjie (Jimmy) <jie.dong@huawei.com>
> Sent: Friday, October 9, 2020 11:06 PM
> To: Peter Psenak <ppsenak@cisco.com>; Ron Bonica <rbonica@juniper.net>;
> Yingzhen Qu <yingzhen.qu@futurewei.com>; Gyan Mishra
> <hayabusagsm@gmail.com>
> Cc: lsr@ietf.org; Jeff Tantsura <jefftant.ietf@gmail.com>
> Subject: RE: [Lsr] FW: New Version Notification for
> draft-bonica-lsr-ip-flexalgo-00.txt
> 
> [External Email. Be cautious of content]
> 
> 
> Hi Peter,
> 
> Thanks for your reply. It aligns with my understanding of FAD, which is just a set
> of constraints for path computation. Thus one Flex-Algo ID could be used with
> multiple different data planes. Is this understanding correct?
> 
> [RB] I never thought about this. Is there a use-case? I think that it will work,
> but I would have to try it before saying for sure.

One possible case is to define one Flex-Algo (say FA-128) with delay metric and no admin-group (color) constraints. Then as Flex-Algo is data plane agnostic, FA-128 could be used to bind to prefix-SIDs, SRv6 locators or IP addresses.

> 
> If so, my question is about the scenario below:
> 
> A group of nodes in a network support FA-128, a sub-group of them bind FA-128
> to SR SIDs, another sub-group of them bind FA-128 to IP address. When one
> node compute an SR path to a destination, can it compute the path to only pass
> the nodes which bind FA-128 to SR SIDs, and avoid the nodes which bind FA-128
> to IP address?
> 
> [RB] I don't think so. However, you could achieve the same outcome using link
> colors.

Do you mean to use different link colors to identify links with different data plane enabled? I believe it would work, while actually this is using different Flex-Algos (with different color constraints) for different data plane. 

Best regards,
Jie

> If so, how could this node know the binding of FA to different data planes on
> other nodes?
> 
> Best regards,
> Jie
> 
> > -----Original Message-----
> > From: Lsr [mailto:lsr-bounces@ietf.org] On Behalf Of Peter Psenak
> > Sent: Friday, October 9, 2020 11:58 PM
> > To: Dongjie (Jimmy) <jie.dong@huawei.com>; Ron Bonica
> > <rbonica=40juniper.net@dmarc.ietf.org>; Yingzhen Qu
> > <yingzhen.qu@futurewei.com>; Gyan Mishra <hayabusagsm@gmail.com>
> > Cc: lsr@ietf.org; Jeff Tantsura <jefftant.ietf@gmail.com>
> > Subject: Re: [Lsr] FW: New Version Notification for
> > draft-bonica-lsr-ip-flexalgo-00.txt
> >
> > Hi Jimmy,
> >
> >
> >   On 09/10/2020 04:59, Dongjie (Jimmy) wrote:
> > > Hi Ron,
> > >
> > > Thanks for explaining the difference between IP Flex-Algo and SR
> > > Flex-algo. As
> > you said, the major difference is the data plane.
> > >
> > > If my understanding is correct, for one Flex-Algo to be used
> > > correctly, the set
> > of nodes need to apply consistent constraints in computation, and bind
> > the FAD to the same data plane.
> > >
> > > Is it possible that different nodes may use the same Flex-Algo with
> > > different
> > data plane, e.g. some with SR-MPLS, some with SRv6, and some with pure
> > IP etc., or each Flex-Algo is always associated with only one data
> > plane? In the former case, should the flex-algo definition also
> > indicate the data plane(s) to be used with the flex-algo?
> >
> > let me respond to this query, as this is not specific to Ron's draft.
> >
> > FAD is data plane agnostic and is used by all of them.
> >
> > thanks,
> > Peter
> >
> > >
> > > Best regards,
> > > Jie
> > >
> > >> -----Original Message-----
> > >> From: Lsr [mailto:lsr-bounces@ietf.org] On Behalf Of Ron Bonica
> > >> Sent: Sunday, October 4, 2020 4:34 AM
> > >> To: Yingzhen Qu <yingzhen.qu@futurewei.com>; Peter Psenak
> > >> <ppsenak@cisco.com>; Gyan Mishra <hayabusagsm@gmail.com>
> > >> Cc: lsr@ietf.org; Jeff Tantsura <jefftant.ietf@gmail.com>
> > >> Subject: Re: [Lsr] FW: New Version Notification for
> > >> draft-bonica-lsr-ip-flexalgo-00.txt
> > >>
> > >> Hi Yingzhen,
> > >>
> > >> IP Flexible Algorithms are like SR Flexible Algorithms in the
> > >> following
> > respects:
> > >>
> > >> - Links have IGP metrics, TE metrics, delay metrics and
> > >> administrative colors
> > >> - FADs define Flexible Algorithms
> > >>
> > >> More specifically, the FAD:
> > >>
> > >> - Indicates which metric type the Flexible Algorithm uses
> > >> - Specifies constraints in terms of link colors that are included
> > >> or excluded from the Flexible Algorithm.
> > >>
> > >> The significant difference between IP Flexible Algorithms and SR
> > >> Flexible Algorithms is:
> > >>
> > >> - SR Flexible Algorithms bind FADs to prefix SIDs or SRv6 locators
> > >> - IP Flexible Algorithms bind FADs to IPv4 or IPv6 addresses.
> > >>
> > >> So, IP Flexible Algorithms can be deployed in any IP network, even
> > >> in the absence of SR.
> > >>
> > >>                                          Ron
> > >>
> > >>
> > >> Juniper Business Use Only
> > >>
> > >> -----Original Message-----
> > >> From: Yingzhen Qu <yingzhen.qu@futurewei.com>
> > >> Sent: Saturday, October 3, 2020 2:08 PM
> > >> To: Peter Psenak <ppsenak@cisco.com>; Gyan Mishra
> > >> <hayabusagsm@gmail.com>; Ron Bonica <rbonica@juniper.net>
> > >> Cc: lsr@ietf.org; Jeff Tantsura <jefftant.ietf@gmail.com>
> > >> Subject: Re: [Lsr] FW: New Version Notification for
> > >> draft-bonica-lsr-ip-flexalgo-00.txt
> > >>
> > >> [External Email. Be cautious of content]
> > >>
> > >>
> > >> Hi Peter,
> > >>
> > >> Using flex-algo, a SRv6 locator can be associated with a single
> > >> algo, which means an IPv6 or IPv4 address can also be associated
> > >> with a single algo. So my understanding is Ron's proposal is making
> > >> the
> > configuration of flex-algo easier?
> > >> Instead of using the exclude or include list you can configure a
> > >> loopback address to a flex-algo directly?
> > >>
> > >> Thanks,
> > >> Yingzhen
> > >>
> > >> On 10/3/20, 2:47 AM, "Peter Psenak" <ppsenak@cisco.com> wrote:
> > >>
> > >>      Hi Yingzhen,
> > >>
> > >>      On 02/10/2020 22:15, Yingzhen Qu wrote:
> > >>      > Hi Peter,
> > >>      >
> > >>      > My understanding of flex-algo is that for traffic destined
> > >> to a prefix on a particular algo, it can only be routed on routers
> > >> belong to that algo, which also means only routers in that algo
> > >> calculates how to reach that prefix and install it into the routing
> > >> table. It seems to me that using flex-algo (section 12 of the
> > >> draft) it's possible to have a loopback address associated with
> > >> only one algo, please correct me if I'm missing or misunderstood
> something.
> > >>
> > >>      you are right. That is exactly what is being done for flex-algo with
> > >>      SRv6 - locator is associated with a single algo only. The proposal
> uses
> > >>      the same concept.
> > >>
> > >>      thanks,
> > >>      Peter
> > >>
> > >>      >
> > >>      > Thanks,
> > >>      > Yingzhen
> > >>      >
> > >>      > On 10/2/20, 9:43 AM, "Lsr on behalf of Peter Psenak"
> > >> <lsr-bounces@ietf.org on behalf of
> > >> ppsenak=40cisco.com@dmarc.ietf.org>
> > >> wrote:
> > >>      >
> > >>      >      Gyan,
> > >>      >
> > >>      >      On 02/10/2020 18:30, Gyan Mishra wrote:
> > >>      >      > All,
> > >>      >      >
> > >>      >      > With SRv6 and IP based flex algo a generic question as it
> > applies
> > >> to
> > >>      >      > both. Is it possible to have within a single IGP domain
> > different
> > >> sets
> > >>      >      > of nodes or segments of the network running different
> > >> algorithms.
> > >>      >
> > >>      >      absolutely.
> > >>      >
> > >>      >      > From
> > >>      >      > both drafts it sounds like all nodes have to agree on same
> > >> algorithm
> > >>      >      > similar to concept of metric and reference bandwidth all
> > have to
> > >> have
> > >>      >      > the same style metric and play to the same sheet of
> music.
> > >>      >
> > >>      >      all participating nodes need to agree on the definition of
> the
> > >> flex-algo
> > >>      >      and advertise the participation. That's it.
> > >>      >
> > >>      >      > If there was
> > >>      >      > a way to use multiple algorithms simultaneously based
> on
> > SFC
> > >> or services
> > >>      >      > and instantiation of specific algorithm based on service
> to
> > be
> > >>      >      > rendered.  Doing so without causing a routing loop or
> sub
> > >> optimal
> > >>      >      > routing.
> > >>      >
> > >>      >      you can certainly use multiple algorithms simultaneously
> and
> > use
> > >> algo
> > >>      >      specific paths to forward specific traffic over it. How that is
> > done
> > >>      >      from the forwarding perspective depends in which
> > forwarding
> > >> plane you
> > >>      >      use. Flex-algo control plane is independent of the
> forwarding
> > >> plane.
> > >>      >
> > >>      >
> > >>      >      >I thought with flex algo that there exists a feature that on
> > >>      >      > each hop there is a way to specify which algo to use hop
> by
> > hop
> > >> similar
> > >>      >      > to a hop by hop policy based routing.
> > >>      >
> > >>      >      no, there is no hop-by-hop classification, that is
> problematic
> > and
> > >> does
> > >>      >      not scale for high speeds. Classification is done at the
> > ingress only.
> > >>      >
> > >>      >      thanks,
> > >>      >      Peter
> > >>      >
> > >>      >      >
> > >>      >
> > >>      >      _______________________________________________
> > >>      >      Lsr mailing list
> > >>      >      Lsr@ietf.org
> > >>      >
> > >> https://urldefense.com/v3/__https://nam11.safelinks.protection.outl
> > >> oo
> > >> k.com/
> > >> ?url=https*3A*2F*2Fwww.ietf.org*2Fmailman*2Flistinfo*2Flsr&amp;data
> > >> =
> > 0
> > >> 2
> > >>
> >
> *7C01*7Cyingzhen.qu*40futurewei.com*7Cfe03124c6e414e067c2008d86781
> > >>
> > 6541*7C0fee8ff2a3b240189c753a1d5591fedc*7C1*7C0*7C63737315273986
> > >>
> >
> 5126&amp;sdata=WI48cEAan*2FOkDPmVXGurEAjPItNGF9p9PDQIlD1ip0g*3D
> > >>
> >
> &amp;reserved=0__;JSUlJSUlJSUlJSUlJSUlJQ!!NEt6yMaO-gk!X1fRln9MjimeJcR
> > >> EUEIydr-8IIbtNonXMs83eoXvRww6xkaQfVUdNh0kK452GP-G$
> > >>      >
> > >>      >
> > >>      >
> > >>
> > >> _______________________________________________
> > >> Lsr mailing list
> > >> Lsr@ietf.org
> > >> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/l
> > >>
> sr__;!!NEt6yMaO-gk!TeHgIKM4lUZhkYnt_eFt3SshGJtln8PTqhCuZtODomUQWC
> _H
> > >> z218CE8S8XzlIxAA$
> > >
> > >
> >
> > _______________________________________________
> > Lsr mailing list
> > Lsr@ietf.org
> > https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/lsr_
> >
> _;!!NEt6yMaO-gk!TeHgIKM4lUZhkYnt_eFt3SshGJtln8PTqhCuZtODomUQWC_H
> z218CE
> > 8S8XzlIxAA$