<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc version 1.6.14 (Ruby 2.6.10) -->


<!DOCTYPE rfc  [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">

<!ENTITY I-D.ietf-mpls-mna-hdr SYSTEM "https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-mpls-mna-hdr.xml">
<!ENTITY RFC2119 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC3032 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.3032.xml">
<!ENTITY RFC6790 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6790.xml">
<!ENTITY RFC8174 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml">
<!ENTITY I-D.ietf-mpls-mna-fwk SYSTEM "https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-mpls-mna-fwk.xml">
<!ENTITY RFC9543 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9543.xml">
<!ENTITY I-D.ietf-teas-ns-ip-mpls SYSTEM "https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-teas-ns-ip-mpls.xml">
]>


<rfc ipr="trust200902" docName="draft-ietf-mpls-mna-nrp-selector-01" category="std" consensus="true" submissionType="IETF">
  <front>
    <title abbrev="MNA NRP Selector">MPLS Network Actions for Network Resource Partition Selector</title>

    <author initials="T." surname="Li" fullname="Tony Li">
      <organization>HPE</organization>
      <address>
        <postal>
          <street>1133 Innovation Way</street>
          <city>Sunnyvale</city>
          <region>CA</region>
          <code>94089</code>
          <country>United States</country>
        </postal>
        <email>tony.li@tony.li</email>
      </address>
    </author>
    <author initials="V. P." surname="Beeram" fullname="Vishnu Pavan Beeram">
      <organization>HPE</organization>
      <address>
        <postal>
          <street>1133 Innovation Way</street>
          <city>Sunnyvale</city>
          <region>CA</region>
          <code>94089</code>
          <country>United States</country>
        </postal>
        <email>vbeeram@juniper.net</email>
      </address>
    </author>
    <author initials="J." surname="Drake" fullname="John Drake">
      <organization></organization>
      <address>
        <email>je_drake@yahoo.com</email>
      </address>
    </author>
    <author initials="T." surname="Saad" fullname="Tarek Saad">
      <organization>Cisco Systems</organization>
      <address>
        <email>tsaad.net@gmail.com</email>
      </address>
    </author>
    <author initials="I." surname="Meilik" fullname="Israel Meilik">
      <organization>Broadcom</organization>
      <address>
        <email>israel.meilik@broadcom.com</email>
      </address>
    </author>

    <date year="2025" month="November" day="10"/>

    
    <workgroup>MPLS Working Group</workgroup>
    

    <abstract>


<t>An IETF Network Slice service provides connectivity coupled with a set
of network resource commitments and is expressed in terms of one or
more connectivity constructs. A Network Resource Partition (NRP) is a
collection of resources identified in the underlay network to support
IETF Network Slice services.  A Slice-Flow Aggregate refers to the set
of traffic streams from one or more connectivity constructs belonging
to one or more IETF Network Slices that are mapped to a specific NRP
and provided the same forwarding treatment.  The packets associated
with a Slice-Flow Aggregate may carry a marking in the packet's
network layer header to identify this association and this marking is
referred to as NRP Selector.  The NRP Selector is used to map
the packet to the associated NRP and provide the
corresponding forwarding treatment to the packet.</t>

<t>MPLS Network Actions (MNA) technologies are used to indicate actions
for Label Switched Paths (LSPs) and/or MPLS packets and to transfer
data needed for these actions.  This document discusses options for
using MPLS Network Actions (MNAs) to carry the NRP Selector in MPLS packets.</t>



    </abstract>



  </front>

  <middle>


<section anchor="introduction"><name>Introduction</name>

<t>An IETF Network Slice <xref target="RFC9543"/> service
provides connectivity coupled with a set of specific commitments of
network resources between a number of endpoints over a shared
underlay network.  The IETF Network Slice service is expressed in
terms of one or more connectivity constructs.  A Network Resource
Partition (NRP) <xref target="RFC9543"/> is a collection
of resources identified in the underlay network to support IETF
Network Slice services (or any other services that need logical
network structures with required characteristics to be created).  An
NRP Policy <xref target="I-D.ietf-teas-ns-ip-mpls"/> is a policy construct that
enables instantiation of mechanisms in support of service specific
control and data plane behaviors on select topological elements
associated with the NRP.</t>

