<?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="info"
      docName="draft-xiong-detnet-flow-aggregation-05"
      ipr="trust200902"
      obsoletes=""
      updates=""
      submissionType="IETF"
      xml:lang="en"
      tocInclude="true"
      tocDepth="4"
      symRefs="true"
      sortRefs="true"
      version="3">

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

 <front>

   <title abbrev="Framework for Flow Aggregation in Scaling Deterministic Networking (DetNet)">Framework for Flow Aggregation in Scaling Deterministic Networking (DetNet)</title>
    <seriesInfo name="Internet-Draft" value="draft-xiong-detnet-flow-aggregation-05"/>

   <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="Tianji Jiang" initials="T" surname="Jiang">
      <organization>China Mobile</organization>
      <address>
        <postal>
          <street/>
         <city></city>
          <region/>
          <code/>
          <country></country>
        </postal>
        <phone></phone>
        <email>tianjijiang2012@gmail.com</email>
     </address>
    </author>

   <author fullname="Jinoo Joung" initials="J" surname="Joung">
      <organization>Sangmyung University</organization>
      <address>
        <postal>
          <street/>
         <city></city>
          <region/>
          <code/>
          <country></country>
        </postal>
        <phone></phone>
        <email>jjoung@smu.ac.kr</email>
     </address>
    </author>

    <author fullname="Carlos J. Bernardos" initials="C.J." role="editor" surname="Bernardos">
      <organization>Universidad Carlos III de Madrid</organization>
      <address>
        <postal>
          <street>Av. Universidad 30</street>
          <city>Leganes</city>
          <region>Madrid</region>
          <code>28911</code>
          <country>Spain</country>
        </postal>
        <phone>+34 91624 6235</phone>
        <email>cjbc@it.uc3m.es</email>
        <uri>http://www.it.uc3m.es/cjbc</uri>
      </address>
    </author>	
	
	

   <area>Routing</area>
    <workgroup>DetNet</workgroup>
   <keyword></keyword>
   
   <abstract>
    <t>
	
