[Idr] Re: draft-lp-idr-bgp-ls-sr-policy-supplement - Interaction between "pure backup path" and the reverse path segment

liu.yao71@zte.com.cn Tue, 11 November 2025 02:14 UTC

Return-Path: <liu.yao71@zte.com.cn>
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 70A638741128 for <idr@mail2.ietf.org>; Mon, 10 Nov 2025 18:14:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -0.861
X-Spam-Level:
X-Spam-Status: No, score=-0.861 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_PBL=3.335, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=no 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 J-KzgSbXQR-b for <idr@mail2.ietf.org>; Mon, 10 Nov 2025 18:14:12 -0800 (PST)
Received: from mxct.zte.com.cn (mxct.zte.com.cn [183.62.165.209]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 5DE668741123 for <idr@ietf.org>; Mon, 10 Nov 2025 18:14:11 -0800 (PST)
Received: from mse-fl2.zte.com.cn (unknown [10.5.228.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mxct.zte.com.cn (FangMail) with ESMTPS id 4d597r5q5Vz51Sdb; Tue, 11 Nov 2025 10:14:00 +0800 (CST)
Received: from njy2app03.zte.com.cn ([10.40.13.14]) by mse-fl2.zte.com.cn with SMTP id 5AB2Dtua068907; Tue, 11 Nov 2025 10:13:55 +0800 (+08) (envelope-from liu.yao71@zte.com.cn)
Received: from mapi (njy2app03[null]) by mapi (Zmail) with MAPI id mid203; Tue, 11 Nov 2025 10:13:56 +0800 (CST)
Date: Tue, 11 Nov 2025 10:13:56 +0800
X-Zmail-TransId: 2afb69129be412f-cf43e
X-Mailer: Zmail v1.0
Message-ID: <20251111101356357tYfz8kTdwlpl2yd0InspT@zte.com.cn>
In-Reply-To: <DM8PR08MB7413BD76EA2C9C61D72A82E8B3C3A@DM8PR08MB7413.namprd08.prod.outlook.com>
References: DM8PR08MB7413BD76EA2C9C61D72A82E8B3C3A@DM8PR08MB7413.namprd08.prod.outlook.com
Mime-Version: 1.0
From: liu.yao71@zte.com.cn
To: shares@ndzh.com
Content-Type: multipart/mixed; boundary="=====_001_next====="
X-MAIL: mse-fl2.zte.com.cn 5AB2Dtua068907
X-TLS: YES
X-SPF-DOMAIN: zte.com.cn
X-ENVELOPE-SENDER: liu.yao71@zte.com.cn
X-SPF: None
X-SOURCE-IP: 10.5.228.133 unknown Tue, 11 Nov 2025 10:14:00 +0800
X-Fangmail-Anti-Spam-Filtered: true
X-Fangmail-MID-QID: 69129BE8.000/4d597r5q5Vz51Sdb
Message-ID-Hash: V6XPZ4GPTIO7RNAED7ZDUGLTPOM6XMYP
X-Message-ID-Hash: V6XPZ4GPTIO7RNAED7ZDUGLTPOM6XMYP
X-MailFrom: liu.yao71@zte.com.cn
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
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Idr] Re: draft-lp-idr-bgp-ls-sr-policy-supplement - Interaction between "pure backup path" and the reverse path segment
List-Id: Inter-Domain Routing <idr.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/RpoEpPVfsa0CH4itNmi2mrFgnU8>
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>

Hi Sue,

Thanks a lot for sending your comments to the list.
From my understanding, the basic question is, what's the relationship between a backup SID list and a reverse SID list. I think they are two standalone types, there would not be a SID list acting as both the backup SID list and the reverse SID list at the same time.

A                  B
  ----list-1---->
  ----list-2---->
  <-- list-3----
  <-- list-4----	 
Taking a candidate path CP1(from the headend A to the endpoint B) as an example, in CP1, there're SID list-1 and list-2, list-2 is the backup path of list-1. For the reverse path of list-1, there's a list-3, which could be set via the MULTIPATH-OPPDIR-PATH TLV in draft-ietf-pce-multipath or Reverse Path Segment List Sub-TLV in draft-ietf-idr-sr-policy-path-segment.
So list-2 would still be a path from A to B, while list-3 is a reverse path from B to A. They are totally different paths. 

And another consideration is, if list-2 is set as the backup for list-1 from A to B, would list-2 acting as the reverse path of a list-4 (which is a path from B to A) at the same time ?  Currently, there's no draft saying anything about that specially. But from the definition of the backup path we can see, the backup path should not carry any other traffic besides the traffic carried originally in the primary path, so it should not acting as a reverse path of a third SID list.  

Back to the B-flag in SR Segment List TLV introduced in this document, if a SID list is reported via BGP-LS with the B-flag set, it is a pure backup path, and it should not be used for other purpose, including being used as a reverse path.   

Thanks,
Yao


Original


From: SusanHares <shares@ndzh.com>
To: idr <idr@ietf.org>;
Date: 2025年11月08日 01:28
Subject: [Idr] draft-lp-idr-bgp-ls-sr-policy-supplement - Interaction between "pure backup path" and the reverse path segment

_______________________________________________
Idr mailing list -- idr@ietf.org
To unsubscribe send an email to idr-leave@ietf.org
 

Question: 
How does the B-Flag interact on the segment list with 
the concepts of the reverse path segment from 
draft-ietf-idr-sr-policy-path-segement-14. 
 
See discussions below. 
 
Sue 
 
draft-ietf-idr-sr-policy-path-segment-14 defines 
 
This provides a forward and reverse path. 

 
 
       SR Policy SAFI NLRI: <Distinguisher, Policy-Color, Endpoint>
           Attributes: Tunnel Encaps Attribute (23)
           Tunnel Type: SR Policy
               Binding SID
               Preference
               Priority
               Policy Name
               Explicit NULL Label Policy (ENLP)
               Segment List
                   Weight
                   Path Segment
                   Segment
                   Segment
                   ...
                   Reverse Segment List
                       Path Segment
                       Segment
                       Segment
                       ....
 
 
draft-lp-idr-bgp-ls-sr-policy-supplement-03
 
Defines new flags for the Segment list: 
 
                       0                   1
                         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
                        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                        | | | | | | | | | |S|B|         |
                        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 
        Figure 1: New Flags in the Flag Field of SR Segment List TLV
 
   *  S-Flag: Indicates the segment list is in administrative shut state
      when set.  The segment list may be shut by the administrator via
      CLI or other methods, and it is out of the scope of this document.
 
   *  B-Flag: Indicates that the segment list is a pure backup path as
      specified in [I-D.ietf-pce-multipath] section 4.4 when set.  When
      B-Flag is clear, it indicates it is the primary path that carries
      normal traffic
 
 
From draft-ietf-pce-multipath, we have two definitions: 
MULTIPATH-BACKUP TLV and MULTIPATH-OPPDIR-PATH.  
 
Below is the text from draft-ietf-pce-multipath
 
   This functionality is not part of the SR Policy Architecture
   [RFC9256], but is something optional that may be implemented for
   certain specialized use cases.  One such use case is the P2MP SR
   Policy [I-D.draft-ietf-pce-sr-p2mp-policy].
 
      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |             Type              |             Length            |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |       Backup Path Count       |             Flags           |B|
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                         Backup Path ID 1                      |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                         Backup Path ID 2                      |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                              ...                              |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                         Backup Path ID n                      |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 
                   Figure 3: MULTIPATH-BACKUP TLV format
 
From draft-ietf-pce-multipath ha the following opposite direction TLV? 
 
      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |             Type              |             Length            |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |           Reserved            |             Flags         |L|N|
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                 Opposite Direction Path ID                    |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 
                 Figure 4: MULTIPATH-OPPDIR-PATH TLV format