<?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-xiong-lsr-time-resource-00"
      ipr="trust200902"
      obsoletes=""
      updates=""
      submissionType="IETF"
      xml:lang="en"
      tocInclude="true"
      tocDepth="4"
      symRefs="true"
      sortRefs="true"
      version="3">

 <!-- ***** FRONT MATTER ***** -->

 <front>

   <title abbrev="IGP Extensions for Time-based Resource">IGP Extensions for Time-based Resource</title>
    <seriesInfo name="Internet-Draft" value="draft-xiong-lsr-time-resource-00"/>

   <author fullname="Quan Xiong" initials="Q" surname="Xiong">
      <organization>ZTE Corporation</organization>
      <address>
        <postal>
          <street/>
         <city></city>
          <region/>
          <code/>
          <country>China</country>
        </postal>
        <phone></phone>
        <email>xiong.quan@zte.com.cn</email>
     </address>
    </author>

	<author fullname="Xiangyang Zhu" initials="X"  surname="Zhu">
      <organization>ZTE Corporation</organization>
      <address>
        <postal>
          <street/>
         <city></city>
          <region/>
          <code/>
          <country>China</country>
        </postal>
        <phone></phone>
        <email>zhu.xiangyang@zte.com.cn</email>
     </address>
    </author>

   <area>Routing</area>
    <workgroup>LSR</workgroup>
   <keyword></keyword>
   
   <abstract>
    <t>This document proposes the time-based resources and the
    distribution by IGP extensions for traffic engineering in
	control plane to simplify resource management and scheduling 
	in certain networks requiring the latency guarantees.</t>
	  
    </abstract>
  </front>
  <middle>
    <section numbered="true" toc="default"> <name>Introduction</name>
	
    <t>According to <xref target="RFC8655" pageno="false" format="default"/>, 
	Deterministic Networking (DetNet) operates at the IP layer and delivers 
	service which provides extremely low data loss rates and bounded latency 
	within a network domain. The bounded latency indicates the minimum and 
	maximum end-to-end latency from source to destination and bounded jitter
	(packet delay variation). DetNet uses resource allocation mechanism
	of Traffic Engineering (TE) technology to ensure a certain level of QoS,
	such as eliminating the contention loss and reducing jitter. </t>
	
	<t>The traditional resource reservation method only considers 
	the bandwidth availability of the BE (Best Effort) flow, which 
	means that the reserved bandwidth meets the peak information 
	rate (PIR) of the flow at the macro level. Bandwidth is generally
	used to meet the average rate, representing the maximum amount 
	of bits within one second. But in large-scale network, there are
	problems such as large amount of dynamic concurrent traffic, 
	complex topology, and long-distance propagation latency. Even the
	bandwidth resources meet the transmission requirements at the 
	macro level, it may not guarantee the bounded latency due the 
	bursts of massive traffic flows.</t>
	
	<t>As per <xref target="I-D.ietf-detnet-scaling-requirements"></xref>,
    the enhanced DetNet needs to support multiple time-based queuing
	mechanisms to provide deterministic latency. <xref target="I-D.ietf-detnet-dataplane-taxonomy"></xref> 
	has discussed the classification criteria of many variations and 
    extensions of queuing mechanisms such as ECQF [IEEE 802.1Qdv], 
    Multi-CQF <xref target="I-D.dang-queuing-with-multiple-cyclic-buffers"></xref>,
    TCQF <xref target="I-D.eckert-detnet-tcqf"></xref>,
    CSQF <xref target="I-D.chen-detnet-sr-based-bounded-latency"></xref>,
    TQF <xref target="I-D.peng-detnet-packet-timeslot-mechanism"></xref>,
    C-SCORE <xref target="I-D.joung-detnet-stateless-fair-queuing"></xref>,
    EDF<xref target="I-D.peng-detnet-deadline-based-forwarding"></xref>,
    gLBF <xref target="I-D.eckert-detnet-glbf"></xref> and so on.</t>
	
	<t>As per <xref target="I-D.ietf-detnet-dataplane-taxonomy"></xref>,
	the enhancement solutions can be a combination of multiple data plane
    functional entities, such as regulators/shapers, queues, and schedulers.
    It requires enough bandwidth resources in a specific timeslot, 
	cycle or authorization time zone to guarantee the bounded 
	delay and jitter. So it is required to provide provisioning of 
	fine-grained reservation for time-based resources which is a 
	combination of bandwidth, buffer and time-based regulators/shapers, 
	queues, and schedulers.</t>
   
    <t>This document proposes the time-based resources and the
    distribution by IGP extensions for traffic engineering in
	control plane to simplify resource management and scheduling 
	in certain networks requiring the latency guarantees.</t>
	
 
      <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">RFC 2119</xref>.</t>
	   
      </section>
	
    <section anchor="Terminology" numbered="true" toc="default"> <name>Terminology</name>
	<t>The terminology is defined as <xref target="RFC8655" pageno="false" format="default"/> and
	<xref target="RFC9320" pageno="false" format="default"/>.</t>
     
    </section>
	</section>
	
   <section numbered="true" toc="default"><name>Time-based Resource Container</name>
   
   <t>The queuing and scheduling mechanism needs to combine 
   corresponding buffer and bandwidth requirements to ensure 
   the transmission delay and jitter of deterministic flows. 
   This document lists the bandwidth requirements for different 
   queuing mechanisms as following.</t>
   
   <ul spacing="normal">
   <li>For the ATS/CBS/C-SCORE mechanism, different traffic 
   classes (such as class A, class B) can allocate initial burst 
   and bandwidth, and then obtain the upper bound of each
   hop delay for each traffic class based on the "rate and delay" 
   service curve. </li>
   
   <li>For the CQF/CSQF/TCQF mechanism, different cycle 
   levels can allocate initial bandwidth resource, and the 
   upper bound of each hop delay at each cycle level
   is related to the cycle length. </li>
   
   <li>For the EDF mechanism, different delay levels can 
   allocate initial burst resources and bandwidth resource, 
   satisfying schedulability conditions. Each delay 
   level determines the upper bound of delay per hop.</li>
   
   <li>For the TQF mechanism, it has an initial burst
   resource for each slot number during the scheduling cycle, 
   which does not exceed the length of the slot multiplied by 
   the link bandwidth. The upper bound of each hop delay depends
   on the offset between the incoming slot and the reserved
   outgoing slot. </li>
   </ul>
   
   <t>It is required to provide provisioning of fine-grained 
   reservation for time-based resources which is a combination 
   of bandwidth buffer and time-based regulators/shapers, queues, 
   and schedulers. This can be approached with a tight control 
   of the deterministic resources to maintain the amount of traffic 
   within a budgeted volume of data per unit of time that fits the 
   deterministic capabilities of the underlying network, and the use
   of time-based resources (bandwidth and buffers) per circuit, and
   by shaping and scheduling the packets at every hop.</t>

   <t>This document defines the Time-based Resources Container (TRC) 
   which is the virtual entity being used for link or node to provide
   the time-based resources with deterministic capabilities by 
   resolving resource conflicts between different levels. The 
   time-based resources container indicates the transmit data
   size per unit of time. The container indicates the transmitting
   bits per scheduling timeslot and contains the corresponding 
   scheduling resources reserved to guarantee the capability of 
   deterministic link and it may include queuing, buffer or bandwidth. </t>
	
   </section>
	 