This document provides a framework and requirements for flow aggregation 
in scaling Deterministic Networking (DetNet) <xref target="I-D.ietf-detnet-scaling-requirements" pageno="false" format="default"/>.
It describes aggregation scenarios, benefits, 
and challenges in scaling networks, and derives high-level requirements applicable across 
different DetNet data plane technologies. The framework also discusses flow aggregation 
enhancement considerations including classification, identification, coordination, admission 
control and resource allocation. As an illustrative example, it explores how these concepts 
could apply to 5GS systems acting as logical DetNet nodes. 
This document is informational and complementary to existing DetNet specifications.	  
	
	</t>

	  
    </abstract>
  </front>
  <middle>
    <section numbered="true" toc="default"> <name>Introduction</name>
	  
	  <t>The <xref target="RFC8655" pageno="false" format="default"/> 
      clearly states that Deterministic Networking (DetNet) operates at the IP layer 
	  and delivers service which provides extremely low data loss rates and bounded 
	  latency. The DetNet data plane must provide the aggregation of DetNet flows
	  in order to support larger numbers of DetNet flows and improve 
	  scalability by reducing the per-hop states. The <xref target="RFC8938" pageno="false" format="default"/> introduces
      that the flow aggregation is the ability to aggregate individual flows along with
      their associated resource control into a large aggregate. It is recommended
      that the DetNet flow aggregation be enabled for compatible flows with the same 
      or very similar QoS and CoS characteristics via the use of wildcards, 
      masks, prefixes, and ranges. It also suggests the reduction of per-hop
      states help avoid the per DetNet-flow specific state maintenance in a transit 
      node. It further provides arguments on how DetNet services might be realized
      in term of delay bound, delay jitter and bandwidth provisioning. Furthermore, the 
	  <xref target="RFC8964" pageno="false" format="default"/> has proposed and 
	  expanded two methods of flow aggregation, one being the aggregation via LSP 
	  hierarchy and the other to aggregate DetNet flows as a new combined DetNet flow.</t>

	  <t>For enhanced DetNet, <xref target="I-D.ietf-detnet-scaling-requirements" pageno="false" format="default"/>
	  has described the data plane enhancement requirements such as the aggregated flow 
	  identification in section 4.1. For example, explicit aggregated flow identification
	  in IPv6 networks and the flow identification with service-level aggregation 
	  should be supported. In scaling networks, it also should consider the 
	  aggregated flows over multi-domains and achieve different levels of 
	  co-existed applications with different SLAs requirements which requiring the
	  fine-grained QoS provisioning through flow aggregation. Moreover, the
	  aggregated flows still requires to improve the scalability to avoid the large
	  amount of control signaling and the states maintaining of DetNet flows in enhanced 
	  DetNet.</t>

	  <t>This document describes the specific requirements of flow aggregation
	  in enhanced DetNet and provides the enhancement considerations. It also 
      discusses the realization of DetNet flow aggregation for 5GS as well. </t>
	  
      <section numbered="true" toc="default"><name>Motivation</name>

      <t>This framework document is informational and is intended to complement, 
	  not replace, existing DetNet data plane specifications <xref target="RFC8938" pageno="false" format="default"/> 
	  and <xref target="RFC8964" pageno="false" format="default"/>. 
	  The aggregation mechanisms defined in existing DetNet standards remain normative.</t>

      <t>The objectives of this framework are:</t>
	  
      <t>- To provide a structured analysis of the common challenges and motivations for flow aggregation in large-scale DetNet</t>
	  
      <t>- To illustrate the requirements of flow aggregation for large-scale DetNet deployments</t>
	  
      <t>- To refine the enhanced considerations of flow aggregation that transcend specific data plane implementations</t>

      <t>In summary, this draft serves as the starting reference document that revolves around the fundamentals of the flow 
	  aggregation in scaling DetNet. It also paves the way for any potential future enhancements while maintaining the 
	  compatibility with the current standards.</t>

      </section>	  
	  
	  
	    
      <section numbered="true" toc="default"><name>Requirements Language</name>
	   
	<t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
    "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
    "OPTIONAL" in this document are to be interpreted as described in
    BCP 14 <xref target="RFC2119" pageno="false" format="default"/> 
    <xref target="RFC8174" pageno="false" format="default"/> when, and only 
    when, they appear in all capitals, as shown here. </t>
	   
      </section>
    </section> <!-- End of 'Introduction' section -->
	
    <section anchor="Terminology" numbered="true" toc="default"> <name>Terminology</name>
	<t>The terminology is defined as <xref target="RFC8655" pageno="false" format="default"/>.</t>
    </section> <!-- End of 'Terminology' section -->
	
  <section numbered="true" toc="default" anchor="FlowAggrObjRep">
     <name>Requirements for Flow Aggregation in Enhanced DetNet</name>
	 
	<section numbered="true" toc="default"><name>Background</name>
	 <t>
	 A flow aggregation is a process of merging multiple flows into a single aggregated flow.
	 An aggregated flow should be treated, both in control and data planes, as if it is a single flow.
	 A flow is defined as the set of packets having the identical source, destination, and application.
	 A flow can be characterized by TSpec and RSpec, in which traffic characteristics and service requirements are defined, respectively.
	 In order to be treated as a single flow, within an aggregation region, 
	 the packets in an aggregated flow should have the same starting point, ending point, and service requirements.
	 The TSpec of an aggregated flow can be inferred from the TSpecs of the individual flows.
	 </t>
	 <t>
	 The problems that arise are the followings; 1) How to determine an aggregation region, 2) Which flows to aggregate, and 3) Whether the aggregation is beneficial.
	 The answer to the problem 3) will be dependent upon the decision on 1) and 2).
	 </t>
	 <t>
	 For example, in case of C-SCORE and N-SCORE, when the clock discrepancies and the propagation delays between the nodes are ignored, 
	 the E2E latency bound for a flow is given as,
	 </t>
	<figure>
   <artwork align="center"><![CDATA[Dh(p) <= (B-L)/r + sum_(j=0)^h{Lj/Rj + L/r}]]></artwork>
   </figure>
   <t>
   where Dh(p) is the latency experienced by p from the arrival at the node 0 
   to the departure from node h C-SCORE <xref target="I-D.ietf-detnet-stateless-fair-queuing"/>. B is the maximum burst size of the flow under observation that p belongs to. 
   Lj is the observed maximum packet length in the node j over all the flows, 
   Rj is the link capacity of the node j, L is the maximum packet length of the flow, and r is the service rate of the flow.
   </t>
   <t>
   When two flows with identical parameters B, L, and r are aggregated, then the max burst size and the service rate becomes twice, 2B and 2r.
   Then the E2E latency bound of the aggregated flow becomes
   </t>
   <figure>
   <artwork align="center"><![CDATA[Dh(p) <= (2B-L)/2r + sum_(j=0)^h{Lj/Rj + L/2r}]]></artwork>
   </figure>
   <t>
   which can be less than the E2E latency bound of a single flow, in most cases.
   </t>
   <t>
   This example clarifies the benefits of flow aggregation.
   However, there are more things to consider; 1) the effect of the aggregation region size, 
   2) the effect of de-aggregation from and re-aggregation into a different set of flows over aggregation regions, 3) the complexity of control plane configuration such as admission control, 
   and 4) the necessity flow reshaping (for rate-based solutions) or slot reallocation (for slot-based solutions).
   </t>
   <t>
   This document is to answer these questions.
   </t>
      </section> 
  
    <section numbered="true" toc="default"><name>Aggregated Flows across Multi-domains</name>
   
        <t>Flow aggregation is recommended in the multi-domain scenario
        to achieve the end-to-end QoS guarantees for aggregated flow(s) that span
        across multiple domains. As per <xref target="I-D.ietf-detnet-scaling-requirements" pageno="false" format="default"/>, 
        different network implementations may be intended for different 
        application domains, where there is no additional requirements 
        for the coordination. As defined in [ITU-T Y.2122], the network 
        operating parameters of a flow aggregate should be exchanged among 
        different network domains. As shown in Figure 1, the DetNet domain 
        B receiving an aggregated flow should identify the flow and get the
        service requirements such as the QoS parameters of the flow aggregate. </t>
    
      <figure title="Aggregating DetNet Flows across Multiple Domains" align="center" suppress-title="false" alt="" width="" height="">
         <artwork align="center" xml:space="preserve" name="" type="" alt="" width="" height="">    
         
  Individual Flows +-----------------+                 +-----------------+
     ------->      |                 |                 |                 |
      ......       | DetNet Domain A | Aggregated Flow | DetNet Domain B |
     ------->      |                 | --------------> |                 |
                   +-----------------+                 +-----------------+
  
         </artwork>
      </figure>
    </section>


    <section numbered="true" toc="default"><name>Aggregated Flows with Fine-grained QoS Provisioning</name>
	
    	<t>The draft <xref target="I-D.ietf-detnet-scaling-requirements" pageno="false" format="default"/> 
    	specifies that different levels of applications differ in the SLAs requirements 
    	such as tight jitter, strict latency, loose latency and so on. While
        these types of aggregated requirements might bear the coarse-grained
        nature, individual flows demand differentiated DetNet treatments and 
		more granular QoS forwarding behaviors. A DetNet node or domain adopting 
    	multiple forwarding technologies needs to transmit individual flows by 
		aggregating them into a selected treatment solution that corresponds to
		one of some pre-defined per-hop QoS behaviors, as shown in Figure 2.
		The DetNet flows with the same level of service requirements can be 
		aggregated to receive collective treatments and forwarding behaviors. 
		The DetNet flows can be aggregated to several pre-defined classes. 
    	For example, as per <xref target="I-D.jlg-detnet-5gs" pageno="false" format="default"/>,
        a 5GS as a logical DetNet node requires to achieve the service requirements 
		and service levels of the aggregated flows, along with the provisioning 
		of fine-grained per-hop behavior (PHB) to each individual flow. </t>
		
	 <figure title="Aggregating DetNet flows to corresponding QoS PHBs" align="center" suppress-title="false" alt="" width="" height="">
         <artwork align="center" xml:space="preserve" name="" type="" alt="" width="" height="">	
		 
                            DetNet-aware Node/Network
                           +--------------------------+   
   Aggregated-flow 1 ----->|  Per-hop QoS Behavior 1  | 
                           +--------------------------+
   Aggregated-flow 2 ----->|  Per-hop QoS Behavior 2  |  
                           +--------------------------+
          ....              |           ...            |
                           +--------------------------+							
   Aggregated-flow n ----->|  Per-hop QoS Behavior N  |     
                           +--------------------------+
  
         </artwork>
      </figure>
	</section>
  
  
   <section numbered="true" toc="default"><name>Aggregated Flows with Bursts Flows across Multiple Hops</name>
   
	  
	  <t>As per <xref target="I-D.ietf-detnet-dataplane-taxonomy" pageno="false" format="default"/>, 
      the treatment solutions in data plane can be categorized based on 
      performance and functional characteristics. For example, the
      category of a solution can be classified based on the traffic 
	  granularity, e.g., flow aggregate vs. class aggregate. The class aggregate 
	  is provided to simplify the control and accommodate traffic fluctuations
      by combining flows requiring the same or similar levels of service 
	  requirements. The flow aggregation based on the class aggregate could further
      improve the scalability. As per <xref target="I-D.ietf-detnet-scaling-requirements" pageno="false" format="default"/>,
      there may be a large number of traffic flows in a scaling network,
      which makes it nearly impossible to achieve the flow-specific state identification. 
      As shown in the Figure 3, the flow identification of aggregated-class 
      can be used to indicate the required treatment and forwarding behaviors 
	  without the need to maintain excessive states at transit nodes.</t>
   
   	 <figure title="Aggregating DetNet Flows to Improve Scalability at Class-aggregate" align="center" suppress-title="false" alt="" width="" height="">
         <artwork align="center" xml:space="preserve" name="" type="" alt="" width="" height="">	
    Individual                Aggregated
      Flows   +-------------+  Flow(s)  +-------------+         +-------------+
     -------> |             |           |             |         |             |
      ....    |DetNet Node A|---------->|DetNet Node B|----->...|DetNet Node N|
     -------> |             |           |             |         |             |
              +-------------+           +-------------+         +-------------+

                               'Bucketed' into
              Large number of                      Fewer number of classes
             Individual Flows ----------------->  consisting of aggregated flows   
	     
   	     </artwork>
       </figure>
	   
	   <t>When DetNet flows are aggregated based on service-class, 
       transit nodes provide deterministic services to a flow aggregate 
       and go through the per-class scheduling without the burden to 
	   maintain excessive per-flow states. Still, a transit node 
	   performing aggregation should ensure all per-flow service 
	   requirements within an aggregated class are achieved. For example, 
	   the latency or jitter bounds of an aggregated class shall 
       not exceed the corresponding metrics of any individual flow
       that has been bucketed into the class. The aggregation 
       based on the class aggregate has data plane and controller plane
       aspects.</t>   
	   
    </section>
	   </section> <!-- End of Section: Objective & Requirements: Flow Aggregation -->
  
   <section numbered="true" toc="default"> <name>Enhancement Considerations for Flow Aggregation</name>
	
       <section numbered="true" toc="default"> <name>Aggregated-flow Classification</name>
	   
       <t>The deterministic services may also demand different deterministic QoS 
		requirements according to different levels of application and service requirements. 
		The individual flows may be aggregated based on a sharing aggregated level of traffic
        specification and service requirements which could be identified by pre-defined aggregation 
		levels or  classes. For example, the DetNet flows MAY be classified based on the service 
		SLAs requirements of applications in scaling networks as per <xref target="I-D.xiong-detnet-differentiated-detnet-qos" pageno="false" format="default"/>.
        And the services can also be classified into tight/loose latency, 
        large/small burst, periodic/non-periodic and large/small scale 
        services as per <xref target="I-D.ietf-detnet-dataplane-taxonomy" pageno="false" format="default"/>.
        Several classes can be predefined to indicate the different levels of 
        applications with SLAs requirements and each class demands differentiated
        QoS behaviors and treatment as well as different DetNet capabilities 
        in scaling networks. The aggregation information may be used alone or together 
		with other metadata to guide the queueing and forwarding behaviors that have been 
		specified in C-SCORE <xref target="I-D.ietf-detnet-stateless-fair-queuing"/>, 
		TQF <xref target="I-D.ietf-detnet-packet-timeslot-mechanism"/>,
        EDF <xref target="I-D.ietf-detnet-deadline-based-forwarding"/>, 
		TCQF <xref target="I-D.ietf-detnet-tcqf"/>, gLBF <xref target="I-D.ietf-detnet-glbf"/>,
        N-SCORE <xref target="I-D.ietf-detnet-nscore"/> and PIFO <xref target="I-D.ietf-detnet-ontime-forwarding"/>.</t>
		
		<t>The encoding of the class-based aggregation information may reuse
		the DSCP/TC or existing field such as the TC field in A-Label as per <xref target="RFC8964" pageno="false" format="default"/>.
        And it also can be encapsulated with the aggregation-based metadata
		as per <xref target="I-D.xiong-detnet-data-fields-edp" pageno="false" format="default"/>.</t>
	   
       </section>
 
        <section numbered="true" toc="default"> <name>Aggregated-flow Identification</name>
    	
        <t>It is required to be dynamic and simplified to ensure the aggregated flows 
		have compatible DetNet flow-specific QoS characteristics. As per 
		<xref target="I-D.ietf-detnet-scaling-requirements" pageno="false" format="default"/>, 
		the aggregated flow identification is used to explicitly identify the
		aggregated flow such as an Flow ID or an Aggregation ID for SRv6 and IPv6 network, 
		or an aggregation label, which is referred to as an A-Label as defined in
		<xref target="RFC8964" pageno="false" format="default"/> in MPLS network.</t>
		
 		<t>The encoding of the aggregation information, as reflected by flow identification,
		may be an A-Label encapsulated in MPLS header as per <xref target="RFC8964" pageno="false" format="default"/> or an 
		Aggregation ID encapsulated in IPv6 Options or SRv6 SRH as per <xref target="I-D.xiong-detnet-data-fields-edp" pageno="false" format="default"/>.</t>       
		
	     </section>	
		
	    <section numbered="true" toc="default"> <name>Aggregated-flow Coordination</name>
		
		<t>In scaling networks, flow aggregations become more prevalent, with
		flows frequently joining and leaving, which may potentially lead to 
		accumulated bursts of flows across multiple hops. Such challenges 
		can be mitigated by coordinating packets within aggregated flows such as
		proportional scheduling and interleaving.</t> 
		
		<t>* Proportional scheduling could allocate transmission opportunities based on 
		flow weights, ensuring that each flow receives a fair share of network resources.</t> 
		
		<t>* Interleaving could achieve micro burst smoothing by rotating the transmission 
		of packets across different flows through timed gates as described in
		<xref target="I-D.eckert-detnet-flow-interleaving" pageno="false" format="default"/>.</t>

        </section>
		
	    <section numbered="true" toc="default"> <name>Aggregated-flow Admission Control and Resource Allocation</name>		

        <t>Flow aggregation may interact differently with various DetNet forwarding and queuing mechanisms. 
		This section highlights considerations for major categories:</t>

        <t>* Aggregate-level Admission Control: it should support admission control decisions based 
		on aggregate characteristics while ensuring individual flow requirements within the aggregate can be met.</t>

        <t>* Resource Allocation: different forwarding and queuing mechanisms for allocating resources 
		to aggregates must consider the composite requirements of member flows, including worst-case latency, 
		jitter, and bandwidth demands.</t>
		
     </section> 
	 
	 <section numbered="true" toc="default"> <name>Aggregated-flow Control Plane</name>
	 
	  <t>Flow aggregation may require to support more control plane extensions such as:</t>
	  
	  <t>* As described in <xref target="RFC9024" pageno="false" format="default"/>.
	  TSN networks can be interconnected over a DetNet Network. Flow Aggregation during 
	  DetNet flow to TSN stream mapping will be accomplished by BGP Flowspec in control 
	  plane as per <xref target="I-D.xiong-idr-detnet-flow-mapping" pageno="false" format="default"/>.</t>
	  
	  <t>* Path computation should consider the end-to-end budget of the aggregated flow,
        which must cover the requirements of all its member flows. </t>
	  
      <t>* The network parameters of an aggregated flow should be exchanged among different 
	  domain controllers as per <xref target="I-D.ietf-detnet-multi-domain-framework" pageno="false" format="default"/>.</t>
   
     </section> 

    </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 security 
   considerations <xref target="RFC9055"></xref>. </t>
   </section>
   <section numbered="true" toc="default"> <name>IANA Considerations</name>
   <t>This document makes no requests for IANA action.</t>   
   </section>
   <section numbered="true" toc="default"> <name>Acknowledgements</name>
   <t>The authors would like to thank Lou Berger, Janos Farkas and Toerless Eckert for their review, suggestions 
   and comments to this document.</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.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.8938.xml"/>
	    <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8964.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-scaling-requirements.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-dataplane-taxonomy.xml"/>		
	  </references>
      <references><name>Infomative References</name>
	    <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.9024.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-xiong-detnet-data-fields-edp.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-xiong-detnet-differentiated-detnet-qos.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-jlg-detnet-5gs.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-eckert-detnet-flow-interleaving.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-multi-domain-framework.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-xiong-idr-detnet-flow-mapping.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-stateless-fair-queuing.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-packet-timeslot-mechanism.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-deadline-based-forwarding.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-tcqf.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-glbf.xml"/>
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-nscore.xml"/>		
		<xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-detnet-ontime-forwarding.xml"/>			
		
      <reference anchor="TS.23.501">
        <front>
          <title>3GPP TS 23.501 (V19.0.0): System Architecture for the 5G System (5GS)</title>

          <author initials="3GPP">
            <organization/>
          </author>

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

        <seriesInfo name="" value="3GPP TS 23.501"/>
      </reference>

      <reference anchor="TS.23.502">
        <front>
          <title>3GPP TS 23.502 (V19.0.0): Procedures for the 5G System (5GS)</title>

          <author initials="3GPP">
            <organization/>
          </author>

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

        <seriesInfo name="" value="3GPP TS 23.502"/>
      </reference>

      <reference anchor="TS.23.503">
        <front>
          <title>3GPP TS 23.503 (V19.0.0): Policy and charging control framework for the 5G System (5GS); Stage 2 </title>

          <author initials="3GPP">
            <organization/>
          </author>

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

        <seriesInfo name="" value="3GPP TS 23.503"/>
      </reference>


     </references>
    </references>
	
