<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="4"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="std" docName="draft-boucadair-sfc-oam-packet-00"
     ipr="trust200902" updates="8300">
  <front>
    <title abbrev="DOTS Robust Block Transmission">Clarifying Ambiguity
    related to Network Service Header (NSH) OAM Packet</title>

    <author fullname="Mohamed Boucadair" initials="M." surname="Boucadair">
      <organization>Orange</organization>

      <address>
        <postal>
          <street></street>

          <city>Rennes</city>

          <region></region>

          <code>35000</code>

          <country>France</country>
        </postal>

        <email>mohamed.boucadair@orange.com</email>
      </address>
    </author>

    <date />

    <workgroup>sfc</workgroup>

    <abstract>
      <t>This document clarifies an ambiguity in the Network Service Header
      (NSH) specification related to the handling of O-bit. In particular,
      this document clarifies the meaning of "OAM packet".</t>

      <t>This document updates RFC8300.</t>
    </abstract>
  </front>

  <middle>
    <section anchor="introduction" title="Introduction">
      <t>This document clarifies an ambiguity related to the definition of OAM
      packet discussed in <xref target="RFC8300"></xref>.</t>

      <t>The processing of the O-bit must follow the updated behavior
      specified in <xref target="anupdate"></xref>.</t>
    </section>

    <section anchor="notation" title="Terminology">
      <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><xref target="RFC8174"></xref> when, and
      only when, they appear in all capitals, as shown here.</t>

      <t>This document makes use of the terms defined in <xref
      target="RFC7665"></xref> and <xref target="RFC8300"></xref>.</t>
    </section>

    <section anchor="anupdate" title="An Update to RFC8300">
      <t>This document updates RFC8300 as follows:</t>

      <figure>
        <artwork><![CDATA[OLD: 

   O bit:  Setting this bit indicates an OAM packet (see [RFC6291]).
      The actual format and processing of SFC OAM packets is outside the
      scope of this specification (for example, see [SFC-OAM-FRAMEWORK]
      for one approach).

      The O bit MUST be set for OAM packets and MUST NOT be set for
      non-OAM packets.  The O bit MUST NOT be modified along the SFP.

      SF/SFF/SFC Proxy/Classifier implementations that do not support
      SFC OAM procedures SHOULD discard packets with O bit set, but MAY
      support a configurable parameter to enable forwarding received SFC
      OAM packets unmodified to the next element in the chain.
      Forwarding OAM packets unmodified by SFC elements that do not
      support SFC OAM procedures may be acceptable for a subset of OAM
      functions, but it can result in unexpected outcomes for others;
      thus, it is recommended to analyze the impact of forwarding an OAM
      packet for all OAM functions prior to enabling this behavior.  The
      configurable parameter MUST be disabled by default.


NEW:]]></artwork>
      </figure>

      <t><list style="hanging">
          <t hangText="O bit:">Setting this bit indicates an SFC OAM packet.
          Such a packet is any NSH-encapasulated packet that exclusively
          includes an OAM command and/or OAM data. The OAM command (or data)
          can be included in the Fixed-Length Context Header, optional Context
          Headers, or the inner packet. <vspace blankLines="1" />The actual
          format and processing of SFC OAM packets is outside the scope of
          this specification. <vspace blankLines="1" />The O bit MUST be set
          for SFC OAM packets and MUST NOT be set for non-OAM packets. The O
          bit MUST NOT be modified along the SFP.<vspace
          blankLines="1" />SF/SFF/SFC Proxy/Classifier implementations that do
          not support SFC OAM procedures SHOULD discard packets with O bit
          set, but MAY support a configurable parameter to enable forwarding
          received SFC OAM packets unmodified to the next element in the
          chain. Forwarding SFC OAM packets unmodified by SFC elements that do
          not support SFC OAM procedures may be acceptable for a subset of OAM
          functions, but it can result in unexpected outcomes for others;
          thus, it is recommended to analyze the impact of forwarding an SFC
          OAM packet for all OAM functions prior to enabling this behavior.
          The configurable parameter MUST be disabled by default.</t>
        </list></t>

      <t></t>
    </section>

    <section title="IANA Considerations">
      <t>This document does not make any request to IANA.</t>
    </section>

    <section anchor="security" title="Security Considerations">
      <t>Data plane SFC-related security considerations, including privacy,
      are discussed in Section 6 of <xref target="RFC7665"></xref> and Section
      8 of <xref target="RFC8300"></xref>.</t>

      <t>Data icnluded in an SFC OAM packet SHOULD be integrity-protected
      <xref target="RFC9145"></xref>.</t>
    </section>

    <section anchor="ack" title="Acknowledgements">
      <t>TBC</t>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      <?rfc include='reference.RFC.2119'?>

      <?rfc include='reference.RFC.8174'?>

      <?rfc include='reference.RFC.8300'?>

      <?rfc include='reference.RFC.9145'?>
    </references>

    <references title="Informative References">
      <?rfc include='reference.RFC.7665'?>
    </references>
  </back>
</rfc>
