Re: [Lsr] draft-lin-lsr-flex-algo-metric-00

Chenmengxiao <chen.mengxiao@h3c.com> Tue, 29 March 2022 03:45 UTC

Return-Path: <chen.mengxiao@h3c.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 F35473A1170 for <lsr@ietfa.amsl.com>; Mon, 28 Mar 2022 20:45:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01, 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 lvmDOFw1q8GM for <lsr@ietfa.amsl.com>; Mon, 28 Mar 2022 20:45:51 -0700 (PDT)
Received: from h3cspam02-ex.h3c.com (smtp.h3c.com [60.191.123.50]) (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 D6C573A116D for <lsr@ietf.org>; Mon, 28 Mar 2022 20:45:50 -0700 (PDT)
Received: from mail.maildlp.com ([172.25.15.154]) by h3cspam02-ex.h3c.com with ESMTP id 22T3jPUP026411; Tue, 29 Mar 2022 11:45:25 +0800 (GMT-8) (envelope-from chen.mengxiao@h3c.com)
Received: from DAG2EX02-BASE.srv.huawei-3com.com (unknown [10.8.0.65]) by mail.maildlp.com (Postfix) with ESMTP id CE40822933C0; Tue, 29 Mar 2022 11:46:45 +0800 (CST)
Received: from DAG2EX09-IDC.srv.huawei-3com.com (10.8.0.72) by DAG2EX02-BASE.srv.huawei-3com.com (10.8.0.65) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 29 Mar 2022 11:45:25 +0800
Received: from DAG2EX09-IDC.srv.huawei-3com.com ([fe80::c83b:8401:2e7d:cb1b]) by DAG2EX09-IDC.srv.huawei-3com.com ([fe80::c83b:8401:2e7d:cb1b%7]) with mapi id 15.01.2375.017; Tue, 29 Mar 2022 11:45:25 +0800
From: Chenmengxiao <chen.mengxiao@h3c.com>
To: Peter Psenak <ppsenak@cisco.com>, "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: [Lsr] draft-lin-lsr-flex-algo-metric-00
Thread-Index: AQHYP5EhKSr/4+0hrk2nRs+McFPJT6zPn6zg//+cFoCABoIAIA==
Date: Tue, 29 Mar 2022 03:45:24 +0000
Message-ID: <a9a2097aaaea4aacb1901f9868627570@h3c.com>
References: <f90ba8ec-3a63-b23a-e8eb-a392f2faf699@cisco.com> <597c619f749a49fab603561e9488f530@h3c.com> <3a25a8b3-8dd6-4136-7051-32317070f66c@cisco.com>
In-Reply-To: <3a25a8b3-8dd6-4136-7051-32317070f66c@cisco.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.99.153.65]
x-sender-location: DAG2
Content-Type: multipart/alternative; boundary="_000_a9a2097aaaea4aacb1901f9868627570h3ccom_"
MIME-Version: 1.0
X-DNSRBL:
X-MAIL: h3cspam02-ex.h3c.com 22T3jPUP026411
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/i3I4y1L1dS7-Ng29vl3OtQH089s>
Subject: Re: [Lsr] draft-lin-lsr-flex-algo-metric-00
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: Tue, 29 Mar 2022 03:45:56 -0000

Hi Peter,



Sorry to reply late. Please see inline.



Thanks,

Mengxiao Chen



-----Original Message-----
From: Peter Psenak [mailto:ppsenak@cisco.com]
Sent: Friday, March 25, 2022 4:16 PM
To: chenmengxiao (RD) <chen.mengxiao@h3c.com>; lsr@ietf.org
Subject: Re: [Lsr] draft-lin-lsr-flex-algo-metric-00



Hi Mengxiao,



please see inline:



On 25/03/2022 07:35, Chenmengxiao wrote:

> Hi Peter,

>

> Thank you for the comments.

>

> Time for the presentation is very limited. Glad to receive your comments

> here.

>

> I agree that flex-algo is much easier to deploy and manage than MT,

> which make it a popular tool now.

>

> But I think using algorithm-specific link metric will not cause the loss

> of this property.

>

> For example, flex-algo 128 and flex-algo 129 need to use different

> metrics of the same metric-type for the same link.

>

> Solution A: Use algorithm-based metric for algorithm 128 and algorithm 129

>

> Solution B: Use metric-type-based metric for metric-type 128 and

> metric-type 129 (according to Shraddha's suggestion,

> draft-ietf-lsr-flex-algo-bw-con)

>

> Both in the two solutions, extra link metric tlvs need to be advertised,

> and they are stored locally, no matter algorithm-based or metric-type-based.



yes, but for B, any other algorithm may share the metric used for algo

128 or 129. That is not possible with A.



You may argue that in your case you only have two algos, so the result