<section numbered="true" toc="default"> <name>ISIS Extensions of Time-based Resources</name>
 

<section numbered="true" toc="default"> <name>Time-based Resources Sub-TLV</name> 
	  
	<figure title="Time-based Resources Sub-TLV" align="center" suppress-title="false" alt="" width="" height="">
         <artwork align="center" xml:space="preserve" name="" type="" alt="" width="" height="">	
   
   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              | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  
   |           MaxReservableTimeResourcesBandwidth               |  
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                       Time Unit Length                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                       Time Unit Number                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+  
   ~                        Sub-sub-TLV                          ~
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   
   	   </artwork>
    </figure>
	
	 <t>where:</t>
 
 	 <ul spacing="normal">
	 
	 <li>Type: Set to TBD1.</li>
	 
	 <li>Length: Contains the total length of the sub-TLV in octets.  
	 The Length MUST be at least 8 and MUST be a multiple of 4.</li>
	
	 <li>MaxReservableTimeResourcesBandwidth: indicates the maximum 
	 bandwidth which can be reserved for this time-based resources 
	 container. </li>
	 
	 <li>Time Unit Length: indicates the length of the time units 
	 in the time-based resources container.</li>
	 
	 <li>Time Unit Number: indicates the number of the time units
	  in the time-based resources container.</li> 
	 
	 </ul>
	 
	<t>A new IS-IS Time Unit Sub-sub-TLV is defined and the format 
	is as shown in the following figure.</t>	
 
    <figure title="Time Unit Sub-sub-TLV" align="center" suppress-title="false" alt="" width="" height="">
      <artwork align="center" xml:space="preserve" name="" type="" alt="" width="" height="">	
   
   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              | 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Time Unit ID            |          Reserved             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                          AvailbleTimeUnitSize               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   
   	   </artwork>
    </figure>
	
	 <t>where:</t>
 
 	 <ul spacing="normal">
	 
	 <li>Type: Set to TBD2.</li>
	 
	 <li>Length: Contains the total length of the sub-sub-TLV in octets.  
	 The Length MUST be at least 8 and MUST be a multiple of 4.</li>
	
	 <li>Time Unit ID: indicates the identifier of the time unit.</li>
	 
	 <li>AvailbleTimeUnitSize: indicates availble size of this 
	 time unit which can be reserved. </li>
	 </ul>
 
	 
