<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="rfc7991bis.rnc"?>
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>

<rfc
      xmlns:xi="http://www.w3.org/2001/XInclude"
      category="std"
      ipr="trust200902"
      submissionType="IETF"
      xml:lang="en"
      version="3"
      docName="draft-han-pce-fgmtn-setup-00">

  <front>
    <title abbrev="draft-han-pce-fgmtn-setup-00"> Path Computation Element Communication Protocol (PCEP) Extension for Fine Granularity Metro Transport Network (fgMTN) Path Setup</title>
    <!-- AUTHORS -->
    <author fullname="Liuyan Han"  initials="L." surname="Han">
      <organization abbrev="CMCC">
        China Mobile
      </organization>
      <address>
        <postal>
          <street>No.32 Xuanwumen west street</street>
          <city>Beijing</city>
          <code>100053</code>
          <country>China</country>
        </postal>
        <phone></phone>
        <email>hanliuyan@chinamobile.com</email>
        <uri></uri>
      </address>
    </author>

    <author fullname="Haibin Huang" initials="H." surname="Huang">
      <organization abbrev="CMCC">
        China Mobile
      </organization>
      <address>
        <postal>
          <street>No.32 Xuanwumen west street</street>
          <city>Beijing</city>
          <code>100053</code>
          <country>China</country>
        </postal>
        <phone></phone>
        <email>huanghaibin@chinamobile.com</email>
        <uri></uri>
      </address>
    </author>

	<author fullname="Minxue Wang"  initials="M." surname="Wang">
      <organization abbrev="CMCC">
        China Mobile
      </organization>
      <address>
        <postal>
          <street>No.32 Xuanwumen west street</street>
          <city>Beijing</city>
          <code>100053</code>
          <country>China</country>
        </postal>
        <phone></phone>
        <email>wangminxue@chinamobile.com</email>
        <uri></uri>
      </address>
    </author>


    <author fullname="Jin Zhou" initials="J." surname="Zhou">
      <organization abbrev="ZTE">
        ZTE Corporation
      </organization>
      <address>
        <postal>
          <street></street>
          <city>Shenzhen</city>
          <code></code>
          <country>China</country>
        </postal>
        <email>zhou.jin6@zte.com.cn</email>
        <uri></uri>
      </address>
    </author>

    <author fullname="Li Zhang" initials="L." surname="Zhang">
      <organization abbrev="Huawei">
        Huawei
      </organization>
      <address>
        <postal>
          <street>Beiqing Road</street>
          <city>Beijing</city>
          <code></code>
          <country>China</country>
        </postal>
        <phone></phone>
        <email>zhangli344@huawei.com</email>
        <uri></uri>
      </address>
    </author>

    <workgroup>PCE Working Group</workgroup>

    <abstract>

      <t>
        This document focuses on the PCEP extension for G.8312 fine granularity metro transport network. It provides the PCEP considerations on the path setup requirements of PCEP extension in fgMTNP.
    </t>

    </abstract>

  </front>

  <middle>

    <section anchor="introduction" title="Introduction">
	<t>
        With the development of transport networks, TDM-based Metro transport network (MTN) is being extended to fine granularity, enabling the provisioning of flexible N*10 Mbps bandwidths for clients.
    </t>	
	<t>	
		ITU-T published a series of fgMTN Recommendations which includes the fgMTN overview <xref target="ITU-T_G.8312.20"/>, the fgMTN layer architecture defined in <xref target="ITU-T_G.8310"/>, fgMTN interface defined in <xref target="ITU-T_G.8312"/>, fgMTN equipment defined in <xref target="ITU-T_G.8321"/>. The fgMTNP serves as a client of the MTN Path layer, providing sub-1G services for Ethernet MAC frames	and CBR clients. Compared to conventional MTNP (N*5Gbps) bandwidth, fgMTNP significantly increases the number of LSPs in metro network.
	</t>
	<t>
      Managing such a massive number of fine-grained channels presents major control and management challenges, especially in efficiently establishing and maintaining numerous LSPs. A PCE-based path computation mechanism help to address these issues.
	</t>
	<t>
		This document specifies a set of extensions to carry the fgMTNP path information in PCEP message.
    </t>		
    </section>
	
	<section title="Requirements Language">
        <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"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.
          </t>
    </section>

	<section anchor="terminology">
      <name>Terminology</name>

		  <t>fgCS:</t>
              <ul empty="true">
              <li>
                  <t>Fine Grain Calendar Slot</t>
              </li>
              </ul>	
			  
		  <t>fgMTNP:</t>
              <ul empty="true">
              <li>
                  <t>Fine Grainularity Metro Transport Network Path Layer</t>
              </li>
              </ul>	  
	      
		  <t>MTN:</t>
              <ul empty="true">
              <li>
                  <t>Metro Transport Network</t>
              </li>
              </ul>
	</section>

	<section anchor="overview" title="Overview of PCEP Extension in fgMTNP Network">
	    <t>
			  As described in <xref target="I-D.han-pce-path-computation-fg-transport"/>, to address the massive fgMTN path computation issues, 
			  it's necessary to hybrid centralized control and distributed control architecture. The centralized control PCE is used to calculate
			  the routing and left the resource allocation to device itself. The path computation results are delivered to ingress node to let 
			  distributed control protocols between devices to perform operations of resource (e.g. fine grain calendar slots) allocation and cross
			  connnection configuration.
		</t>
   <t>
      <xref target="RFC5440"/> describes the Path Computation Element Communication Protocol (PCEP) for communication between a Path Computation Client (PCC) and a Path Computation Element (PCE). 
	  A PCE computes paths based on various constratints and optimization criteria. <xref target="RFC8231"/> specifies PcRpt and PCUpd 
	  messages to enable stateful control of TE LSPs, whereby LSPs are configured on the PCC and control over them is delegated to the PCE. 
	  <xref target="RFC8281"/> introduces the PCInitiated message which a PCE can send to a PCC to request the initiation or deletion of an LSP. 
	  All of the PCEP mechanism can be applied to path computation of fgMTNP layer network.
   </t>
   
    <figure align="left" title="Scenario of fgMTNP channel" anchor="fig1">
    <artwork><![CDATA[
       +------------------------------+
       |             PCE              |
       +------------------------------+
      /                                \  
      |                                 |
      |                                 |
    +-+-+    +--+    +--+     +--+    +-+-+ 
----|PE1+----+P1+----+P2+-----+P3+----+PE2+----
    +-+-+    +--+    +--+     +--+    +-+-+
      |                                 | 
      +-----------fgMTNP channel--------+ 
]]></artwork>
    </figure>
	    <t>
			  As shown in Figure 1, the PCE communication protocol can be extended to meet the communication between PCE and PCC according to <xref target="RFC4655"/>.
			  The path calculation is in a centralized way and sends path information to the PE1. At the same time, fgMTN LSP routing information is carried by the 
			  explicit route object (ERO) in the PCEP message. The ERO consists of a series of sub-objects. 
		</t>
		<t>
		      Then, the fgMTNP channel is established between devices through control signaling. The topology and fgCS resource information of devices are collected and reported
			  to PCE through traditional IGP protocols, BGP-LS, or centralized PCEP-LS.
		</t>
	    <t>
		      For the fgCS resource allocation, since there may be as many as 480 or 960 serices or 480 or 960 fgCSs for one fgMTNP, centralized PCE resource allocation would 
			  be inefficient. Moreover, given the flexibility of fgMTN channel, it may be frequently created, deleted, or modified. The mechanism of device itself
			  allocation may be appropriate for the fgCSs allocation.
		</t>

   <t> 
      The extensions specified in this document complement the existing PCEP specifications to support fgMTN paths. 
	  As such, the PCEP messages (e.g., PCReq, PCRep, PCRpt, PCUpd, PCInitiate, etc.) are formatted according to <xref target="RFC5440"/>, 
	  <xref target="RFC8231"/>, <xref target="RFC8281"/>, and any other applicable PCEP specifications.
   </t>
 	</section>

    <section anchor="objects" title="Object Formats">

	    <!-- 4.1-->
        <section anchor="object-open" title="The OPEN Object">
		    <section anchor="object-open-setup-type" title="The Path Setup Type Capability TLV">
			    <t>
				    <xref target="RFC8408"/> defines the PATH-SETUP-TYPE-CAPABILITY TLV for use in the OPEN object. 
					The fgMTN paths computed by a PCE can be represented in an ENO as an ordered sets of adjacency identity.
				</t>
			</section>
			
			<section anchor="object-open-capability" title="The fgMTN PCE Capability Sub-TLV">
			    <t>
				    This document defines a new Path Setup Type (PST) for fgMTNP, as follows:
				</t>	
				<t>
					PST = TBD1: Traffic-engineering path is set up for fgMTN LSP.
				</t>	
				<t>				
					A PCEP speaker SHOULD indicate its support of the function described in this document by sending a PATH-SETUP-TYPE-CAPABILITY TLV in the OPEN
					object with this new PT included in the PST list.
				</t>				
			</section>
		</section>

		<!-- 4.2-->	
		<section anchor="object-srp" title="The RP/SRP Object">
            <t>
               To set up an fgMTN LSP, the RP or SRP object MUST include the PATH-SETUP-TYPE TLV, specified in <xref target="RFC8408"/>, with the PST set to TBD1.
           </t>
		</section>

		<!-- 4.3-->	
		<section anchor="object-lsp" title="The LSP Object">
            <t>
               The LSP object specified in <xref target="RFC8231"/> can be used for fgMTN LSP. The 12bits Flags are reused for fgMTN.
			   IPV4-LSP-IDENTIFIER TLV and IPV6-LSP-IDENTIFIER TLV describes the fgMTN channel which includes the IPv4 or IPv6 Tunnel Sender Address 
			   indicating the ingress node of fgMTN channel, Extended Tunnel ID which is unique in the source node, and the 
			   IPv4 or IPv6 Tunnel Endpoint Address indicating the egree node of fgMTN channel. These three tuple identifies an fgMTN channel.
            </t>
      <figure align="left" title="IPV4-LSP-IDENTIFIERS TLV Format" anchor="fig2">