<t>A Slice-Flow Aggregate refers to the set of traffic streams from one
or more connectivity constructs belonging to one or more IETF Network
Slices that are mapped to a specific NRP and are provided the same
forwarding treatment.  The NRP policy dictates the identification of
the flow aggregate that the packet belongs to and the corresponding
forwarding treatment that needs to be applied to the packet.  The
packets associated with a Slice-Flow Aggregate may carry a marking in
the packet's network layer header to identify this association and
this marking is referred to as NRP Selector (NRPS).
<xref target="I-D.ietf-teas-ns-ip-mpls"/> discusses a few options for carrying the
NRP Selector in MPLS packets, including overloading the semantics of
forwarding/service labels and using a dedicated identifier field.</t>

<t><xref target="I-D.ietf-mpls-mna-fwk"/> specifies an architectural framework for the
MPLS Network Actions (MNA) technologies.  MNA technologies are used
to indicate actions for Label Switched Paths (LSPs) and/or MPLS
packets and to transfer data needed for these actions.  The MNA
architecture can facilitate carrying the dedicated identifier based
NRP Selector in the MPLS label stack.  This document discusses a few options
for using MPLS network actions to carry the NRP Selector.  The proposed
encodings are compliant with the MNA header encoding formats defined
in <xref target="I-D.ietf-mpls-mna-hdr"/>.</t>

<t>The reader is expected to be familiar with terminology specified in
<xref target="I-D.ietf-mpls-mna-fwk"/> and MNA header encoding formats defined in
<xref target="I-D.ietf-mpls-mna-hdr"/>.</t>

<section anchor="REQ-lang"><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"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.
These words may also appear in this document in
lower case as plain English words, absent their normative meanings.</t>

</section>
</section>
<section anchor="mpls-network-actions"><name>MPLS Network Actions</name>

<section anchor="bit-nrp-selector-nrps13-action"><name>13-bit NRP Selector (NRPS13) Action</name>

<t>The format of the 13-bit NRP Selector (NRPS13) Action (when encoded in
the second label stack entry in the Network Action Sub-Stack):</t>

<figure><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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Opcode=TBA1 |           NRPS          |R|IHS|S|  NASL |U| NAL |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork></figure>

<t><list style="symbols">
  <t>Name: 13-bit NRP Selector (NRPS13) Action</t>
  <t>Network Action Indication: The NRPS13 Action indication is opcode
   TBA1.</t>
  <t>Scope: The NRPS13 Action is valid in all scopes.</t>
  <t>In-Stack Data: The NRPS13 Action carries 13 bits of ancillary data.
   The NRPS is encoded in the 13 bits.  The packet carrying the NRPS13
   action should be given the forwarding treatment specified by the
   associated policy.</t>
  <t>LSE Format: B.</t>
  <t>Post-Stack Data: None.</t>
</list></t>

</section>
<section anchor="bit-nrp-selector-nrps20-action"><name>20-bit NRP Selector (NRPS20) Action</name>

<t>The format of the 20-bit NRP Selector (NRPS20) Action:</t>

<figure><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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Opcode=TBA2 |             NRPS              |S|  NRPS |U| NAL |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork></figure>

<t><list style="symbols">
  <t>Name: 20-bit NRP Selector (NRPS20) Action</t>
  <t>Network Action Indication: The NRPS20 Action indication is opcode
   TBA2.</t>
  <t>Scope: The NRPS20 Action is valid in all scopes.</t>
  <t>In-Stack Data: The NRPS20 Action carries 20 bits of ancillary data.
   The NRPS is encoded in the 20 bits.  The packet carrying the NRPS20
   action should be given the forwarding treatment specified by the
   associated policy.</t>
  <t>LSE Format: C. The Network Action Length (NAL) field SHOULD be
transmitted as zero.</t>
  <t>Post-Stack Data: None.</t>
</list></t>

