[Idr] Re: Request for comments on draft-li-idr-sr-policy-metric

"lizhenqiang@chinamobile.com" <lizhenqiang@chinamobile.com> Fri, 13 June 2025 06:27 UTC

Return-Path: <lizhenqiang@chinamobile.com>
X-Original-To: idr@mail2.ietf.org
Delivered-To: idr@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 60CBB34732BC; Thu, 12 Jun 2025 23:27:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.586
X-Spam-Level:
X-Spam-Status: No, score=-2.586 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TYIJHtjCA8oR; Thu, 12 Jun 2025 23:27:55 -0700 (PDT)
Received: from cmccmta3.chinamobile.com (cmccmta6.chinamobile.com [111.22.67.139]) by mail2.ietf.org (Postfix) with ESMTP id 8D95234732B0; Thu, 12 Jun 2025 23:27:49 -0700 (PDT)
X-RM-TagInfo: emlType=0
X-RM-SPAM-FLAG: 00000000
Received: from spf.mail.chinamobile.com (unknown[10.188.0.87]) by rmmx-syy-dmz-app09-12009 (RichMail) with SMTP id 2ee9684bc4e1416-c9490; Fri, 13 Jun 2025 14:27:48 +0800 (CST)
X-RM-TRANSID: 2ee9684bc4e1416-c9490
X-RM-TagInfo: emlType=0
X-RM-SPAM-FLAG: 00000000
Received: from cmcc-PC (unknown[10.1.17.150]) by rmsmtp-syy-appsvr10-12010 (RichMail) with SMTP id 2eea684bc4e141f-88fd3; Fri, 13 Jun 2025 14:27:46 +0800 (CST)
X-RM-TRANSID: 2eea684bc4e141f-88fd3
Date: Fri, 13 Jun 2025 14:28:10 +0800
From: "lizhenqiang@chinamobile.com" <lizhenqiang@chinamobile.com>
To: "liu.yao71@zte.com.cn" <liu.yao71@zte.com.cn>, 宋力焱 <songliyan@chinamobile.com>
References: 202506061056581883901213@chinamobile.com, <20250606153403706LAG19CL1jZKWvUSDXlb73@zte.com.cn>
X-Priority: 3
X-GUID: 8159E21B-5464-4E09-96C1-9D20282DF4EC
X-Has-Attach: no
X-Mailer: Foxmail 7.2.25.398[cn]
Mime-Version: 1.0
Message-ID: <2025061314281054766249@chinamobile.com>
Content-Type: multipart/alternative; boundary="----=_001_NextPart422840323233_=----"
Message-ID-Hash: Z5RY25RSALPEUDN7IC6HLWM5VQWSNLPV
X-Message-ID-Hash: Z5RY25RSALPEUDN7IC6HLWM5VQWSNLPV
X-MailFrom: lizhenqiang@chinamobile.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-idr.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "idr@ietf.org" <idr@ietf.org>, draft-li-idr-sr-policy-metric <draft-li-idr-sr-policy-metric@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Idr] Re: Request for comments on draft-li-idr-sr-policy-metric
List-Id: Inter-Domain Routing <idr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/5ro4iPOmQbypYijBbVz_5QUSXiI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Owner: <mailto:idr-owner@ietf.org>
List-Post: <mailto:idr@ietf.org>
List-Subscribe: <mailto:idr-join@ietf.org>
List-Unsubscribe: <mailto:idr-leave@ietf.org>

Hello Yao,

Thank you for your question and comment. Please see my reply inline beginning with ZQL.

Regards,
Zhenqiang Li
China Mobile


lizhenqiang@chinamobile.com
 
From: liu.yao71@zte.com.cn
Date: 2025-06-06 15:34
To: lizhenqiang@chinamobile.com; songliyan@chinamobile.com
CC: idr; draft-li-idr-sr-policy-metric
Subject: [Idr] Re: Request for comments on draft-li-idr-sr-policy-metric
Hi Authors,

Thanks for the reply.
About comment a), considering that the metrics are used to select an SR policy of the best quality  among multiple SR Policies but the metric sub-TLV are delivered at the SR policy candidate path level, if the BGP update messages for CP1 and CP2 of the same SR Policy both carry the metric sub-TLV, my understanding is that the metric of the CP with the highest preference would be seen as the metric of this SR policy, is it right ?
ZQL:No. The rules for best CP selection are not chanaged. So the CP with higher preference will be the active CP and its metric carried in metric sub TLV will be the the metric of this SRv6 Policy. Please note preference is one attibute of CP.

As for comment c), my point is that, would other granularities for reliability be considered, or only use failures per month to represent the reliability metric.
ZQL: Any specific suggestion? I think it is ok for the possible application in the field network. We can refine it if needed.

Yao



