<?xml version='1.0' encoding='UTF-8'?>

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

<rfc xmlns:xi="http://www.w3.org/2001/XInclude" category="std" docName="draft-ietf-rift-kv-tie-structure-and-processing-09" number="9992" consensus="true" ipr="trust200902" obsoletes="" submissionType="IETF" updates="" xml:lang="en" tocInclude="true" tocDepth="3" symRefs="true" sortRefs="true" version="3">

  <front>
    <title abbrev="RIFT Structure and Processing">Routing in Fat Trees (RIFT) Key/Value Topology Information Elements Structure and Processing</title>
    <seriesInfo name="RFC" value="9992"/>
    <author role="editor" fullname="Jordan Head" initials="J." surname="Head">
      <organization>HPE</organization>
      <address>
        <postal>
          <street>1701 East Mossy Oaks Road</street>
          <city>Spring</city>
          <region>TX</region>
          <code>77389</code>
          <country>United States of America</country>
        </postal>
        <email>jordan.head@hpe.com</email>
      </address>
    </author>
    <author fullname="Tony Przygienda" initials="T." surname="Przygienda">
      <organization>HPE</organization>
      <address>
        <postal>
          <street>1701 East Mossy Oaks Road</street>
          <city>Spring</city>
          <region>TX</region>
          <code>77389</code>
          <country>United States of America</country>
        </postal>
        <email>antoni.przygienda@hpe.com</email>
      </address>
    </author>
    <date month="June" year="2026"/>

    <area>RTG</area>
    <workgroup>rift</workgroup>

    <keyword>rift</keyword>
    <keyword>kv</keyword>

    <abstract>
      <t>The Routing in Fat Trees (RIFT) protocol allows for key/value pairs
      to be advertised within Key-Value Topology Information Elements (KV
      TIEs). The data contained within these KV TIEs can be used for any
      imaginable purpose.
      </t>
      <t>This document specifies behavior for the
            various Key Types (i.e., Well-Known, Organizationally Unique Identifier (OUI), and Experimental) and a
            method to structure corresponding values. It also defines a Well-Known
      Key Sub-Type used for testing tie-breaking behavior.</t>
    </abstract>
  </front>
  <middle>
    <section toc="default" numbered="true">
      <name>Introduction</name>
      <t>The Routing in Fat Trees (RIFT) <xref target="RFC9692" format="default"/> protocol
        allows for key/value pairs to be advertised within Key-Value Topology
        Information Elements (KV TIEs). There are no restrictions
        placed on the data that is contained in KV TIEs nor what the
        data is used for.
      </t>
      <t>For example, it might be beneficial to advertise overlay protocol state
        from leaf nodes to the Top-of-Fabric (ToF) nodes. This would make it possible to view the critical
        state of a fabric-wide service from a single ToF node rather than
        retrieving and reconciling the same state from multiple leaf nodes.
      </t>
      <section>
      <name>Requirements Language</name>
        <t>
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
    "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
    NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
    "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are
    to be interpreted as described in BCP&nbsp;14 <xref target="RFC2119"/> <xref
    target="RFC8174"/> when, and only when, they appear in all capitals, as
    shown here.
        </t>
    </section>
    </section>
    <section anchor="generic_kv_structure" numbered="true" toc="default">
      <name>Key-Value Structure</name>
      <t>This section describes the generic key structure and semantics;
        <xref target="f1" format="default"/> further illustrates these components.</t>
      <t><xref target="RFC9692" section="6.1" sectionFormat="of"/> specifies the use of <xref target="THRIFT">Thrift</xref> to define the protocol's packet structure.
          While no explicit restrictions are placed on Key-Value data or what it is used for, it
        is <bcp14>RECOMMENDED</bcp14> that a serialized Thrift model also be used to define a KV TIE structure for simpler interoperability. For example, <xref target="I-D.ietf-rift-auto-evpn" format="default"/> describes
        this type of implementation.</t>
      <figure anchor="f1">
        <name>Generic Key-Value Structure</name>
        <artwork align="center" alt="" name="" type=""><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Key Type    |               Key Identifier                  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                      Values (variable)                        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+]]></artwork>
      </figure>
          <dl newline="true" spacing="normal">
	    <dt>where:</dt>
	    <dd>
              <dl newline="true" spacing="normal">
            <dt><strong>Key Type:</strong></dt>
            <dd>
              <t>A 1-byte value that identifies the Key Type. Key Type values
              are taken from the "RIFTCommonKVTypes" registry defined in <xref
              target="RFC9692"/>.</t>
              <t>The range of valid values is 1 - 255 (2<sup>8</sup>-1).</t>
              <t>0 is an illegal value and <bcp14>MUST NOT</bcp14> be
              allocated to or used by any implementation. KV TIEs received
              with this value <bcp14>MUST</bcp14> be discarded and logged at
              least once.</t>
            </dd>
            <dt><strong>Key Identifier:</strong></dt>
            <dd>
              <t>A 3-byte value that identifies the specific key and describes
              the semantics of any contained values.  It <bcp14>SHOULD</bcp14>
              be unique within the context of the given Key Type.</t>
              <t>The range of valid values is 1 - 16777215 (2<sup>24</sup>-1).</t>
              <t>0 is an illegal value and <bcp14>MUST NOT</bcp14> be
              allocated to or used by any implementation. KV TIEs received
              with this value <bcp14>MUST</bcp14> be discarded and logged at
              least once.</t>
            </dd>
            <dt><strong>Values:</strong></dt>
            <dd>A variable length value that contains data associated with the
            Key Identifier. It <bcp14>SHOULD</bcp14> contain 1 or more
            elements. The semantics (i.e., existence, order, duplication,
            etc.) of any contained values is governed by the particular key's
            specification.</dd>
          </dl>
	    </dd>
	  </dl>
      <section>
        <name>Key Sub-Type</name>
        <t>The Key Sub-Type is a mechanism to further describe
          the key's semantics. This is illustrated by <xref target="f5" format="default"/>.
          The Key Sub-Type <bcp14>MUST</bcp14> be used when the Key Type is either Well-Known or Experimental
          in order to avoid interoperability issues but is <bcp14>OPTIONAL</bcp14> for other Key Types.</t>
        <figure anchor="f5">
          <name>Generic Key-Value Structure with Key Sub-Type</name>
          <artwork align="center" alt="" name="" type=""><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Key Type    |  Key Sub-Type |      Key Sub-Identifier       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                      Values (variable)                        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+]]></artwork>
        </figure>
            <dl newline="true" spacing="normal">
              <dt>where:</dt>
              <dd><dl newline="true" spacing="normal">
              <dt><strong>Key Sub-Type:</strong></dt>
              <dd>
                <t>A 1-byte value that identifies the Key Sub-Type that
                describes the key and its semantics.</t>
                <t>The range of valid values is 1 - 255 (2<sup>8</sup>-1).</t>
                <t>0 is an illegal value and <bcp14>MUST NOT</bcp14> be
                allocated to or used by any implementation. KV TIEs received
                with this value <bcp14>MUST</bcp14> be discarded and logged at
                least once.</t>
              </dd>
              <dt><strong>Key Sub-Identifier:</strong></dt>
              <dd>
                <t>A 2-byte value that identifies the specific key and
                describes the semantics of any contained values.  It
                <bcp14>SHOULD</bcp14> be unique within the context of the
                given Key Sub-Type.</t>
                <t>The range of valid values is 1 - 65535 (2<sup>16</sup>-1).</t>
                <t>0 is an illegal value and <bcp14>MUST NOT</bcp14> be
                allocated to or used by any implementation. KV TIEs received
                with this value <bcp14>MUST</bcp14> be discarded and logged at
                least once.</t>
              </dd>
            </dl>
	      </dd>
	    </dl>
      </section>
      <section numbered="true" toc="default">
        <name>Experimental Key Type</name>
        <t>This section describes the Experimental Key Type.</t>
        <t>As shown in <xref target="f2" format="default"/>, the Key Type is set to 1, which identifies the Key Type as Experimental. The Experimental Key Type <bcp14>MUST</bcp14> support the use of a Key Sub-Type. The Key Sub-Identifier will be
        used to identify the specific key and the semantics of any contained values.
        </t>
        <figure anchor="f2">
          <name>Experimental Key Type</name>
          <artwork align="center" alt="" name="" type=""><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|       1       |  Key Sub-Type |      Key Sub-Identifier       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       Experimental Values                     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+]]></artwork>
        </figure>
      </section>
      <section numbered="true" toc="default">
        <name>Well-Known Key Type</name>
        <t>This section describes the Well-Known Key Type.</t>
        <t>As shown in <xref target="f3" format="default"/>, the Key Type is set to 2, which identifies the Key Type as Well-Known.
          The Well-Known Key Type <bcp14>MUST</bcp14> support the use of a Key Sub-Type. The Key Sub-Identifier will be
        used to identify the specific key and the semantics of any contained values.
        </t>
        <figure anchor="f3">
          <name>Well-Known Key Type</name>
          <artwork align="center" alt="" name="" type=""><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|       2       |  Key Sub-Type |      Key Sub-Identifier       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                      Well-Known Values                        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+]]></artwork>
        </figure>
      </section>
      <section numbered="true" toc="default">
        <name>OUI Key Type</name>
        <t>This section describes the OUI (vendor-specific) Key Type that an implementation <bcp14>MAY</bcp14> support.</t>
        <t>As shown in <xref target="f4" format="default"/>, the Key Type is set to 3, which identifies the
          Key Type as OUI. The Key Identifier <bcp14>MUST</bcp14> use the implementing
        organization's reserved <xref target="OUI">OUI</xref> space to indicate the key and the semantics of any contained values.
        </t>
        <figure anchor="f4">
          <name>OUI Key Type</name>
          <artwork align="center" alt="" name="" type=""><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|       3       |              OUI Key Identifier               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                     Vendor-Specific Values                    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+]]></artwork>
        </figure>
      </section>
    </section>
    <section anchor="design" toc="default" numbered="true">
      <name>Design Considerations</name>
      <aside><t><strong>NOTE:</strong> Like <xref target="RFC9692"/>, this section uses terms to denote directionality, specifically, "northbound" meaning "toward the top of the fabric"
        and "southbound" meaning "toward the bottom of the fabric".</t></aside>
      <t>While no explicit restrictions are placed on how Key-Value elements are used, it is of critical importance to consider these details.
        For example, they should not be used to carry topology information used by RIFT itself to perform distributed computations as it would likely lead to
        race conditions in convergence, oscillations, and/or other suboptimal behaviors.</t>
      <t>It is possible that deployments may have nodes that support a given KV TIE and others that do not.
        In this scenario, nodes that receive KV TIEs that they don't recognize (e.g., an unknown Key Type) will
      flood them normally as specified in <xref target="RFC9692" section="6.3.4" sectionFormat="of"/>.</t>
      <t>New Key Types offer 3 bytes of key identification space, and new Well-Known Key Sub-Types offer 2 bytes.
        When defining how key identification space is used, it is important to consider how much space is actually necessary in order to help
        ensure efficient use of available registry values.</t>
      <section anchor="tie-breaking" toc="default" numbered="true">
        <name>Tie-Breaking Considerations</name>
        <t>In cases where KV TIEs are flooded southbound, mechanisms <bcp14>SHOULD</bcp14> be implemented
        in order to avoid network-wide flooding where possible. Key Targets (defined in <xref target="key_target"/>) are one such mechanism.</t>
        <t><xref target="RFC9692" section="6.8.5.1" sectionFormat="of"/> specifies
          that only one KV TIE is selected when identical keys are received from multiple northbound neighbors.
          Therefore, it is <bcp14>RECOMMENDED</bcp14> that implementations ensure that nodes determine Values within KV TIEs independently in a consistent fashion in order
          to prevent scenarios where multiple ToFs advertise KV TIEs with identical keys but differing Values. In such scenarios, node(s) will select
          the KV TIE with the highest System ID, which may lead to unintended effects. Even with a robust implementation, operators should also consider that this may still happen under
          failure conditions, for example, multiple ToFs becoming split-brained.
        </t>
        <section>
          <name>Southbound KV TIE Tie-Break Sub-Type</name>
          <t>This section reserves a Key Sub-Type from the "RIFT Well-Known Key Sub-Types" registry.</t>
          <t>This Key-Value pair contains information that allows implementations to test and verify proper tie-breaking behavior for the Southbound
            Keystore. All implementations <bcp14>MUST</bcp14> support this Sub-Type.
          </t>
          <t>All implementations <bcp14>SHOULD</bcp14> use the Thrift model defined in <xref target="rift-s-kv-tie-break-model"/>.</t>
          <figure>
            <name>Southbound Tie-Break Sub-Type</name>
              <artwork align="center"><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|       2       |      127      |      Key Sub-Identifier       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     (System ID,                                               |
|      Level)                                                   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+]]></artwork>
          </figure>
          <dl newline="true" spacing="normal">
          <dt>where:</dt>
          <dd><dl newline="true" spacing="normal">
            <dt><strong>System ID:</strong></dt>
            <dd>A <bcp14>REQUIRED</bcp14> value indicating the node's unique System ID.</dd>
            <dt><strong>Level:</strong></dt>
            <dd>A <bcp14>RECOMMENDED</bcp14> value indicating the node's level.</dd>
          </dl>
	  </dd>
	  </dl>
          <section anchor="rift-s-kv-tie-break-model" numbered="true" toc="default">
            <name>Thrift Models</name>
            <t>This section contains the normative Thrift model to support testing southbound Key-Value tie-breaking based on System ID.
              Per <xref target="RFC9692" section="7" sectionFormat="of"/>, all signed values <bcp14>MUST</bcp14> be interpreted as unsigned values.</t>

            <figure>
              <name>RIFT Common Schema for Southbound Key-Value Tie-Break Key Sub-Type</name>
                <artwork align="left"><![CDATA[
include "common.thrift"

namespace py southbound_kv
namespace rs models

const i8            GlobalSystemIdentifierKV  = 127

/** simple type to test correct tie-breaking based on system ID */
struct SystemIdentifierKV {
    1:  required   common.SystemIDType         system_id,
    2:  optional   common.LevelType            level,
}]]></artwork>
            </figure>
          </section>
        </section>
      </section>
      <section anchor="key_target">
        <name>Key Target</name>
        <t>The Key Target is an <bcp14>OPTIONAL</bcp14> 64-bit value that identifies group(s) of node(s) that
          are intended to receive a given KV TIE. Key Targets have a valid range of 0 - 18446744073709551615 (2<sup>64</sup>-1).
        </t>
        <t>The Thrift model defined in <xref target="RFC9692" section="7.2" sectionFormat="of"/> <bcp14>SHOULD</bcp14> be used for
        Key Target implementation.</t>
        <t><xref target="f6" format="default"/> illustrates the format.</t>
        <figure anchor="f6">
          <name>Key Target Format</name>
            <artwork align="center"><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          Key Target                           |
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Key Type    |               Key Identifier                  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           Values                              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+]]></artwork>
        </figure>
        <t>A value of all 0s indicates that every node is intended to receive
          this KV TIE and <bcp14>MUST NOT</bcp14> be used for any other reason.</t>
        <t>A value of all 1s indicates that all leaf nodes are intended to receive
          this KV TIE and <bcp14>MUST NOT</bcp14> be used for any other reason.</t>
        <t>Any other value <bcp14>MUST</bcp14> be derived from the following normative algorithm. Note that while the
           algorithm is shown using example code written in <xref target="Rust" format="default"/>,
        this document does not mandate the use of any particular language for implementation.</t>
        <figure>
          <name>Key Target Standard Algorithm</name>
            <sourcecode markers="true"><![CDATA[
/// random seeds used in algorithms to increase entropy
pub const RANDOMSEEDS: [UnsignedSystemID; 3] = [
    67438371571u64,
    37087353685,
    88675895388,
];

/// given a system ID delivers the bits set by the according 
/// Bloom Filter in the southbound key value target.
pub (crate) fn target2bits(target: UnsignedSystemID) -> 
KeyValueTargetType {
    (0 as usize .. 3)
        .map(|s| {
            let rot = (target ^ RANDOMSEEDS[s]).rotate_left(s as _);
            rot.to_ne_bytes().iter().fold(0,
                            |v: u8, nv| v.rotate_right(4) ^ *nv) % 64
        })
        .fold(0, |v, nv| v | (1 << nv))
}
]]></sourcecode>
        </figure>
        <section>
          <name>Key Target Processing</name>
          <t>Nodes that support the processing of Key Targets <bcp14>MUST</bcp14> only do so on
            KV TIEs in the southbound direction. Key Targets <bcp14>MUST NOT</bcp14> be present on KV TIEs
            in the northbound direction and are ignored and logged at least once.</t>
          <t>
            Nodes that do not support the processing of Key Targets <bcp14>MUST</bcp14> continue to send KV TIEs
            to all nodes in the appropriate direction. Additionally, Key Targets <bcp14>MUST</bcp14> be preserved
            when KV TIEs are re-originated in the southbound direction.
          </t>
          <section>
            <name>Purging/Rollover</name>
            <t>There are several reasons a node may select a different KV TIE. For example, the KV TIE is
              considered newer due to the sequence number incrementing, a change in the original
              tie-breaking result between multiple KV TIEs, or a loss of northbound connectivity to the node
              that advertised the previously selected KV TIE.</t>
            <t>Consider a case where Leaf-1, Leaf-2, and Leaf-3 are members of a group of nodes represented by
              Key Target KT1. If Leaf-2 is removed from that group and a newer instance of the KV TIE needs to be flooded,
              Leaf-2 will have to maintain the older KV TIE in the 	Link State Database (LSDB) until the lifetime expires. This could lead to
              suboptimal behavior in the fabric.
            </t>
            <t>If the new KV TIE being flooded does not include the previous Key Target value, then implementations
              <bcp14>SHOULD</bcp14> flood the newer instance of the KV TIE with a very short lifetime to nodes that belonged to the previous Key
              Target but not the new Key Target.</t>
          </section>
        </section>
      </section>
    </section>
    <section anchor="RIFT-KV-IANA" toc="default" numbered="true">
      <name>IANA Considerations</name>
      <t>Per <xref target="RFC8126"/>, IANA has created the "RIFT Well-Known Key Sub-Types" registry in the "Routing in Fat Trees (RIFT)" registry group at <eref target="https://www.iana.org/assignments/rift" brackets="angle"/>.</t>
      <t>IANA has updated the "RIFTCommonKVTypes" registry based on values defined in <xref target="generic_kv_structure"/> of this document, and this document has been added as a reference.</t>
      <t>Experts reviewing requests for new values to either the "RIFTCommonKVTypes" registry or the "RIFT Well-Known Key Sub-Types" registry <bcp14>MUST</bcp14> consider the items in "Expert Review Guidance"
      <xref target="expert_review_guide"/>.</t>
      <section numbered="true" toc="default">
        <name>RIFT Well-Known Key Sub-Types</name>
        <t>IANA has created the following registry:</t>
            <dl newline="true" spacing="normal">
              <dt>Registry Name:</dt>
              <dd>RIFT Well-Known Key Sub-Types</dd>
              <dt>Registration Procedures:</dt>
              <dd>Expert Review</dd>
              <dt>Description:</dt>
              <dd>Well-Known Key Sub-Types registry for the RIFT protocol.</dd>
              <dt>Reference:</dt>
              <dd>RFC 9992</dd>
            </dl>

        <section numbered="true" toc="default">
          <name>RIFT Well-Known Key Sub-Types Entries</name>
          <t>IANA has registered the following values
              in the "RIFT Well-Known Key Sub-Types" registry.
          </t>
          <table align="left">
            <name>RIFT Well-Known Key Sub-Types Entries</name>
            <thead>
              <tr>
                <th align="left">Value</th>
                <th align="left">Name</th>
                <th align="left">Description</th>
                <th align="left">Reference</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="left">0</td>
                <td align="left">Illegal</td>
                <td align="left">Not allowed.</td>
                <td align="left">RFC 9992</td>
              </tr>
              <tr>
                <td align="left">1-126</td>
                <td colspan="3" align="left">Unassigned</td>
              </tr>
              <tr>
                <td align="left">127</td>
                <td align="left">Southbound Tie-Break Sub-Type</td>
                <td align="left">Used for testing/verifying Southbound Keystore tie-breaking behavior.</td>
                <td align="left">RFC 9992</td>
              </tr>
              <tr>
                <td align="left">128-255</td>
                <td colspan="3" align="left">Unassigned</td>
              </tr>
            </tbody>
          </table>
        </section>
      </section>
      <section anchor="expert_review_guide" toc="default" numbered="true">
        <name>Expert Review Guidance</name>
        <t>Experts reviewing requests for values from the "RIFTCommonKVTypes" registry or
          the "RIFT Well-Known Key Sub-Types" registry are responsible for the following:</t>
        <ol>
          <li>
            <t>Ensuring that the supporting documentation accompanying the request properly defines how
              Key Identifiers and/or Key Sub-Identifiers are used
              (e.g., as a boolean, an explicit value, an auto-derived value, etc.).</t>
          </li>
          <li>
            <t>Ensuring that the supporting documentation provides normative Thrift model(s) (if applicable).</t>
          </li>
          <li>
            <t>Ensuring that any work originating outside the IETF does not conflict
              with any work that is already published or in active pursuit of being
              published.</t>
          </li>
        </ol>
      </section>
    </section>
    <section numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>This document introduces no new security concerns to RIFT or other
         specifications referenced in this document given that the KV TIEs
         are already extensively secured by the
         <xref target="RFC9692" format="default">RIFT</xref> protocol specification itself.
      </t>
    </section>
  </middle>
  <back>
    <displayreference target="I-D.ietf-rift-auto-evpn" to="RIFT-AUTO-EVPN"/>
    <references>
      <name>References</name>
    <references>
      <name>Normative References</name>
      <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
      <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
      <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8126.xml"/>
      <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9692.xml"/>
      <reference anchor="THRIFT" target="https://github.com/apache/thrift/tree/0.15.0/doc">
        <front>
          <title>Thrift Language Implementation and Documentation</title>
          <author>
            <organization>Apache Software Foundation</organization>
          </author>
          <date/>
        </front>
        <refcontent>commit 66d8976</refcontent>
      </reference>
      <reference anchor="OUI" target="https://standards-support.ieee.org/hc/en-us/articles/4888705676564-Guidelines-for-Use-of-Extended-Unique-Identifier-EUI-Organizationally-Unique-Identifier-OUI-and-Company-ID-CID">
        <front>
          <title>Guidelines for Use of Extended Unique Identifier (EUI), Organizationally Unique Identifier (OUI), and Company ID (CID)</title>
          <author>
            <organization showOnFrontPage="true">IEEE</organization>
          </author>
        </front>
      </reference>
      <reference anchor="Rust" target="https://doc.rust-lang.org/reference/">
        <front>
          <title>The Rust Reference</title>
          <author>
            <organization>Rust Foundation</organization>
          </author>
          <date/>
        </front>
      </reference>
    </references>
    <references>
      <name>Informative References</name>
      <xi:include href="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-rift-auto-evpn.xml"/>
    </references>
    </references>
    <section numbered="false" toc="default">
      <name>Acknowledgements</name>
      <t>Thanks to <contact fullname="Italo Busi"/> for his very thoughtful review that yielded an improved spec.</t>
    </section>
  </back>
</rfc>
