<?xml version="1.0" encoding="UTF-8"?>

<!-- [rfced] updated by Chris 02/19/21 -->

<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com)
     by Daniel M Kohn (private) -->

<!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent">

<rfc xmlns:xi="http://www.w3.org/2001/XInclude" docName="draft-ietf-teas-pce-native-ip-17"
number="0000" ipr="trust200902" obsoletes="" updates="" submissionType="IETF" category="info"
consensus="true" xml:lang="en" tocInclude="true" tocDepth="3" symRefs="true" sortRefs="true"
version="3">

  <!-- xml2rfc v2v3 conversion 3.5.0 -->
  <front>
    <title abbrev="pce in native ip">Path Computation Element (PCE) based
    Traffic Engineering (TE) in Native IP Networks</title>
    <seriesInfo name="RFC" value="0000"/>
    <author fullname="Aijun Wang" initials="A" surname="Wang">
      <organization>China Telecom</organization>
      <address>
        <postal>
          <street>Beiqijia Town</street>
	  <extaddr>Changping District</extaddr>
	  <city>Beijing</city>
          <code>102209</code>
          <country>China</country>
        </postal>
        <email>wangaj3@chinatelecom.cn</email>
      </address>
    </author>

<!-- [rfced] Changed country code to "Russian Federation" to fix xml2rfc Warning: Country lookup failed for <country>Russia</country>. -->

    <author fullname="Boris Khasanov" initials="B" surname="Khasanov">
      <organization>Yandex LLC</organization>
      <address>
        <postal>
          <street>Ulitsa Lva Tolstogo 16</street>
          <city>Moscow</city>
          <country>Russian Federation</country>
        </postal>
        <email>bhassanov@yahoo.com</email>
      </address>
    </author>
    <author fullname="Quintin Zhao" initials="Q" surname="Zhao">
      <organization>Etheric Networks</organization>
      <address>
        <postal>
          <street>1009 S CLAREMONT ST</street>
          <city>SAN MATEO</city>
          <region>CA</region>
          <code>94402</code>
          <country>USA</country>
        </postal>
        <email>qzhao@ethericnetworks.com</email>
      </address>
    </author>
    <author fullname="Huaimo Chen" initials="H" surname="Chen">
      <organization>Futurewei</organization>
      <address>
        <postal>
          <city>Boston</city>
          <region>MA</region>
          <country>USA</country>
        </postal>
        <email>huaimo.chen@futurewei.com</email>
      </address>
    </author>
    <date month="March" year="2021"/>
    <area>RTG Area</area>
    <workgroup>TEAS Working Group</workgroup>

<!-- [rfced] Please insert any keywords (beyond those that appear in
the title) for use on https://www.rfc-editor.org/search. -->

