<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?rfc strict="yes"?>
<?rfc toc="yes"?>
<?rfc tocdepth="4"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" category="std" docName="draft-encapsulation-of-san-header-00" ipr="trust200902" obsoletes="" updates="" submissionType="IETF" xml:lang="en" tocInclude="true" tocDepth="4" symRefs="true" sortRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.14.0 -->
  <!-- ***** FRONT MATTER ***** -->
  <front>
    <title abbrev="Encapsulation of SAN Header">Encapsulation of SAN Header</title>
    <seriesInfo name="Internet-Draft" value="draft-encapsulation-of-san-header-00"/>
    <author fullname="Liwei Ma" initials="L" surname="Ma">
      <organization>ZTE Corporation</organization>
      <address>
        <postal>
          <street/>
          <city/>
          <region/>
          <code/>
          <country>China</country>
        </postal>
        <phone/>
        <email>ma.liwei1@zte.com.cn</email>
      </address>
    </author>
    <author fullname="Detao Zhao" initials="D" surname="Zhao">
      <organization>ZTE Corporation</organization>
      <address>
        <postal>
          <street>No.50 Software Avenue</street>
          <city>Nanjing</city>
          <region>Jiangsu</region>
          <code>210012</code>
          <country>China</country>
        </postal>
        <phone/>
        <email>zhao.detao@zte.com.cn</email>
      </address>
    </author>
    <author fullname="Fenlin Zhou" initials="F" surname="Zhou">
      <organization>ZTE Corporation</organization>
      <address>
        <postal>
          <street>No.50 Software Avenue</street>
          <city>Nanjing</city>
          <region>Jiangsu</region>
          <code>210012</code>
          <country>China</country>
        </postal>
        <phone/>
        <email>zhou.fenlin@zte.com.cn</email>
      </address>
    </author>
    <date day="18" month="August" year="2022"/>
    <area>INT</area>
    <workgroup>INTAREA</workgroup>
    <keyword>Encapsulation of SAN Header</keyword>
    <abstract>
      <t>This document proposes the encapsulation of the SAN header in the IPv6 data plane to carry the SAN related information, which could be used to associate the networking and computing resources indexed by SAN ID and route and forward the service traffic accordingly.</t>
    </abstract>
  </front>
  <!-- ***** MIDDLE MATTER ***** -->

  <middle>
    <section numbered="true" toc="default">
      <name>Introduction</name>
      <t>SAN ID and SAN header is designed under the SAN framework<xref target="I-D.huang-service-aware-network-framework" format="default"/> as a interface between user and service as well as between service and network. Client requests the service through SAN header encapsulated in user data packet header by SAN routing and forwarding network. SAN network would index SAN ID based on the corresponding networking and computing policies and resources. This document provides several scalable solutions about SAN header encapsulation to support SAN architecture in IPv6 networks.</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" format="default"/> <xref target="RFC8174" format="default"/> when,
    and only when, they appear in all capitals, as shown here.</t>
    </section>
    <section numbered="true" toc="default">
      <name>Terminology</name>
      <ul spacing="normal">
        <li>SAN: Service Aware Network.</li>
        <li>SAN ID: Service Aware Network Identification, an identification designed to indicate the fundamental and common service types.</li>
        <li>SAN header: Encapsulation format of the SAN ID<xref target="I-D.service-identification-header-of-san" format="default"/>.</li>
      </ul>
    </section>
    <section numbered="true" toc="default">
      <name>The SAN Option</name>
      <t>To support Service Awareness Network, it is necessary to define an IPv6 header option <xref target="RFC8200" format="default"/>, that is the SAN Option.</t>
      <t>The SAN option format is as the following format:</t>
      <figure>
        <name>The SAN Option</name>
        <artwork align="center" name="" type="" alt=""><![CDATA[

    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                               | Opt Type=TBA1 |  Opt Data Len |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                                                               |
    |                           SAN header                          |
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+		
	
	   ]]></artwork>
      </figure>
      <t keepWithPrevious="true"/>
      <t>Opt Type: 8-bit identifier of the type of option identifies this option as SAN Option. A new type value TBA1 for SAN option, recommended value 0x1D, the highest-order 3 bits should be set to zero-valued.</t>
      <t>Opt Data Len: 8-bit unsigned integer. Length of the Option Data field of this option, that is, length of the SAN data.</t>
      <t>SAN header: Option-Type-specific data. It carries the SAN identification. Data of this field specified in <xref target="I-D.service-identification-header-of-san" format="default"/>.</t>
    </section>
    <section numbered="true" toc="default">
      <name>Encapsulation Location and Structure</name>
      <t>The SAN service identification can be encapsulated in several locations in the IPv6 packet extension header, such as Hop-by-Hop Options Header, Destination Options Header, and Segment Routing Header, depend upon the scenarios and implementation requirements.</t>
      <section numbered="true" toc="default">
        <name>Encapsulation in the Hop-by-Hop Options Header</name>
        <t>SAN header can be carried as an option in the ipv6 hop-by-hop options header. The Option Type indicates that this option is a service identification SAN Option. The SAN header can be resolved by every SAN network nodes.</t>
        <figure>
          <name>SAN header in Options header</name>
          <artwork align="center" name="" type="" alt=""><![CDATA[

    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |  Next Header  |  Hdr Ext Len  | Opt Type=TBA1 |  Opt Data Len |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                                                               |
    |                           SAN header                          |
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+			

	   ]]></artwork>
        </figure>
        <t keepWithPrevious="true"/>
      </section>
      <section numbered="true" toc="default">
        <name>Encapsulation in the Destination Options Header</name>
        <t>SAN header can be carried as an option in the ipv6 destination options header. The Option Type indicates that this option is a service identification SAN Option. The SAN header can be resolved by the SAN network nodes.</t>
        <t>The encapsulation format is the same as Figure 2</t>
      </section>
      <section numbered="true" toc="default">
        <name>Encapsulation in the Segment Routing Header</name>
        <t>The segment routing header (SRH) and the SRH TLV is defined in <xref target="RFC8754" format="default"/>. The SAN header can be carried in SRH as one type of SRH TLV. When a SAN packet is sent to a SRv6 domain, according to the network service and computing service policy, the packet could be encapsulated or parsed SRv6 header, and the SAN header could be carried in the SRv6 header. </t>
        <t>New SIDs defined in the future will indicate how the SAN type of SRH TLV works. The SAN header encapsulated in SRH TLV can be processed by the SAN nodes along the SRv6 path. The SAN TLV in SRH is as the following format:</t>
        <figure>
          <name>SAN type of SRH TLV</name>
          <artwork align="center" name="" type="" alt=""><![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=TBA2   |     Length    |D|           RESERVED          |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                                                               |
    |                           SAN header                          |
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+			

	   ]]></artwork>
        </figure>
        <t keepWithPrevious="true"/>
        <t>Type: A new type value TBA2 for SAN Type, suggested value 0x1D.</t>
        <t>SAN header: Carries the SAN identification. Data of this field specified in <xref target="I-D.service-identification-header-of-san" format="default"/>.</t>
        <t>Other fields follow the definition in the <xref target="RFC8754" format="default"/>.</t>
      </section>
    </section>
    <section anchor="IANA" numbered="true" toc="default">
      <name>IANA Considerations</name>
      <t>IANA is requested to assign new values for the SAN Identification, one new IPv6 Header Option Type, one new SRH TLV Type, and one new Internet Protocol Numbers, as follows:</t>
      <table anchor="table1" align="center">
        <thead>
          <tr>
            <th align="center"> Value </th>
            <th align="center"> Description </th>
            <th align="center"> Reference </th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="center"> TBA1 </td>
            <td align="center"> SAN option type </td>
            <td align="center">[this document] </td>
          </tr>
          <tr>
            <td align="center"> TBA2 </td>
            <td align="center"> SAN Type in SRH TLV </td>
            <td align="center">[this document] </td>
          </tr>
        </tbody>
      </table>
    </section>
    <section numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>TBA</t>
    </section>
    <section anchor="Acknowledgements" numbered="true" toc="default">
      <name>Acknowledgements</name>
      <t>TBA</t>
    </section>
  </middle>
  <!--  *****BACK MATTER ***** -->

  <back>
    <references>
      <name>Normative References</name>
      <reference anchor="RFC8200" target="https://www.rfc-editor.org/info/rfc8200" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8200.xml">
        <front>
          <title>Internet Protocol, Version 6 (IPv6) Specification</title>
          <author fullname="S. Deering" initials="S" surname="Deering"/>
          <author fullname="R. Hinden" initials="R" surname="Hinden"/>
          <date month="July" year="2017"/>
          <abstract>
            <t>This document specifies version 6 of the Internet Protocol (IPv6).  It obsoletes RFC 2460.</t>
          </abstract>
        </front>
        <seriesInfo name="STD" value="86"/>
        <seriesInfo name="RFC" value="8200"/>
        <seriesInfo name="DOI" value="10.17487/RFC8200"/>
      </reference>
      <reference anchor="RFC8754" target="https://www.rfc-editor.org/info/rfc8754" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8754.xml">
        <front>
          <title>IPv6 Segment Routing Header (SRH)</title>
          <author fullname="C. Filsfils" initials="C" role="editor" surname="Filsfils"/>
          <author fullname="D. Dukes" initials="D" role="editor" surname="Dukes"/>
          <author fullname="S. Previdi" initials="S" surname="Previdi"/>
          <author fullname="J. Leddy" initials="J" surname="Leddy"/>
          <author fullname="S. Matsushima" initials="S" surname="Matsushima"/>
          <author fullname="D. Voyer" initials="D" surname="Voyer"/>
          <date month="March" year="2020"/>
          <abstract>
            <t>Segment Routing can be applied to the IPv6 data plane using a new type of Routing Extension Header called the Segment Routing Header (SRH).  This document describes the SRH and how it is used by nodes that are Segment Routing (SR) capable.</t>
          </abstract>
        </front>
        <seriesInfo name="RFC" value="8754"/>
        <seriesInfo name="DOI" value="10.17487/RFC8754"/>
      </reference>
      <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
        <front>
          <title>Key words for use in RFCs to Indicate Requirement Levels</title>
          <author fullname="S. Bradner" initials="S" surname="Bradner"/>
          <date month="March" year="1997"/>
          <abstract>
            <t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized.  This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
          </abstract>
        </front>
        <seriesInfo name="BCP" value="14"/>
        <seriesInfo name="RFC" value="2119"/>
        <seriesInfo name="DOI" value="10.17487/RFC2119"/>
      </reference>
      <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" xml:base="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml">
        <front>
          <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
          <author fullname="B. Leiba" initials="B" surname="Leiba"/>
          <date month="May" year="2017"/>
          <abstract>
            <t>RFC 2119 specifies common key words that may be used in protocol specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
          </abstract>
        </front>
        <seriesInfo name="BCP" value="14"/>
        <seriesInfo name="RFC" value="8174"/>
        <seriesInfo name="DOI" value="10.17487/RFC8174"/>
      </reference>
      <reference anchor="I-D.huang-service-aware-network-framework" target="https://www.ietf.org/archive/id/draft-huang-service-aware-network-framework-00.txt" xml:base="https://bib.ietf.org/public/rfc/bibxml-ids/reference.I-D.huang-service-aware-network-framework.xml">
        <front>
          <title>Service Aware Network Framework</title>
          <author fullname="Daniel Huang">
            <organization>ZTE Corporation</organization>
          </author>
          <author fullname="Bin Tan">
            <organization>ZTE Corporation</organization>
          </author>
          <date day="24" month="May" year="2022"/>
          <abstract>
            <t>Cloud has been migrating from concentrated center sites to edge nodes with responsive and agile services to the subscribers. This industry-wide trend would be reasonably expected to continue into the future which would enjoy geographically ubiquitous services. Rather than transmitting service data streams to the stable and limited service locations such as centered cloud sites, routing and forwarding network will have to adapt to the emerging scenarios where the service instances would be highly dynamic and distributed, and further more, demand more fine-grained networking policies than the current routing and forwarding scheme unaware of service SLA requirements. This proposal is to demonstrate a framework under which the above-mentioned requirements would be satisfied.</t>
          </abstract>
        </front>
        <seriesInfo name="Internet-Draft" value="draft-huang-service-aware-network-framework-00"/>
      </reference>
      <reference anchor="I-D.service-identification-header-of-san" target="https://datatracker.ietf.org/api/v1/doc/document/draft-service-identification-header-of-san/" xml:base="https://bib.ietf.org/public/rfc/bibxml-ids/reference.I-D.service-identification-header-of-san.xml">
        <front>
          <title>Service Identification Header of Service Aware Network</title>
          <author fullname="Liwei Ma"/>
          <author fullname="Fenlin Zhou"/>
          <author fullname="Hesong Li"/>
          <date day="18" month="August" year="2022"/>
          <abstract>
            <t>As the cloud and computing migrates to edges further away from the
   traditional centered cloud, the services residing at the distributed
   cloud start to be delivered in such a ubiquitous and dynamic way.
   That it is challenging to the ongoing routing and interconnecting
   scheme under which host address is the global networking
   identification.  This draft proposes a service identification which
   is designed to be treated both as a service routable ID and an
   interface to the service requirements as well as service-associated
   cloud resources.  Service Aware Network header is illustrated and
   specified.</t>
          </abstract>
        </front>
        <seriesInfo name="Internet-Draft" value="draft-service-identification-header-of-san-00"/>
      </reference>
    </references>
  </back>
</rfc>