<artwork><![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=18                |     Length=16                 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+		
|             fgMTNP IPv4 Tunnel Ingress Address                |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+	
|         LSP ID                |     Tunnel ID=0               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  
|                fgMTNP Extended Tunnel ID                      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                fgMTNP IPv4 Tunnel Egress Address              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

]]></artwork>
      </figure>
	  <t> As shown in Figure 2, this is an example of IPV4-LSP-IDENTIFIERS TLV format. The IPV6-LSP-IDENTIFIERS TLV format follows 
	  the IPV6-LSP-IDENTIFIERS TLV format of Figure 13 in <xref target="RFC8231"/></t>
		</section>
		
		<!-- 4.4-->	
		<section anchor="object-ero" title="The ERO Object">
        <t>
          During the path calculation of each fgMTN path, the server layer port for each fgMTN is clearly defined. The 5Gbps port of MTN layer can be configured either statically through network management or via other approach. Regardless of the configuration method deployed, the server layer 5Gbps port supporting fine granalarity mode is unique and unambiguous within a node. 
          </t>
          <t>
          In PCEP messages, fgMTN LSP route information is carried in the Explicit Route Object (ERO), which consists of a strictly sequence of subobjects. 
		  The fgMTNP paths computed by a PCE is represented in an ERO as an strict ordered set of ports id, without IP addresses. 
		  The "fgMTN-ERO subobject" that is capable of carrying an unique adjacency id.
          </t>
		   <section anchor="subobject-ero" title="FgMTN-ERO Subobject">
		   <t>
			    The ERO content is defined in <xref target="RFC5440"/> to support the fgMTN LSPs. Each Label ERO subobject is defined in <xref target="RFC3473"/> represents each hop of MTN client id for the fgMTN LSP.
			</t>
      <figure align="left" title="fgMTN-ERO Subobject Format" anchor="fig3">