<keyword>example</keyword>

    <abstract>
      <t>This document defines an architecture for providing traffic
      engineering in a native IP network using multiple BGP sessions and a
      Path Computation Element (PCE)-based central control mechanism. It
      defines the Central Control Dynamic Routing (CCDR) procedures and
      identifies needed extensions for the Path Computation Element
      Communication Protocol (PCEP).</t>
    </abstract>
  </front>
  <middle>
    <section anchor="intro" numbered="true" toc="default">
      <name>Introduction</name>
      <t><xref target="RFC8283" format="default"/>, based on an extension of the Path
      Computation Element (PCE) architecture described in <xref target="RFC4655" format="default"/> , introduced a broader use applicability for a PCE as
      a central controller. PCEP Protocol (PCEP) continues to be used as the
      protocol between PCE and Path Computation Client (PCC). Building on that
      work, this document describes a solution using a PCE for centralized
      control in a native IP network to provide End-to-End (E2E) performance
      assurance and QoS for traffic. The solution combines the use of
      distributed routing protocols and a centralized controller, referred to
      as Centralized Control Dynamic Routing (CCDR).</t>
      <t><xref target="RFC8735" format="default"/> describes the scenarios and simulation
      results for traffic engineering in a native IP network based on use of a
      CCDR architecture. Per <xref target="RFC8735" format="default"/>, the architecture for
      traffic engineering in a native IP network should meet the following
      criteria:</t>
      <ul spacing="normal">
        <li>Same solution for native IPv4 and IPv6 traffic.</li>
        <li>Support for intra-domain and inter-domain scenarios.</li>
        <li>Achieve End to End traffic assurance, with determined QoS
          behavior, for traffic requiring a service assurance (prioritized
          traffic).</li>
        <li>No changes in a router's forwarding behavior.</li>
        <li>Based on centralized control through a distributed network
          control plane.</li>
        <li>Support different network requirements such as high traffic
          volume and prefix scaling.</li>
        <li>Ability to adjust the optimal path dynamically upon the changes
          of network status. No need for physical links resources reservations
          to be done in advance.</li>
      </ul>
      <t>Building on the above documents, this document defines an
      architecture meeting these requirements by using a multiple BGP session
      strategy and a PCE as the centralized controller. The architecture
      depends on the central control (PCE) element to compute the optimal
      path, and utilizes the dynamic routing behavior of IGP/BGP protocols for
      forwarding the traffic.</t>
    </section>
    <section numbered="true" toc="default">
      <name>Terminology</name>
      <t>This document uses the following terms defined in <xref target="RFC5440" format="default"/>:</t>
      <dl>
        <dt>PCE:</dt><dd>Path Computation Element</dd>
        <dt>PCEP:</dt><dd>PCE Protocol</dd>
        <dt>PCC:</dt><dd>Path Computation Client</dd>
      </dl>
      <t>Other terms are used in this document:</t>
      <dl>
        <dt>CCDR:</dt><dd>Central Control Dynamic Routing</dd>
        <dt>E2E:</dt><dd>End to End</dd>
        <dt>ECMP:</dt><dd>Equal-Cost Multipath</dd>
        <dt>RR:</dt><dd>Route Reflector</dd>
        <dt>SDN:</dt><dd>Software Defined Network</dd>
      </dl>
    </section>
    <section numbered="true" toc="default">
      <name>CCDR Architecture in Simple Topology</name>
      <t><xref target="fig-ccdr-arch-simple" format="default"/> illustrates the CCDR architecture for traffic engineering in
      a simple topology. The topology is composed of four devices which are
      SW1, SW2, R1, R2. There are multiple physical links between R1 and R2.
      Traffic between prefix PF11(on SW1) and prefix PF21(on SW2) is normal
      traffic, traffic between prefix PF12(on SW1) and prefix PF22(on SW2) is
      priority traffic that should be treated accordingly.</t>
