<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?rfc toc="yes" ?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="4"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes" ?>
<?rfc sortrefs="no"?>
<?rfc rfcedstyle="yes"?>
<?rfc subcompact="no"?>
<?rfc compact="yes" ?>
<?rfc iprnotified="Yes" ?>
<?rfc strict="no" ?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" category="std" docName="draft-dhody-pce-pcep-extension-pce-controller-srv6-08" obsoletes="" updates="" submissionType="IETF" xml:lang="en" tocInclude="true" tocDepth="4" symRefs="true" sortRefs="false" version="3">
  <!-- xml2rfc v2v3 conversion 3.9.0 -->
  <front>
    <title abbrev="PCECC-SRv6">Path Computation Element Communication Protocol (PCEP) Procedures and
  Extensions for Using the PCE as a Central Controller (PCECC) for SRv6 SID Allocation and Distribution.</title>
    <seriesInfo name="Internet-Draft" value="draft-dhody-pce-pcep-extension-pce-controller-srv6-08"/>
    <author initials="Z" surname="Li" fullname="Zhenbin Li">
      <organization>Huawei Technologies</organization>
      <address>
        <postal>
          <street>Huawei Bld., No.156 Beiqing Rd.</street>
          <city>Beijing  </city>
          <region/>
          <code>100095</code>
          <country>China</country>
        </postal>
        <email>lizhenbin@huawei.com</email>
      </address>
    </author>
    <author initials="S" surname="Peng" fullname="Shuping Peng">
      <organization>Huawei Technologies</organization>
      <address>
        <postal>
          <street>Huawei Bld., No.156 Beiqing Rd.</street>
          <city>Beijing</city>
          <region/>
          <code>100095</code>
          <country>China</country>
        </postal>
        <email>pengshuping@huawei.com</email>
      </address>
    </author>
    <author initials="X" surname="Geng" fullname="Xuesong Geng">
      <organization>Huawei Technologies</organization>
      <address>
        <postal>
          <street/>
          <city/>
          <region/>
          <code/>
          <country>China</country>
        </postal>
        <email>gengxuesong@huawei.com</email>
      </address>
    </author>
    <author initials="M" surname="Negi" fullname="Mahendra Singh Negi">
      <organization>RtBrick Inc</organization>
      <address>
        <postal>
          <street>N-17L, 18th Cross Rd, HSR Layout</street>
          <city>Bangalore</city>
          <region>Karnataka</region>
          <code>560102</code>
          <country>India</country>
        </postal>
        <email>mahend.ietf@gmail.com</email>
      </address>
    </author>
    <date year="2022"/>
    <area>Routing</area>
    <workgroup>PCE Working Group</workgroup>
    <abstract>
      <t>The Path Computation Element (PCE) is a core component of Software-Defined Networking (SDN) systems.</t>
      <t>A PCE-based Central Controller (PCECC) can simplify the processing of
   a distributed control plane by blending it with elements of SDN and
   without necessarily completely replacing it. This document specifies the procedures and PCEP extensions
   when a PCE-based controller is also responsible for configuring the
   forwarding actions on the routers, in addition to computing the paths for packet flows in the  for Segment Routing (SR) in IPv6 (SRv6) network and telling the edge
   routers what instructions to attach to packets as they enter the
   network. PCECC is further enhanced for SRv6 SID (Segment
   Identifier) allocation and distribution.</t>
    </abstract>
  </front>
  <middle>
    <section toc="default" numbered="true">
      <name>Introduction</name>
      <t>The Path Computation Element (PCE) <xref target="RFC4655" format="default"/> was developed to offload
   the path computation function from routers in an MPLS traffic-engineered (TE)
   network.  It can compute optimal paths for traffic
   across a network and can also update the paths to reflect changes in
   the network or traffic demands. Since then, the role and function of the PCE have grown to
   cover a number of other uses (such as GMPLS <xref target="RFC7025" format="default"/>) and to allow
   delegated control <xref target="RFC8231" format="default"/> and PCE-initiated use of network
   resources <xref target="RFC8281" format="default"/>.</t>
      <t>According to <xref target="RFC7399" format="default"/>, Software-Defined Networking (SDN) refers to a
   separation between the control elements and the forwarding components
   so that software running in a centralized system, called a
   controller, can act to program the devices in the network to behave
   in specific ways.  A required element in an SDN architecture is a
   component that plans how the network resources will be used and how
   the devices will be programmed.  It is possible to view this
   component as performing specific computations to place traffic flows
   within the network given knowledge of the availability of network
   resources, how other forwarding devices are programmed, and the way
   that other flows are routed.  This is the function and purpose of a
   PCE, and the way that a PCE integrates into a wider network control
   system (including an SDN system) is presented in <xref target="RFC7491" format="default"/>.</t>
      <t>In early PCE implementations, where the PCE was used to derive paths
   for MPLS Label Switched Paths (LSPs), paths were requested by network
   elements (known as Path Computation Clients (PCCs)), and the results
   of the path computations were supplied to network elements using the
   Path Computation Element Communication Protocol (PCEP) <xref target="RFC5440" format="default"/>.
   This protocol was later extended to allow a PCE to send unsolicited
   requests to the network for LSP establishment <xref target="RFC8281" format="default"/>.</t>
      <t><xref target="RFC8283" format="default"/> introduces the architecture for PCE as a central
   controller as an extension of the architecture described in <xref target="RFC4655" format="default"/>
   and assumes the continued use of PCEP as the protocol used between
   PCE and PCC. <xref target="RFC8283" format="default"/>  further examines the motivations and applicability
   for PCEP as a Southbound Interface (SBI), and introduces the implications for the
   protocol.  <xref target="I-D.ietf-teas-pcecc-use-cases" format="default"/> describes the use cases for
   the PCECC architecture.</t>
      <t><xref target="RFC9050" format="default"/> specify the procedures and PCEP extensions for
   using the PCE as the central controller for static LSPs, where 
   LSPs can be provisioned as explicit label instructions at each
   hop on the end-to-end path.</t>
      <t>Segment Routing (SR) technology leverages the source routing and tunneling paradigms.
   A source node can choose a path without relying on hop-by-hop
   signaling protocols such as LDP or RSVP-TE.  Each path is specified
   as a set of "segments" advertised by link-state routing protocols
   (IS-IS or OSPF).  <xref target="RFC8402" format="default"/> provides an
   introduction to SR architecture. The corresponding IS-IS and OSPF extensions are
   specified in <xref target="RFC8667" format="default"/> and
   <xref target="RFC8665" format="default"/> , respectively.
   It relies on a series of
   forwarding instructions being placed in the header of a packet. 
   The list of segments forming the path is called the
   Segment List and is encoded in the packet header.  Segment Routing
   can be applied to the IPv6 architecture with the Segment Routing
   Header (SRH) <xref target="RFC8754" format="default"/>.  A segment is
   encoded as an IPv6 address.  An ordered list of segments is encoded
   as an ordered list of IPv6 addresses in the routing header.  The
   active segment is indicated by the Destination Address of the packet.
   Upon completion of a segment, a pointer in the new routing header is
   incremented and indicates the next segment.
   The segment routing architecture supports operations that can be used
   to steer packet flows in a network, thus providing a form of traffic
   engineering. <xref target="RFC8664" format="default"/> and <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/> specify the SR specific PCEP
   extensions. 
      </t>
      <t>PCECC may further use PCEP for SR SID (Segment Identifier) allocation and distribution to all the SR nodes with some benefits. The SR  
     nodes continue to rely on IGP for distributed computation (nexthop 
     selection, protection etc) where PCE (and PCEP) does only the  
     allocation and distribution of SRv6 SIDs in the network.  Note that the 
     topology at PCE is still learned via existing mechanisms.</t>
      <t><xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/> specifies the procedures and PCEP extensions when 
   a PCE-based controller is also responsible for configuring
   the forwarding actions on the routers (SR-MPLS SID distribution), in addition to computing
   the paths for packet flows in a segment routing network and telling the edge routers
   what instructions to attach to packets as they enter the network. This document extends this to include SRv6 SID distribution as well.
      </t>
      <!--<t>[Important Note - Note that this document achieves by extending the new PCEP message defined in <xref target='I-D.zhao-pce-pcep-extension-for-pce-controller'/>. 
    The authors and WG also debated on the use of existing PCEP messages. 
    <xref target="Procedures"/> defines the first approach where as <xref target="appendix"/>  
    defines the latter. The authors are open to either of the approach and
    will follow the direction of the WG.]</t>-->

      
    </section>
    <section toc="default" numbered="true">
      <name>Terminology</name>
      <t>Terminologies used in this document is the same as described in the document 
       <xref target="RFC8283" format="default"/>.</t>
      <section toc="default" numbered="true">
        <name>Requirements Language</name>
        <t>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 <xref target="RFC2119" format="default"/> <xref target="RFC8174" format="default"/> when, and only when, they
      appear in all capitals, as shown here.</t>
      </section>
    </section>
    <section toc="default" anchor="SEC_M" numbered="true">
      <name>PCECC SRv6</name>
      <t><xref target="RFC8664" format="default"/> specifies extensions to 
    PCEP that allow a stateful PCE to
   compute, update, or initiate SR-TE paths for MPLS dataplane. An ingress node of an SR-TE path appends
   all outgoing packets with a list of MPLS labels (SIDs). This is encoded in
   SR-ERO subobject, capable of carrying a label (SID) as well as the identity of the
   node/adjacency label (SID). <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/> extends the procedure
   to include support for SRv6 paths.</t>
      <t>As per <xref target="RFC8754" format="default"/>, an SRv6 Segment is a
   128-bit value.  "SRv6 SID" or simply "SID" are often used as a
   shorter reference for "SRv6 Segment".  Further details are in an
   illustration provided in
   <xref target="RFC8986" format="default"/>.