<artwork><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|L|     Type    |     Length    |U|   Reserved  |    C-Type=0   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+		
|                         Identifier                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+    			   
]]></artwork>
      </figure>
<t> The L bit flag is 0 because fgMTNP is a strict path. The C-Type is not used. </t>
<t> The identifier is a unique identifier for server layer port (5Gbps MTN port or 10GE interface) that is enabled in fine grain mode.</t>

		</section>
		</section>

		<!-- 4.5-->	
		<section anchor="object-bandwidth" title="The BANDWIDTH Object">
		    <t>
			    The BANDWIDTH object defined in <xref target="RFC8779"/> can be applied to fgMTN. The Bw Spec Type field determines which type of bandwidth is represented by the object. 
			</t>
			
			<t>
				This document defines a new Bw Spec Type for MTN-TDM:
			</t>
			<t>
				    Bw Spec Type = TBD2: MTN-TDM	
      </t>      
			<t>
      		In the BANDWIDTH object body, the 32bits "Generalized bandwidth" field can be reused to describe the Bw Spec. The format of the Bw Spec is shown as follows:
			</t>
      <figure align="left" title="Bw Spec Format" anchor="fig4">
<artwork><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  Signal Type  |    Reserved   |               NCS             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+		   			   
]]></artwork>
      </figure>
  			<dl>
			   <dt>Signal Type : 8 bits</dt>
			   <dd>
 			       This value indicates the fgMTN LSP.
			   </dd>
			   <dt>NCS (Number of Calendar Slots): 16 bits</dt>
			   <dd>
			        This field indicates the number of fgCSs of this fgMTNP.   
			   </dd>					
			</dl>
		</section>
		
    </section>
	
    <section anchor="deployment" title="Deployment Considerations">
    </section>
	
	<section anchor="security" title="Security Considerations">
    </section>

	<section anchor="iana" title="IANA Considerations">

      <t>
        This document requests IANA to make the following allocations from this sub-registry.
      </t>
    <table>
     <name>IANA Considerations</name>
     <thead>
       <tr>
          <th>Value</th>
          <th>Description</th>
          <th>Reference</th>
       </tr>
     </thead>
     <tbody>
       <tr>
          <td>TBD1</td>
          <td>Path Setup Type (PST) for fgMTNP</td>
          <td>This document</td>
       </tr>       
       <tr>
          <td>TBD2</td>
          <td>Bw Spec Type for MTN-TDM</td>
          <td>This document</td>
       </tr>

     </tbody>
   </table> 
    </section>
	
    <section anchor="acknowledgments" title="Acknowledgments">
      <t>
        TBD.
      </t>
    </section>

  </middle>

  <back>
  
   <references title="Normative References">
   
   	<reference anchor="ITU-T_G.8312.20">
        <!-- the following is the minimum to make xml2rfc happy -->

        <front>
          <title>ITU-T G.8312.20:Overview of fine grain MTN;
          01/2024</title>

          <author>
            <organization>ITU-T</organization>
          </author>

          <date month="January" year="2024"/>
        </front>

        <seriesInfo name="" value="https://www.itu.int/rec/T-REC-G.8312.20"/>
    </reference>
		
    <reference anchor="ITU-T_G.8310">
        <!-- the following is the minimum to make xml2rfc happy -->

        <front>
          <title>ITU-T G.8310: Architecture of the metro transport network;
          01/2024</title>

          <author>
            <organization>ITU-T</organization>
          </author>

          <date month="March" year="2025"/>
        </front>

        <seriesInfo name="" value="https://www.itu.int/rec/T-REC-G.8310"/>
      </reference>

    <reference anchor="ITU-T_G.8312">
        <!-- the following is the minimum to make xml2rfc happy -->

        <front>
          <title>ITU-T G.8312:Interfaces for metro transport networks;
          01/2024</title>

          <author>
            <organization>ITU-T</organization>
          </author>

          <date month="January" year="2024"/>
        </front>

        <seriesInfo name="" value="https://www.itu.int/rec/T-REC-G.8312"/>

    </reference>
    
    <reference anchor="ITU-T_G.8321">
        <!-- the following is the minimum to make xml2rfc happy -->

        <front>
          <title>ITU-T G.8321:Characteristics of metro transport network equipment functional blocks;
          </title>

          <author>
            <organization>ITU-T</organization>
          </author>

          <date month="" year=""/>
        </front>

        <seriesInfo name="" value="https://www.itu.int/rec/T-REC-G.8321"/>

    </reference>
     <?rfc include="reference.RFC.4655"?>
     <?rfc include="reference.RFC.5440"?> 
     <?rfc include="reference.RFC.2119"?>
     <?rfc include="reference.RFC.8174"?>
     <?rfc include="reference.RFC.8231"?>
     <?rfc include="reference.RFC.8281"?>
     <?rfc include="reference.RFC.8408"?>	 
     <?rfc include="reference.RFC.3473"?>	
     <?rfc include="reference.RFC.8779"?>	
     <?rfc include='reference.I-D.han-pce-path-computation-fg-transport'?> 

	</references>

  </back>

</rfc>
