| Internet-Draft | BGP-LS SR Policy Spray Flag | August 2026 |
| Liu | Expires 6 February 2027 | [Page] |
This document proposes an extension to BGP-LS that allows a headend node, when reporting SR Policy state information via BGP-LS, to carry a new state flag at the candidate path level. This flag indicates whether the candidate path is currently being used for packet spraying. The information can be consumed by external controllers for path optimization, operations management or other purposes.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 6 February 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Segment Routing (SR) architecture provides flexible traffic engineering forwarding mechanisms through SR Policy [RFC9256]. An SR Policy consists of one or more candidate paths, and each candidate path may contain one or more segment lists. As in [RFC9256], only one candidate path is selected as the active path for each SR Policy, and traffic is load-balanced across the multiple segment lists of the active candidate path based on their respective weights.¶
[RFC9857] defines the mechanism for advertising SR Policies via BGP-LS, in which the SR Candidate Path State TLV is used to report the operational status and attributes at the candidate path level.¶
Based on local policy, a headend node may decide to enable packet spraying across the multiple segment lists of an active candidate path. External controllers may need to be aware of this operational state for path optimization, troubleshooting or other purposes.¶
This document extends the SR Candidate Path State TLV [RFC9857] by allocating a new PS-Flag (Packet Spray Flag). This flag is used by the headend to report whether the candidate path is being used for packet spraying.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This document allocates 1 bit from the reserved bits of the Flags field in the SR Candidate Path State TLV (Type 1202) as the PS-Flag (Packet Spray Flag).¶
How the headend decides whether to enable packet spraying on a candidate path is out of the scope of this document.¶
When advertising SR Policy state via BGP-LS, the headend node SHOULD set the PS-Flag according to the following rules:¶
Upon receiving a BGP-LS UPDATE containing an SR Candidate Path State TLV, the receiver (e.g., a controller) SHOULD process the PS-Flag according to the following rules:¶
If a headend's spraying state flaps frequently, the PS-Flag will cause corresponding BGP-LS updates to be generated. Implementations SHOULD apply update throttling or dampening mechanisms to avoid excessive BGP-LS update churn.¶
This document requests a bit in the flag field of "SR Candidate Path State TLV" [RFC9857] under the "BGP-LS Node Descriptor, Link Descriptor, Prefix Descriptor, and Attribute TLVs" registry.¶
| Bit | Description | Reference |
|---|---|---|
| TBA | PS-Flag: The CP is being used for packet spraying | This document |
Procedures and protocol extensions defined in this document do not affect the security considerations discussed in [RFC9857].¶
The setting of the PS-Flag may indirectly expose the headend node's local policy information (e.g., whether spraying is enabled). Operators SHOULD assess the risk of such information disclosure according to their own security policies and use appropriate measures to protect such information.¶