<?xml version='1.0' encoding='utf-8'?>

<!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent">
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

<rfc
      xmlns:xi="http://www.w3.org/2001/XInclude"
      category="std"
      docName="draft-lp-idr-bgp-ls-sr-policy-supplement-06"
      ipr="trust200902"
      obsoletes=""
      updates=""
      submissionType="IETF"
      xml:lang="en"
      tocInclude="true"
      tocDepth="4"
      symRefs="true"
      sortRefs="true"
      version="3">

 <!-- ***** FRONT MATTER ***** -->

 <front>


   <title abbrev="BGP-LS SR Policy">Supplement of BGP-LS Distribution for SR Policies and State</title>
    <seriesInfo name="Internet-Draft" value="draft-lp-idr-bgp-ls-sr-policy-supplement-06"/>


   <author fullname="Yao Liu" surname="Liu">
      <organization>ZTE</organization>
      <address>
        <postal>
          <street/>
          <!-- Reorder these if your country does things differently -->

         <city>Nanjing</city>
          <region/>
          <code/>
          <country>China</country>
        </postal>
        <phone></phone>
        <email>liu.yao71@zte.com.cn</email>
        <!-- uri and facsimile elements may also be added -->
     </address>
    </author>
	
   <author fullname="Shaofu Peng" surname="Peng">
      <organization>ZTE</organization>
      <address>
        <postal>
          <street/>
          <!-- Reorder these if your country does things differently -->

         <city>Nanjing</city>
          <region/>
          <code/>
          <country>China</country>
        </postal>
        <phone></phone>
        <email>peng.shaofu@zte.com.cn</email>
        <!-- uri and facsimile elements may also be added -->
     </address>
    </author>
   <author fullname="Zhenqiang Li" surname="Li">
      <organization>China Mobile</organization>
      <address>
        <postal>
          <street/>
          <!-- Reorder these if your country does things differently -->

         <city></city>
          <region/>
          <code/>
          <country></country>
        </postal>
        <phone></phone>
        <email>lizhenqiang@chinamobile.com</email>
        <!-- uri and facsimile elements may also be added -->
     </address>
    </author>	
	
    <date year="2026"/>

   <!-- Meta-data Declarations -->

   <area>Routing</area>
    <workgroup>IDR Working Group</workgroup>
    <!-- WG name at the upperleft corner of the doc,
        IETF is fine for individual submissions.  
	 If this element is not present, the default is "Network Working Group",
        which is used by the RFC Editor as a nod to the history of the IETF. -->

    <keyword>SR Policy</keyword>
    <keyword>BGP-LS</keyword>
    <keyword>Segment List</keyword>
    <!-- Keywords will be incorporated into HTML output
        files in a meta tag but they have no effect on text or nroff
        output. If you submit your draft to the RFC Editor, the
        keywords will be used for the search engine. -->

   <abstract>

<t> This document supplements additional information of the segment list in the BGP-LS advertisement for SR Policy state information. A new flag and a new sub-TLV are introduced in the SR Segment List TLV of BGP-LS SR Policy Candidate Path NLRI. </t> 

    </abstract>
  </front>
  <middle>
    <section numbered="true" toc="default">
      <name>Introduction</name>
	  
<t>SR Policy architecture details are specified in <xref target="RFC9256"></xref>.  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.</t>
<t><xref target="RFC9857"></xref> 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 candidate path level and the segment list level.</t>  
<t>Currently, the following segment-list-related information is not yet included in <xref target="RFC9857"></xref>:</t>
	<ul spacing="normal">	
		<li>Whether the segment list is in administrative shut state. For the candidate path, there's already an S-Flag in the SR Candidate Path State TLV in <xref target="RFC9857"></xref> indicating the CP is in an administrative shut state. In some usecases, the segment list may also be shut by an administrator for traffic engineering or power saving purpose, e.g, the network administrator may shut certain segment list when the load on the SR Policy is light. This information may also be needed and reported via BGP-LS.</li>
		<li>The 32-bit MPLS LSE information, especially, the MPLS Network Actions (MNA) sub-stack. Traditional MPLS LSE consists of 20-bit MPLS label, 3-bit TC, 1-bit S(bottom of stack indication) and 8-bit TTL. Accordingly, SR Segment List TLV <xref target="RFC9857"></xref> only supports carrying MPLS labels with the TC, S and TTL fields set to 0 in SR Segment Sub-TLV. However, <xref target="I-D.ietf-mpls-mna-hdr"></xref> defines the MPLS Network Actions sub-stack (NAS) solution for carrying Network Actions and Ancillary Data in the MPLS label stack, unlike traditional MPLS LSE, some LSEs defined for MNA repurposed the TC and TTL field to carry additional information. MNA such as Network Resource Partition (NRP) <xref target="I-D.ietf-mpls-mna-nrp-selector"></xref>, IOAM <xref target="I-D.ietf-mpls-mna-ioam"></xref> may be inserted in the SID list in the format of LSEs. The contents of the LSEs inserted in the SID-lists may be required by the controller when the headend reports the state of SR Policies via BGP-LS. </li>
     </ul>
	 