</section>
<section anchor="bit-entropy-and-nrp-selector-enrps20-action"><name>20-bit Entropy and NRP Selector (ENRPS20) Action</name>

<t>The format of the 20-bit Entropy and NRP Selector (ENRPS20)
Action:</t>

<figure><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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Opcode=TBA3 |        Entropy        | NRPS  |S|  NRPS |U| NAL |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork></figure>

<t><list style="symbols">
  <t>Name: 20-bit Entropy and NRP Selector (ENRPS20) Action</t>
  <t>Network Action Indication: The ENRPS20 Action indication is opcode
   TBA3.</t>
  <t>Scope: The ENRPS20 Action is valid in all scopes.</t>
  <t>In-Stack Data: The ENRPS20 Action carries 20 bits of ancillary
   data.  The most significant 12 bits of ancillary data is the
   Entropy Value.  The least significant 8 bits of ancillary data is
   the NRPS.  The Entropy Value has semantics consistent with the
   Entropy Label <xref target="RFC6790"/>.  While the RFC 6790 Entropy Label has
   some restrictions to avoid collisions with the reserved label
   space (0-15) <xref target="RFC3032"/>, those restrictions are not necessary for
   the Entropy Value and do not apply.  The packet carrying the
   ENRPS20 action should be given the forwarding treatment specified
   by the associated policy.</t>
  <t>LSE Format: C. The Network Action Length (NAL) field SHOULD be
transmitted as zero.</t>
  <t>Post-Stack Data: None.</t>
</list></t>

</section>
</section>
<section anchor="iana-considerations"><name>IANA Considerations</name>

<section anchor="bit-nrp-selector-action"><name>13-bit NRP Selector Action</name>

<t>This document requests that IANA allocate a codepoint (TBA1) from the
"Multiprotocol Label Switching Architecture (MPLS)"/"MPLS Network
Actions Parameters"/"Network Action Opcodes" registry for the
13-bit NRP Selector Action.  The allocation
should reference this document.</t>

</section>
<section anchor="bit-nrp-selector-action-1"><name>20-bit NRP Selector Action</name>

<t>This document requests that IANA allocate a codepoint (TBA2) from the
"Multiprotocol Label Switching Architecture (MPLS)"/"MPLS Network
Actions Parameters"/"Network Action Opcodes" registry for the
20-bit NRP Selector Action.  The allocation
should reference this document.</t>

</section>
<section anchor="bit-entropy-and-nrp-selector-action"><name>20-bit Entropy and NRP Selector Action</name>

<t>This document requests that IANA allocate a codepoint (TBA3) from the
"Multiprotocol Label Switching Architecture (MPLS)"/"MPLS Network
Actions Parameters"/"Network Action Opcodes" registry for the
20-bit Entropy and NRP Selector Action.  The
allocation should reference this document.</t>

</section>
</section>
<section anchor="security-considerations"><name>Security Considerations</name>

<t>The forwarding plane is insecure. If an adversary can affect the
forwarding plane, then they can inject data, remove data, corrupt
data, or modify data. MNA additionally allows an adversary to make
packets perform arbitrary network actions.</t>

<t>Link-level security mechanisms can help mitigate some on-link attacks,
but does nothing to preclude hostile nodes.</t>

</section>
<section anchor="contributors"><name>Contributors</name>

<t>The following individuals contributed to this document:</t>

<figure><artwork><![CDATA[
Colby Barth
Juniper Networks
Email: cbarth@juniper.net

Srihari R.  Sangli
Juniper Networks
Email: ssangli@juniper.net

Chandra Ramachandran
Juniper Networks
Email: csekar@juniper.net

Kireeti Kompella
Juniper Networks
Email: kireeti@juniper.net
]]></artwork></figure>

</section>


  </middle>

  <back>


    <references title='Normative References'>

&I-D.ietf-mpls-mna-hdr;
&RFC2119;
&RFC3032;
&RFC6790;
&RFC8174;


    </references>

    <references title='Informative References'>

&I-D.ietf-mpls-mna-fwk;
&RFC9543;
&I-D.ietf-teas-ns-ip-mpls;


    </references>



  </back>

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