<figure anchor="fig-ccdr-arch-simple">
   <name>CCDR architecture in simple topology</name>
      <artwork align="left" name="" type="" alt=""><![CDATA[
                               +-----+
                    +----------+ PCE +--------+
                    |          +-----+        |
                    |                         |
                    | BGP Session 1(lo11/lo21)|
                    +-------------------------+
                    |                         |
                    | BGP Session 2(lo12/lo22)|
                    +-------------------------+
PF12                |                         |                 PF22
PF11                |                         |                 PF21
+---+         +-----+-----+             +-----+-----+           +---+
|SW1+---------+(lo11/lo12)+-------------+(lo21/lo22)+-----------+SW2|
+---+         |    R1     +-------------+    R2     |           +---+
              +-----------+             +-----------+
]]></artwork>
</figure>
      <t>In the Intra-AS scenario, IGP and BGP combined with a PCE are
      deployed between R1 and R2. In the inter-AS scenario, only the native
      BGP protocol is deployed. The traffic between each address pair may
      change in real time and the corresponding source/destination addresses
      of the traffic may also change dynamically.</t>
      <t>The key ideas of the CCDR architecture for this simple topology are
      the following:</t>
      <ul spacing="normal">
        <li>Build two BGP sessions between R1 and R2, via the different
          loopback addresses on these routers (lo11 and lo12 are the loopback
          address of R1, lo21 and lo22 are the loopback address of R2).</li>
        <li>Using the PCE, set the explicit peer route on R1 and R2 for BGP
          next hop to different physical link addresses between R1 and R2. The
          explicit peer route can be set in the format of a static route,
          which is different from the route learned from the IGP protocol.</li>
        <li>Send different prefixes via the established BGP sessions. For
          example, send PF11/PF21 via the BGP session 1 and PF12/PF22 via the
          BGP session 2.</li>
      </ul>
      <t>After the above actions, the bi-directional traffic between the PF11
      and PF21, and the bi-directional traffic between PF12 and PF22 will go
      through different physical links between R1 and R2.</t>
      <t>If there is more traffic between PF12 and PF22 that needs assured
      transport, one can add more physical links between R1 and R2 to reach
      the next hop for BGP session 2. In this case, the prefixes that are
      advertised by the BGP peers need not be changed.</t>
      <t>If, for example, there is bi-directional priority traffic from
      another address pair (for example prefix PF13/PF23), and the total
      volume of priority traffic does not exceed the capacity of the
      previously provisioned physical links, one need only advertise the newly
      added source/destination prefixes via the BGP session 2. The
      bi-directional traffic between PF13/PF23 will go through the same
      assigned dedicated physical links as the traffic between PF12/PF22.</t>
      <t>Such a decoupling philosophy of the IGP/BGP traffic link and the
      physical link achieves a flexible control capability for the network
      traffic, satisfying the needed QoS assurance to meet the application's
      requirement. The router needs only support native IP and multiple BGP
      sessions setup via different loopback addresses.</t>
    </section>
    <section numbered="true" toc="default">
      <name>CCDR Architecture in Large Scale Topology</name>
      <t>When the priority traffic spans a large-scale network, such as that
      illustrated in <xref target="fig-ccdr-arch-large" format="default"/>, the multiple BGP sessions cannot be established
      hop by hop within one AS. For such a scenario, we propose using a Route
      Reflector (RR) <xref target="RFC4456" format="default"/> to achieve a similar effect.
      Every edge router will establish two BGP sessions with the RR via
      different loopback addresses respectively. The other steps for traffic
      differentiation are the same as that described in the CCDR architecture
      for the simple topology.</t>
      <t>As shown in <xref target="fig-ccdr-arch-large" format="default"/>, if we select R3 as the RR, every edge router(R1
      and R7 in this example) will build two BGP session with the RR. If the
      PCE selects the dedicated path as R1-R2-R4-R7, then the operator should
      set the explicit peer routes via PCEP protocol on these routers
      respectively, pointing to the BGP next hop (loopback addresses of R1 and
      R7, which are used to send the prefix of the priority traffic) to the
      selected forwarding address.</t>
<figure anchor="fig-ccdr-arch-large">
<name>CCDR architecture in large-scale network</name>
      <artwork name="" type="" align="left" alt=""><![CDATA[
                              +-----+
             +----------------+ PCE +------------------+
             |                +--+--+                  |
             |                   |                     |
             |                   |                     |
             |                +--+---+                 |
             +----------------+R3(RR)+-----------------+
PF12         |                +--+---+                 |         PF22
PF11         |                                         |         PF21
+---+       ++-+          +--+          +--+         +-++       +---+
|SW1+-------+R1+----------+R5+----------+R6+---------+R7+-------+SW2|
+---+       ++-+          +--+          +--+         +-++       +---+
             |                                         |
             |                                         |
             |            +--+          +--+           |
             +------------+R2+----------+R4+-----------+
                          +--+          +--+
]]></artwork>
</figure>
    </section>
    <section numbered="true" toc="default">
      <name>CCDR Multiple BGP Sessions Strategy</name>
      <t>Generally, different applications may require different QoS criteria,
      which may include:</t>
      <ul spacing="normal">
        <li>Traffic that requires low latency and is not sensitive to packet
          loss.</li>
        <li>Traffic that requires low packet loss and can endure higher
          latency.</li>
        <li>Traffic that requires low jitter.</li>
      </ul>
      <t>These different traffic requirements can be summarized in <xref target="tab-traffic-req" format="default"/>.</t>