Original
From: 宋力焱 <songliyan@chinamobile.com>
To: 刘尧00165286;lizhenqiang <lizhenqiang@chinamobile.com>;
Cc: idr <idr@ietf.org>;draft-li-idr-sr-policy-metric <draft-li-idr-sr-policy-metric@ietf.org>;
Date: 2025年06月06日 10:57
Subject: Re: Re: Re: [Idr] Request for comments on draft-li-idr-sr-policy-metric
Hi Yao,
    Thank you for your good catch.
    d)Currently, BGP SR Policy does not support an acknowledgment mechanism to confirm successful receipt and processing at the headend. However, SR Policy state can be obtained via BGP-LS.We believe it would be more efficient to support direct state reporting within the BGP SR Policy framework. We will describe this mechanism in a separate document and also include a note in next version of this draft.
Sincerely, 
Liyan Song
China Mobile
songliyan@chinamobile.com   
 
发件人: lizhenqiang
时间: 2025/06/05(星期四)16:30
收件人: liu.yao71;
抄送人: idr;draft-li-idr-sr-policy-metric;
主题: Re: Re: [Idr] Request for comments on draft-li-idr-sr-policy-metric
Hello Yao,

Thank you very much for your review and comments.

a)draft-liu-spring-sr-policy-flexible-path-selection is mainly about candidate path selection and switch within one SR Policy. My doc, draft-li-idr-sr-policy-metric, is about the selection among multiple SR Policies that can be used to steer the same traffic and satisfy the SLA requirements. After SR policy selection using the method introduced in draft-li-idr-sr-policy-metric, candidate path selection and switch within the selected SR policy can use the method proposed in draft-liu-spring-sr-policy-flexible-path-selection.


b)draft-li-idr-sr-policy-metric is mainly about SR Policy selection at the headend when it has multiple SR Policies that can be used to steer the same traffic and satisfy the SLA requirements. The controller can reoptimize the paths of the SR Policies based on the performance metrics it collects. After SR Policy reoptimization, the controller updates the path performance to the headend, which may trigger the SR Policy selection logic at the hendend.

For your question in b.2), as I stated in a), the method introduced in draft-liu-spring-sr-policy-flexible-path-selection can still be used to select and switch CPs in a SR Policy. 


c)In practice, the number of path failure in one day is usually zero. So we suggest to use the number in a month in current version.



lizhenqiang@chinamobile.com
 
From: liu.yao71@zte.com.cn
Date: 2025-06-05 10:47
To: lizhenqiang@chinamobile.com
CC: idr@ietf.org; draft-li-idr-sr-policy-metric@ietf.org
Subject: Re: [Idr] Request for comments on draft-li-idr-sr-policy-metric
Hi Zhenqiang,

A few comments/questions after reading the draft.
a) From my reading, this draft is about the flexible SR path(candidate path) selection, is it related with  draft-liu-spring-sr-policy-flexible-path-selection ?
b) In this draft, the metric is collected/computed by the controller and sent to the headend, and then the headend makes candidate path selection based on its local policy. Other methods about SR path selection based on certain criterias I've seen include: 
1)  The controller keeps monitoring the metric of the SR path, once the metric no longer satisfies the original requirements, the controller can tear down the active candidate path and make the headend to switch to another CP.
2)  The headend monitors the metric itself, and the headend made candidate path selection based on its local policy or based on the policy set by the controller.
What are the differences and advantages between your draft and other methods?
c) About the reliability metric, what if one wants to carry the number of failures per day instead of per month?
d) In section 4, "Process BGP Acknowledgments: Await acknowledgments from headend nodes to ensure successful reception and processing of the SR policies". What type of BGP Acknowledgment message can indicate that the headend has processed the SR policy successfully? 

Regards,
Yao



From: lizhenqiang@chinamobile.com <lizhenqiang@chinamobile.com>
To: idr@ietf.org <idr@ietf.org>;
Cc: draft-li-idr-sr-policy-metric <draft-li-idr-sr-policy-metric@ietf.org>;
Date: 2025年06月03日 12:17
Subject: [Idr] Request for comments on draft-li-idr-sr-policy-metric
_______________________________________________
Idr mailing list -- idr@ietf.org
To unsubscribe send an email to idr-leave@ietf.org
Hello all,

A new draft, https://datatracker.ietf.org/doc/draft-li-idr-sr-policy-metric/, was submitted in March, which proposes an extension to the BGP SR Policy protocol by defining a new optional Metric Sub-TLV within the BGP Tunnel Encapsulation Attribute to enable the headend node to do performance-aware path selection. This draft also updates the BGP route selection procedures in RFC4271, modifying the Breaking Ties (Phase 2) logic to prioritize the metrics for SR Policy paths.

Comments are appreciated!

Thanks and Regards,
Zhenqiang Li
China Mobile


lizhenqiang@chinamobile.com