</section>
</section>

	
<section numbered="true" toc="default"> <name>OSPF Extensions of Time-based Resources</name>
   <t>TBA</t>
</section>

   
   <section  numbered="true" toc="default"> <name>Security Considerations</name>
   
   <t> Security considerations for DetNet are covered in the DetNet
   Architecture <xref target="RFC8655"></xref> and DetNet controller plane
   <xref target="I-D.ietf-detnet-controller-plane-framework"></xref> 
   and DetNet security considerations <xref target="RFC9055"></xref>. The 
   security considerations specified in <xref target="RFC5304"></xref> 
   are also applicable to the IGP procedures defined in this document.</t>
   
   </section>
   <section numbered="true" toc="default"> <name>IANA Considerations</name>
   <t>IANA is requested to register the following sub-TLVs
	in the "Sub-TLVs for TLVs 22, 23, 141, 222,and 223" registry:</t>
	
<artwork><![CDATA[

    Type    Description
   -----------------------------------------------
    TBD1    Time-based Resources Sub-TLV
    TBD2    Time Unit Sub-sub-TLV
]]></artwork>
   </section>
	
   <section numbered="true" toc="default"> <name>Acknowledgements</name>
   <t>The authors would like to acknowledge Aihua Liu, Bin Tan for 
   the thorough review and very helpful comments.</t>
   </section> 
   
  </middle>
  
  <!--  *****BACK MATTER ***** -->

 <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.8174.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8664.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8655.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.9320.xml"/>	
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5304.xml"/>	
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.9055.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-dataplane-taxonomy.xml"/>		
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-scaling-requirements.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-controller-plane-framework.xml"/>	 
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-eckert-detnet-tcqf.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-dang-queuing-with-multiple-cyclic-buffers.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-peng-detnet-deadline-based-forwarding.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-peng-detnet-packet-timeslot-mechanism.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-chen-detnet-sr-based-bounded-latency.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-joung-detnet-stateless-fair-queuing.xml"/> 
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-eckert-detnet-glbf.xml"/> 
		
      </references>
    </references>
 
 </back>
</rfc>