<table anchor="tab-traffic-req">
<name>Traffic Requirement Criteria</name>
	<thead>
	<tr>
		<th>Prefix Set No.</th>
		<th>Latency</th>
		<th>Packet Loss</th>
		<th>Jitter</th>
	</tr>
	</thead>
	<tbody>
	<tr>
		<td align="center">1</td>
                <td>Low</td>
                <td>Normal</td>
                <td>Don't care</td>
	</tr>
	<tr>
		<td align="center">2</td>
                <td>Normal</td>
                <td>Low</td>
                <td>Don't care</td>
	</tr>
	<tr>
		<td align="center">3</td>
                <td>Normal</td>
                <td>Normal</td>
                <td>Low</td>
	</tr>
	</tbody>
</table>
      <t>For Prefix Set No.1, we can select the shortest distance path to
      carry the traffic; for Prefix Set No.2, we can select the path that has
      end to end under-loaded links; for Prefix Set No.3, we can let traffic
      pass over a determined single path, as no Equal Cost Multipath (ECMP)
      distribution on the parallel links is desired.</t>
      <t>It is almost impossible to provide an End-to-End (E2E) path
      efficiently with latency, jitter, and packet loss constraints to meet
      the above requirements in a large-scale IP-based network only using a
      distributed routing protocol, but these requirements can be met with the
      assistance of PCE, as that described in <xref target="RFC4655" format="default"/> and
      <xref target="RFC8283" format="default"/>. The PCE will have the overall network view,
      ability to collect the real-time network topology, and the network
      performance information about the underlying network. The PCE can select
      the appropriate path to meet the various network performance
      requirements for different traffic.</t>
      <t>The architecture to implement the CCDR Multiple BGP sessions strategy
      is as follows:</t>
      <t>The PCE will be responsible for the optimal path computation for the
      different priority classes of traffic:</t>
      <ul spacing="normal">
        <li>PCE collects topology information via BGP-LS <xref target="RFC7752" format="default"> </xref> and link utilization information via the
          existing Network Monitoring System (NMS) from the underlying
          network.</li>
        <li>PCE calculates the appropriate path based upon the application's
          requirements, and sends the key parameters to edge/RR routers(R1, R7
          and R3 in <xref target="fig-ccdr-arch-multi" format="default"/>) to establish multiple BGP sessions. The loopback
          addresses used for the BGP sessions should be planned in advance and
          distributed in the domain.</li>
        <li>PCE sends the route information to the routers (R1,R2,R4,R7 in
          <xref target="fig-ccdr-arch-multi" format="default"/>) on the forwarding path via PCEP, to build the path to the
          BGP next-hop of the advertised prefixes. The path to these BGP
          next-hop will also be learned via the IGP protocol, but the route
          from the PCEP has the higher preference. Such design can assure the
          IGP path to the BGP next-hop can be used to protect the path
          assigned by PCE.</li>
        <li>PCE sends the prefixes information to the PCC(edge routers that
          have established BGP sessions) for advertising different prefixes
          via the specified BGP session.</li>
        <li>The priority traffic may share some links or nodes, if path the
          shared links or nodes can meet the requirement of application. When
          the priority traffic prefixes were changed but the total volume of
          priority traffic does not exceed the physical capacity of the
          previous E2E path, the PCE needs only change the prefixed advertised
          via the edge routers (R1,R7 in <xref target="fig-ccdr-arch-multi" format="default"/>).</li>
        <li>If the volume of priority traffic exceeds the capacity of the
          previous calculated path, the PCE can recalculate and add the
          appropriate paths to accommodate the exceeding traffic. After that,
          the PCE needs to update the on-path routers to build the forwarding
          path hop by hop.</li>
      </ul>
