IDR Working Group Y. Liu Internet-Draft S. Peng Intended status: Standards Track ZTE Expires: 10 September 2023 9 March 2023 Supplement of BGP-LS Distribution for SR Policies and State draft-lp-idr-bgp-ls-sr-policy-supplement-00 Abstract This document supplements some additional information of the segment list in the BGP-LS advertisement for SR Policy state information . Status of This Memo 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 10 September 2023. Copyright Notice Copyright (c) 2023 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. Liu & Peng Expires 10 September 2023 [Page 1] Internet-Draft BGP-LS SR Policy March 2023 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1.1. Requirements Language . . . . . . . . . . . . . . . . . . 3 2. BGP-LS Extensions for Distributing Segment List States . . . 3 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 3 4. Security Considerations . . . . . . . . . . . . . . . . . . . 3 5. References . . . . . . . . . . . . . . . . . . . . . . . . . 3 5.1. Normative References . . . . . . . . . . . . . . . . . . 4 5.2. Informative References . . . . . . . . . . . . . . . . . 4 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 4 1. Introduction SR Policy architecture details are specified in [RFC9256]. An SR Policy comprises one or more candidate paths (CP) of which at a given time one and only one may be active. Each CP in turn may have one or more SID-List of which one or more may be active; when multiple are active then traffic is load balanced over them. [I-D.ietf-pce-multipath] proposes extensions to PCEP to specify the protection relationship among segment lists within the candidate path. There would be segment lists in the CP acting as backup for one or more primary segment lists, the backup lists only carry rerouted traffic after the protected path fails. [I-D.ietf-idr-bgp-ls-sr-policy] describes a mechanism to collect the SR policy information that is locally available in a node and advertise it into BGP Link State (BGP-LS) updates. Various TLVs are defined to enable the headend to report the state at the SR Policy CP level. For example, there's a B Flag in the SR Candidate Path State TLV indicating the CP is in an administrative shut state when set. Currently, a few segment list-related information is not included in [I-D.ietf-idr-bgp-ls-sr-policy]. One is the information to indicate that the segment list is a backup path as described in [I-D.ietf-pce-multipath]. And the segment list may be shut by the administrator, this information may also needed and reported via BGP- LS. This document supplements some additional information of the segment list in the BGP-LS advertisement for SR Policy state information . Liu & Peng Expires 10 September 2023 [Page 2] Internet-Draft BGP-LS SR Policy March 2023 1.1. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. 2. BGP-LS Extensions for Distributing Segment List States SR Segment List TLV is defined in [I-D.ietf-idr-bgp-ls-sr-policy] to to report the SID-List(s) of a candidate path.As show in Figure 1,this document introduces two new flags in the flag field of SR Segment List TLV, where, 0 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |D|E|C|V|R|F|A|T|M|S|B| | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 1: Flag Field of SR Segment List TLV * S-Flag: Indicates the segment list is in administrative shut state when set. * B-Flag: Indicates the segment list is a backup path described in [I-D.ietf-pce-multipath] when set, otherwise it is the primary path. 3. IANA Considerations This document requests bit 9 and bit 10 in the flag field of "SR Segment List TLV" [I-D.ietf-idr-bgp-ls-sr-policy] under the "BGP-LS Node Descriptor, Link Descriptor, Prefix Descriptor, and Attribute TLVs" registry. Bit Description Reference ------------------------------------------------------------------ 9 Administrative Shut State Flag(S-Flag) This document 10 Backup Path State Flag(B-Flag) This document 4. Security Considerations Procedures and protocol extensions defined in this document do not affect the security considerations discussed in [I-D.ietf-idr-bgp-ls-sr-policy]. 5. References Liu & Peng Expires 10 September 2023 [Page 3] Internet-Draft BGP-LS SR Policy March 2023 5.1. Normative References [I-D.ietf-idr-bgp-ls-sr-policy] Previdi, S., Talaulikar, K., Dong, J., Gredler, H., and J. Tantsura, "Advertisement of Segment Routing Policies using BGP Link-State", Work in Progress, Internet-Draft, draft- ietf-idr-bgp-ls-sr-policy-00, 9 March 2023, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . 5.2. Informative References [I-D.ietf-pce-multipath] Koldychev, M., Sivabalan, S., Saad, T., Beeram, V. P., Bidgoli, H., Yadav, B., Peng, S., and G. S. Mishra, "PCEP Extensions for Signaling Multipath Information", Work in Progress, Internet-Draft, draft-ietf-pce-multipath-07, 14 November 2022, . [RFC8402] Filsfils, C., Ed., Previdi, S., Ed., Ginsberg, L., Decraene, B., Litkowski, S., and R. Shakir, "Segment Routing Architecture", RFC 8402, DOI 10.17487/RFC8402, July 2018, . [RFC9256] Filsfils, C., Talaulikar, K., Ed., Voyer, D., Bogdanov, A., and P. Mattes, "Segment Routing Policy Architecture", RFC 9256, DOI 10.17487/RFC9256, July 2022, . Authors' Addresses Yao Liu ZTE Nanjing China Email: liu.yao71@zte.com.cn Liu & Peng Expires 10 September 2023 [Page 4] Internet-Draft BGP-LS SR Policy March 2023 Shaofu Peng ZTE Nanjing China Email: peng.shaofu@zte.com.cn Liu & Peng Expires 10 September 2023 [Page 5]