ts similar. Yes, but from the architecture perspective there is a

difference.



[MXC] Yes, from the perspective of protocol, metric-type 128 and 129 in solution B are possible to be shared by other algorithm. But if we focus on the case here, metric-type 128 and 129 are used to configure their unique metrics for the same public type (bandwidth or TE metric), so the chance of sharing may be very low in practice.

From another perspective, if we use user-defined metric-type, we need to advertise it for every link. But if we use algorithm-specific link metric, the algorithm may only advertise the algorithm-specific metrics of a few links whose metric value are different from the common metric.



TLV-22 of Solution A:

   metric   <- IGP metric (used by all algorithms, if no algorithm-specific advertised)

    generic metric  <- other type (used by all algorithms, if no algorithm-specific advertised)

    ASLA

        link attribute    <- TE metric/delay (used by all algorithms, if no algorithm-specific advertised)

        algorithm-specific metric  <- metric for algorithm 128

        algorithm-specific metric  <- metric for algorithm 128



TLV-22 of Solution B:

   metric   <- IGP metric (used by all algorithms)

    generic metric  <- other type (used by all algorithms)

    generic metric  <- type 128 (for algorithm 128)

    generic metric  <- type 129 (for algorithm 129)

    ASLA

        link attribute    <- TE metric/delay (used by all algorithms)



Not to mention that for A we would need to extend the FAD.



[MXC] That’s true. I think a new bit in the Flexible Algorithm Definition Flags can be used for such extension. We’ve missed it in the current version of draft. Thank you for pointing out.



>

> During path computation, the difference is that, solution A needs to

> check if there is algorithm-based metric for the link. If yes,

> algorithm-based metric is preferred. If no, common metric is used.

>

> IMHO, even if the algorithm-specific link metric is used, flex-algo is

> still light weight, compared with MT.



not really, because it advertise algo specific metric that can not be

used by any other algo, which is similar to topology specific metric in MT.



I would encourage you to consider option B as a solution for your problem.



[MXC] Thanks for your suggestion. I don’t doubt that solution B can solve our problem at current stage. In solution B, user-defined metric-type is used as a substitution for algorithm-specific metric of a standard metric-type.

But if there are strong requirements to advertise different metrics  for different algorithms, I would prefer solution A (algorithm-specific link metric). Assume that, an algorithm uses metric-type X for path computation, and it also uses metric-type Y as constraints. And it has its own metrics for both metric-type X and Y. The user-defined metric-type may not be adequate in such case.

Besides, I still think that flex-algo with algorithm-specific link metric will not become MT. The control plane and data plane are so different.



thanks,

Peter







>

> Thanks,

>

> Mengxiao Chen

>

> -----Original Message-----

> From: Lsr [mailto:lsr-bounces@ietf.org] On Behalf Of Peter Psenak

> Sent: Thursday, March 24, 2022 11:09 PM

> To: lsr@ietf.org<mailto:lsr@ietf.org>

> Subject: [Lsr] draft-lin-lsr-flex-algo-metric-00

>

> Hi,

>

> as I was unable to make my comments during the presentation, let me put

>

> them here:

>

> When we started with the flex-algo work, there has been a lengthy

>

> discussion on why not to use the multi-topology (MT) instead. We always

>

> wanted flex-algo to be light weight and as a result easy to deploy and

>

> manage. I believe that was one of the reasons why flex-algo has been

>

> successfully deployed. We do not want to loose that very property of the

>

> flex-algo architecture.

>

> What you are proposing is what MT was invented for and we do not want

>

> flex-algo to become a new version of MT.

>

> You have two ways to solve your problem:

>

> a) use MT

>

> b) if you want to solve your problem with flex-algo, please use what

>

> already exists in flex-algo. Please look at

>

> draft-ietf-lsr-flex-algo-bw-con as others have pointed out.

>

> thanks,

>

> Peter

>

> _______________________________________________

>

> Lsr mailing list

>

> Lsr@ietf.org<mailto:Lsr@ietf.org> <mailto:Lsr@ietf.org>

>

> https://www.ietf.org/mailman/listinfo/lsr

> <https://www.ietf.org/mailman/listinfo/lsr>

>

> -------------------------------------------------------------------------------------------------------------------------------------

> 本邮件及其附件含有新华三集团的保密信息,仅限于发送给上面地址中列出

> 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄

> 露、复制、

> 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人

> 并删除本

> 邮件!

> This e-mail and its attachments contain confidential information from

> New H3C, which is

> intended only for the person or entity whose address is listed above.

> Any use of the

> information contained herein in any way (including, but not limited to,

> total or partial

> disclosure, reproduction, or dissemination) by persons other than the

> intended

> recipient(s) is prohibited. If you receive this e-mail in error, please

> notify the sender

> by phone or email immediately and delete it!