Re: [Lsr] draft-lin-lsr-flex-algo-metric-00
Peter Psenak <ppsenak@cisco.com> Wed, 30 March 2022 09:58 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 E1CE53A1901 for <lsr@ietfa.amsl.com>; Wed, 30 Mar 2022 02:58:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.609
X-Spam-Level:
X-Spam-Status: No, score=-9.609 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.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 2tL6WcpkbyXf for <lsr@ietfa.amsl.com>; Wed, 30 Mar 2022 02:58:07 -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 9D1583A1900 for <lsr@ietf.org>; Wed, 30 Mar 2022 02:58:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8916; q=dns/txt; s=iport; t=1648634286; x=1649843886; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh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N/6XKZCL5us2IxEqAeHzpqxlsJBhpZstDqqAtWToIr 6ZwxDMlNnhvg8qu2Km2TOBvrs8iN8LseogYvxmMyBmFUqd+H8mTGc0m4/dnzhZgxc1/LMr1T O0HTmtJZiTZfhpAbwJ/5JUWxbf02SaXnydjgFaOv4I27nTdigtr39DFO9rYfJqPSMNajkeRo UrGpG+/CRYfXOFz0hKM/2jph/fIhz++XosOUra57fVtxlaUwwT/FSH6S3OAi+Cbs3PjWe55D HIV8zACh7kd81aCG4yVswKDnFaIuRsVWtx1GuI86R2Qxqe83zt1FlToXRYaN4N77J5eqSgCk w7Wz4mwVFSDpZXMESrFnop4uw9eLsT8EIPjWcPmZVdVizUAiNht5v4qcjqFOPfk5jESMWuoq w1mVABk290uYTcjjs1XB2zvjTO2vYTuRQUo/AjRVW/NxlonON74N9X1tAeKsq8owGOlor+p4 Sdsdy+2sb5mMH1xvHDlrBglRevwvK/VbFUwf3Y2RMN8n9hSx5JTVdkAvG4hTKuYGs0FYjTuK FTCoh9c4YQ7AZdZRfEfXm5FMOxzlfKIPY28Dpj8N4MeCrAsJF7v1Hw/Pia4gjGy+HXAZIliY P93h+73Vi1EYUmmpRLrL9ogPUgDm3lmnDiJFMmhp/lluJLHDEOopX4+GAPmRogEAGms+W05L /432xO29ihi
IronPort-HdrOrdr: A9a23:RPyQsa1GOTBkvnRDMIGOpwqjBIkkLtp133Aq2lEZdPUnSK2lfq eV7ZMmPH7P+VIssR4b9OxoVJPwI080sKQFhLX5Xo3PYOCFggGVxehZhOOI/9SjIVycygc378 ldmsZFaOEYQWIUsS4/izPIaurJB7K8gcaVuds=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.90,222,1643673600"; d="scan'208";a="47906182"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 30 Mar 2022 09:58:01 +0000
Received: from [10.60.140.52] (ams-ppsenak-nitro3.cisco.com [10.60.140.52]) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTP id 22U9w1AY006509; Wed, 30 Mar 2022 09:58:01 GMT
Message-ID: <1145e93b-27e7-21c2-de84-eb485957f3b9@cisco.com>
Date: Wed, 30 Mar 2022 11:58:00 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0
Content-Language: en-US
To: Chenmengxiao <chen.mengxiao@h3c.com>, "lsr@ietf.org" <lsr@ietf.org>
References: <f90ba8ec-3a63-b23a-e8eb-a392f2faf699@cisco.com> <597c619f749a49fab603561e9488f530@h3c.com> <3a25a8b3-8dd6-4136-7051-32317070f66c@cisco.com> <a9a2097aaaea4aacb1901f9868627570@h3c.com>
From: Peter Psenak <ppsenak@cisco.com>
In-Reply-To: <a9a2097aaaea4aacb1901f9868627570@h3c.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Outbound-SMTP-Client: 10.60.140.52, ams-ppsenak-nitro3.cisco.com
X-Outbound-Node: aer-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/-ZN6bpI290-uKwpDGP7-AAuwSLw>
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: Wed, 30 Mar 2022 09:58:12 -0000
Hi Mengxiao, please see inline (##PP): On 29/03/2022 05:45, Chenmengxiao wrote: > 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. ##PP I do not see any reason why we would need to advertise user-defined metric-type for every link. You can only advertise for links that are to be used by FAs that use that metric type. > > 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. ##PP I would rephrase a bit. Metric-type is an existing mechanism in flex-algo architecture that allows you to use per algorithm metric values. > > 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. ##PP there is no such thing as metric constraint at the moment. Metric is used for algo specific SPF computation only. > > Besides, I still think that flex-algo with algorithm-specific link > metric will not become MT. ##PP it will become dangerously close to it :) thanks, Peter > The control plane and data plane are so > different. > > thanks, > > Peter > > > > > > Thanks, > > > > > > Mengxiao Chen > > > > > > -----Original Message----- > > > From: Lsr [mailto:lsr-bounces@ietf.org <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 > <mailto:Lsr@ietf.org>> > > > > > > https://www.ietf.org/mailman/listinfo/lsr > <https://www.ietf.org/mailman/listinfo/lsr> > > > <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! >
- [Lsr] draft-lin-lsr-flex-algo-metric-00 Peter Psenak
- Re: [Lsr] draft-lin-lsr-flex-algo-metric-00 Chenmengxiao
- Re: [Lsr] draft-lin-lsr-flex-algo-metric-00 Peter Psenak
- Re: [Lsr] draft-lin-lsr-flex-algo-metric-00 Chenmengxiao
- Re: [Lsr] draft-lin-lsr-flex-algo-metric-00 Peter Psenak