<t> This document supplements some additional information of the segment list state as mentioned above in the BGP-LS advertisement for SR Policy state information.</t>  
 
    </section> 
	  
      <section numbered="true" toc="default">
        <name>Requirements Language</name>
	  <t>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 <xref target="RFC2119" format="default"></xref> <xref target="RFC8174" format="default"></xref> when, and only when, they appear in all capitals, as shown here.</t>
      </section>

	
	
<section numbered="true" toc="default">
<name>BGP-LS Extensions for Distributing Segment List States</name>

<section numbered="true" toc="default">
<name>New Flag in SR Segment List TLV</name>
	<t>SR Segment List TLV is defined in <xref target="RFC9857"></xref> to report the SID-List(s) of a candidate path. As show in Figure 1,this document introduces a new flag in the flag field of SR Segment List TLV, where,</t>
		<figure>
		<name>New Flags in the Flag Field of SR Segment List TLV</name>
			<artwork align="center" ><![CDATA[
       0                   1
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | | | | | | | | | |S|           |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
           ]]></artwork>		   
		</figure>
		

	<ul spacing="normal">	
        <li>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. </li>
     </ul>
</section>	

<section numbered="true" toc="default">
<name>MNA Sub-Stack Sub-TLV</name>

<t>The MNA Sub-Stack Sub-TLV is defined in this section to carry the MNA Sub-Stack information.</t>

		<figure>
		<name>MNA Sub-Stack Sub-TLV</name>
			<artwork align="center" ><![CDATA[
 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            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~                       MNA Sub-Stack                           ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
           ]]></artwork>		   
		</figure>

	<ul spacing="normal">	
		<li>Type: TBA</li>		
		<li>Length: Variable, the total length (in octets) of MNA Sub-Stack portion in octets, MUST be the multiple of 4. The value indicates the number of the LSEs in this sub-TLV.</li>
		<li>MNA Sub-Stack: one or more 4-octet-field carrying the MNA Sub-Stack defined in <xref target="I-D.ietf-mpls-mna-hdr"></xref></li>
	</ul>	
		
<t>The MNA Sub-Stack is an optional sub-TLV of SR Segment List TLV, and can appear more than once in the SR Segment List TLV. It may be used as the sub-TLV of other TLVs, for the latter case, the detailed usage is out of the scope of this document. </t>




	
</section>	
</section>
	
<section numbered="true" toc="default">
	<name>IANA Considerations</name>	
	<t>This document requests bit 9 in the flag field of "SR Segment List TLV" <xref target="RFC9857"></xref> under the "BGP-LS Node Descriptor, Link Descriptor, Prefix Descriptor, and Attribute TLVs" registry.</t>

        <artwork align="left"><![CDATA[
       Bit     Description                                Reference
      ------------------------------------------------------------------
        9     Administrative Shut State Flag(S-Flag)      This document
           ]]></artwork>
	   
	   <t>This document requests a new type sub-TLV of "SR Segment List TLV" <xref target="RFC9857"></xref> under the "BGP-LS Node Descriptor, Link Descriptor, Prefix Descriptor, and Attribute TLVs" registry.</t>
	        <artwork align="left"><![CDATA[
       Type     Description                                Reference
      ------------------------------------------------------------------
       TBA     MPLS LSE Sub-TLV                         This document

           ]]></artwork>
</section>

<section numbered="true" toc="default">
	<name>Manageability Considerations</name>
		<t>The considerations as specified in <xref target="RFC9552"></xref> apply to this document. In general, unknown and unsupported types MUST be preserved and propagated within both the NLRI and the BGP-LS Attribute. The presence of unknown or unexpected TLVs MUST NOT result in the NLRI or the BGP-LS Attribute being considered malformed.</t>
    <t>If the receiver doesn't recognize the new sub-TLV type defined in this document, it SHOULD skip it and process the remaining part in the SR Segment List TLV normally.</t>
		
</section>	

<section numbered="true" toc="default">
	<name>Security Considerations</name>
		<t>Procedures and protocol extensions defined in this document do not affect the security considerations discussed in <xref target="RFC9857"></xref>.</t>
</section>	
	
	
  </middle>
  <!--  *****BACK MATTER ***** -->

 <back>

   <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
		<?rfc include="reference.RFC.2119.xml"?>
		<?rfc include="reference.RFC.8174.xml"?>
        <?rfc include="reference.RFC.9857.xml"?>
		<?rfc include="reference.RFC.9552.xml"?>
		

      </references>
      <references>
        <name>Informative References</name>
		<?rfc include="reference.RFC.9256.xml"?>
		<?rfc include="reference.I-D.ietf-mpls-mna-hdr.xml"?>
		<?rfc include="reference.I-D.ietf-mpls-mna-nrp-selector.xml"?>
		<?rfc include="reference.I-D.ietf-mpls-mna-ioam.xml"?>
		      </references>
    </references>


 </back>
</rfc>