The SR is applied to IPV6 data
   plane using SRH.  An SR path can be derived from an IGP Shortest Path
   Tree (SPT), but SR-TE paths may not follow IGP SPT.  Such paths may
   be chosen by a suitable network planning tool, or a PCE and
   provisioned on the ingress node. <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/> specify 
   the SRv6-ERO subobject capable of carrying an SRv6 SID as well as the identity
   of the node/adjacency represented by the SID.</t>
      <t><xref target="RFC8283" format="default"/> examines the motivations and applicability for
   PCECC and use of PCEP as an SBI. Section 3.1.5. of <xref target="RFC8283" format="default"/> 
   highlights the use of PCECC for configuring the forwarding actions on the routers and 
   assume responsibility for managing the identifier space. It simplifies the processing of a distributed
   control plane by blending it with elements of SDN and without
   necessarily completely replacing it. This allows the operator to introduce 
   the advantages of SDN (such as programmability) into the network. Further Section 3.3. of <xref target="I-D.ietf-teas-pcecc-use-cases" format="default"/> describes some of the scenarios where the PCECC technique could be useful. Section 4 of <xref target="RFC8283" format="default"/> 
   also describe the implications on the protocol when used as an SDN SBI. The operator needs to evaluate the advantages offered by PCECC against the operational and scalability needs of the PCECC.  </t>
      <t>As per <xref target="RFC8283" format="default"/>, 
   PCECC can allocate and provision the node/prefix/adjacency label (SID) via PCEP. 
  As per <xref target="I-D.ietf-teas-pcecc-use-cases" format="default"/> this is also applicable to SRv6 SIDs. </t>
      <t>The rest of the
   processing is similar to existing stateful PCE for SRv6 <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/>.</t>
    </section>
    <section toc="default" anchor="SEC_R" numbered="true">
      <name>PCEP Requirements</name>
      <t>Following key requirements for PCECC-SRv6 should be considered when
   designing the PCECC-based solution:</t>
      <ul spacing="normal">
        <li>A PCEP speaker supporting this document needs to have the capability to
       advertise its PCECC-SRv6 capability to its peers.</li>
        <li>PCEP procedures need to allow for PCC-based SRv6 SID allocations.</li>
        <!--<t>PCEP speaker not supporting this document needs to be able to reject
       PCECC-SRv6 related message with a reason code that indicates no
       support for it.</t>-->

   <li>PCEP procedures need to provide a means to update (or clean up) the SRv6 SID to the PCC.</li>
        <li>PCEP procedures need to provide a means to synchronize the SRv6 SID allocations between
       the PCE to the PCC in the PCEP messages.</li>
      </ul>
    </section>
    <section toc="default" anchor="Procedures" numbered="true">
      <name>Procedures for Using the PCE as a Central Controller (PCECC) in SRv6</name>
      <section toc="default" numbered="true">
        <name>Stateful PCE Model</name>
        <t>Active stateful PCE is described in <xref target="RFC8231" format="default"/>. A PCE
    as a Central Controller (PCECC) reuses the existing active stateful PCE
    mechanism as much as possible to control the LSPs.</t>
      </section>
      <section toc="default" numbered="true">
        <name>New Functions</name>
        <t>This document uses the same PCEP messages and its extensions which
   are described in <xref target="RFC9050" format="default"/> and <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/> for
   PCECC-SRv6 as well.</t>
        <t>The PCEP messages PCRpt, PCInitiate, PCUpd are used to send
   LSP Reports, LSP setup, and LSP update respectively. The extended PCInitiate message described in
   <xref target="RFC9050" format="default"/> is used to download
   or clean up CCIs (a new CCI Object-Type=TBD3 for SRv6 SID). The extended PCRpt message described in
   <xref target="RFC9050" format="default"/> is also used to report
   the CCIs (SRv6 SIDs) from PCC to PCE.</t>
        <!--<t>[Editor's Note: <xref target='I-D.zhao-pce-pcep-extension-for-pce-controller'/> defines new messages PCLabelUpd and 
      PCLabelRpt. The authors and WG also debated on the use of existing PCEP messages. Further 
      the document also includes an appendix 
      on how the existing messages can be extended 
      to add this functionality. WG needs to decide the final direction i.e. new specific messages 
      are needed or existing PCEP messages can be extended. See See <xref target="appendix"/> 
      to see the extension of existing message for PCECC-SR functionality.]</t>-->
        
        <t><xref target="RFC9050" format="default"/> specify an object called CCI for the encoding of the central controller's instructions. <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/> defined a CCI object-type for SR-MPLS. This document further defines a new CCI object-type=TBD3 for SRv6.
        </t>
      </section>
      <section toc="default" numbered="true">
        <name>PCECC Capability Advertisement</name>
        <t>During the PCEP initialization phase, PCEP speakers (PCE or PCC)
   advertise their support of and willingness to use PCEP extensions for the PCECC. A PCEP speaker includes
   the PCECC-CAPABILITY sub-TLV in the PATH-SETUP-TYPE-CAPABILITY TLV as per 
   <xref target="RFC9050" format="default"/>.</t>
        <t>A new S bit is added in the PCECC-CAPABILITY sub-TLV to indicate support for 
   PCECC-SR-MPLS in <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/>. This document adds another I bit to indicate support for SR in IPv6. A PCC MUST set the I bit in the PCECC-CAPABILITY sub-TLV and include 
   the SRv6-PCE-CAPABILITY sub-TLV (<xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/>) in the OPEN object 
   (inside the PATH-SETUP-TYPE-CAPABILITY TLV)
   to support the PCECC SRv6 extensions defined in this document.  </t>
        <t>If the I bit is set in PCECC-CAPABILITY sub-TLV and the SRv6-PCE-CAPABILITY sub-TLV is not advertised, or is advertised without the I bit set, in the OPEN object, the receiver MUST:
        </t>
        <ul spacing="normal">
          <li>send a PCErr message with Error-Type=19 (Invalid Operation) and
      Error-value=TBD4 (SRv6 capability
   was not advertised) and</li>
          <li>terminate the session.</li>
        </ul>
        <t>The rest of the processing is as per  
     <xref target="RFC9050" format="default"/> and <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/>.</t>
      </section>
      <section toc="default" anchor="SEC_SESSION" numbered="true">
        <name>PCEP session IP address and TED Router ID</name>
        <t>As described in <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/>, it is important to link the session IP address with the
   Router ID in TED for successful PCECC-SRv6 operations.</t>
      </section>
      <section toc="default" numbered="true">
        <name>SRv6 Path Operations</name>
        <t><xref target="RFC8664" format="default"/> specify the PCEP extension to allow a stateful PCE
        to compute and initiate SR-TE paths, as well as a PCC to request a
        path subject to certain constraint(s) and optimization criteria in SR
        networks. <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/> extends it to support SRv6.</t>
        <t>The Path Setup Type for SRv6 (PST=TBD) is used on the PCEP session with the Ingress as per 
        <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/>.</t>
        <!--<t> The PCEP messages pertaining to PCECC-SRv6 MUST include PATH-SETUP-TYPE
   TLV <xref target='RFC8408'/> with PST=TBD2 in the SRP object
   to clearly identify the PCECC-SRv6 setup is intended.</t>-->
   
    <section toc="default" anchor="SEC_SR_SETUP" numbered="true">
          <name>PCECC Segment Routing in IPv6 (SRv6)</name>
          <t>Segment Routing (SR) as described in
   <xref target="RFC8402" format="default"/> depends on "segments" that are
   advertised by Interior Gateway Protocols (IGPs).  The SR-node
   allocates and advertises the SID (node, adj, etc) and floods them via the
   IGP.  This document proposes a new mechanism where PCE allocates the
   SRv6 SID centrally and uses PCEP to distribute them to all nodes.  In some
   deployments, PCE (and PCEP) are better suited than IGP because of
   the centralized nature of PCE and direct TCP based PCEP sessions to the
   node. Note that only 
     the SRv6 SID allocation and distribution is done by the PCEP, all other SRv6  
     operations (nexthop selection, protection, etc) are still done by the  
     node (and the IGPs).</t>
          <section toc="default" anchor="SEC_NODE_ALLOC" numbered="true">
            <name>PCECC SRv6 Node/Prefix SID allocation</name>
            <t>Each node (PCC) is allocated a node SRv6 SID by the PCECC.  The
         PCECC sends the PCInitiate message to update the SRv6 SID table of each node.  
         The TE router ID is determined from the
         TED or from "IPv4/IPv6 Router-ID" sub-TLV
         <xref target="I-D.dhodylee-pce-pcep-ls" format="default"/>, in the OPEN Object.</t>
            <!--<t>Note: See <xref target="appendix"/> for how
   we could use PCInitiate message instead.]</t>-->

        <!--<t>It is RECOMMENDED that PCEP session with PCECC SR capability to use a
         different session IP address during TCP session establishment than
         the node Router ID in TEDB, to make sure that the PCEP session does
         not get impacted by the SR Node/Prefix Label maps (<xref target="SEC_SESSION"/>).</t>-->

         <!--<t>If a node (PCC) receives a PCInitiate message with a CCI encoding a SID, out
      of the range set aside for the SRGB, it MUST send a PCErr message with Error-type=TBD
   (PCECC failure) and Error-value=TBD (SID out of range) and MUST include the
   SRP object to specify the error is for the corresponding label update via PCInitiate message.</t>-->

        <t>On receiving the SRv6 node SID allocation, each node (PCC) uses the local
         routing information to determine the next-hop and download the 
         forwarding instructions accordingly.  The PCInitiate message uses the FEC object <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/>.</t>
            <t>On receiving the SRv6 node SID allocation:</t>
            <ul empty="true" spacing="normal">
              <li>For the local SID, the node (PCC) needs to update SID with associated 
  function (END function in this case) in "My Local SID Table" (<xref target="RFC8986" format="default"/>).</li>
              <li>For the non-local SID, the node (PCC) uses the local routing information
  to determine the next-hop and download the forwarding instructions accordingly.  </li>
            </ul>
            <!--<t>The PCInitiate message in this
  case MUST have FEC object.</t>-->         
        

        <t>The forwarding behavior and the end result is similar to IGP based
        "Node-SID" in SRv6.  Thus, from anywhere in the domain, it enforces the
        ECMP-aware shortest-path forwarding of the packet towards the related
        node as per <xref target="RFC8402" format="default"/>.</t>
            <t>PCE relies on the Node/Prefix SRv6 SID clean up using the same PCInitiate
        message as per <xref target="RFC8281" format="default"/>.</t>
          </section>
          <section toc="default" anchor="SEC_ADJ_ALLOC" numbered="true">
            <name>PCECC SRv6 Adjacency SID allocation</name>
            <!--<t><xref target='RFC8664'/> extends PCEP to allow a stateful PCE
        to compute and initiate SR-TE paths, as well as a PCC to request a
        path subject to certain constraint(s) and optimization criteria in SR
        networks.</t>-->

        <t>For PCECC-SRv6, apart from node-SID, Adj-SID is used where each adjacency
         is allocated an Adj-SID by the PCECC.  The PCECC sends
         PCInitiate message to update the SRv6 SID entry for each adjacency to all
         nodes in the domain.  Each node (PCC) download the SRv6 SID
         instructions accordingly.  Similar to SRv6 Node/Prefix Label allocation, the
         PCInitiate message in this case uses
         the FEC object. </t>
            <t>The forwarding behavior and the end result is similar to IGP based
        "Adj-SID" in SRv6 as per <xref target="RFC8402" format="default"/>.</t>
            <t>The handling of adjacencies on the LAN subnetworks is specified in <xref target="RFC8402" format="default"/>. PCECC MUST assign Adj-SID for every pair of routers in the LAN. The rest of the protocol mechanism remains the same.</t>
            <!--<t>The Path Setup Type for segment routing MUST be set for PCECC SRv6 = TBD2
         (see <xref target="SEC_PATH"/>).  All PCEP procedures and mechanism are similar to
        <xref target='RFC8664'/>.</t>-->

        <t>PCE relies on the Adj label clean up using the same PCInitiate
        message as per <xref target="RFC8281" format="default"/>.</t>
          </section>
          <section toc="default" anchor="SEC_REDUND" numbered="true">
            <name>Redundant PCEs</name>
            <t><xref target="I-D.ietf-pce-state-sync" format="default"/> describes the synchronization
       mechanism between the stateful PCEs. The SRv6 SIDs allocated by a PCE MUST also be 
       synchronized among PCEs for PCECC-SRv6 state synchronization. Note that the SRv6 SIDs
       are independent of the SRv6 paths, and remains intact till any topology 
       change. The redundant PCEs MUST have a common view of all SRv6 SIDs allocated in the
       domain.
            </t>
          </section>
          <section toc="default" anchor="SEC_SES_TERMIN" numbered="true">
            <name>Re-Delegation and Cleanup</name>
            <t><xref target="RFC9050" format="default"/> describes the action
        needed for CCIs for the static LSPs on a terminated
        session. Same holds true for the CCI for SRv6 SID as well.</t>
          </section>
          <section toc="default" anchor="SEC_DB_SYNC" numbered="true">
            <name>Synchronization of SRv6 SID Allocations</name>
            <t><xref target="RFC9050" format="default"/> describes the synchronization of CCIs via the LSP state synchronization 
   as described in <xref target="RFC8231" format="default"/> and 
   <xref target="RFC8232" format="default"/>.  
        Same procedures are applied for the SRv6 SID CCIs.</t>
            <!--<t>See <xref target="I-D.palle-pce-controller-labeldb-sync"/> for the optimizations for LABEL-DB synchronization procedure.</t>          -->
       </section>
        </section>
      </section>
    </section>
    <section toc="default" numbered="true">
      <name>PCEP Messages</name>
      <t>The PCEP messages are as per  <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/>.</t>
    </section>
    <section toc="default" numbered="true">
      <name>PCEP Objects</name>
      <section toc="default" numbered="true">
        <name>OPEN Object</name>
        <section toc="default" anchor="SEC_PCECC_CAP_TLV" numbered="true">
          <name>PCECC Capability sub-TLV</name>
          <t><xref target="RFC9050" format="default"/> defined
    the PCECC-CAPABILITY sub-TLV.</t>
          <t>A new I-bit is defined in PCECC-CAPABILITY sub-TLV for PCECC-SRv6:</t>
          <artwork align="left" alt="" name="" type=""><![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=TBD        |            Length=4           |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                             Flags                       |I|S|L|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

        ]]></artwork>
          <t>[Editor's Note - The above figure is included for ease of the reader but should be removed before publication.]</t>
          <t>I (PCECC-SRv6-CAPABILITY - 1 bit - TBD1):  If set to 1 by a PCEP speaker, it
      indicates that the PCEP speaker is capable of PCECC-SRv6 capability
      and the PCE allocates the Node and Adj SRv6 SID on this session.</t>
        </section>
      </section>
      <section toc="default" anchor="SEC_PATH" numbered="true">
        <name>SRv6 Path Setup</name>
        <t>The PATH-SETUP-TYPE TLV is defined in <xref target="RFC8408" format="default"/>. A PST value of TBD is used
   when Path is setup via SRv6 mode as per <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/>. The procedure for SRv6 path setup as specified in <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/> remains unchanged.</t>
        <!--<t>On a PCRpt/PCUpd/PCInitiate message, the PST=TBD2 indicates that this 
   path was setup via a PCECC-SRv6 based mechanism where either the SIDs were 
   allocated/instructed by PCE via PCECC mechanism.</t>-->


    </section>
      <section toc="default" anchor="SEC_CCI" numbered="true">
        <name>CCI Object</name>
        <t>The Central Control Instructions (CCI) Object is used by the PCE to specify the controller instructions is defined in <xref target="RFC9050" format="default"/>. 
    This document defines another object-type for SRv6 purpose. </t>
        <t>CCI Object-Type is TBD3 for SRv6 as below - 
        </t>
        <artwork align="left" alt="" name="" type=""><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            CC-ID                              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      MT-ID    |    Algorithm  |    Flags      |B|P|G|C|N|E|V|L|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           Reserved            |   SRv6 Endpoint Function      | 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
|                      SRv6 Identifier                          |
|                         (128-bit)                             |
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              SID                              |
|                           Structure                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
//                        Optional TLV                         //
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

        ]]></artwork>
        <t>The field CC-ID is as described in <xref target="RFC9050" format="default"/>. The field MT-ID, Algorithm, Flags are defined in 
       <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/>.</t>
        <t>Reserved: MUST be set to 0 while sending and ignored on receipt.</t>
        <t>SRv6 Endpoint Function: 16-bit field representing supported
      functions associated with SRv6 SIDs.</t>
        <t>SRv6 Identifier: 128-bit IPv6 addresses representing SRv6
      segment.</t>
        <t>SID Structure: 64-bit field formatted as per "SID Structure" in <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default"/>. The sum of all four sizes in the SID Structure must be lower or equal
   to 128 bits.  If the sum of all four sizes advertised in the SID
   Structure is larger than 128 bits, the corresponding SRv6 SID MUST be
   considered invalid and a PCErr message with Error-Type = 10
   ("Reception of an invalid object") and Error-Value = TBD ("Invalid
   SRv6 SID Structure") is returned. </t>
      </section>
      <section toc="default" anchor="SEC_FEC" numbered="true">
        <name>FEC Object</name>
        <t>The FEC Object is used to specify the FEC information and MAY be
   carried within PCInitiate or PCRpt message.</t>
        <t>FEC Object (and various Object-Types) are described in <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/>. SRv6 Node SID MUST includes the FEC Object-Type 2 for IPv6 Node. 
    SRv6 Adjacency SID MUST include the FEC Object-Type=4 for IPv6 adjacency. Further FEC object types could be added in future extensions.</t>
      </section>
    </section>
    <section toc="default" numbered="true">
      <name>Security Considerations</name>
      <t>As per <xref target="RFC8283" format="default"/>, the security considerations for a PCE-based controller are a little
   different from those for any other PCE system.  That is, the
   operation relies heavily on the use and security of PCEP, so
   consideration should be given to the security features discussed in
   <xref target="RFC5440" format="default"/> and the additional mechanisms described in <xref target="RFC8253" format="default"/>. It further lists the vulnerability of a central controller architecture, such as a central
   point of failure, denial of service, and a focus for
   interception and modification of messages sent to individual  Network Elements (NEs).</t>
      <t>The PCECC extension builds on the existing PCEP messages; thus, the security considerations described in <xref target="RFC5440" format="default"/>, <xref target="RFC8231" format="default"/>, 
       <xref target="RFC8281" format="default"/>, <xref target="RFC9050" format="default"/>, and <xref target="I-D.ietf-pce-pcep-extension-pce-controller-sr" format="default"/> continue to apply.</t>
      <t>As per <xref target="RFC8231" format="default"/>, it is RECOMMENDED that these PCEP extensions only be activated on mutually-authenticated and encrypted sessions across PCEs and PCCs belonging to the same administrative authority, using Transport Layer Security (TLS) <xref target="RFC8253" format="default"/> as per the recommendations and best current practices in <xref target="RFC7525" format="default"/> (unless explicitly set aside in <xref target="RFC8253" format="default"/>).</t>
    </section>
    <section toc="default" numbered="true">
      <name>Manageability Considerations</name>
      <section toc="default" numbered="true">
        <name>Control of Function and Policy</name>
        <t> A PCE or PCC implementation SHOULD allow to configure to
   enable/disable PCECC SRv6 capability as a global configuration.</t>
      </section>
      <section toc="default" numbered="true">
        <name>Information and Data Models</name>
        <t><xref target="RFC7420" format="default"/> describes the PCEP MIB, this MIB can be extended to get the
           PCECC SRv6 capability status.</t>
        <t>The PCEP YANG module <xref target="I-D.ietf-pce-pcep-yang" format="default"/> could be extended
           to enable/disable PCECC SRv6 capability.</t>
      </section>
      <section toc="default" numbered="true">
        <name>Liveness Detection and Monitoring</name>
        <t>Mechanisms defined in this document do not imply any new liveness
           detection and monitoring requirements in addition to those already
           listed in <xref target="RFC5440" format="default"/>.</t>
      </section>
      <section toc="default" numbered="true">
        <name>Verify Correct Operations</name>
        <t>Mechanisms defined in this document do not imply any new operation
   verification requirements in addition to those already listed in
   <xref target="RFC5440" format="default"/> and <xref target="RFC8231" format="default"/>.</t>
      </section>
      <section toc="default" numbered="true">
        <name>Requirements On Other Protocols</name>
        <t>PCEP extensions defined in this document do not put new requirements
   on other protocols.</t>
      </section>
      <section toc="default" numbered="true">
        <name>Impact On Network Operations</name>
        <t>PCEP implementation SHOULD allow a limit to be placed on the rate
   of PCInitiate/PCUpd messages (as per <xref target="RFC8231" format="default"/>) sent by PCE and processed by PCC.
   It SHOULD also allow sending a notification when a rate threshold is
   reached.</t>
      </section>
    </section>
    <section toc="default" numbered="true">
      <name>IANA Considerations</name>
      <section toc="default" numbered="true">
        <name>PCECC-CAPABILITY sub-TLV</name>
        <t><xref target="RFC9050" format="default"/> defines the
      PCECC-CAPABILITY sub-TLV and requests that IANA creates a registry to
      manage the value of the PCECC-CAPABILITY sub-TLV's Flag field.  IANA
      is requested to allocate a new bit in the PCECC-CAPABILITY sub-TLV Flag
      Field registry, as follows:</t>
        <table anchor="CAP-TLV" align="center">
          <thead>
            <tr>
              <th align="left">Bit</th>
              <th align="left">Description</th>
              <th align="left">Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left">TBD1</td>
              <td align="left">SRv6</td>
              <td align="left">This document</td>
            </tr>
          </tbody>
        </table>
      </section>
      <!--<section title="New Path Setup Type Registry" toc="default">
        <t>IANA is requested to allocate new PST Field in PATH-
           SETUP-TYPE TLV.  The allocation policy for this new registry should
           be by IETF Consensus. The new registry should contain the following value:</t>
     <texttable anchor="PCEP-PATH-TYPE" style="none" suppress-title="true" title="" align="center">
      <ttcol align="left" width="20%">Value</ttcol>
      <ttcol align="left" width="30%">Description</ttcol>
      <ttcol align="left" width="20%">Reference</ttcol>
       <c>TBD2</c>
       <c>Path is</c>
       <c>This document</c>
       <c> </c>
       <c>setup using PCECC-SRv6 mode</c>
       <c> </c>       
     </texttable>      
      </section>-->
<section toc="default" numbered="true">
        <name>PCEP Object</name>
        <t>IANA is requested to allocate a new code-point for the new CCI object-type in "PCEP Objects" sub-registry as follows:</t>
        <table anchor="PCEP-OBJECT" align="center">
          <thead>
            <tr>
              <th align="left">Object-Class Value</th>
              <th align="left">Name</th>
              <th align="left">Object-Type</th>
              <th align="left">Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left">TBD</td>
              <td align="left">CCI</td>
              <td align="left"> </td>
              <td align="left">
                <xref target="RFC9050" format="default"/></td>
            </tr>
            <tr>
              <td align="left"> </td>
              <td align="left"> </td>
              <td align="left">TBD3: SRv6</td>
              <td align="left">This document</td>
            </tr>
          </tbody>
        </table>
      </section>
      <section toc="default" numbered="true">
        <name>PCEP-Error Object</name>
        <t>IANA is requested to allocate new error types and error values within
        the "PCEP-ERROR Object Error Types and Values" sub-registry of the
        PCEP Numbers registry for the following errors:

         
        
        

        </t>
        <dl newline="false" spacing="compact" indent="13">
          <dt>Error-Type</dt>
          <dd>Meaning</dd>
          <dt>----------   -------</dt>
          <dd/>
          <dt>19</dt>
          <dd>
            <t>Invalid operation.
            </t>
            <dl newline="false" spacing="compact" indent="37">
              <dt> Error-value = TBD4 :</dt>
              <dd>SRv6 capability was not advertised</dd>
            </dl>
          </dd>
        </dl>
        <t>The Reference is marked as "This document".</t>
      </section>
    </section>
    <!--<section toc="default" numbered="true">
      <name>Acknowledgments</name>
    </section>-->
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5440.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8231.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8281.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8664.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-pce-segment-routing-ipv6.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.9050.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-pce-pcep-extension-pce-controller-sr.xml"/>
      </references>
      <references>
        <name>Informative References</name>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4655.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7025.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7399.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7420.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7491.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7525.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8232.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8253.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8283.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8402.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8408.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8665.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8667.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8754.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8986.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-teas-pcecc-use-cases.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-pce-pcep-yang.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-pce-state-sync.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-dhodylee-pce-pcep-ls.xml"/>
        <!--<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-spring-srv6-network-programming.xml"/>
        <?rfc include="reference.I-D.palle-pce-controller-labeldb-sync"?>-->

      </references>
    </references>
    <section toc="default" numbered="true">
      <name>Contributor Addresses</name>
      <artwork name="" type="" align="left" alt=""><![CDATA[


Dhruv Dhody 
Huawei Technologies
Divyashree Techno Park, Whitefield
Bangalore, Karnataka  560066
India

EMail: dhruv.ietf@gmail.com

      
        ]]></artwork>
    </section>
  </back>
</rfc>