<section anchor="sec-appendix">
      <name>Realization of Flow Aggregation for 5GS DetNet</name>

   <t>The 3GPP in its document <xref target="TS.23.501" pageno="false" format="default"/>
       has defined and standardized how a 5G system (5GS) may behave as a logical
	   DetNet node, as well as how a 5GS DetNet node may integrate into the IP-domain 
       DetNet as described in <xref target="RFC8655" pageno="false" format="default"/>.
       3GPP has realized the functionalities of the DetNet forwarding sub-layer.</t>

    <t>As a logical DetNet transit node, a 5GS behaves as a transparent box to 
	   external DetNet entities. It can connect to either DetNet end systems or 
	   full-fledged IP DetNet domain(s) or both. The 3GPP <xref target="TS.23.501" pageno="false" format="default"/>
       has demonstrated a ‘composite’ architecture in that a 5GS could act as one 
	   or more DetNet nodes upon the integration into the IP DetNet domain.  The 
       granularity of determining a 5GS DetNet node is per UPF for each network 
	   instance, with the corresponding UPF-id identified as the 5GS DetNet node-id.</t>

    <t>The 3GPP <xref target="TS.23.503" pageno="false" format="default"/> 
       has implicitly specified two types of DetNet related traffic parameters. One 
	   type is the higher-level per-(logical)-node QoS requirements like the node 
	   max-latency, max-loss, etc., while the other is more granular settings with
	   which DetNet flow attributes and specifications are mapped to the Flow 
	   Description information. The DetNet flow specifications could be based on 
	   IP-tuple information, e.g., including IP address, protocol type, ToS, TCP/DUP
	   ports, etc. The document <xref target="I-D.jlg-detnet-5gs" pageno="false" format="default"/> has
       provided more details. </t>

    <t>Please note that this draft revolves around the general discussions of the flow
       aggregations in enhanced DetNet across multiple domains. It emphasizes the
       objectives &amp; requirements, along with insightful considerations for
       the possible enhancement to the matter. This indicates the generic principles
       that are related to the cross-domain flow aggregation as raised in the draft. 
       While the 3GPP <xref target="TS.23.503" pageno="false" format="default"/> defines
       a 5GS may behave as a logical DetNet (transit) node and the 5GS does own certain
       advantageous features for a 'composite' DetNet instantiation, the (DetNet) flow
       aggregation is not an intrinsic characteristics that has been fulfilled in the
       5GS. As we explain in the following subsection 
       <!-- xref target="5GSDetNetAcrossDoman" pageno="false" format="default"/ -->, 
       the realization of flow aggregation for a 5GS DetNet 'composite' node participating 
       in an enhanced DetNet domains requires the seamless interactions between the
       IETF domain (DetNet) controller and the 5GS domain counterpart.</t>

    <section numbered="true" toc="default"><name>Realization of 5GS DetNet Service across Domains</name>
    <t> 3GPP has so far standardized the forward sub-layer functionality for 5GS. 
	    It indicates a 5GS (logical) DetNet node could connect to other end systems
		and/or IP DetNet domains, together to form a holistic end-to-end DetNet. 
        Thanks to the 'composite' architecture of a 5GS node, along with the 
		interaction between an CPF:DetNet controller in IETF domain and the NF 
		TSCTSF in 3GPP domain <xref target="TS.23.501" pageno="false" format="default"/>, a
        5GS node might realize much more advanced DetNet services than a traditional 
		IP DetNet transit node. </t>
		
    <t> In scenarios where the (IETF-domain) CPF:Detnet Controller could well divide the
    	DetNet QoS service requirements that are in reality associated with an integrated 
		DetNet domain into multiple QoS sub-requirements that together form the original 
		end-to-end QoS equivalence, a 5GS might be considered as a standalone DetNet (sub-)domain
		with its own DetNet QoS (sub-)requirements that would be provisioned from the 
		CPF:DetNet controller. The 5GS DetNet QoS (sub-)requirements serve a portion of 
		the original requirements of the integrated DetNet domain. These together form a
        scaling network to realize the 5GS DetNet service across domains.</t>
    </section>
 
    <section numbered="true" toc="default"><name>5GS QoS Provisioning: Aggregated vs. Fine-grained</name>
        <t> We have explained previously that the 3GPP <xref target="TS.23.503" pageno="false" format="default"/> has 
          implicitly specified two categories of DetNet related traffic parameters.
          One type bears the aggregated nature for (5GS DetNet) node-level
          requirements, while the other addresses the more granular DetNet
          flow-level attributes and specifications. Evidently, with this
          kind of two-hierarchy architecture, a 5GS DetNet node could
          achieve not only the node-level aggregated QoS requirements, 
          but also the more fine-grained flow-level QoS provisioning. 
          This reflects the true value of applying our flow aggregation
          model in scaling networks to realizing advanced DetNet services for 5GS.</t>

        <t> Here, we want to point out that the feasibility of applying
          our flow aggregation scheme indeed depends on the hierarchical
          nature of a 5GS DetNet node. Had the same aggregation scheme been 
          applied to DetNet nodes that do not have the similar intrinsic
          hierarchy, the effectiveness could be certainly impaired.</t>
    </section>

    <section numbered="true" toc="default"><name>State Maintenance at a 5GS Transit node</name>
           <t> The 5GS QoS architecture is roughly comprised of three levels, 
            i.e., the UE, the PDU-session, and the QoS-flow levels. 
            Technically, a 5GS DetNet node is of 'composite' nature with a large number of
            configuration, provisioning, operation and runtime states to
            maintain. At first glance, this might undermine the state-reduction
            objective via the flow aggregation for a 5GS DetNet transit node. </t>

           <t>Fortunately, the 5GS DetNet work owns intrinsically a couple of aspects
            to handle the challenges:</t>
            
            <t>First, also as we have mentioned before, a 5GS node behaves as a 
			transparent entity participating in the DetNet domain. Thus, even having
			a significant number of states, this can naturally have the 5GS DetNet 
			related states remain hidden from the external entities(and domains).</t> 
			
            <t>Second, the 3GPP NF TSCTSF exchanges only traffic parameters with the 
			IETF CPF:Detnet Controller, but not the states that are maintained inside
			a 5GS DetNet node. The external DetNet domain does not care the inside status
			of a 5GS, nor can it. </t>
    </section>

    <section numbered="true" toc="default"><name>Flow Classification &amp; Identification at 5GS node </name>
           <t> As we have explained so far, the IETF domain CPF:DetNet controller 
             provides traffic parameters &amp; specifications to 3GPP NF TSCTSF. Thus,
             the SLA requirements of applications in scaling networks could be readily
             pre-specified in the IETF DetNet CPF, which would then apply the flow 
             classification mapping (to aggregated service classes) 
             and send them over to a 5GS DetNet node to enforce. This model can also 
			 relieve the classification burden of a 5GS node in reality.</t>

           <t>The 5GS has excellent control logics to address flow identification.
             For example, PDRs (Packet Detection Rules), SDF (Service Data Flow) 
             filters (e.g., IP-filter, MAC-filter, etc.), etc., are all good tools
             to differentiate flows <xref target="TS.23.501" pageno="false" format="default"/>. 
             Further, the 5GS has standardized powerful procedures for the establishment &amp; update of PDU
             sessions/QoS flows, which accordingly achieves the flow dynamics 
             (e.g., flow joining &amp; leaving a flow-aggregate as manifested 
             potentially by a PDU session)  <xref target="TS.23.502" pageno="false" format="default"/>.
             Moreover, some QoS parameters, e.g., Aggregated Bit Rate (ABR), may stand
             at different levels, including UE-ABR, Session-ABR, flow-ABR, etc., that
             would make the service differentiation &amp; sharing
             on the aggregated-class (A-Class) level feasible.</t>
    </section>	  
	  
</section>	  
	
	
	 </back>
</rfc>