<figure anchor="fig-ccdr-arch-multi">
   <name>CCDR architecture for Multi-BGP sessions deployment</name>
      <artwork name="" type="" align="left" alt=""><![CDATA[
                          +------------+
                          | Application|
                          +------+-----+
                                 |
                        +--------+---------+
             +----------+SDN Controller/PCE+-----------+
             |          +--------^---------+           |
             |                   |                     |
             |                   |                     |
        PCEP |             BGP-LS|PCEP                 | PCEP
             |                   |                     |
             |                +--v---+                 |
             +----------------+R3(RR)+-----------------+
 PF12        |                +------+                 |         PF22
 PF11        |                                         |         PF21
+---+       +v-+          +--+          +--+         +-v+       +---+
|SW1+-------+R1+----------+R5+----------+R6+---------+R7+-------+SW2|
+---+       ++-+          +--+          +--+         +-++       +---+
             |                                         |
             |                                         |
             |            +--+          +--+           |
             +------------+R2+----------+R4+-----------+
                          +--+          +--+
]]></artwork>
</figure>
    </section>
    <section numbered="true" toc="default">
      <name>PCEP Extension for Critical Parameters Delivery</name>
      <t>The PCEP protocol needs to be extended to transfer the following
      critical parameters:</t>
      <ul spacing="normal">
        <li>Peer information that is used to build the BGP session</li>
        <li>Explicit route information for BGP next hop of advertised
          prefixes</li>
        <li>Advertised prefixes and their associated BGP session.</li>
      </ul>
      <t>Once the router receives such information, it should establish
      the BGP session with the peer appointed in the PCEP message, build the
      end-to-end dedicated path hop-by-hop, and advertise the prefixes that
      are contained in the corresponding PCEP message.</t>
      <t>The dedicated path is preferred by making sure that the explicit
      route created by PCE has the higher priority (lower route preference)
      than the route information created by other dynamic protocols.</t>
      <t>All above dynamically created states (BGP sessions, Explicit route
      and Prefix advertised prefix) will be cleared on the expiration of the
      state timeout interval which is based on the existing Stateful PCE <xref target="RFC8231" format="default"/> and PCECC <xref target="RFC8283" format="default"/> mechanism.</t>
      <t>Regarding the BGP session, it is not different from that configured
      manually or via NETCONF/YANG. Different BGP sessions are used mainly for
      the clarification of the network prefixes, which can be differentiated
      via the different BGP nexthop. Based on this strategy, if we manipulate
      the path to the BGP nexthop, then the path to the prefixes that were
      advertised with the BGP sessions will be changed accordingly. Details of
      communications between PCEP and BGP subsystems in the router's control
      plane are out of scope of this draft.</t>
    </section>
    <section numbered="true" toc="default">
      <name>Deployment Consideration</name>
      <section numbered="true" toc="default">
        <name>Scalability</name>
        <t>In the CCDR architecture, only the edge routers that connect with
        the PCE are responsible for the prefixes advertisement via the
        multiple BGP sessions deployment. The route information for these
        prefixes within the on-path routers is distributed via the BGP
        protocol.</t>
        <t>For multiple domain deployment, the PCE, or the pool of PCEs
        responsible for these domains, needs only to control the edge router
        to build the multiple EBGP sessions; all other procedures are the same
        as within one domain.</t>
        <t>The on-path router needs only to keep the specific policy routes
        for the BGP next-hop of the differentiated prefixes, not the specific
        routes to the prefixes themselves. This lessens the burden of the
        table size of policy based routes for the on-path routers; and has
        more expandability compared with BGP flowspec or Openflow solutions.
        For example, if we want to differentiate 1000 prefixes from the normal
        traffic, CCDR needs only one explicit peer route in every on-path
        router, whereas the BGP flowspec or Openflow solutions need 1000
        policy routes on them.</t>
      </section>
      <section numbered="true" toc="default">
        <name>High Availability</name>
        <t>The CCDR architecture is based on the use of the native IP
        protocol. If the PCE fails, the forwarding plane will not be impacted,
        as the BGP sessions between all the devices will not flap and the
        forwarding table remains unchanged.</t>
        <t>If one node on the optimal path fails, the priority traffic will
        fall over to the best-effort forwarding path. One can even design
        several paths to load balance/hot-standby the priority traffic to meet
        a path failure situation.</t>
        <t>For ensuring high availability of a PCE/SDN-controllers
        architecture, an operator should rely on existing high availability
        solutions for SDN controllers, such as clustering technology and
        deployment.</t>
      </section>
      <section numbered="true" toc="default">
        <name>Incremental deployment</name>
        <t>Not every router within the network needs to support the necessary
        PCEP extension. For such situations, routers on the edge of a domain
        can be upgraded first, and then the traffic can be prioritized between
        different domains. Within each domain, the traffic will be forwarded
        along the best-effort path. A service provider can selectively upgrade
        the routers on each domain in sequence.</t>
      </section>
      <section numbered="true" toc="default">
        <name>Loop Avoidance</name>
        <t>A PCE needs to assure calculation of the E2E path based on the
        status of network and the service requirements in real-time.</t>
        <t>The PCE needs to consider the explicit route deployment order (for
        example, from tail router to head router) to eliminate any possible
        transient traffic loop.</t>
      </section>
      <section numbered="true" toc="default">
        <name>E2E Path Performance Monitoring</name>
        <t>It is necessary to deploy the corresponding E2E path performance
        monitoring mechanism to keep assure that the delay, jitter or packet
        loss index meet the original path performance aim. The performance
        monitoring results should feedback to the PCE to let it accomplish the
        re-optimize process, send the update control message to related PCC if
        necessary. Traditional OAM methods(ping, trace) can be used.</t>
      </section>
    </section>
    <section numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>The setup of BGP sessions, prefix advertisement, and explicit peer
      route establishment are all controlled by the PCE. See <xref target="RFC4271" format="default"/> and <xref target="RFC4272" format="default"/> for BGP security
      considerations. Security consideration part in <xref target="RFC5440" format="default"/>
      and <xref target="RFC8231" format="default"/> should be considered. To prevent a bogus
      PCE sending harmful messages to the network nodes, the network devices
      should authenticate the validity of the PCE and ensure a secure
      communication channel between them. Mechanisms described in <xref target="RFC8253" format="default"/> should be used.</t>
      <t>The CCDR architecture does not require changes to the forwarding
      behavior of the underlay devices. There are no additional security
      impacts on these devices.</t>
    </section>
    <section numbered="true" toc="default">
      <name>IANA Considerations</name>
      <t>This document does not require any IANA actions.</t>
    </section>
    <section numbered="true" toc="default">
      <name>Acknowledgement</name>
      <t>The author would like to thank <contact fullname="Deborah Brungard"/>, <contact fullname="Adrian Farrel"/>,
      <contact fullname="Vishnu Beeram"/>, <contact fullname="Lou Berger"/>, <contact fullname="Dhruv Dhody"/>, <contact fullname="Raghavendra Mallya"/>, <contact fullname="Mike
      Koldychev"/>, <contact fullname="Haomian Zheng"/>, <contact fullname="Penghui Mi"/>, <contact fullname="Shaofu Peng"/>, <contact fullname="Donald Eastlake"/>,
      <contact fullname="Alvaro Retana"/>, <contact fullname="Martin Duke"/>, <contact fullname="Magnus Westerlund"/>, <contact fullname="Benjamin Kaduk"/>, <contact fullname="Roman
      Danyliw"/>, <contact fullname="Éric Vyncke"/>, <contact fullname="Murray Kucherawy"/>, <contact fullname="Erik Kline"/>, and <contact fullname="Jessica Chen"/> for
      their supports and comments on this draft.</t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4271.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4272.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.4456.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.7752.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.8253.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8283.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.8735.xml"/>
      </references>
    </references>
  </back>
</rfc>
