<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" ipr="trust200902" docName="draft-ietf-netmod-rfc8407bis-28" number="9907" category="bcp" consensus="true" submissionType="IETF" obsoletes="8407" updates="8126" tocInclude="true" sortRefs="true" symRefs="true" xml:lang="en" prepTime="2026-03-15T19:43:01" indexInclude="true" scripts="Common,Latin" tocDepth="3">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-netmod-rfc8407bis-28" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9907" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="Guidelines for YANG Documents">Guidelines for Authors and Reviewers of Documents Containing YANG Data Models</title>
    <seriesInfo name="RFC" value="9907" stream="IETF"/>
    <seriesInfo name="BCP" value="216" stream="IETF"/>
    <author fullname="Andy Bierman">
      <organization showOnFrontPage="true">YumaWorks</organization>
      <address>
        <postal>
          <country>United States of America</country>
        </postal>
        <email>andy@yumaworks.com</email>
      </address>
    </author>
    <author fullname="Mohamed Boucadair" role="editor">
      <organization showOnFrontPage="true">Orange</organization>
      <address>
        <postal>
          <country>France</country>
        </postal>
        <email>mohamed.boucadair@orange.com</email>
      </address>
    </author>
    <author fullname="Qin Wu">
      <organization showOnFrontPage="true">Huawei</organization>
      <address>
        <postal>
          <country>China</country>
        </postal>
        <email>bill.wu@huawei.com</email>
      </address>
    </author>
    <date month="03" year="2026"/>
    <area>OPS</area>
    <workgroup>netmod</workgroup>
    <keyword>NETCONF</keyword>
    <keyword>RESTCONF</keyword>
    <keyword>Automation</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">This document provides guidelines for authors and reviewers of
   specifications containing YANG data models, including IANA-maintained YANG modules.  Recommendations and
   procedures are defined, which are intended to increase
   interoperability and usability of Network Configuration Protocol
   (NETCONF) and RESTCONF protocol implementations that utilize YANG
   modules.</t>
      <t indent="0" pn="section-abstract-2">This document obsoletes RFC 8407; it also updates RFC 8126 by
   providing additional guidelines for writing the IANA considerations
   for RFCs that specify IANA-maintained YANG modules.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This memo documents an Internet Best Current Practice.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further information
            on BCPs is available in Section 2 of RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9907" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2026 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.1.2">
              <li pn="section-toc.1-1.1.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.2.1.1"><xref derivedContent="1.1" format="counter" sectionFormat="of" target="section-1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-changes-since-rfc-8407">Changes Since RFC 8407</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology-and-notation-co">Terminology and Notation Conventions</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.2.2">
              <li pn="section-toc.1-1.2.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.2.1.1"><xref derivedContent="2.1" format="counter" sectionFormat="of" target="section-2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-netconf-terms">NETCONF Terms</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.2">
                <t indent="0" pn="section-toc.1-1.2.2.2.1"><xref derivedContent="2.2" format="counter" sectionFormat="of" target="section-2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-terms">YANG Terms</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.3">
                <t indent="0" pn="section-toc.1-1.2.2.3.1"><xref derivedContent="2.3" format="counter" sectionFormat="of" target="section-2.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-network-management-datastor">Network Management Datastore Architecture (NMDA) Terms</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.4">
                <t indent="0" pn="section-toc.1-1.2.2.4.1"><xref derivedContent="2.4" format="counter" sectionFormat="of" target="section-2.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-requirements-notation">Requirements Notation</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.5">
                <t indent="0" pn="section-toc.1-1.2.2.5.1"><xref derivedContent="2.5" format="counter" sectionFormat="of" target="section-2.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-data-model-versus-yang">YANG Data Model versus YANG Module</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-general-documentation-guide">General Documentation Guidelines</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.3.2">
              <li pn="section-toc.1-1.3.2.1">
                <t indent="0" pn="section-toc.1-1.3.2.1.1"><xref derivedContent="3.1" format="counter" sectionFormat="of" target="section-3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-module-copyright">Module Copyright</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.2">
                <t indent="0" pn="section-toc.1-1.3.2.2.1"><xref derivedContent="3.2" format="counter" sectionFormat="of" target="section-3.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-code-components">Code Components</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.3.2.2.2">
                  <li pn="section-toc.1-1.3.2.2.2.1">
                    <t indent="0" pn="section-toc.1-1.3.2.2.2.1.1"><xref derivedContent="3.2.1" format="counter" sectionFormat="of" target="section-3.2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-example-modules">Example Modules</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.3.2.3">
                <t indent="0" pn="section-toc.1-1.3.2.3.1"><xref derivedContent="3.3" format="counter" sectionFormat="of" target="section-3.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology-section">Terminology Section</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.4">
                <t indent="0" pn="section-toc.1-1.3.2.4.1"><xref derivedContent="3.4" format="counter" sectionFormat="of" target="section-3.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-tree-diagrams">Tree Diagrams</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.5">
                <t indent="0" pn="section-toc.1-1.3.2.5.1"><xref derivedContent="3.5" format="counter" sectionFormat="of" target="section-3.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-narrative-sections">Narrative Sections</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.3.2.5.2">
                  <li pn="section-toc.1-1.3.2.5.2.1">
                    <t indent="0" pn="section-toc.1-1.3.2.5.2.1.1"><xref derivedContent="3.5.1" format="counter" sectionFormat="of" target="section-3.5.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-module-classification">YANG Module Classification</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.3.2.6">
                <t indent="0" pn="section-toc.1-1.3.2.6.1"><xref derivedContent="3.6" format="counter" sectionFormat="of" target="section-3.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-definitions-section">Definitions Section</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.7">
                <t indent="0" pn="section-toc.1-1.3.2.7.1"><xref derivedContent="3.7" format="counter" sectionFormat="of" target="section-3.7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations-sec">Security Considerations Section</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.3.2.7.2">
                  <li pn="section-toc.1-1.3.2.7.2.1">
                    <t indent="0" pn="section-toc.1-1.3.2.7.2.1.1"><xref derivedContent="3.7.1" format="counter" sectionFormat="of" target="section-3.7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations-sect">Security Considerations Section Template</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.3.2.8">
                <t indent="0" pn="section-toc.1-1.3.2.8.1"><xref derivedContent="3.8" format="counter" sectionFormat="of" target="section-3.8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations-section">IANA Considerations Section</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.3.2.8.2">
                  <li pn="section-toc.1-1.3.2.8.2.1">
                    <t indent="0" pn="section-toc.1-1.3.2.8.2.1.1"><xref derivedContent="3.8.1" format="counter" sectionFormat="of" target="section-3.8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-documents-that-create-a-new">Documents That Create a New Namespace</xref></t>
                  </li>
                  <li pn="section-toc.1-1.3.2.8.2.2">
                    <t indent="0" pn="section-toc.1-1.3.2.8.2.2.1"><xref derivedContent="3.8.2" format="counter" sectionFormat="of" target="section-3.8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-documents-that-extend-an-ex">Documents That Extend an Existing Namespace</xref></t>
                  </li>
                  <li pn="section-toc.1-1.3.2.8.2.3">
                    <t indent="0" pn="section-toc.1-1.3.2.8.2.3.1"><xref derivedContent="3.8.3" format="counter" sectionFormat="of" target="section-3.8.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-registration-templates">Registration Templates</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.3.2.9">
                <t indent="0" pn="section-toc.1-1.3.2.9.1"><xref derivedContent="3.9" format="counter" sectionFormat="of" target="section-3.9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-references-sections">References Sections</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.10">
                <t indent="0" pn="section-toc.1-1.3.2.10.1"><xref derivedContent="3.10" format="counter" sectionFormat="of" target="section-3.10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-validation-tools">Validation Tools</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.11">
                <t indent="0" pn="section-toc.1-1.3.2.11.1"><xref derivedContent="3.11" format="counter" sectionFormat="of" target="section-3.11"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-module-extraction-tools">Module Extraction Tools</xref></t>
              </li>
              <li pn="section-toc.1-1.3.2.12">
                <t indent="0" pn="section-toc.1-1.3.2.12.1"><xref derivedContent="3.12" format="counter" sectionFormat="of" target="section-3.12"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-module-usage-examples">Module Usage Examples</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-usage-guidelines">YANG Usage Guidelines</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-module-naming-conventions">Module Naming Conventions</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.2">
                <t indent="0" pn="section-toc.1-1.4.2.2.1"><xref derivedContent="4.2" format="counter" sectionFormat="of" target="section-4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-prefixes">Prefixes</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.3">
                <t indent="0" pn="section-toc.1-1.4.2.3.1"><xref derivedContent="4.3" format="counter" sectionFormat="of" target="section-4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-identifiers">Identifiers</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.3.2">
                  <li pn="section-toc.1-1.4.2.3.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.3.2.1.1"><xref derivedContent="4.3.1" format="counter" sectionFormat="of" target="section-4.3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-identifier-naming-conventio">Identifier Naming Conventions</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.4">
                <t indent="0" pn="section-toc.1-1.4.2.4.1"><xref derivedContent="4.4" format="counter" sectionFormat="of" target="section-4.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-defaults">Defaults</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.5">
                <t indent="0" pn="section-toc.1-1.4.2.5.1"><xref derivedContent="4.5" format="counter" sectionFormat="of" target="section-4.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-conditional-statements">Conditional Statements</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.6">
                <t indent="0" pn="section-toc.1-1.4.2.6.1"><xref derivedContent="4.6" format="counter" sectionFormat="of" target="section-4.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-xpath-usage">XPath Usage</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.6.2">
                  <li pn="section-toc.1-1.4.2.6.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.6.2.1.1"><xref derivedContent="4.6.1" format="counter" sectionFormat="of" target="section-4.6.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-xpath-evaluation-contexts">XPath Evaluation Contexts</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.6.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.6.2.2.1"><xref derivedContent="4.6.2" format="counter" sectionFormat="of" target="section-4.6.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-function-library">Function Library</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.6.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.6.2.3.1"><xref derivedContent="4.6.3" format="counter" sectionFormat="of" target="section-4.6.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-axes">Axes</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.6.2.4">
                    <t indent="0" pn="section-toc.1-1.4.2.6.2.4.1"><xref derivedContent="4.6.4" format="counter" sectionFormat="of" target="section-4.6.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-types">Types</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.6.2.5">
                    <t indent="0" pn="section-toc.1-1.4.2.6.2.5.1"><xref derivedContent="4.6.5" format="counter" sectionFormat="of" target="section-4.6.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-wildcards">Wildcards</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.6.2.6">
                    <t indent="0" pn="section-toc.1-1.4.2.6.2.6.1"><xref derivedContent="4.6.6" format="counter" sectionFormat="of" target="section-4.6.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-boolean-expressions">Boolean Expressions</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.7">
                <t indent="0" pn="section-toc.1-1.4.2.7.1"><xref derivedContent="4.7" format="counter" sectionFormat="of" target="section-4.7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-definition-lifecycle-m">YANG Definition Lifecycle Management</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.8">
                <t indent="0" pn="section-toc.1-1.4.2.8.1"><xref derivedContent="4.8" format="counter" sectionFormat="of" target="section-4.8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-module-header-meta-and-revi">Module Header, Meta, and Revision Statements</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.9">
                <t indent="0" pn="section-toc.1-1.4.2.9.1"><xref derivedContent="4.9" format="counter" sectionFormat="of" target="section-4.9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-namespace-assignments">Namespace Assignments</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.10">
                <t indent="0" pn="section-toc.1-1.4.2.10.1"><xref derivedContent="4.10" format="counter" sectionFormat="of" target="section-4.10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-top-level-data-definitions">Top-Level Data Definitions</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.11">
                <t indent="0" pn="section-toc.1-1.4.2.11.1"><xref derivedContent="4.11" format="counter" sectionFormat="of" target="section-4.11"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-data-types">Data Types</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.11.2">
                  <li pn="section-toc.1-1.4.2.11.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.11.2.1.1"><xref derivedContent="4.11.1" format="counter" sectionFormat="of" target="section-4.11.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-fixed-value-extensibility">Fixed-Value Extensibility</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.11.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.11.2.2.1"><xref derivedContent="4.11.2" format="counter" sectionFormat="of" target="section-4.11.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-patterns-and-ranges">Patterns and Ranges</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.11.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.11.2.3.1"><xref derivedContent="4.11.3" format="counter" sectionFormat="of" target="section-4.11.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-enumerations-and-bits">Enumerations and Bits</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.11.2.4">
                    <t indent="0" pn="section-toc.1-1.4.2.11.2.4.1"><xref derivedContent="4.11.4" format="counter" sectionFormat="of" target="section-4.11.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-union-types">Union Types</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.11.2.5">
                    <t indent="0" pn="section-toc.1-1.4.2.11.2.5.1"><xref derivedContent="4.11.5" format="counter" sectionFormat="of" target="section-4.11.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-empty-and-boolean">Empty and Boolean</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.12">
                <t indent="0" pn="section-toc.1-1.4.2.12.1"><xref derivedContent="4.12" format="counter" sectionFormat="of" target="section-4.12"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-reusable-type-definitions">Reusable Type Definitions</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.13">
                <t indent="0" pn="section-toc.1-1.4.2.13.1"><xref derivedContent="4.13" format="counter" sectionFormat="of" target="section-4.13"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-reusable-groupings">Reusable Groupings</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.14">
                <t indent="0" pn="section-toc.1-1.4.2.14.1"><xref derivedContent="4.14" format="counter" sectionFormat="of" target="section-4.14"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-data-definitions">Data Definitions</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.14.2">
                  <li pn="section-toc.1-1.4.2.14.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.14.2.1.1"><xref derivedContent="4.14.1" format="counter" sectionFormat="of" target="section-4.14.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-non-presence-containers">Non-Presence Containers</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.14.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.14.2.2.1"><xref derivedContent="4.14.2" format="counter" sectionFormat="of" target="section-4.14.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-top-level-data-nodes">Top-Level Data Nodes</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.15">
                <t indent="0" pn="section-toc.1-1.4.2.15.1"><xref derivedContent="4.15" format="counter" sectionFormat="of" target="section-4.15"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-operation-definitions">Operation Definitions</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.16">
                <t indent="0" pn="section-toc.1-1.4.2.16.1"><xref derivedContent="4.16" format="counter" sectionFormat="of" target="section-4.16"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-notification-definitions">Notification Definitions</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.17">
                <t indent="0" pn="section-toc.1-1.4.2.17.1"><xref derivedContent="4.17" format="counter" sectionFormat="of" target="section-4.17"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-feature-definitions">Feature Definitions</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.18">
                <t indent="0" pn="section-toc.1-1.4.2.18.1"><xref derivedContent="4.18" format="counter" sectionFormat="of" target="section-4.18"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-data-node-constraints">YANG Data Node Constraints</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.18.2">
                  <li pn="section-toc.1-1.4.2.18.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.18.2.1.1"><xref derivedContent="4.18.1" format="counter" sectionFormat="of" target="section-4.18.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-controlling-quantity">Controlling Quantity</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.18.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.18.2.2.1"><xref derivedContent="4.18.2" format="counter" sectionFormat="of" target="section-4.18.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-must-versus-when">"must" versus "when"</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.19">
                <t indent="0" pn="section-toc.1-1.4.2.19.1"><xref derivedContent="4.19" format="counter" sectionFormat="of" target="section-4.19"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-augment-statements">"augment" Statements</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.19.2">
                  <li pn="section-toc.1-1.4.2.19.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.19.2.1.1"><xref derivedContent="4.19.1" format="counter" sectionFormat="of" target="section-4.19.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-conditional-augment-stateme">Conditional Augment Statements</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.19.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.19.2.2.1"><xref derivedContent="4.19.2" format="counter" sectionFormat="of" target="section-4.19.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-conditionally-mandatory-dat">Conditionally Mandatory Data Definition Statements</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.20">
                <t indent="0" pn="section-toc.1-1.4.2.20.1"><xref derivedContent="4.20" format="counter" sectionFormat="of" target="section-4.20"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-deviation-statements">Deviation Statements</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.21">
                <t indent="0" pn="section-toc.1-1.4.2.21.1"><xref derivedContent="4.21" format="counter" sectionFormat="of" target="section-4.21"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-extension-statements">Extension Statements</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.22">
                <t indent="0" pn="section-toc.1-1.4.2.22.1"><xref derivedContent="4.22" format="counter" sectionFormat="of" target="section-4.22"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-data-correlation">Data Correlation</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.22.2">
                  <li pn="section-toc.1-1.4.2.22.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.22.2.1.1"><xref derivedContent="4.22.1" format="counter" sectionFormat="of" target="section-4.22.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-use-of-leafref-for-key-corr">Use of "leafref" for Key Correlation</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.23">
                <t indent="0" pn="section-toc.1-1.4.2.23.1"><xref derivedContent="4.23" format="counter" sectionFormat="of" target="section-4.23"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-operational-state">Operational State</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.23.2">
                  <li pn="section-toc.1-1.4.2.23.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.23.2.1.1"><xref derivedContent="4.23.1" format="counter" sectionFormat="of" target="section-4.23.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-combining-operational-state">Combining Operational State and Configuration Data</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.23.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.23.2.2.1"><xref derivedContent="4.23.2" format="counter" sectionFormat="of" target="section-4.23.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-representing-operational-va">Representing Operational Values of Configuration Data</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.23.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.23.2.3.1"><xref derivedContent="4.23.3" format="counter" sectionFormat="of" target="section-4.23.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-nmda-transition-guidelines">NMDA Transition Guidelines</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.24">
                <t indent="0" pn="section-toc.1-1.4.2.24.1"><xref derivedContent="4.24" format="counter" sectionFormat="of" target="section-4.24"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-performance-considerations">Performance Considerations</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.25">
                <t indent="0" pn="section-toc.1-1.4.2.25.1"><xref derivedContent="4.25" format="counter" sectionFormat="of" target="section-4.25"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-open-systems-considerations">Open Systems Considerations</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.26">
                <t indent="0" pn="section-toc.1-1.4.2.26.1"><xref derivedContent="4.26" format="counter" sectionFormat="of" target="section-4.26"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-guidelines-for-constructs-s">Guidelines for Constructs Specific to YANG 1.1</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.26.2">
                  <li pn="section-toc.1-1.4.2.26.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.26.2.1.1"><xref derivedContent="4.26.1" format="counter" sectionFormat="of" target="section-4.26.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-importing-multiple-revision">Importing Multiple Revisions</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.26.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.26.2.2.1"><xref derivedContent="4.26.2" format="counter" sectionFormat="of" target="section-4.26.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-using-feature-logic">Using Feature Logic</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.26.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.26.2.3.1"><xref derivedContent="4.26.3" format="counter" sectionFormat="of" target="section-4.26.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-anyxml-versus-anydata">"anyxml" versus "anydata"</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.26.2.4">
                    <t indent="0" pn="section-toc.1-1.4.2.26.2.4.1"><xref derivedContent="4.26.4" format="counter" sectionFormat="of" target="section-4.26.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-action-versus-rpc">"action" versus "rpc"</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.27">
                <t indent="0" pn="section-toc.1-1.4.2.27.1"><xref derivedContent="4.27" format="counter" sectionFormat="of" target="section-4.27"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-updating-yang-modules-publi">Updating YANG Modules (Published versus Unpublished)</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.28">
                <t indent="0" pn="section-toc.1-1.4.2.28.1"><xref derivedContent="4.28" format="counter" sectionFormat="of" target="section-4.28"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-defining-standard-tags">Defining Standard Tags</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.29">
                <t indent="0" pn="section-toc.1-1.4.2.29.1"><xref derivedContent="4.29" format="counter" sectionFormat="of" target="section-4.29"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-modeling-abstract-data-stru">Modeling Abstract Data Structures</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.30">
                <t indent="0" pn="section-toc.1-1.4.2.30.1"><xref derivedContent="4.30" format="counter" sectionFormat="of" target="section-4.30"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-maintained-yang-module">IANA-Maintained YANG Modules</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.30.2">
                  <li pn="section-toc.1-1.4.2.30.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.30.2.1.1"><xref derivedContent="4.30.1" format="counter" sectionFormat="of" target="section-4.30.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-context">Context</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.30.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.30.2.2.1"><xref derivedContent="4.30.2" format="counter" sectionFormat="of" target="section-4.30.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-guidelines-for-iana-maintai">Guidelines for IANA-Maintained YANG Modules</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.30.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.30.2.3.1"><xref derivedContent="4.30.3" format="counter" sectionFormat="of" target="section-4.30.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-guidance-for-writing-the-ia">Guidance for Writing the IANA Considerations for RFCs Defining IANA-Maintained YANG Modules</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2">
              <li pn="section-toc.1-1.5.2.1">
                <t indent="0" pn="section-toc.1-1.5.2.1.1"><xref derivedContent="5.1" format="counter" sectionFormat="of" target="section-5.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-modules">YANG Modules</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.2">
                <t indent="0" pn="section-toc.1-1.5.2.2.1"><xref derivedContent="5.2" format="counter" sectionFormat="of" target="section-5.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-update-in-yang-parameters-r">Update in YANG Parameters Registry Group</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.3">
                <t indent="0" pn="section-toc.1-1.5.2.3.1"><xref derivedContent="5.3" format="counter" sectionFormat="of" target="section-5.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-maintained-yang-modules">IANA-Maintained YANG Modules</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2.3.2">
                  <li pn="section-toc.1-1.5.2.3.2.1">
                    <t indent="0" pn="section-toc.1-1.5.2.3.2.1.1"><xref derivedContent="5.3.1" format="counter" sectionFormat="of" target="section-5.3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-requirements-for-all-module">Requirements for All Modules</xref></t>
                  </li>
                  <li pn="section-toc.1-1.5.2.3.2.2">
                    <t indent="0" pn="section-toc.1-1.5.2.3.2.2.1"><xref derivedContent="5.3.2" format="counter" sectionFormat="of" target="section-5.3.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-requirements-subject-to-cus">Requirements Subject to Customization</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-operational-considerations">Operational Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2">
              <li pn="section-toc.1-1.8.2.1">
                <t indent="0" pn="section-toc.1-1.8.2.1.1"><xref derivedContent="8.1" format="counter" sectionFormat="of" target="section-8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.2">
                <t indent="0" pn="section-toc.1-1.8.2.2.1"><xref derivedContent="8.2" format="counter" sectionFormat="of" target="section-8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-module-review-checklist">Module Review Checklist</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="Appendix B" format="default" sectionFormat="of" target="section-appendix.b"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-template-for-ietf-modules">Template for IETF Modules</xref></t>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="Appendix C" format="default" sectionFormat="of" target="section-appendix.c"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-template-for-iana-maintained-">Template for IANA-Maintained YANG Modules</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.d"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgments">Acknowledgments</xref></t>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.e"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="introduction" numbered="true" removeInRFC="false" toc="include" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">The standardization of network configuration interfaces for use with
   network configuration management protocols, such as the Network
   Configuration Protocol (NETCONF) <xref target="RFC6241" format="default" sectionFormat="of" derivedContent="RFC6241"/> and RESTCONF <xref target="RFC8040" format="default" sectionFormat="of" derivedContent="RFC8040"/>,
   requires a modular set of data models that can be reused and extended
   over time.</t>
      <t indent="0" pn="section-1-2">This document defines a set of guidelines for documents
   containing YANG 1.1 <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/> and YANG 1.0 <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/> data models, including IANA-maintained YANG modules.
   YANG is used to define the data structures, protocol operations, and
   notification content used within a NETCONF and/or RESTCONF server.
   YANG is also used to define abstract data structures <xref target="RFC8791" format="default" sectionFormat="of" derivedContent="RFC8791"/>.
   A NETCONF or RESTCONF server that supports a particular YANG module
   will support client NETCONF and/or RESTCONF operation requests, as
   indicated by the specific content defined in the YANG module.</t>
      <t indent="0" pn="section-1-3">Many YANG constructs are defined as optional to use, such as the
   "description" statement.  However, in order to make YANG modules more
   readable and interoperable, it is desirable to define a set of descriptive usage guidelines that
   entails a higher level of compliance than the minimum level defined
   in the YANG specification <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/>.</t>
      <t indent="0" pn="section-1-4">In addition, YANG allows constructs such as infinite length
   identifiers and string values, or top-level mandatory nodes, that a
   compliant server is not required to support.  Only constructs that
      all servers are required to support can be used in IETF YANG modules.</t>
      <t indent="0" pn="section-1-5">This document defines usage guidelines related to the NETCONF
   Operations layer and NETCONF Content layer, as defined in <xref target="RFC6241" format="default" sectionFormat="of" derivedContent="RFC6241"/>,
   and the RESTCONF methods and RESTCONF resources, as defined in
   <xref target="RFC8040" format="default" sectionFormat="of" derivedContent="RFC8040"/>.</t>
      <t indent="0" pn="section-1-6">These guidelines are intended to be used by authors and reviewers to
   improve the readability and interoperability of published YANG data
   models. These guidelines can be used independent of the IETF Stream of publication or even by other organizations.</t>
      <t indent="0" pn="section-1-7">YANG 1.0 modules have to conform to <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/> while YANG 1.1 modules have to conform to <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/>;
   this document adds usage guidelines in addition to these RFCs.</t>
      <t indent="0" pn="section-1-8"><xref target="sec-iana-mm" format="default" sectionFormat="of" derivedContent="Section 4.30.3"/> updates <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/> by providing guidance for writing the
   IANA Considerations sections for RFCs that specify IANA-maintained YANG modules.</t>
      <t indent="0" pn="section-1-9">Note that this document is not a YANG tutorial; the reader is
   expected to know the YANG data modeling language before implementing
      the guidance in this document.</t>
      <t indent="0" pn="section-1-10">This RFC contains text intended for use as a template as
designated below by the markers "<tt>&lt;BEGIN TEMPLATE TEXT&gt;</tt>" and "<tt>&lt;END
TEMPLATE TEXT&gt;</tt>" or other clear designation. Such Template Text is
subject to the provisions of Section 9(b) of the Trust Legal
Provisions.</t>
      <section anchor="changes-since-rfc-8407" numbered="true" removeInRFC="false" toc="include" pn="section-1.1">
        <name slugifiedName="name-changes-since-rfc-8407">Changes Since RFC 8407</name>
        <t indent="0" pn="section-1.1-1">The following changes have been made to the guidelines published in
   <xref target="RFC8407" format="default" sectionFormat="of" derivedContent="RFC8407"/>:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-1.1-2">
          <li pn="section-1.1-2.1">
            <t indent="0" pn="section-1.1-2.1.1">Implemented the following errata reports: <xref target="Err5693" format="default" sectionFormat="of" derivedContent="Err5693"/>, <xref target="Err5800" format="default" sectionFormat="of" derivedContent="Err5800"/>, <xref target="Err6899" format="default" sectionFormat="of" derivedContent="Err6899"/>, and <xref target="Err7416" format="default" sectionFormat="of" derivedContent="Err7416"/>.</t>
          </li>
          <li pn="section-1.1-2.2">
            <t indent="0" pn="section-1.1-2.2.1">Updated the terminology.</t>
          </li>
          <li pn="section-1.1-2.3">
            <t indent="0" pn="section-1.1-2.3.1">Added a note about notation conventions.</t>
          </li>
          <li pn="section-1.1-2.4">
            <t indent="0" pn="section-1.1-2.4.1">Updated the reference information of the IETF author guidelines.</t>
          </li>
          <li pn="section-1.1-2.5">
            <t indent="0" pn="section-1.1-2.5.1">Updated the guidance so that the "file name" after the "<tt>&lt;CODE BEGINS&gt;</tt>" tag is mandatory.</t>
          </li>
          <li pn="section-1.1-2.6">
            <t indent="0" pn="section-1.1-2.6.1">Added template markers for the security template.</t>
          </li>
          <li pn="section-1.1-2.7">
            <t indent="0" pn="section-1.1-2.7.1">Updated the YANG security considerations template to better insist on the key secure transport features.</t>
          </li>
          <li pn="section-1.1-2.8">
            <t indent="0" pn="section-1.1-2.8.1">Added statements that the security template is not required for modules that follow <xref target="RFC8791" format="default" sectionFormat="of" derivedContent="RFC8791"/> or define YANG extensions such as <xref target="RFC7952" format="default" sectionFormat="of" derivedContent="RFC7952"/>.</t>
          </li>
          <li pn="section-1.1-2.9">
            <t indent="0" pn="section-1.1-2.9.1">Added a statement about how to cite the RFCs that are listed in the security template.</t>
          </li>
          <li pn="section-1.1-2.10">
            <t indent="0" pn="section-1.1-2.10.1">Added a template for IANA registrations.</t>
          </li>
          <li pn="section-1.1-2.11">
            <t indent="0" pn="section-1.1-2.11.1">Added a note that folding of the examples should be done as per the conventions described in <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
          </li>
          <li pn="section-1.1-2.12">
            <t indent="0" pn="section-1.1-2.12.1">Added a recommendation about long trees.</t>
          </li>
          <li pn="section-1.1-2.13">
            <t indent="0" pn="section-1.1-2.13.1">Fixed a reference bug in <xref target="sec-module-naming-conventions" format="default" sectionFormat="of" derivedContent="Section 4.1"/>.</t>
          </li>
          <li pn="section-1.1-2.14">
            <t indent="0" pn="section-1.1-2.14.1">Added a recommendation for the use of meaningful prefix values.</t>
          </li>
          <li pn="section-1.1-2.15">
            <t indent="0" pn="section-1.1-2.15.1">Added a note that folding of YANG modules as described in RFC 8792 can be used if and only if built-in YANG features (e.g., break line, "+") are not sufficient.</t>
          </li>
          <li pn="section-1.1-2.16">
            <t indent="0" pn="section-1.1-2.16.1">Added tool validation checks to ensure that YANG modules fit into the line limits of an I-D.</t>
          </li>
          <li pn="section-1.1-2.17">
            <t indent="0" pn="section-1.1-2.17.1">Added tool validation checks of JSON-encoded examples.</t>
          </li>
          <li pn="section-1.1-2.18">
            <t indent="0" pn="section-1.1-2.18.1">Added a recommendation to ease extracting and validating examples.</t>
          </li>
          <li pn="section-1.1-2.19">
            <t indent="0" pn="section-1.1-2.19.1">Updated many examples to be aligned with the consistent indentation recommendation (internal consistency).</t>
          </li>
          <li pn="section-1.1-2.20">
            <t indent="0" pn="section-1.1-2.20.1">Updated the guidance for writing IANA Considerations sections to
     encourage registration requests to indicate whether or not a module is
     maintained by IANA.</t>
          </li>
          <li pn="section-1.1-2.21">
            <t indent="0" pn="section-1.1-2.21.1">Added guidelines for IANA-maintained YANG modules.</t>
          </li>
          <li pn="section-1.1-2.22">
            <t indent="0" pn="section-1.1-2.22.1">Added guidelines about the use of the terms "YANG module" and "YANG data model".</t>
          </li>
          <li pn="section-1.1-2.23">
            <t indent="0" pn="section-1.1-2.23.1">Elaborated the guidance for the use of values reserved for documentation in examples.</t>
          </li>
          <li pn="section-1.1-2.24">
            <t indent="0" pn="section-1.1-2.24.1">Recommended the use of "example:" for URI examples.</t>
          </li>
          <li pn="section-1.1-2.25">
            <t indent="0" pn="section-1.1-2.25.1">Added a new section "Defining Standard Tags" (<xref target="sec-tags" format="default" sectionFormat="of" derivedContent="Section 4.28"/>) to echo the guidance in <xref target="RFC8819" format="default" sectionFormat="of" derivedContent="RFC8819"/>.</t>
          </li>
          <li pn="section-1.1-2.26">
            <t indent="0" pn="section-1.1-2.26.1">Recommended against the use of "case + when" construct in some cases.</t>
          </li>
          <li pn="section-1.1-2.27">
            <t indent="0" pn="section-1.1-2.27.1">Added a discussion about the prefix pattern to use for example modules.</t>
          </li>
          <li pn="section-1.1-2.28">
            <t indent="0" pn="section-1.1-2.28.1">Updated the NMDA guidance in the narrative text to highlight modules that are not compliant with NMDA.</t>
          </li>
          <li pn="section-1.1-2.29">
            <t indent="0" pn="section-1.1-2.29.1">Added a new section about the classification of YANG modules.</t>
          </li>
          <li pn="section-1.1-2.30">
            <t indent="0" pn="section-1.1-2.30.1">Fixed an inconsistency in Section <xref target="RFC8407" section="4.6.2" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8407#section-4.6.2" derivedContent="RFC8407"/> where the example mentions identities but uses them without their prefix as per Section <xref target="RFC8407" section="4.6.4" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8407#section-4.6.4" derivedContent="RFC8407"/>.</t>
          </li>
          <li pn="section-1.1-2.31">
            <t indent="0" pn="section-1.1-2.31.1">Fixed an inconsistency in Section <xref target="RFC8407" section="4.6.4" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8407#section-4.6.4" derivedContent="RFC8407"/> that failed to use "derived-from-or-self()" mentioned back in <xref target="function-library" format="default" sectionFormat="of" derivedContent="Section 4.6.2"/>.</t>
          </li>
          <li pn="section-1.1-2.32">
            <t indent="0" pn="section-1.1-2.32.1">Added a new section for modeling abstract data structures.</t>
          </li>
          <li pn="section-1.1-2.33">
            <t indent="0" pn="section-1.1-2.33.1">Added a discussion about "must + error-message" constructs for state data.</t>
          </li>
          <li pn="section-1.1-2.34">
            <t indent="0" pn="section-1.1-2.34.1">Added text about summary of changes in "revision" statements.</t>
          </li>
          <li pn="section-1.1-2.35">
            <t indent="0" pn="section-1.1-2.35.1">Added a template for IANA-maintained YANG modules.</t>
          </li>
          <li pn="section-1.1-2.36">
            <t indent="0" pn="section-1.1-2.36.1">Updated the wiki URLs to use the new structure.</t>
          </li>
          <li pn="section-1.1-2.37">
            <t indent="0" pn="section-1.1-2.37.1">Added "anydata" to the list of statements with mandatory description(s) (<xref target="sec-data-def" format="default" sectionFormat="of" derivedContent="Section 4.14"/>).</t>
          </li>
          <li pn="section-1.1-2.38">
            <t indent="0" pn="section-1.1-2.38.1">Fixed an error (invalid statements) in Section <xref target="RFC8407" section="4.24" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8407#section-4.24" derivedContent="RFC8407"/>.</t>
          </li>
          <li pn="section-1.1-2.39">
            <t indent="0" pn="section-1.1-2.39.1">Softened generic I-D authorship guidance.</t>
          </li>
        </ul>
      </section>
    </section>
    <section anchor="terminology-notation-conventions" numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-terminology-and-notation-co">Terminology and Notation Conventions</name>
      <t indent="0" pn="section-2-1">Some of the templates defined in the document use "--" to easily identify
  specific instructions to the authors. Text prefixed with "--" must not be
  copied as such when using a template. Note that for YANG templates, "//"
  is used to convey such instructions.</t>
      <t indent="0" pn="section-2-2">RFC IIII is used to refer to an RFC that defines an initial version of an IANA-maintained YANG module.</t>
      <t indent="0" pn="section-2-3">The following terms are used throughout this document:</t>
      <dl spacing="normal" newline="false" indent="3" pn="section-2-4">
        <dt pn="section-2-4.1">IANA-maintained YANG module:</dt>
        <dd pn="section-2-4.2">
          <t indent="0" pn="section-2-4.2.1">A YANG module that is maintained by IANA and has an IANA registry associated with it (e.g., "iana-tunnel-type" <xref target="RFC8675" format="default" sectionFormat="of" derivedContent="RFC8675"/> or "iana-pseudowire-types" <xref target="RFC9291" format="default" sectionFormat="of" derivedContent="RFC9291"/>).</t>
          <t indent="0" pn="section-2-4.2.2">Once an IANA-maintained YANG module is initialized, new values are not directly added to the module. These values are instead added to the companion registry.</t>
        </dd>
        <dt pn="section-2-4.3">IETF module:</dt>
        <dd pn="section-2-4.4">
          <t indent="0" pn="section-2-4.4.1">A YANG module that is published by the IETF and that is
      not maintained by IANA.</t>
        </dd>
        <dt pn="section-2-4.5">published:</dt>
        <dd pn="section-2-4.6">
          <t indent="0" pn="section-2-4.6.1">A stable release of a module or submodule.  For
 example, the Request for Comments Series described in
 <xref section="2.1" sectionFormat="of" target="RFC2026" format="default" derivedLink="https://rfc-editor.org/rfc/rfc2026#section-2.1" derivedContent="RFC2026"/> is considered a stable publication.</t>
        </dd>
        <dt pn="section-2-4.7">unpublished:</dt>
        <dd pn="section-2-4.8">
          <t indent="0" pn="section-2-4.8.1">An unstable release of a module or submodule.  For
 example, the Internet-Draft described in <xref section="2.2" sectionFormat="of" target="RFC2026" format="default" derivedLink="https://rfc-editor.org/rfc/rfc2026#section-2.2" derivedContent="RFC2026"/>
 is considered an unstable work in progress, subject to change at any time.</t>
        </dd>
        <dt pn="section-2-4.9">YANG fragment:</dt>
        <dd pn="section-2-4.10">
          <t indent="0" pn="section-2-4.10.1">A set of YANG statements that is not intended to
 represent a complete YANG module or submodule.  These statements
 are not intended for actual use, except to provide an example of
 YANG statement usage.  The invalid syntax "..." is sometimes used
 to indicate that additional YANG statements would be present in a
 real YANG module.</t>
        </dd>
        <dt pn="section-2-4.11">YANG tree diagram:</dt>
        <dd pn="section-2-4.12">
          <t indent="0" pn="section-2-4.12.1">A diagram representing the contents of a YANG
 module, as defined in <xref target="RFC8340" format="default" sectionFormat="of" derivedContent="RFC8340"/>.  It is also called a "tree
 diagram".</t>
        </dd>
      </dl>
      <section anchor="netconf-terms" numbered="true" removeInRFC="false" toc="include" pn="section-2.1">
        <name slugifiedName="name-netconf-terms">NETCONF Terms</name>
        <t indent="0" pn="section-2.1-1">The following terms are defined in <xref target="RFC6241" format="default" sectionFormat="of" derivedContent="RFC6241"/> and are not redefined
   here:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-2.1-2">
          <li pn="section-2.1-2.1">
            <t indent="0" pn="section-2.1-2.1.1">capability</t>
          </li>
          <li pn="section-2.1-2.2">
            <t indent="0" pn="section-2.1-2.2.1">client</t>
          </li>
          <li pn="section-2.1-2.3">
            <t indent="0" pn="section-2.1-2.3.1">protocol operation (or simply "operation")</t>
          </li>
          <li pn="section-2.1-2.4">
            <t indent="0" pn="section-2.1-2.4.1">server</t>
          </li>
        </ul>
      </section>
      <section anchor="yang-terms" numbered="true" removeInRFC="false" toc="include" pn="section-2.2">
        <name slugifiedName="name-yang-terms">YANG Terms</name>
        <t indent="0" pn="section-2.2-1">The following terms are defined in <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/> and are not redefined
   here:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-2.2-2">
          <li pn="section-2.2-2.1">
            <t indent="0" pn="section-2.2-2.1.1">data node</t>
          </li>
          <li pn="section-2.2-2.2">
            <t indent="0" pn="section-2.2-2.2.1">module</t>
          </li>
          <li pn="section-2.2-2.3">
            <t indent="0" pn="section-2.2-2.3.1">namespace</t>
          </li>
          <li pn="section-2.2-2.4">
            <t indent="0" pn="section-2.2-2.4.1">submodule</t>
          </li>
          <li pn="section-2.2-2.5">
            <t indent="0" pn="section-2.2-2.5.1">version</t>
          </li>
          <li pn="section-2.2-2.6">
            <t indent="0" pn="section-2.2-2.6.1">YANG</t>
          </li>
          <li pn="section-2.2-2.7">
            <t indent="0" pn="section-2.2-2.7.1">YIN</t>
          </li>
        </ul>
        <t indent="0" pn="section-2.2-3">Note that the term "module" may be used as a generic term for a YANG
   module or submodule.  When describing properties that are specific to
   submodules, the term "submodule" is used instead.</t>
      </section>
      <section anchor="network-management-datastore-architecture-nmda-terms" numbered="true" removeInRFC="false" toc="include" pn="section-2.3">
        <name slugifiedName="name-network-management-datastor">Network Management Datastore Architecture (NMDA) Terms</name>
        <t indent="0" pn="section-2.3-1">The following terms are defined in <xref target="RFC8342" format="default" sectionFormat="of" derivedContent="RFC8342"/> and are not redefined
   here:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-2.3-2">
          <li pn="section-2.3-2.1">
            <t indent="0" pn="section-2.3-2.1.1">configuration</t>
          </li>
          <li pn="section-2.3-2.2">
            <t indent="0" pn="section-2.3-2.2.1">conventional configuration datastore</t>
          </li>
          <li pn="section-2.3-2.3">
            <t indent="0" pn="section-2.3-2.3.1">datastore</t>
          </li>
          <li pn="section-2.3-2.4">
            <t indent="0" pn="section-2.3-2.4.1">operational state</t>
          </li>
          <li pn="section-2.3-2.5">
            <t indent="0" pn="section-2.3-2.5.1">operational state datastore</t>
          </li>
        </ul>
      </section>
      <section anchor="requirements-notation" numbered="true" removeInRFC="false" toc="include" pn="section-2.4">
        <name slugifiedName="name-requirements-notation">Requirements Notation</name>
        <t indent="0" pn="section-2.4-1">
    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 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> 
    when, and only when, they appear in all capitals, as shown here.
        </t>
      </section>
      <section anchor="yang-data-model-vs-yang-module" numbered="true" removeInRFC="false" toc="include" pn="section-2.5">
        <name slugifiedName="name-yang-data-model-versus-yang">YANG Data Model versus YANG Module</name>
        <t indent="0" pn="section-2.5-1">Both <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/> and <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/> make a distinction between the following concepts:</t>
        <dl spacing="normal" newline="false" indent="3" pn="section-2.5-2">
          <dt pn="section-2.5-2.1">data model:</dt>
          <dd pn="section-2.5-2.2">
            <t indent="0" pn="section-2.5-2.2.1">Describes how data is represented and accessed.</t>
            <t indent="0" pn="section-2.5-2.2.2">YANG structures data models into modules for ease of use <xref target="RFC8309" format="default" sectionFormat="of" derivedContent="RFC8309"/>.</t>
          </dd>
          <dt pn="section-2.5-2.3">module:</dt>
          <dd pn="section-2.5-2.4">
            <t indent="0" pn="section-2.5-2.4.1">Defines hierarchies of schema nodes to make a self-contained and compilable block of YANG definitions and inclusions.</t>
            <t indent="0" pn="section-2.5-2.4.2">A YANG module is typically a single ".yang" file, starting with a "module" statement.</t>
            <t indent="0" pn="section-2.5-2.4.3">A YANG module may include any number of submodules that are stored in separate ".yang" files starting with a "submodule" statement. Regardless of the presence of submodules, the module and its submodules are externally viewed as a single YANG module.</t>
          </dd>
        </dl>
        <t indent="0" pn="section-2.5-3">A YANG data model can consist of:</t>
        <ol indent="adaptive" spacing="normal" start="1" type="1" pn="section-2.5-4">
	  <li pn="section-2.5-4.1" derivedCounter="1.">a single YANG module (e.g., <xref target="RFC9129" format="default" sectionFormat="of" derivedContent="RFC9129"/>) or</li>
          <li pn="section-2.5-4.2" derivedCounter="2.">multiple YANG modules (e.g., <xref target="RFC7407" format="default" sectionFormat="of" derivedContent="RFC7407"/>).</li>
        </ol>
        <t indent="0" pn="section-2.5-5">Note that the term "YANG model" is sometimes used as an abbreviation of "YANG data model". However, that term should be avoided in favor of "YANG data model".
Likewise, "YANG data module" has no meaning and must be avoided.</t>
        <t indent="0" pn="section-2.5-6">Even if a YANG data model is structured as a single YANG module, the term "YANG data model" should be used in the title, abstract, and in the body of the document where the overall design is described. "YANG module" should be used when a specific "*.yang" file is referenced. Likewise, "YANG module" should be used when using terms related to YANG module specifications (e.g., augmentation or deviation). However, when extending the concepts embodied in a YANG module, authors should refer to those as an extension to the "YANG data model".</t>
      </section>
    </section>
    <section anchor="general-documentation-guidelines" numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-general-documentation-guide">General Documentation Guidelines</name>
      <t indent="0" pn="section-3-1">YANG modules being considered for publication in an RFC are contained in Internet-Drafts (I-Ds).  Guidelines for authoring an I-D can be found at <xref target="ID-Guidelines" format="default" sectionFormat="of" derivedContent="ID-Guidelines"/>.
   These guidelines are not repeated here.</t>
      <t indent="0" pn="section-3-2">The following sections <bcp14>MUST</bcp14> be present in an I-D or RFC containing a YANG module:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-3-3">
        <li pn="section-3-3.1">
          <t indent="0" pn="section-3-3.1.1">Narrative sections (<xref target="sec-narrative" format="default" sectionFormat="of" derivedContent="Section 3.5"/>)</t>
        </li>
        <li pn="section-3-3.2">
          <t indent="0" pn="section-3-3.2.1">A Definitions section(s) (<xref target="sec-def" format="default" sectionFormat="of" derivedContent="Section 3.6"/>)</t>
        </li>
      </ul>
      <t indent="0" pn="section-3-4">Additional YANG-specific considerations <bcp14>MUST</bcp14> be included for the following sections:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-3-5">
        <li pn="section-3-5.1">
          <t indent="0" pn="section-3-5.1.1">Security Considerations (<xref target="sec-sec-cons-sec" format="default" sectionFormat="of" derivedContent="Section 3.7"/>)</t>
        </li>
        <li pn="section-3-5.2">
          <t indent="0" pn="section-3-5.2.1">IANA Considerations (<xref target="sec-iana-cons" format="default" sectionFormat="of" derivedContent="Section 3.8"/>)</t>
        </li>
        <li pn="section-3-5.3">
          <t indent="0" pn="section-3-5.3.1">References (<xref target="sec-ref" format="default" sectionFormat="of" derivedContent="Section 3.9"/>)</t>
        </li>
      </ul>
      <t indent="0" pn="section-3-6">There are three usage scenarios for YANG that can appear in an I-D or
   RFC:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-3-7">
        <li pn="section-3-7.1">
          <t indent="0" pn="section-3-7.1.1">normative module or submodule</t>
        </li>
        <li pn="section-3-7.2">
          <t indent="0" pn="section-3-7.2.1">example module or submodule</t>
        </li>
        <li pn="section-3-7.3">
          <t indent="0" pn="section-3-7.3.1">example YANG fragment that is not part of any module or submodule</t>
        </li>
      </ul>
      <t indent="0" pn="section-3-8">The guidelines in this document refer mainly to a normative module or
   submodule, but they may be applicable to example modules and YANG fragments
   as well.</t>
      <section anchor="module-copyright" numbered="true" removeInRFC="false" toc="include" pn="section-3.1">
        <name slugifiedName="name-module-copyright">Module Copyright</name>
        <t indent="0" pn="section-3.1-1">The module "description" statement <bcp14>MUST</bcp14> contain a reference to the
   latest approved IETF Trust Copyright statement, which is available
   at: <eref target="https://trustee.ietf.org/license-info/" brackets="angle"/>.</t>
      </section>
      <section anchor="code-components" numbered="true" removeInRFC="false" toc="include" pn="section-3.2">
        <name slugifiedName="name-code-components">Code Components</name>
        <t indent="0" pn="section-3.2-1">Each normative YANG module or submodule contained within an I-D or
   RFC is considered to be a code component.  The strings "<tt>&lt;CODE
   BEGINS&gt;</tt>" and "<tt>&lt;CODE ENDS&gt;</tt>" <bcp14>MUST</bcp14> be used to identify each code
   component.</t>
        <t indent="0" pn="section-3.2-2">The "<tt>&lt;CODE BEGINS&gt;</tt>" tag <bcp14>MUST</bcp14> be followed by a string identifying
   the file name specified in <xref section="5.2" sectionFormat="of" target="RFC7950" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7950#section-5.2" derivedContent="RFC7950"/>.  The name string
   form that includes the revision date <bcp14>SHOULD</bcp14> be used.  The revision
   date <bcp14>MUST</bcp14> match the date used in the most recent revision of the
   module.</t>
        <t indent="0" pn="section-3.2-3">The following example is for the "2016-03-20" revision of the
   "ietf-foo" module:</t>
        <sourcecode name="" type="yang" markers="true" pn="section-3.2-4">
file "ietf-foo@2016-03-20.yang"

    module ietf-foo {
      namespace "urn:ietf:params:xml:ns:yang:ietf-foo";
      prefix "foo";
      organization "...";
      contact "...";
      description "...";
      revision 2016-03-20 {
        description "Latest revision";
        reference "RFC FFFF: Foo Protocol";
      }
      // ... more statements
    }
</sourcecode>
        <section anchor="example-modules" numbered="true" removeInRFC="false" toc="include" pn="section-3.2.1">
          <name slugifiedName="name-example-modules">Example Modules</name>
          <t indent="0" pn="section-3.2.1-1">Example modules are not code components.  The "<tt>&lt;CODE BEGINS&gt;</tt>"
convention <bcp14>MUST NOT</bcp14> be used for example modules. However, example modules <bcp14>MUST</bcp14> be validated (<xref target="sec-tools" format="default" sectionFormat="of" derivedContent="Section 3.10"/>).</t>
          <t indent="0" pn="section-3.2.1-2">An example module <bcp14>SHOULD</bcp14> be named using the term "example", followed
by a hyphen, followed by a descriptive name, e.g., "example-toaster".</t>
          <t indent="0" pn="section-3.2.1-3">See <xref target="sec-namespace-assignments" format="default" sectionFormat="of" derivedContent="Section 4.9"/> regarding the namespace guidelines for example
modules.</t>
        </section>
      </section>
      <section anchor="terminology-section" numbered="true" removeInRFC="false" toc="include" pn="section-3.3">
        <name slugifiedName="name-terminology-section">Terminology Section</name>
        <t indent="0" pn="section-3.3-1">A terminology section <bcp14>MUST</bcp14> be present if any terms are defined in the
document or if any terms are imported from other documents.</t>
      </section>
      <section anchor="tree-diagrams" numbered="true" removeInRFC="false" toc="include" pn="section-3.4">
        <name slugifiedName="name-tree-diagrams">Tree Diagrams</name>
        <t indent="0" pn="section-3.4-1">YANG tree diagrams provide a concise representation of a YANG module
and <bcp14>SHOULD</bcp14> be included to help readers understand YANG module
structure.  Guidelines on tree diagrams can be found in  <xref section="3" sectionFormat="of" target="RFC8340" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8340#section-3" derivedContent="RFC8340"/>.
Tree diagrams longer than one page <bcp14>SHOULD</bcp14> be included
	in an appendix, i.e., not in the main body of the document.</t>
        <t indent="0" pn="section-3.4-2">If YANG tree diagrams are used, then an informative reference to the
YANG tree diagrams specification <bcp14>MUST</bcp14> be included in the document.
Refer to <xref section="2.2" sectionFormat="of" target="RFC8349" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8349#section-2.2" derivedContent="RFC8349"/> for an example of such a reference.</t>
      </section>
      <section anchor="sec-narrative" numbered="true" removeInRFC="false" toc="include" pn="section-3.5">
        <name slugifiedName="name-narrative-sections">Narrative Sections</name>
        <t indent="0" pn="section-3.5-1">The narrative sections <bcp14>MUST</bcp14> include an overview section that describes
the scope and field of application of the data model(s) defined by the
specification and that specifies the relationship (if any) of these
data models to other standards, particularly to standards containing
other YANG data models.  The narrative part <bcp14>SHOULD</bcp14> include one or more
sections to briefly describe the structure of the data models defined in
	the specification.</t>
        <t indent="0" pn="section-3.5-2">If the module (or modules) defined by the specification imports
definitions from other modules (except for those defined in <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/>
or <xref target="RFC9911" format="default" sectionFormat="of" derivedContent="RFC9911"/>) or is always implemented in conjunction with other
modules, then those facts <bcp14>MUST</bcp14> be noted in the overview section; any
special interpretations of definitions in other modules <bcp14>MUST</bcp14> be noted
as well.  Refer to <xref section="2.3" sectionFormat="of" target="RFC8349" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8349#section-2.3" derivedContent="RFC8349"/> for an example of this
overview section.</t>
        <t indent="0" pn="section-3.5-3">If the document contains major Network Management Datastore Architecture (NMDA) exceptions or includes a temporary non-NMDA module <xref target="RFC8342" format="default" sectionFormat="of" derivedContent="RFC8342"/>, then the Introduction
section <bcp14>SHOULD</bcp14> mention this fact with the reasoning that motivated that design.
Refer to <xref target="sec-op-state" format="default" sectionFormat="of" derivedContent="Section 4.23"/> for more NMDA-related guidance. Specifically, <xref target="sec-4.23.2" format="default" sectionFormat="of" derivedContent="Section 4.23.2"/> includes a recommendation for designers to describe and justify any NMDA exceptions in detail as part of the module itself.</t>
        <t indent="0" pn="section-3.5-4">Consistent indentation <bcp14>SHOULD</bcp14> be used for all examples, including
YANG fragments and protocol message instance data.  If line wrapping
is used for formatting purposes, then this <bcp14>SHOULD</bcp14> be indicated per the guidance in <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>, as shown
in the following example:</t>
        <artwork align="left" pn="section-3.5-5">
=============== NOTE: '\' line wrapping per RFC 8792 ================

&lt;myleaf xmlns="tag:example.com,2017:example-two"&gt;this is a long \
value so the line needs to wrap to stay within 72 characters&lt;/myleaf&gt;
</artwork>
        <t indent="0" pn="section-3.5-6">Built-in YANG features (e.g., breaking line, "+") <bcp14>SHOULD</bcp14> be used to fit a module into the line limits.
Exceptionally, YANG modules <bcp14>MAY</bcp14> be folded as described in RFC 8792 if and only if built-in YANG features are not sufficient.
A similar approach (e.g., using "--tree-line-length 69" or splitting a tree into subtrees) <bcp14>SHOULD</bcp14> be followed for tree diagrams.</t>
        <section anchor="yang-module-classification" numbered="true" removeInRFC="false" toc="include" pn="section-3.5.1">
          <name slugifiedName="name-yang-module-classification">YANG Module Classification</name>
          <t indent="0" pn="section-3.5.1-1">The narrative section <bcp14>SHOULD</bcp14> include a mention of the classification
of a given model. Such a mention is meant to ease positioning the
module in the overall operational ecosystem. Specifically, the following types
from <xref target="RFC8309" format="default" sectionFormat="of" derivedContent="RFC8309"/> and <xref target="RFC8969" format="default" sectionFormat="of" derivedContent="RFC8969"/> can be used:</t>
          <dl indent="3" newline="false" spacing="normal" pn="section-3.5.1-2">
            <dt pn="section-3.5.1-2.1">Service Model:</dt>
            <dd pn="section-3.5.1-2.2">
              <t indent="0" pn="section-3.5.1-2.2.1">Describes a service and the parameters of the service in a
portable way that can be used uniformly and independent of the
equipment and operating environment.</t>
            </dd>
            <dt pn="section-3.5.1-2.3"/>
            <dd pn="section-3.5.1-2.4">
              <t indent="0" pn="section-3.5.1-2.4.1">Examples of service models are the L3VPN Service Model (L3SM) <xref target="RFC8299" format="default" sectionFormat="of" derivedContent="RFC8299"/> and the L2VPN Service Model (L2SM) <xref target="RFC8466" format="default" sectionFormat="of" derivedContent="RFC8466"/>.</t>
            </dd>
            <dt pn="section-3.5.1-2.5">Network Model:</dt>
            <dd pn="section-3.5.1-2.6">
              <t indent="0" pn="section-3.5.1-2.6.1">Describes a network-level abstraction (or a subset of aspects of a network infrastructure), including devices and their subsystems, and relevant protocols operating at the link and network layers across multiple devices. This model corresponds to the network configuration model discussed in <xref target="RFC8309" format="default" sectionFormat="of" derivedContent="RFC8309"/>.</t>
            </dd>
            <dt pn="section-3.5.1-2.7"/>
            <dd pn="section-3.5.1-2.8">
              <t indent="0" pn="section-3.5.1-2.8.1">This model can be used by a network operator to allocate resources (e.g., a tunnel resource or a topology resource) for the service or to schedule resources to meet the service requirements defined in a service model.</t>
            </dd>
            <dt pn="section-3.5.1-2.9"/>
            <dd pn="section-3.5.1-2.10">
              <t indent="0" pn="section-3.5.1-2.10.1">Examples of network models are the L3VPN Network Model (L3NM) <xref target="RFC9182" format="default" sectionFormat="of" derivedContent="RFC9182"/> or the L2VPN Network Model (L2NM) <xref target="RFC9291" format="default" sectionFormat="of" derivedContent="RFC9291"/>.</t>
            </dd>
            <dt pn="section-3.5.1-2.11">Device Model:</dt>
            <dd pn="section-3.5.1-2.12">
              <t indent="0" pn="section-3.5.1-2.12.1">Refers to the Network Element YANG data model described in <xref target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/> or the device configuration model discussed in <xref target="RFC8309" format="default" sectionFormat="of" derivedContent="RFC8309"/>.</t>
            </dd>
            <dt pn="section-3.5.1-2.13"/>
            <dd pn="section-3.5.1-2.14">
              <t indent="0" pn="section-3.5.1-2.14.1">Device models are also used to model a function embedded in a device (e.g., Access Control Lists (ACLs) <xref target="RFC8519" format="default" sectionFormat="of" derivedContent="RFC8519"/>).</t>
            </dd>
            <dt pn="section-3.5.1-2.15"/>
            <dd pn="section-3.5.1-2.16">
              <t indent="0" pn="section-3.5.1-2.16.1">A non-comprehensive list of device models is provided in <xref target="RFC8969" section="A.4.4" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8969#appendix-A.4.4" derivedContent="RFC8969"/>.</t>
            </dd>
          </dl>
        </section>
      </section>
      <section anchor="sec-def" numbered="true" removeInRFC="false" toc="include" pn="section-3.6">
        <name slugifiedName="name-definitions-section">Definitions Section</name>
        <t indent="0" pn="section-3.6-1">This section contains the module(s) defined by the specification.
These modules <bcp14>SHOULD</bcp14> be written using the YANG 1.1 <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/> syntax.
YANG 1.0 <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/> syntax <bcp14>MAY</bcp14> be used if no YANG 1.1 constructs or
semantics are needed in the module.  If any of the imported YANG
modules are written using YANG 1.1, then the module <bcp14>MUST</bcp14> be written
using YANG 1.1.</t>
        <t indent="0" pn="section-3.6-2">A YANG Independent Notation (YIN) syntax version (<xref section="13" sectionFormat="of" target="RFC7950" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7950#section-13" derivedContent="RFC7950"/>) of the module <bcp14>MAY</bcp14> also be present in the
document.  There <bcp14>MAY</bcp14> also be other types of modules present in the
document, such as Structure of Management Information Version 2
	(SMIv2), which are not affected by these guidelines.</t>
        <t indent="0" pn="section-3.6-3">Note that if the module itself is considered normative and not an
example module or example YANG fragment, then all YANG statements
within a YANG module are considered normative.  The use of keywords
defined in <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> and <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> apply to YANG "description"
statements in normative modules exactly as they would in any other
normative section.</t>
        <t indent="0" pn="section-3.6-4">Example YANG modules and example YANG fragments <bcp14>MUST NOT</bcp14> contain any
normative text, including any key words from
<xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> and <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/>.</t>
        <t indent="0" pn="section-3.6-5">Consistent indentation and formatting (e.g., folding) <bcp14>SHOULD</bcp14> be used in all YANG
statements within a module.</t>
        <t indent="0" pn="section-3.6-6">See <xref target="sec-usage-guidelines" format="default" sectionFormat="of" derivedContent="Section 4"/> for guidelines on YANG usage.</t>
      </section>
      <section anchor="sec-sec-cons-sec" numbered="true" removeInRFC="false" toc="include" pn="section-3.7">
        <name slugifiedName="name-security-considerations-sec">Security Considerations Section</name>
        <t indent="0" pn="section-3.7-1">Each specification that defines one or more modules <bcp14>MUST</bcp14> contain a
   section that discusses security considerations relevant to those
	modules.</t>
        <t indent="0" pn="section-3.7-2">Unless the modules comply with <xref target="RFC8791" format="default" sectionFormat="of" derivedContent="RFC8791"/> or define YANG extensions (e.g., <xref target="RFC7952" format="default" sectionFormat="of" derivedContent="RFC7952"/>), the security section <bcp14>MUST</bcp14>
   be modeled after the latest approved template
   (available at <eref target="https://wiki.ietf.org/group/ops/yang-security-guidelines" brackets="angle"/>).  <xref target="sec-security-template" format="default" sectionFormat="of" derivedContent="Section 3.7.1"/> contains the security considerations
   template.  Authors
   <bcp14>MUST</bcp14> check the web page at the URL listed above in case there is a
   more recent version available.</t>
        <t indent="0" pn="section-3.7-3">In particular:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-3.7-4">
          <li pn="section-3.7-4.1">
            <t indent="0" pn="section-3.7-4.1.1">Writable data nodes that could be especially disruptive if abused
 <bcp14>MUST</bcp14> be explicitly listed by name, and the associated security
 risks <bcp14>MUST</bcp14> be explained.</t>
          </li>
          <li pn="section-3.7-4.2">
            <t indent="0" pn="section-3.7-4.2.1">Readable data nodes that contain especially sensitive information
 or that raise significant privacy concerns <bcp14>MUST</bcp14> be explicitly
 listed by name, and the reasons for the sensitivity/privacy
 concerns <bcp14>MUST</bcp14> be explained.</t>
          </li>
          <li pn="section-3.7-4.3">
            <t indent="0" pn="section-3.7-4.3.1">Operations (i.e., YANG "rpc" statements) that are potentially
 harmful to system behavior or that raise significant privacy
 concerns <bcp14>MUST</bcp14> be explicitly listed by name, and the reasons for
 the sensitivity/privacy concerns <bcp14>MUST</bcp14> be explained.</t>
          </li>
        </ul>
        <t indent="0" pn="section-3.7-5">Documents that exclusively define modules that follow the extension in <xref target="RFC8791" format="default" sectionFormat="of" derivedContent="RFC8791"/> are not required to include the security template in <xref target="sec-security-template" format="default" sectionFormat="of" derivedContent="Section 3.7.1"/>. Likewise, following the template is not required for modules that define YANG extensions such as <xref target="RFC7952" format="default" sectionFormat="of" derivedContent="RFC7952"/>.</t>
        <section anchor="sec-security-template" numbered="true" removeInRFC="false" toc="include" pn="section-3.7.1">
          <name slugifiedName="name-security-considerations-sect">Security Considerations Section Template</name>
          <artwork align="left" pn="section-3.7.1-1">
&lt;BEGIN TEMPLATE TEXT&gt;
	  
X.  Security Considerations

This section is modeled after the template described in Section 3.7.1
of [RFC9907].

The "&lt;module-name&gt;" YANG module defines a data model that is 
designed to be accessed via YANG-based management protocols, 
such as the Network Configuration Protocol (NETCONF) [RFC6241] 
and RESTCONF [RFC8040].  These YANG-based management protocols
(1) have to use a secure transport layer (e.g., Secure Shell (SSH)
[RFC4252], TLS [RFC8446], and QUIC [RFC9000]) and (2) have to use
mutual authentication.

The Network Configuration Access Control Model (NACM) [RFC8341]
provides the means to restrict access for particular NETCONF or
RESTCONF users to a preconfigured subset of all available NETCONF or
RESTCONF protocol operations and content.

-- Note: RFC 8341 (or a future RFC that replaces it) MUST be listed
-- as a normative reference.

-- By default, RFC 4252, RFC 6241, RFC 8040, RFC 8446, RFC 9000, and
-- RFC 9907 (or future RFCs that replace any of them) are listed as
-- informative references unless normatively cited in other sections
-- of the document that specifies the YANG module.

-- Writable nodes section:
-- 
-- If the data model contains any writable data nodes (those are all
-- the "config true" nodes), then include the following text:

There are a number of data nodes defined in this YANG module that are
writable/creatable/deletable (i.e., "config true", which is the
default).  All writable data nodes are likely to be sensitive or
vulnerable in some network environments.  Write
operations (e.g., edit-config) and delete operations to these data
nodes without proper protection or authentication can have a negative
effect on network operations.  The following subtrees and data nodes
have particular sensitivities/vulnerabilities:

-- If the data model contains any particularly sensitive data nodes,
-- e.g., ones that are protected by a "nacm:default-deny-write"
-- or a "nacm:default-deny-all" extensions statement, then those
-- subtrees and data nodes must be listed, with an explanation of the
-- associated security risks with a focus on how they can be
-- disruptive if abused.  Otherwise, state:
--
-- "There are no particularly sensitive writable data nodes."

-- Readable nodes section:
--
-- If the data model contains any readable data nodes (i.e., those
-- that are "config false" nodes, but also all other nodes because
-- they can also be read via operations like get or get-config), then
-- include the following text:

Some of the readable data nodes in this YANG module may be considered
sensitive or vulnerable in some network environments.  It is thus
important to control read access (e.g., via get, get-config, or
notification) to these data nodes.  Specifically, the following
subtrees and data nodes have particular sensitivities/
vulnerabilities:

-- You must evaluate whether the data model contains any readable
-- data nodes (those are all the "config false" nodes, but also all
-- other nodes because they can also be read via operations like get
-- or get-config) that are particularly sensitive or vulnerable 
-- (e.g., if they might reveal customer information or violate 
-- personal privacy laws).  Typically, particularly sensitive 
-- readable data nodes are ones that are protected by a
-- "nacm:default-deny-read" or a "nacm:default-deny-all" extensions
-- statement.
--
-- Otherwise, state:
-- "There are no particularly sensitive readable data nodes."

-- RPC/action operations section:
--
-- If the data model contains any RPC or action operations, then
-- include the following text:

Some of the RPC or action operations in this YANG module may be
considered sensitive or vulnerable in some network environments.
It is thus important to control access to these operations.
Specifically, the following operations have particular
sensitivities/ vulnerabilities:

-- If the data model contains any particularly sensitive RPC
-- or action operations, then those operations must be listed
-- here, along with an explanation of the associated specific
-- sensitivity or vulnerability concerns.
--
-- Otherwise, state:
-- "There are no particularly sensitive RPC or action operations."

-- Reusable groupings from other modules section:
-- 
-- If the data model reuses groupings from other modules and
-- the document that specifies these groupings also
-- includes those as data nodes, then add this text as a 
-- reminder of the specific sensitivity or vulnerability of
-- reused nodes.

This YANG module uses groupings from other YANG modules that
define nodes that may be considered sensitive or vulnerable
in network environments.  Refer to the Security Considerations
of &lt;RFC-insert-numbers&gt; for information as to which nodes may
be considered sensitive or vulnerable in network environments.

-- No data nodes section:
-- 
-- If the data model does not define any data nodes (i.e., none
-- of the above sections or readable/writable data nodes or RPCs
-- have been included), then add the following text:

The YANG module defines a set of identities, types, and
groupings.  These nodes are intended to be reused by other YANG
modules.  The module by itself does not expose any data nodes that
are writable, data nodes that contain read-only state, or RPCs.
As such, there are no additional security issues related to 
the YANG module that need to be considered.

Modules that use the groupings that are defined in this document
should identify the corresponding security considerations.  For
example, reusing some of these groupings will expose privacy-related
information (e.g., 'node-example').

&lt;END TEMPLATE TEXT&gt;
</artwork>
        </section>
      </section>
      <section anchor="sec-iana-cons" numbered="true" removeInRFC="false" toc="include" pn="section-3.8">
        <name slugifiedName="name-iana-considerations-section">IANA Considerations Section</name>
        <t indent="0" pn="section-3.8-1">Each normative YANG module <bcp14>MUST</bcp14> be registered in both the "IETF XML
Registry" group <xref target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/> <xref target="IANA-XML" format="default" sectionFormat="of" derivedContent="IANA-XML"/> and the "YANG Module Names" registry
<xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/> <xref target="IANA-MOD-NAMES" format="default" sectionFormat="of" derivedContent="IANA-MOD-NAMES"/>. The registration request in the "YANG Module Names" registry
should indicate whether or not the module is IANA-maintained. This applies to new modules and updated
modules. An example of an update registration for the
"ietf-template" module can be found in <xref target="sec-iana" format="default" sectionFormat="of" derivedContent="Section 5"/>.</t>
        <t indent="0" pn="section-3.8-2">Additional IANA considerations applicable to IANA-maintained YANG modules (including instructions to maintain them) are provided in <xref target="sec-iana-mm" format="default" sectionFormat="of" derivedContent="Section 4.30.3"/>.</t>
        <section anchor="documents-that-create-a-new-namespace" numbered="true" removeInRFC="false" toc="include" pn="section-3.8.1">
          <name slugifiedName="name-documents-that-create-a-new">Documents That Create a New Namespace</name>
          <t indent="0" pn="section-3.8.1-1">If an I-D defines a new namespace that is to be administered by the
IANA, then the document <bcp14>MUST</bcp14> include an IANA Considerations section
that specifies how the namespace is to be administered.</t>
          <t indent="0" pn="section-3.8.1-2">Specifically, if any YANG module "namespace" statement value contained
in the document is not already registered with IANA, then a new entry
in the "ns" registry within the "IETF XML Registry" registry group <bcp14>MUST</bcp14> be
requested from the IANA.</t>
          <t indent="0" pn="section-3.8.1-3">A registration template for new YANG modules is provided in <xref target="sec-reg-def-iana" format="default" sectionFormat="of" derivedContent="Section 3.8.3.1"/>.</t>
        </section>
        <section anchor="documents-that-extend-an-existing-namespace" numbered="true" removeInRFC="false" toc="include" pn="section-3.8.2">
          <name slugifiedName="name-documents-that-extend-an-ex">Documents That Extend an Existing Namespace</name>
          <t indent="0" pn="section-3.8.2-1">It is possible to extend an existing namespace using a YANG submodule
that belongs to an existing module already administered by IANA.  In
this case, the document containing the main module <bcp14>MUST</bcp14> be updated to
use the latest revision of the submodule.</t>
        </section>
        <section anchor="registration-templates" numbered="true" removeInRFC="false" toc="include" pn="section-3.8.3">
          <name slugifiedName="name-registration-templates">Registration Templates</name>
          <section anchor="sec-reg-def-iana" numbered="true" removeInRFC="false" toc="exclude" pn="section-3.8.3.1">
            <name slugifiedName="name-iana-template-for-documents">IANA Template for Documents Defining New YANG Modules</name>
            <t indent="0" pn="section-3.8.3.1-1">A registration template for a new module is provided below:</t>
            <artwork align="left" pn="section-3.8.3.1-2">
IANA is requested to register the following URI in the "ns"
registry within the "IETF XML Registry" group [RFC3688]:

   URI:
   Registrant Contact:  The IESG
   XML: N/A; the requested URI is an XML namespace.

IANA is requested to register the following YANG module in the "YANG
Module Names" registry [RFC6020] within the "YANG Parameters"
registry group.

   Name:
   Maintained by IANA?  Y/N
   Namespace:
   Prefix:
   Reference:</artwork>
          </section>
          <section anchor="iana-template-for-revising-yang-modules" numbered="true" removeInRFC="false" toc="exclude" pn="section-3.8.3.2">
            <name slugifiedName="name-iana-template-for-revising-">IANA Template for Revising YANG Modules</name>
            <t indent="0" pn="section-3.8.3.2-1">A registration template for a revised module is provided below:</t>
            <artwork align="left" pn="section-3.8.3.2-2">
IANA is requested to update the following registration in the "ns"
registry within the "IETF XML Registry" group [RFC3688] to
reference this document:

   URI:
   Registrant Contact:  The IESG
   XML: N/A; the requested URI is an XML namespace.

IANA is requested to register the following YANG module in the "YANG
Module Names" registry [RFC6020] [RFC9890] within the "YANG Parameters"
registry group.

   Name:
   Maintained by IANA?  Y/N
   Namespace:
   Prefix:
   Reference:</artwork>
          </section>
        </section>
      </section>
      <section anchor="sec-ref" numbered="true" removeInRFC="false" toc="include" pn="section-3.9">
        <name slugifiedName="name-references-sections">References Sections</name>
        <t indent="0" pn="section-3.9-1">For every "import" or "include" statement that appears in a module
contained in the specification that identifies a module in a separate
document, a corresponding normative reference to that document <bcp14>MUST</bcp14>
appear in the Normative References section.  The reference <bcp14>MUST</bcp14>
correspond to the specific module version actually used within the
specification.</t>
        <t indent="0" pn="section-3.9-2">For every normative "reference" statement that appears in a module
contained in the specification that identifies a separate document, a
corresponding normative reference to that document <bcp14>SHOULD</bcp14> appear in
the Normative References section.  The reference <bcp14>SHOULD</bcp14> correspond to
the specific document version actually used within the specification.
If the "reference" statement identifies an informative reference that
identifies a separate document, a corresponding informative reference
	to that document <bcp14>MAY</bcp14> appear in the Informative References section.</t>
      </section>
      <section anchor="sec-tools" numbered="true" removeInRFC="false" toc="include" pn="section-3.10">
        <name slugifiedName="name-validation-tools">Validation Tools</name>
        <t indent="0" pn="section-3.10-1">All modules need to be validated before submission in an I-D.  The
'pyang' YANG compiler is freely available from GitHub: <eref target="https://github.com/mbj4668/pyang" brackets="angle"/>.</t>
        <t indent="0" pn="section-3.10-2">If the 'pyang' compiler is used to validate a normative module, then
the "--ietf" command-line option <bcp14>MUST</bcp14> be used to identify any IETF
guideline issues.</t>
        <t indent="0" pn="section-3.10-3">If the 'pyang' compiler is used to validate an example module, then
the "--ietf" command-line option <bcp14>MAY</bcp14> be used to identify any IETF
guideline issues.</t>
        <t indent="0" pn="section-3.10-4">To ensure that a module fits into the line limits of an I-D, the command
"pyang -f yang --keep-comments --yang-line-length 69" should be used.</t>
        <t indent="0" pn="section-3.10-5">The 'yanglint' program is also freely available from GitHub: <eref target="https://github.com/CESNET/libyang" brackets="angle"/>.</t>
        <t indent="0" pn="section-3.10-6">This tool can be used to validate "XPath" statements within YANG
modules.</t>
        <t indent="0" pn="section-3.10-7">To check that JSON-encoded examples <xref target="RFC7951" format="default" sectionFormat="of" derivedContent="RFC7951"/> comply with the target data models,
programs such as 'yangson' or 'yanglint' should be used. Both programs are freely available from GitHub: <eref target="https://github.com/CZ-NIC/yangson" brackets="angle"/> and <eref target="https://github.com/CESNET/libyang" brackets="angle"/>.</t>
      </section>
      <section anchor="module-extraction-tools" numbered="true" removeInRFC="false" toc="include" pn="section-3.11">
        <name slugifiedName="name-module-extraction-tools">Module Extraction Tools</name>
        <t indent="0" pn="section-3.11-1">A version of 'rfcstrip' that will extract YANG modules from an I-D or
RFC is freely available at: <eref target="https://github.com/mbj4668/rfcstrip" brackets="angle"/>.</t>
        <t indent="0" pn="section-3.11-2">This tool can be used to verify that the "<tt>&lt;CODE BEGINS&gt;</tt>" and "<tt>&lt;CODE
ENDS&gt;</tt>" tags are used correctly and that the normative YANG modules
can be extracted correctly.</t>
        <t indent="0" pn="section-3.11-3">The 'xym' tool is freely available on GitHub and can be used to
extract YANG modules from a document: <eref target="https://github.com/xym-tool/xym" brackets="angle"/>.</t>
      </section>
      <section anchor="module-usage-examples" numbered="true" removeInRFC="false" toc="include" pn="section-3.12">
        <name slugifiedName="name-module-usage-examples">Module Usage Examples</name>
        <t indent="0" pn="section-3.12-1">Each specification that defines one or more modules <bcp14>SHOULD</bcp14> contain
usage examples, either throughout the document or in an appendix.
This includes example instance document snippets in an appropriate
encoding (e.g., XML and/or JSON) to demonstrate the intended usage of
the YANG module(s).  Examples that are meant to illustrate a valid data instance <bcp14>MUST</bcp14> be validated (<xref target="sec-tools" format="default" sectionFormat="of" derivedContent="Section 3.10"/>).  Refer to
<xref target="sec-tools" format="default" sectionFormat="of" derivedContent="Section 3.10"/> for tools that validate YANG modules and examples. If IP addresses/prefixes
are used, then a mix of either IPv4 and IPv6 addresses/prefixes or IPv6
addresses/prefixes exclusively <bcp14>SHOULD</bcp14> be used in the examples.</t>
        <t indent="0" pn="section-3.12-2">For some types (IP addresses, domain names, etc.), the IETF has reserved values for
documentation use. Authors <bcp14>SHOULD</bcp14> use these reserved values in the usage examples if these types are used. Examples of reserved values are listed below:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-3.12-3">
          <li pn="section-3.12-3.1">
            <t indent="0" pn="section-3.12-3.1.1">IPv4 and IPv6 addresses/prefixes reserved for documentation are defined in <xref target="RFC5737" format="default" sectionFormat="of" derivedContent="RFC5737"/>, <xref target="RFC3849" format="default" sectionFormat="of" derivedContent="RFC3849"/>, and <xref target="RFC9637" format="default" sectionFormat="of" derivedContent="RFC9637"/>.</t>
          </li>
          <li pn="section-3.12-3.2">
            <t indent="0" pn="section-3.12-3.2.1">The Enterprise Number 32473 reserved for documentation use is defined in <xref target="RFC5612" format="default" sectionFormat="of" derivedContent="RFC5612"/>.</t>
          </li>
          <li pn="section-3.12-3.3">
            <t indent="0" pn="section-3.12-3.3.1">Autonomous System Numbers (ASNs) reserved for documentation use are defined in <xref target="RFC5398" format="default" sectionFormat="of" derivedContent="RFC5398"/>.</t>
          </li>
          <li pn="section-3.12-3.4">
            <t indent="0" pn="section-3.12-3.4.1">Reserved domain names for documentation are defined in <xref target="RFC2606" format="default" sectionFormat="of" derivedContent="RFC2606"/>.</t>
          </li>
        </ul>
        <t indent="0" pn="section-3.12-4">URI examples <bcp14>SHOULD</bcp14> be prefixed with "example:".</t>
        <t indent="0" pn="section-3.12-5">In order to ease extraction and validation of examples, it is <bcp14>RECOMMENDED</bcp14> to use code markers.</t>
      </section>
    </section>
    <section anchor="sec-usage-guidelines" numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-yang-usage-guidelines">YANG Usage Guidelines</name>
      <t indent="0" pn="section-4-1">Modules in IETF Standards Track specifications <bcp14>MUST</bcp14> comply with all
syntactic and semantic requirements of YANG 1.1 <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/>.  See the
exception for YANG 1.0 in <xref target="sec-def" format="default" sectionFormat="of" derivedContent="Section 3.6"/>.  The guidelines in this
section are intended to supplement the YANG specification <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/>,
which is intended to define a minimum set of conformance
requirements.</t>
      <t indent="0" pn="section-4-2">In order to promote interoperability and establish a set of practices
based on previous experience, the following sections establish usage
guidelines for specific YANG constructs.</t>
      <t indent="0" pn="section-4-3">Only guidelines that clarify or restrict the minimum conformance
requirements are included here.</t>
      <t indent="0" pn="section-4-4">A template for IETF modules is provided in <xref target="tem-ietf" format="default" sectionFormat="of" derivedContent="Appendix B"/>.</t>
      <section anchor="sec-module-naming-conventions" numbered="true" removeInRFC="false" toc="include" pn="section-4.1">
        <name slugifiedName="name-module-naming-conventions">Module Naming Conventions</name>
        <t indent="0" pn="section-4.1-1">Normative modules contained in Standards Track documents <bcp14>MUST</bcp14> be
named according to the guidelines in the IANA Considerations section
of <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/>.</t>
        <t indent="0" pn="section-4.1-2">A distinctive word or abbreviation (e.g., protocol name or working
group abbreviation) <bcp14>SHOULD</bcp14> be used in the module name.  If new
definitions are being defined to extend one or more existing modules,
then the same word or abbreviation should be reused, instead of
creating a new one.</t>
        <t indent="0" pn="section-4.1-3">All published module names <bcp14>MUST</bcp14> be unique.  For a YANG module
published in an RFC, this uniqueness is guaranteed by IANA (<xref section="14" sectionFormat="of" target="RFC6020" format="default" derivedLink="https://rfc-editor.org/rfc/rfc6020#section-14" derivedContent="RFC6020"/>).  For
unpublished modules, the authors need to check that no other work in
progress is using the same module name.</t>
        <t indent="0" pn="section-4.1-4">Example modules are non-normative and <bcp14>SHOULD</bcp14> be named with the prefix
"example-".</t>
        <t indent="0" pn="section-4.1-5">It is suggested that a stable module name prefix be selected that represents the
entire organization.  All normative YANG modules published by the
IETF <bcp14>MUST</bcp14> begin with the prefix "ietf-". All IANA-maintained YANG modules <bcp14>MUST</bcp14> begin with the prefix "iana-".  Another standards
organization, such as the IEEE, might use the prefix "ieee-" for all
YANG modules.</t>
        <t indent="0" pn="section-4.1-6">Once a module name is published, it <bcp14>MUST NOT</bcp14> be reused, even if the
RFC containing the module is reclassified to "Historic" status.  A
module name cannot be changed in YANG, and this would be treated as a
new module, not a name change.</t>
      </section>
      <section anchor="prefixes" numbered="true" removeInRFC="false" toc="include" pn="section-4.2">
        <name slugifiedName="name-prefixes">Prefixes</name>
        <t indent="0" pn="section-4.2-1">All YANG definitions are scoped by the module containing the
definition being referenced. This allows the same name to be used
in multiple modules, even if the names are not unique. In the example
below, the identifier "foo" is used in all three modules:</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.2-2">
    module example-foo {
      namespace "tag:example.com,2017:example-foo";
      prefix f;

      container foo;
    }

    module example-bar {
      namespace "tag:example.com,2017:example-bar";
      prefix b;

      typedef foo { type uint32; }
    }

    module example-one {
      namespace "tag:example.com,2017:example-one";
      prefix one;
      import example-foo { prefix f; }
      import example-bar { prefix b; }

      augment "/f:foo" {
        leaf foo { type b:foo; }
      }
    }</sourcecode>
        <t indent="0" pn="section-4.2-3">YANG defines the following rules for prefix usage:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.2-4">
          <li pn="section-4.2-4.1">
            <t indent="0" pn="section-4.2-4.1.1">Prefixes are never used for built-in data types and YANG keywords.</t>
          </li>
          <li pn="section-4.2-4.2">
            <t indent="0" pn="section-4.2-4.2.1">A prefix <bcp14>MUST</bcp14> be used for any external statement (i.e., a statement defined with the YANG "extension" statement).</t>
          </li>
          <li pn="section-4.2-4.3">
            <t indent="0" pn="section-4.2-4.3.1">The proper module prefix <bcp14>MUST</bcp14> be used for all identifiers imported from other modules.</t>
          </li>
          <li pn="section-4.2-4.4">
            <t indent="0" pn="section-4.2-4.4.1">The proper module prefix <bcp14>MUST</bcp14> be used for all identifiers included from a submodule.</t>
          </li>
        </ul>
        <t indent="0" pn="section-4.2-5">The following guidelines apply to prefix usage of the current (local)
module:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.2-6">
          <li pn="section-4.2-6.1">
            <t indent="0" pn="section-4.2-6.1.1">The local module prefix <bcp14>SHOULD</bcp14> be used instead of no prefix in all path expressions.</t>
          </li>
          <li pn="section-4.2-6.2">
            <t indent="0" pn="section-4.2-6.2.1">The local module prefix <bcp14>MUST</bcp14> be used instead of no prefix in all "default" statements for an "identityref" or "instance-identifier" data type.</t>
          </li>
          <li pn="section-4.2-6.3">
            <t indent="0" pn="section-4.2-6.3.1">The local module prefix <bcp14>MAY</bcp14> be used for references to typedefs, groupings, extensions, features, and identities defined in the module.</t>
          </li>
        </ul>
        <t indent="0" pn="section-4.2-7">Consistent with <xref section="7.1.4" sectionFormat="of" target="RFC7950" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7950#section-7.1.4" derivedContent="RFC7950"/>, the prefix defined by a module
<bcp14>SHOULD</bcp14> be used when the module is imported, unless there is a conflict.</t>
        <t indent="0" pn="section-4.2-8">Prefix values <bcp14>SHOULD</bcp14> be short but meaningful to the intended user. Prefix values <bcp14>SHOULD NOT</bcp14> conflict with known modules that have been previously published.</t>
        <t indent="0" pn="section-4.2-9">For convenience, prefix values of example modules <bcp14>SHOULD</bcp14> be prefixed with "ex"
or similar patterns. In doing so, readers of example modules or tree diagrams
that mix both example and standard modules can easily identify example parts.</t>
      </section>
      <section anchor="ids" numbered="true" removeInRFC="false" toc="include" pn="section-4.3">
        <name slugifiedName="name-identifiers">Identifiers</name>
        <t indent="0" pn="section-4.3-1">All YANG identifiers in published modules <bcp14>MUST</bcp14> be between 1 and 64 characters in length.  These include any construct
specified as an "identifier-arg-str" token in the ABNF in <xref section="14" sectionFormat="of" target="RFC7950" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7950#section-14" derivedContent="RFC7950"/>.</t>
        <section anchor="sec-id-naming" numbered="true" removeInRFC="false" toc="include" pn="section-4.3.1">
          <name slugifiedName="name-identifier-naming-conventio">Identifier Naming Conventions</name>
          <t indent="0" pn="section-4.3.1-1">Identifiers <bcp14>SHOULD</bcp14> follow a consistent naming pattern throughout the
module.  Only lowercase letters, numbers, and dashes <bcp14>SHOULD</bcp14> be used
in identifier names.  Uppercase characters, the period character, and
the underscore character <bcp14>MAY</bcp14> be used if the identifier represents a
well-known value that uses these characters.  YANG does not permit
any other characters in YANG identifiers.</t>
          <t indent="0" pn="section-4.3.1-2">Identifiers <bcp14>SHOULD</bcp14> include complete words and/or well-known acronyms
or abbreviations.  Child nodes within a container or list <bcp14>SHOULD NOT</bcp14>
replicate the parent identifier.  YANG identifiers are hierarchical
and are only meant to be unique within the set of sibling nodes
defined in the same module namespace.</t>
          <t indent="0" pn="section-4.3.1-3">List identifiers <bcp14>SHOULD</bcp14> be singular with the surrounding container name plural.
Similarly, "leaf-list" identifiers <bcp14>SHOULD</bcp14> be singular.</t>
          <t indent="0" pn="section-4.3.1-4">It is permissible to use common identifiers such as "name" or "id" in
data definition statements, especially if these data nodes share a
common data type.</t>
          <t indent="0" pn="section-4.3.1-5">Identifiers <bcp14>SHOULD NOT</bcp14> carry any special semantics that identify data
modeling properties. Only YANG statements and YANG extension
statements are designed to convey machine-readable data modeling
properties.  For example, naming an object "config" or "state" does
not change whether it is configuration data or state data.  Only
defined YANG statements or YANG "extension" statements can be used to
assign semantics in a machine-readable format in YANG.</t>
        </section>
      </section>
      <section anchor="defaults" numbered="true" removeInRFC="false" toc="include" pn="section-4.4">
        <name slugifiedName="name-defaults">Defaults</name>
        <t indent="0" pn="section-4.4-1">In general, it is suggested that substatements containing very common
default values <bcp14>SHOULD NOT</bcp14> be present.  The substatements listed in <xref target="stat-def" format="default" sectionFormat="of" derivedContent="Table 1"/>
are commonly used with the default value, which would make the module
difficult to read if used everywhere they are allowed.</t>
        <table anchor="stat-def" align="center" pn="table-1">
          <name slugifiedName="name-statement-defaults">Statement Defaults</name>
          <thead>
            <tr>
              <th align="left" colspan="1" rowspan="1">Statement</th>
              <th align="left" colspan="1" rowspan="1">Default Value</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left" colspan="1" rowspan="1">config</td>
              <td align="left" colspan="1" rowspan="1">true</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">mandatory</td>
              <td align="left" colspan="1" rowspan="1">false</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">max-elements</td>
              <td align="left" colspan="1" rowspan="1">unbounded</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">min-elements</td>
              <td align="left" colspan="1" rowspan="1">0</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ordered-by</td>
              <td align="left" colspan="1" rowspan="1">system</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">status</td>
              <td align="left" colspan="1" rowspan="1">current</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">yin-element</td>
              <td align="left" colspan="1" rowspan="1">false</td>
            </tr>
          </tbody>
        </table>
      </section>
      <section anchor="conditional-statements" numbered="true" removeInRFC="false" toc="include" pn="section-4.5">
        <name slugifiedName="name-conditional-statements">Conditional Statements</name>
        <t indent="0" pn="section-4.5-1">A module may be conceptually partitioned in several ways using the
"if-feature" and/or "when" statements.</t>
        <t indent="0" pn="section-4.5-2">Data model designers need to carefully consider all modularity
aspects, including the use of YANG conditional statements.</t>
        <t indent="0" pn="section-4.5-3">If a data definition is optional, depending on server support for a
NETCONF or RESTCONF protocol capability, then a YANG "feature"
statement <bcp14>SHOULD</bcp14> be defined.  The defined "feature" statement <bcp14>SHOULD</bcp14>
then be used in the conditional "if-feature" statement referencing
the optional data definition.</t>
        <t indent="0" pn="section-4.5-4">If any notification data, or any data definition, for a non-
configuration data node is not mandatory, then the server may or may
not be required to return an instance of this data node.  If any
conditional requirements exist for returning the data node in a
notification payload or retrieval request, they <bcp14>MUST</bcp14> be documented
somewhere.  For example, a "when" or "if-feature" statement could
apply to the data node or the conditional requirements could be
explained in a "description" statement within the data node or one of
its ancestors (if any).</t>
        <t indent="0" pn="section-4.5-5">If any "if-feature" statements apply to a list node, then the same
"if-feature" statements <bcp14>MUST</bcp14> apply to any key leaf nodes for the
list.  There <bcp14>MUST NOT</bcp14> be any "if-feature" statements applied to any
key leafs that do not also apply to the parent list node.</t>
        <t indent="0" pn="section-4.5-6">There <bcp14>SHOULD NOT</bcp14> be any "when" statements applied to a key leaf node.
It is possible that a "when" statement for an ancestor node of a key
leaf will have the exact node-set result as the key leaf.  In such a
case, the "when" statement for the key leaf is redundant and <bcp14>SHOULD</bcp14>
be avoided.</t>
        <t indent="0" pn="section-4.5-7">Some modules use a "case + when" construct but provide duplicated information (e.g., the "when" statements are constraining a single case in the choice as shown in the example below).
Such constructs with duplicated information <bcp14>SHOULD NOT</bcp14> be used.</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.5-8">
    leaf type {
      type enumeration {
        enum a;
        enum b;
        enum c;
      }
      mandatory true;
    }
    choice type-choice {
      case b {
        container type-b {
          when "../type = 'b'";
          leaf foo {
            type string;
          }
        }
      }
      case c {
        container type-c {
          when "../type = 'c'";
          leaf bar {
            mandatory true;
            type string;
          }
        }
      }
    }</sourcecode>
        <t indent="0" pn="section-4.5-9">The following example removes the duplicated information:</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.5-10">
    leaf type {
      type enumeration {
        enum a;
        enum b;
        enum c;
      }
      mandatory true;
    }
    container type-b {
      when "../type = 'b'";
      leaf foo {
        type string;
      }
    }
    container type-c {
      when "../type = 'c'";
      leaf bar {
        mandatory true;
        type string;
      }
    }</sourcecode>
        <t indent="0" pn="section-4.5-11">Note that the use of "case + when" is still useful in cases where complementary modeling constraints should be expressed. See the example provided below:</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.5-12">
    leaf type {
      type enumeration {
        enum a;
        enum b;
        enum c;
      }
    }
    choice second-type {
      mandatory true;
      case foo {
        container foo {
          presence "When present, indicates type foo";
          leaf foo-attribute {
            type string;
          }
        }
      }
      case b {
        container bar {
          when "../type = 'a' or ../type = 'b'";
          presence "When present, indicates type bar";
          leaf bar-attribute {
            type string;
          }
        }
      }
      case c {
        container baz {
          when "../type = 'c'";
          leaf baz-attribute {
            mandatory true;
            type string;
          }
        }
      }
    }</sourcecode>
        <t indent="0" pn="section-4.5-13"><xref section="8.1" sectionFormat="of" target="RFC7950" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7950#section-8.1" derivedContent="RFC7950"/> includes provisions for defining constraints
on state data and specifies that a constraint must be true in a valid state data tree.
However, <xref section="5.3" sectionFormat="of" target="RFC8342" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8342#section-5.3" derivedContent="RFC8342"/> softens that behavior by allowing semantic
constraints to be violated under some circumstances to help to detect anomalies.
Relaxing validation constraints on state data is meant to reveal deviations of
the observed behavior versus intended behavior of a managed entity and hopefully
trigger corrective actions by a management system. From that perspective,
it is <bcp14>RECOMMENDED</bcp14> to avoid defining constraints on state data that would hinder
the detection by a management system of abnormal behaviors of a managed entity.</t>
      </section>
      <section anchor="xpath-usage" numbered="true" removeInRFC="false" toc="include" pn="section-4.6">
        <name slugifiedName="name-xpath-usage">XPath Usage</name>
        <t indent="0" pn="section-4.6-1">This section describes guidelines for using the XML Path Language
(XPath) <xref target="W3C.REC-xpath" format="default" sectionFormat="of" derivedContent="W3C.REC-xpath"/> within YANG modules.</t>
        <section anchor="xpath-evaluation-contexts" numbered="true" removeInRFC="false" toc="include" pn="section-4.6.1">
          <name slugifiedName="name-xpath-evaluation-contexts">XPath Evaluation Contexts</name>
          <t indent="0" pn="section-4.6.1-1">YANG defines five separate contexts for evaluation of "XPath"
statements:</t>
          <ol spacing="normal" type="1" indent="adaptive" start="1" pn="section-4.6.1-2"><li pn="section-4.6.1-2.1" derivedCounter="1.">
              <t indent="0" pn="section-4.6.1-2.1.1">The "running" datastore: collection of all YANG configuration
data nodes.  The document root is the conceptual container (e.g.,
"config" in the "edit-config" operation), which is the parent of
all top-level data definition statements with a "config"
statement value of "true".</t>
            </li>
            <li pn="section-4.6.1-2.2" derivedCounter="2.">
              <t indent="0" pn="section-4.6.1-2.2.1">State data + the "running" datastore: collection of all YANG data
nodes.  The document root is the conceptual container, parent of
all top-level data definition statements.</t>
            </li>
            <li pn="section-4.6.1-2.3" derivedCounter="3.">
              <t indent="0" pn="section-4.6.1-2.3.1">Notification: an event notification document.  The document root
is the notification element.</t>
            </li>
            <li pn="section-4.6.1-2.4" derivedCounter="4.">
              <t indent="0" pn="section-4.6.1-2.4.1">RPC Input: The document root is the conceptual "input" node,
which is the parent of all RPC input parameter definitions.</t>
            </li>
            <li pn="section-4.6.1-2.5" derivedCounter="5.">
              <t indent="0" pn="section-4.6.1-2.5.1">RPC Output: The document root is the conceptual "output" node,
which is the parent of all RPC output parameter definitions.</t>
            </li>
          </ol>
          <t indent="0" pn="section-4.6.1-3">Note that these XPath contexts cannot be mixed.  For example, a
"when" statement in a notification context cannot reference
configuration data.</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.6.1-4">
    notification foo {
      leaf mtu {
        // NOT okay because when-stmt context is this notification
        when "/if:interfaces/if:interface[name='eth0']";
        type leafref {
          // Okay because path-stmt has a different context
          path "/if:interfaces/if:interface/if:mtu";
        }
      }
    }</sourcecode>
          <t indent="0" pn="section-4.6.1-5">It is especially important to consider the XPath evaluation context
for XPath expressions defined in groupings.  An XPath expression
defined in a grouping may not be portable, meaning it cannot be used
in multiple contexts and produce proper results.</t>
          <t indent="0" pn="section-4.6.1-6">If the XPath expressions defined in a grouping are intended for a
particular context, then this context <bcp14>SHOULD</bcp14> be identified in the
"description" statement for the grouping.</t>
        </section>
        <section anchor="function-library" numbered="true" removeInRFC="false" toc="include" pn="section-4.6.2">
          <name slugifiedName="name-function-library">Function Library</name>
          <t indent="0" pn="section-4.6.2-1">The "position" and "last" functions <bcp14>SHOULD NOT</bcp14> be used.  This applies
to implicit use of the "position" function as well (e.g.,
<tt>'//chapter[42]'</tt>).  A server is only required to maintain the relative
XML document order of all instances of a particular user-ordered list
or leaf-list.  The "position" and "last" functions <bcp14>MAY</bcp14> be used if
they are evaluated in a context where the context node is a user-ordered "list" or "leaf-list".</t>
          <t indent="0" pn="section-4.6.2-2">The "id" function <bcp14>SHOULD NOT</bcp14> be used.  The "ID" attribute is not
present in YANG documents, so this function has no meaning.  The
XPath execution environment <bcp14>SHOULD</bcp14> return an empty string for this function.</t>
          <t indent="0" pn="section-4.6.2-3">The "namespace-uri" and "name" functions <bcp14>SHOULD NOT</bcp14> be used.
Expanded names in XPath are different than YANG.  A specific
canonical representation of a YANG-expanded name does not exist.</t>
          <t indent="0" pn="section-4.6.2-4">The "lang" function <bcp14>SHOULD NOT</bcp14> be used.  This function does not apply
to YANG because there is no "lang" attribute set with the document.
The XPath execution environment <bcp14>SHOULD</bcp14> return "false" for this function.</t>
          <t indent="0" pn="section-4.6.2-5">The "local-name", "namespace-uri", "name", "string", and "number"
functions <bcp14>SHOULD NOT</bcp14> be used if the argument is a node-set.  If so,
the function result will be determined by the document order of the
node-set.  Since this order can be different on each server, the
function results can also be different.  Any function call that
implicitly converts a node-set to a string will also have this issue.</t>
          <t indent="0" pn="section-4.6.2-6">The "local-name" function <bcp14>SHOULD NOT</bcp14> be used to reference local names
outside of the YANG module that defines the "must" or "when" statement
containing the "local-name" function.  Example of a "local-name"
function that should not be used:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.6.2-7">
   /*[local-name()='foo']</sourcecode>
          <t indent="0" pn="section-4.6.2-8">The "derived-from-or-self" function <bcp14>SHOULD</bcp14> be used instead of an
equality expression for identityref values.  This allows the
identities to be conceptually augmented.</t>
          <t indent="0" pn="section-4.6.2-9">Example:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.6.2-10">
 // assume "ex" is the prefix of the module where the identity
 // name-format-null is defined

 // do not use
 when "md-name-format = 'name-format-null'";

 // this is preferred
 when "derived-from-or-self(md-name-format, 'ex:name-format-null')";</sourcecode>
        </section>
        <section anchor="axes" numbered="true" removeInRFC="false" toc="include" pn="section-4.6.3">
          <name slugifiedName="name-axes">Axes</name>
          <t indent="0" pn="section-4.6.3-1">The "attribute" and "namespace" axes are not supported in YANG and
   <bcp14>MAY</bcp14> be empty in a NETCONF or RESTCONF server implementation.</t>
          <t indent="0" pn="section-4.6.3-2">The "preceding" and "following" axes <bcp14>SHOULD NOT</bcp14> be used.  These
   constructs rely on XML document order within a NETCONF or RESTCONF
   server configuration database, which may not be supported
   consistently or produce reliable results across implementations.
   Predicate expressions based on static node properties (e.g., element
   name or value, and "ancestor" or "descendant" axes) <bcp14>SHOULD</bcp14> be used
   instead.  The "preceding" and "following" axes <bcp14>MAY</bcp14> be used if
   document order is not relevant to the outcome of the expression
   (e.g., check for global uniqueness of a parameter value).</t>
          <t indent="0" pn="section-4.6.3-3">The "preceding-sibling" and "following-sibling" axes <bcp14>SHOULD NOT</bcp14> be
   used; however, they <bcp14>MAY</bcp14> be used if document order is not relevant to
   the outcome of the expression.</t>
          <t indent="0" pn="section-4.6.3-4">A server is only required to maintain the relative XML document order
   of all instances of a particular user-ordered list or leaf-list.  The
   "preceding-sibling" and "following-sibling" axes <bcp14>MAY</bcp14> be used if they
   are evaluated in a context where the context node is a user-ordered
   "list" or "leaf-list".</t>
        </section>
        <section anchor="types" numbered="true" removeInRFC="false" toc="include" pn="section-4.6.4">
          <name slugifiedName="name-types">Types</name>
          <t indent="0" pn="section-4.6.4-1">Data nodes that use the "int64" and "uint64" built-in type <bcp14>SHOULD NOT</bcp14>
   be used within numeric or boolean expressions.  There are boundary
   conditions in which the translation from the YANG 64-bit type to an
   XPath number can cause incorrect results.  Specifically, an XPath
   "double" precision floating-point number cannot represent very large
   positive or negative 64-bit numbers because it only provides a total
   precision of 53 bits.  The "int64" and "uint64" data types <bcp14>MAY</bcp14> be
   used in numeric expressions if the value can be represented with no
   more than 53 bits of precision.</t>
          <t indent="0" pn="section-4.6.4-2">Data modelers need to be careful not to confuse the YANG value space
   and the XPath value space.  The data types are not the same in both,
   and conversion between YANG and XPath data types <bcp14>SHOULD</bcp14> be considered
   carefully.</t>
          <t indent="0" pn="section-4.6.4-3">Explicit XPath data type conversions <bcp14>MAY</bcp14> be used (e.g., "string",
   "boolean", or "number" functions), instead of implicit XPath data
   type conversions.</t>
          <t indent="0" pn="section-4.6.4-4">XPath expressions that contain a literal value representing a YANG
   identity <bcp14>SHOULD</bcp14> always include the declared prefix of the module
   where the identity is defined.</t>
          <t indent="0" pn="section-4.6.4-5">XPath expressions for "when" statements <bcp14>SHOULD NOT</bcp14> reference the
   context node or any descendant nodes of the context node.  They <bcp14>MAY</bcp14>
   reference descendant nodes if the "when" statement is contained
   within an "augment" statement and the referenced nodes are not
   defined within the "augment" statement.</t>
          <t indent="0" pn="section-4.6.4-6">Example:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.6.4-7">
augment "/rt:active-route/rt:input/rt:destination-address" {
  when "derived-from-or-self(rt:address-family, "
     + "'v4ur:ipv4-unicast')" {
    description
      "This augment is valid only for IPv4 unicast.";
  }
  // nodes defined here within the augment-stmt
  // cannot be referenced in the when-stmt
}</sourcecode>
        </section>
        <section anchor="wildcards" numbered="true" removeInRFC="false" toc="include" pn="section-4.6.5">
          <name slugifiedName="name-wildcards">Wildcards</name>
          <t indent="0" pn="section-4.6.5-1">It is possible to construct XPath expressions that will evaluate
   differently when combined with several modules within a server
   implementation rather than when evaluated within the single module.
   This is due to augmenting nodes from other modules.</t>
          <t indent="0" pn="section-4.6.5-2">Wildcard expansion is done within a server against all the nodes from
   all namespaces, so it is possible for a "must" or "when" statement
   that uses the <tt>'*'</tt> operator to always evaluate to false if processed
   within a single YANG module.  In such cases, the "description"
   statement <bcp14>SHOULD</bcp14> clarify that augmenting objects are expected to
   match the wildcard expansion.</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.6.5-3">
   when /foo/services/*/active {
     description
       "No services directly defined in this module.
        Matches objects that have augmented the services container.";
   }</sourcecode>
        </section>
        <section anchor="boolean-expressions" numbered="true" removeInRFC="false" toc="include" pn="section-4.6.6">
          <name slugifiedName="name-boolean-expressions">Boolean Expressions</name>
          <t indent="0" pn="section-4.6.6-1">The YANG "must" and "when" statements use an XPath boolean expression
   to define the test condition for the statement.  It is important to
   specify these expressions in a way that will not cause inadvertent
   changes in the result if the objects referenced in the expression are
   updated in future revisions of the module.</t>
          <t indent="0" pn="section-4.6.6-2">For example, the leaf "foo2" must exist if the leaf "foo1" is equal
   to "one" or "three":</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.6.6-3">
     leaf foo1 {
       type enumeration {
         enum one;
         enum two;
         enum three;
       }
     }

     leaf foo2 {
       // INCORRECT
       must "/f:foo1 != 'two'";
       type string;
     }
     leaf foo2 {
       // CORRECT
       must "/f:foo1 = 'one' or /f:foo1 = 'three'";
       type string;
     }</sourcecode>
          <t indent="0" pn="section-4.6.6-4">In the next revision of the module, leaf "foo1" is extended with a
   new enum named "four":</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.6.6-5">
     leaf foo1 {
       type enumeration {
         enum one;
         enum two;
         enum three;
         enum four;
       }
     }</sourcecode>
          <t indent="0" pn="section-4.6.6-6">Now the first XPath expression will allow the enum "four" to be
   accepted in addition to the "one" and "three" enum values.</t>
        </section>
      </section>
      <section anchor="yang-definition-lifecycle-management" numbered="true" removeInRFC="false" toc="include" pn="section-4.7">
        <name slugifiedName="name-yang-definition-lifecycle-m">YANG Definition Lifecycle Management</name>
        <t indent="0" pn="section-4.7-1">The YANG status statement <bcp14>MUST</bcp14> be present within a definition if its
   value is "deprecated" or "obsolete".  The status <bcp14>SHOULD NOT</bcp14> be
   changed from "current" directly to "obsolete".  An object <bcp14>SHOULD</bcp14> be
   available for at least one year after the publication date with a "deprecated" status before it
   is changed to "obsolete".</t>
        <t indent="0" pn="section-4.7-2">The module or submodule name <bcp14>MUST NOT</bcp14> be changed once the document
   containing the module or submodule is published.</t>
        <t indent="0" pn="section-4.7-3">The module namespace URI value <bcp14>MUST NOT</bcp14> be changed once the document
   containing the module is published.</t>
        <t indent="0" pn="section-4.7-4">The revision date substatement within the "import" statement <bcp14>SHOULD</bcp14> be
   present if any groupings are used from the external module.</t>
        <t indent="0" pn="section-4.7-5">The revision date substatement within the "include" statement <bcp14>SHOULD</bcp14> be
   present if any groupings are used from the external submodule.</t>
        <t indent="0" pn="section-4.7-6">If an "import" statement is for a module from a stable source (e.g., an
   RFC for an IETF module), then a reference-stmt <bcp14>SHOULD</bcp14> be present
   within an "import" statement.</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.7-7">
     import ietf-yang-types {
        prefix yang;
        reference "RFC 9911: Common YANG Data Types";
     }</sourcecode>
        <t indent="0" pn="section-4.7-8">If submodules are used, then the document containing the main module
   <bcp14>MUST</bcp14> be updated so that the main module revision date is equal to or
   more recent than the revision date of any submodule that is (directly
   or indirectly) included by the main module.</t>
        <t indent="0" pn="section-4.7-9">Definitions for future use <bcp14>SHOULD NOT</bcp14> be specified in a module.  Do
   not specify placeholder objects like the "reserved" example below:</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.7-10">
    leaf reserved {
      type string;
      description
        "This object has no purpose at this time, but a future
         revision of this module might define a purpose
         for this object.";
    }</sourcecode>
      </section>
      <section anchor="module-header-meta-and-revision-statements" numbered="true" removeInRFC="false" toc="include" pn="section-4.8">
        <name slugifiedName="name-module-header-meta-and-revi">Module Header, Meta, and Revision Statements</name>
        <t indent="0" pn="section-4.8-1">For published modules, the namespace <bcp14>MUST</bcp14> be a globally unique URI,
   as defined in <xref target="RFC3986" format="default" sectionFormat="of" derivedContent="RFC3986"/>.  This value is usually assigned by the IANA.</t>
        <t indent="0" pn="section-4.8-2">The "organization" statement <bcp14>MUST</bcp14> be present.  If the module is
   contained in a document intended for IETF Standards Track status,
   then the organization <bcp14>SHOULD</bcp14> be the IETF working group (WG) chartered
   to write the document. Exceptions include (but are not limited to): example modules, IANA-maintained YANG modules, or modules contained in AD-sponsored documents. For other standards organizations, a similar
   approach is also suggested.</t>
        <t indent="0" pn="section-4.8-3">The "contact" statement <bcp14>MUST</bcp14> be present.  If the module is contained
   in a document intended for Standards Track status, then the WG web
   and mailing information <bcp14>SHOULD</bcp14> be present, and the main document
   author or editor contact information <bcp14>SHOULD</bcp14> be present.  If
   additional authors or editors exist, their contact information <bcp14>MAY</bcp14> be
   present.  There is no need to include the contact information for WG
Chairs.</t>
        <t indent="0" pn="section-4.8-4">The "description" statement <bcp14>MUST</bcp14> be present.  For modules published
   within IETF documents, the appropriate IETF Trust Copyright text <bcp14>MUST</bcp14>
   be present, as described in <xref target="module-copyright" format="default" sectionFormat="of" derivedContent="Section 3.1"/>, and <bcp14>MUST</bcp14> contain the following statement:</t>
        <blockquote pn="section-4.8-5">
          <t indent="0" pn="section-4.8-5.1">All revisions of IETF and IANA published modules can be found at the "YANG Parameters" registry group: <eref target="https://www.iana.org/assignments/yang-parameters" brackets="angle"/>.</t>
        </blockquote>
        <t indent="0" pn="section-4.8-6">If the module relies on information contained in other documents,
   which are not the same documents implied by the "import" statements
   present in the module, then these documents <bcp14>MUST</bcp14> be identified in the
   "reference" statement.</t>
        <t indent="0" pn="section-4.8-7">A "revision" statement <bcp14>MUST</bcp14> be present for each published version of
   the module.  The "revision" statement <bcp14>MUST</bcp14> have a "reference"
   substatement.  It <bcp14>MUST</bcp14> identify the published document that contains
   the module.  Modules are often extracted from their original
   documents, and it is useful for developers and operators to know how
   to find the original source document in a consistent manner.  The
   "revision" statement <bcp14>MAY</bcp14> have a "description" substatement. For convenience,
   the description text of a new published revision may summarize any changes made
   to a module compared to the previous published revision. Typically, that list
   is a YANG-specific subset of the summary of changes listing any changes made from the RFC
   being updated or obsoleted as per <xref target="ID-Guidelines" format="default" sectionFormat="of" derivedContent="ID-Guidelines"/>.</t>
        <t indent="0" pn="section-4.8-8">The following example shows the "revision" statement for a published
   YANG module:</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.8-9">
   revision 2010-09-24 {
     description
       "Initial revision.";
   reference
     "RFC 6021: Common YANG Data Types";
   }</sourcecode>
        <t indent="0" pn="section-4.8-10">The following example shows the "revision" statements for a published
   YANG module that updates a published module. The new "revision" statement
   summarizes the changes compared to the previous published revision.</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.8-11">
  revision 2013-07-15 {
    description
      "This revision adds the following new data types:
       - yang:yang-identifier
       - yang:hex-string
       - yang:uuid
       - yang:dotted-quad";
     reference
       "RFC 6991: Common YANG Data Types";
   }

   revision 2010-09-24 {
     description
       "Initial revision.";
   reference
     "RFC 6021: Common YANG Data Types";
   }</sourcecode>
        <t indent="0" pn="section-4.8-12">For an unpublished module, a complete history of each unpublished
   module revision is not required.  That is, within a sequence of draft
   versions, only the most recent revision need be recorded in the
   module.  Do not remove or reuse a "revision" statement for a published
   module.  A new revision date is not required unless the module
   contents have changed.  If the module contents have changed, then the
   revision date of that new module version <bcp14>MUST</bcp14> be updated to a date
   later than that of the previous version.</t>
        <t indent="0" pn="section-4.8-13">The following example shows the "revision" statements for an
   unpublished update to a published YANG module. The latest "revision" statement
   of the unpublished module summarizes the changes compared to the previous revision.</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.8-14">
  revision 2025-12-22 {
    description
      "This revision adds the following new data types:
       - yang:date
       - yang:date-no-zone
       - yang:time
       - yang:time-no-zone
       - yang:hours32
       - yang:minutes32
       - yang:seconds32
       - yang:centiseconds32
       - yang:milliseconds32
       - yang:microseconds32
       - yang:microseconds64
       - yang:nanoseconds32
       - yang:nanoseconds64
       - yang:language-tag
       The yang-identifier definition has been aligned with YANG
       1.1 and types representing time support the representation
       of leap seconds.  The representation of time zone offsets
       has been aligned with RFC 9557.  Several description and
       pattern statements have been improved.";
    reference
      "RFC 9911: Common YANG Data Types";
   }

  revision 2013-07-15 {
    description
      "This revision adds the following new data types:
       - yang:yang-identifier
       - yang:hex-string
       - yang:uuid
       - yang:dotted-quad";
     reference
       "RFC 6991: Common YANG Data Types";
   }

   revision 2010-09-24 {
     description
       "Initial revision.";
   reference
     "RFC 6021: Common YANG Data Types";
   }</sourcecode>
      </section>
      <section anchor="sec-namespace-assignments" numbered="true" removeInRFC="false" toc="include" pn="section-4.9">
        <name slugifiedName="name-namespace-assignments">Namespace Assignments</name>
        <t indent="0" pn="section-4.9-1">It is <bcp14>RECOMMENDED</bcp14> that only valid YANG modules be included in
   documents, whether or not the modules are published yet.  This
   allows:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.9-2">
          <li pn="section-4.9-2.1">
            <t indent="0" pn="section-4.9-2.1.1">the module to compile correctly instead of generating disruptive fatal errors.</t>
          </li>
          <li pn="section-4.9-2.2">
            <t indent="0" pn="section-4.9-2.2.1">early implementors to use the modules without picking a random value for the XML namespace.</t>
          </li>
          <li pn="section-4.9-2.3">
            <t indent="0" pn="section-4.9-2.3.1">early interoperability testing since independent implementations will use the same XML namespace value.</t>
          </li>
        </ul>
        <t indent="0" pn="section-4.9-3">Until a URI is assigned by the IANA, a proposed namespace URI <bcp14>MUST</bcp14> be
   provided for the "namespace" statement in a YANG module.  A value
   <bcp14>SHOULD</bcp14> be selected that is not likely to collide with other YANG
   namespaces.  Standard module names, prefixes, and URI strings already
   listed in the "YANG Module Names" registry group <bcp14>MUST NOT</bcp14> be used.</t>
        <t indent="0" pn="section-4.9-4">A standard "namespace" statement value <bcp14>SHOULD</bcp14> have the following form:</t>
        <sourcecode type="pseudocode" markers="false" pn="section-4.9-5">
    &lt;URN prefix string&gt;:&lt;module-name&gt;</sourcecode>
        <t indent="0" pn="section-4.9-6">The following URN prefix string <bcp14>SHOULD</bcp14> be used for published and
   unpublished YANG modules:</t>
        <sourcecode type="pseudocode" markers="false" pn="section-4.9-7">
    urn:ietf:params:xml:ns:yang</sourcecode>
        <t indent="0" pn="section-4.9-8">The following example URNs would be valid "namespace" statement values
   for Standards Track modules:</t>
        <sourcecode type="pseudocode" markers="false" pn="section-4.9-9">
    urn:ietf:params:xml:ns:yang:ietf-netconf-partial-lock</sourcecode>
        <sourcecode type="pseudocode" markers="false" pn="section-4.9-10">
    urn:ietf:params:xml:ns:yang:ietf-netconf-state</sourcecode>
        <sourcecode type="pseudocode" markers="false" pn="section-4.9-11">
    urn:ietf:params:xml:ns:yang:ietf-netconf</sourcecode>
        <t indent="0" pn="section-4.9-12">Note that a different URN prefix string <bcp14>SHOULD</bcp14> be used for modules
   that are not Standards Track.  The string <bcp14>SHOULD</bcp14> be selected
   according to the guidelines in <xref section="5.3" sectionFormat="of" target="RFC7950" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7950#section-5.3" derivedContent="RFC7950"/>.</t>
        <t indent="0" pn="section-4.9-13">The following URIs exemplify what might be used by modules that are
   not Standards Track.  Note that the domain "example.com" <bcp14>SHOULD</bcp14> be
   used by example modules in I-Ds from the IETF Stream.  These URIs are not intended to
   be dereferenced.  They are used for module namespace identification
   only.</t>
        <t indent="0" pn="section-4.9-14">Example URIs using URLs per <xref target="RFC3986" format="default" sectionFormat="of" derivedContent="RFC3986"/>:</t>
        <sourcecode type="pseudocode" markers="false" pn="section-4.9-15">
    https://example.com/ns/example-interfaces</sourcecode>
        <sourcecode type="pseudocode" markers="false" pn="section-4.9-16">
    https://example.com/ns/example-system</sourcecode>
        <t indent="0" pn="section-4.9-17">Example URIs using tags per <xref target="RFC4151" format="default" sectionFormat="of" derivedContent="RFC4151"/>:</t>
        <sourcecode type="pseudocode" markers="false" pn="section-4.9-18">
    tag:example.com,2017:example-interfaces</sourcecode>
        <sourcecode type="pseudocode" markers="false" pn="section-4.9-19">
    tag:example.com,2017:example-system</sourcecode>
      </section>
      <section anchor="top-level-data-definitions" numbered="true" removeInRFC="false" toc="include" pn="section-4.10">
        <name slugifiedName="name-top-level-data-definitions">Top-Level Data Definitions</name>
        <t indent="0" pn="section-4.10-1">The top-level data organization <bcp14>SHOULD</bcp14> be considered carefully, in
   advance.  Data model designers need to consider how the functionality
   for a given protocol or protocol family will grow over time.</t>
        <t indent="0" pn="section-4.10-2">The separation of configuration data and operational state <bcp14>SHOULD</bcp14> be
   considered carefully.  It is sometimes useful to define separate top-
   level containers for configuration and non-configuration data.  For
   some existing top-level data nodes, configuration data was not in
   scope, so only one container representing operational state was
   created.  Refer to NMDA <xref target="RFC8342" format="default" sectionFormat="of" derivedContent="RFC8342"/> for details.</t>
        <t indent="0" pn="section-4.10-3">The number of top-level data nodes within a module <bcp14>SHOULD</bcp14> be
   minimized.  It is often useful to retrieve related information within
   a single subtree.  If data is too distributed, it becomes difficult
   to retrieve all at once.</t>
        <t indent="0" pn="section-4.10-4">The names and data organization <bcp14>SHOULD</bcp14> reflect persistent
   information, such as the name of a protocol.  The name of the working
   group <bcp14>SHOULD NOT</bcp14> be used because this may change over time.</t>
        <t indent="0" pn="section-4.10-5">A mandatory database data definition is defined as a node that a
   client must provide for the database to be valid.  The server is not
   required to provide a value.</t>
        <t indent="0" pn="section-4.10-6">Top-level database data definitions <bcp14>MUST NOT</bcp14> be mandatory.  If a
   mandatory node appears at the top level, it will immediately cause
   the database to be invalid.  This can occur when the server boots or
   when a module is loaded dynamically at runtime.</t>
      </section>
      <section anchor="data-types" numbered="true" removeInRFC="false" toc="include" pn="section-4.11">
        <name slugifiedName="name-data-types">Data Types</name>
        <t indent="0" pn="section-4.11-1">Selection of an appropriate data type (i.e., built-in type, existing
   derived type, or new derived type) is very subjective; therefore, few
   requirements can be specified on that subject.</t>
        <t indent="0" pn="section-4.11-2">Data model designers <bcp14>SHOULD</bcp14> use the most appropriate built-in data
   type for the particular application.</t>
        <t indent="0" pn="section-4.11-3">The signed numeric data types (i.e., "int8", "int16", "int32", and
   "int64") <bcp14>SHOULD NOT</bcp14> be used unless negative values are allowed for
   the desired semantics.</t>
        <section anchor="sec-fve" numbered="true" removeInRFC="false" toc="include" pn="section-4.11.1">
          <name slugifiedName="name-fixed-value-extensibility">Fixed-Value Extensibility</name>
          <t indent="0" pn="section-4.11.1-1">If the set of values is fixed and the data type contents are
   controlled by a single naming authority (e.g., IANA), then an "enumeration" data
   type <bcp14>SHOULD</bcp14> be used.</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.1-2">
    leaf foo {
      type enumeration {
        enum one;
        enum two;
      }
    }</sourcecode>
          <t indent="0" pn="section-4.11.1-3">If distributed extensibility or hierarchical organization of enumerated values is required, then the
   "identityref" data type <bcp14>SHOULD</bcp14> be used instead of an "enumeration" or
   other built-in type.</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.1-4">
    identity foo-type {
      description "Base for the extensible type";
    }

    identity one {
      base f:foo-type;
    }

    identity two {
      base f:foo-type;
    }

    leaf foo {
      type identityref {
        base f:foo-type;
      }
    }</sourcecode>
          <t indent="0" pn="section-4.11.1-5">Note that any module can declare an identity with base "foo-type"
   that is valid for the "foo" leaf.  Identityref values are considered
   to be qualified names.</t>
        </section>
        <section anchor="patterns-and-ranges" numbered="true" removeInRFC="false" toc="include" pn="section-4.11.2">
          <name slugifiedName="name-patterns-and-ranges">Patterns and Ranges</name>
          <t indent="0" pn="section-4.11.2-1">For string data types, if a machine-readable pattern can be defined
   for the desired semantics, then one or more pattern statements <bcp14>SHOULD</bcp14>
   be present.  A single-quoted string <bcp14>SHOULD</bcp14> be used to specify the
   pattern, since a double-quoted string can modify the content.  If the
   patterns used in a type definition have known limitations such as
   false negative or false positive matches, then these limitations
   <bcp14>SHOULD</bcp14> be documented within the typedef or data definition.</t>
          <t indent="0" pn="section-4.11.2-2">The following typedef from <xref target="RFC9911" format="default" sectionFormat="of" derivedContent="RFC9911"/> demonstrates the proper use of
   the "pattern" statement:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.2-3">
    typedef ipv6-address-no-zone {
      type inet:ipv6-address {
        pattern '[0-9a-fA-F:\.]*';
      }
      ...
    }</sourcecode>
          <t indent="0" pn="section-4.11.2-4">For string data types, if the length of the string is required to be
   bounded in all implementations, then a "length" statement <bcp14>MUST</bcp14> be
   present.</t>
          <t indent="0" pn="section-4.11.2-5">The following typedef from <xref target="RFC9911" format="default" sectionFormat="of" derivedContent="RFC9911"/> demonstrates the proper use of
   the "length" statement:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.2-6">
    typedef yang-identifier {
      type string {
        length "1..max";
        pattern '[a-zA-Z_][a-zA-Z0-9\-_.]*';
        pattern '.|..|[^xX].*|.[^mM].*|..[^lL].*';
      }
      ...
    }</sourcecode>
          <t indent="0" pn="section-4.11.2-7">For numeric data types, if the values allowed by the intended
   semantics are different than those allowed by the unbounded intrinsic
   data type (e.g., "int32"), then a range statement <bcp14>SHOULD</bcp14> be present.</t>
          <t indent="0" pn="section-4.11.2-8">The following typedef from <xref target="RFC9911" format="default" sectionFormat="of" derivedContent="RFC9911"/> demonstrates the proper use of
   the "range" statement:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.2-9">
    typedef dscp {
      type uint8 {
        range "0..63";
      }
      ...
    }</sourcecode>
        </section>
        <section anchor="enumerations-and-bits" numbered="true" removeInRFC="false" toc="include" pn="section-4.11.3">
          <name slugifiedName="name-enumerations-and-bits">Enumerations and Bits</name>
          <t indent="0" pn="section-4.11.3-1">For "enumeration" or "bits" data types, the semantics for each "enum"
   or "bit" <bcp14>SHOULD</bcp14> be documented.  A separate "description" statement
   (within each "enum" or "bit" statement) <bcp14>SHOULD</bcp14> be present.</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.3-2">
    leaf foo {
      // INCORRECT
      type enumeration {
        enum one;
        enum two;
      }
      description
        "The foo enum...
         one: The first enum
         two: The second enum";
    }
    leaf foo {
      // CORRECT
      type enumeration {
        enum one {
          description "The first enum";
        }
        enum two {
          description "The second enum";
        }
      }
      description
        "The foo enum...  ";
    }</sourcecode>
        </section>
        <section anchor="union-types" numbered="true" removeInRFC="false" toc="include" pn="section-4.11.4">
          <name slugifiedName="name-union-types">Union Types</name>
          <t indent="0" pn="section-4.11.4-1">The YANG "union" type is evaluated by testing a value against each
   member type in the union.  The first type definition that accepts a
   value as valid is the member type used.  In general, member types
   <bcp14>SHOULD</bcp14> be ordered from most restrictive to least restrictive types.</t>
          <t indent="0" pn="section-4.11.4-2">In the following example, the "enumeration" type will never be
   matched because the preceding "string" type will match everything.</t>
          <t indent="0" pn="section-4.11.4-3">Incorrect:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.4-4">
   type union {
     type string;
     type enumeration {
       enum up;
       enum down;
     }
   }</sourcecode>
          <t indent="0" pn="section-4.11.4-5">Correct:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.4-6">
   type union {
     type enumeration {
       enum up;
       enum down;
     }
     type string;
   }</sourcecode>
          <t indent="0" pn="section-4.11.4-7">It is possible for different member types to match, depending on the
   input encoding format.  In XML, all values are passed as string
   nodes; but in JSON, there are different value types for numbers,
   booleans, and strings.</t>
          <t indent="0" pn="section-4.11.4-8">In the following example, a JSON numeric value will always be matched
   by the "int32" type, but in XML the string value representing a
   number will be matched by the "string" type.  The second version will
   match the "int32" member type no matter how the input is encoded.</t>
          <t indent="0" pn="section-4.11.4-9">Incorrect:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.4-10">
   type union {
     type string;
     type int32;
   }</sourcecode>
          <t indent="0" pn="section-4.11.4-11">Correct:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.4-12">
   type union {
     type int32;
     type string;
   }</sourcecode>
        </section>
        <section anchor="empty-and-boolean" numbered="true" removeInRFC="false" toc="include" pn="section-4.11.5">
          <name slugifiedName="name-empty-and-boolean">Empty and Boolean</name>
          <t indent="0" pn="section-4.11.5-1">YANG provides an "empty" data type, which has one value (i.e.,
   present).  The default is "not present", which is not actually a
   value.  When used within a list key, only one value can (and must)
   exist for this key leaf.  The type "empty" <bcp14>SHOULD NOT</bcp14> be used for a
   key leaf since it is pointless.</t>
          <t indent="0" pn="section-4.11.5-2">There is really no difference between a leaf of type "empty" and a
   leaf-list of type "empty".  Both are limited to one instance.  The
   type "empty" <bcp14>SHOULD NOT</bcp14> be used for a leaf-list.</t>
          <t indent="0" pn="section-4.11.5-3">The advantage of using type "empty" instead of type "boolean" is that
   the default (not present) does not take up any bytes in a
   representation.  The disadvantage is that the client may not be sure
   if an empty leaf is missing because it was filtered somehow or not
   implemented.  The client may not have a complete and accurate schema
   for the data returned by the server and may not be aware of the
   missing leaf.</t>
          <t indent="0" pn="section-4.11.5-4">The YANG "boolean" data type provides two values ("true" and
   "false").  When used within a list key, two entries can exist for
   this key leaf.  Default values are ignored for key leafs, but a
   default statement is often used for plain boolean leafs.  The
   advantage of the "boolean" type is that the leaf or leaf-list has a
   clear representation for both values.  The default value is usually
   not returned unless explicitly requested by the client, so no bytes
   are used in a typical representation.</t>
          <t indent="0" pn="section-4.11.5-5">In general, the "boolean" data type <bcp14>SHOULD</bcp14> be used instead of the
   "empty" data type, as shown in the example below:</t>
          <t indent="0" pn="section-4.11.5-6">Incorrect:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.5-7">
   leaf flag1 {
     type empty;
   }</sourcecode>
          <t indent="0" pn="section-4.11.5-8">Correct:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.11.5-9">
   leaf flag2 {
     type boolean;
     default false;
   }</sourcecode>
        </section>
      </section>
      <section anchor="reusable-type-definitions" numbered="true" removeInRFC="false" toc="include" pn="section-4.12">
        <name slugifiedName="name-reusable-type-definitions">Reusable Type Definitions</name>
        <t indent="0" pn="section-4.12-1">If an appropriate derived type exists in any standard module, such as
   <xref target="RFC9911" format="default" sectionFormat="of" derivedContent="RFC9911"/>, then it <bcp14>SHOULD</bcp14> be used instead of defining a new derived
   type.</t>
        <t indent="0" pn="section-4.12-2">If an appropriate units identifier can be associated with the desired
   semantics, then a units statement <bcp14>SHOULD</bcp14> be present.</t>
        <t indent="0" pn="section-4.12-3">If an appropriate default value can be associated with the desired
   semantics, then a default statement <bcp14>SHOULD</bcp14> be present.</t>
        <t indent="0" pn="section-4.12-4">If a significant number of derived types are defined, and it is
   anticipated that these data types will be reused by multiple modules,
   then these derived types <bcp14>SHOULD</bcp14> be contained in a separate module or
   submodule to allow easier reuse without unnecessary coupling.</t>
        <t indent="0" pn="section-4.12-5">The "description" statement <bcp14>MUST</bcp14> be present.</t>
        <t indent="0" pn="section-4.12-6">If the type definition semantics are defined in an external document
   (other than another YANG module indicated by an "import" statement),
   then the "reference" statement <bcp14>MUST</bcp14> be present.</t>
      </section>
      <section anchor="reusable-groupings" numbered="true" removeInRFC="false" toc="include" pn="section-4.13">
        <name slugifiedName="name-reusable-groupings">Reusable Groupings</name>
        <t indent="0" pn="section-4.13-1">A reusable grouping is a YANG grouping that can be imported by
   another module and is intended for use by other modules.  This is not
   the same as a grouping that is used within the module in which it is
   defined, but it happens to be exportable to another module because it
   is defined at the top level of the YANG module.</t>
        <t indent="0" pn="section-4.13-2">The following guidelines apply to reusable groupings, in order to
   make them as robust as possible:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.13-3">
          <li pn="section-4.13-3.1">
            <t indent="0" pn="section-4.13-3.1.1">Clearly identify the purpose of the grouping in the "description" statement.</t>
          </li>
          <li pn="section-4.13-3.2">
            <t indent="0" pn="section-4.13-3.2.1">There are five different XPath contexts in YANG (rpc/input, rpc/output, notification, "config true" data nodes, and all data
 nodes).  Clearly identify which XPath contexts are applicable or
 excluded for the grouping.</t>
          </li>
          <li pn="section-4.13-3.3">
            <t indent="0" pn="section-4.13-3.3.1">Do not reference data outside the grouping in any "path", "must", or "when" statements.</t>
          </li>
          <li pn="section-4.13-3.4">
            <t indent="0" pn="section-4.13-3.4.1">Do not include a "default" substatement on a leaf or choice unless the value applies on all possible contexts.</t>
          </li>
          <li pn="section-4.13-3.5">
            <t indent="0" pn="section-4.13-3.5.1">Do not include a "config" substatement on a data node unless the value applies on all possible contexts.</t>
          </li>
          <li pn="section-4.13-3.6">
            <t indent="0" pn="section-4.13-3.6.1">Clearly identify any external dependencies in the grouping "description" statement, such as nodes referenced by an absolute path from a "path", "must", or "when" statement.</t>
          </li>
        </ul>
      </section>
      <section anchor="sec-data-def" numbered="true" removeInRFC="false" toc="include" pn="section-4.14">
        <name slugifiedName="name-data-definitions">Data Definitions</name>
        <t indent="0" pn="section-4.14-1">The "description" statement <bcp14>MUST</bcp14> be present in the following YANG
   statements:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.14-2">
          <li pn="section-4.14-2.1">
            <t indent="0" pn="section-4.14-2.1.1">anydata</t>
          </li>
          <li pn="section-4.14-2.2">
            <t indent="0" pn="section-4.14-2.2.1">anyxml</t>
          </li>
          <li pn="section-4.14-2.3">
            <t indent="0" pn="section-4.14-2.3.1">augment</t>
          </li>
          <li pn="section-4.14-2.4">
            <t indent="0" pn="section-4.14-2.4.1">choice</t>
          </li>
          <li pn="section-4.14-2.5">
            <t indent="0" pn="section-4.14-2.5.1">container</t>
          </li>
          <li pn="section-4.14-2.6">
            <t indent="0" pn="section-4.14-2.6.1">extension</t>
          </li>
          <li pn="section-4.14-2.7">
            <t indent="0" pn="section-4.14-2.7.1">feature</t>
          </li>
          <li pn="section-4.14-2.8">
            <t indent="0" pn="section-4.14-2.8.1">grouping</t>
          </li>
          <li pn="section-4.14-2.9">
            <t indent="0" pn="section-4.14-2.9.1">identity</t>
          </li>
          <li pn="section-4.14-2.10">
            <t indent="0" pn="section-4.14-2.10.1">leaf</t>
          </li>
          <li pn="section-4.14-2.11">
            <t indent="0" pn="section-4.14-2.11.1">leaf-list</t>
          </li>
          <li pn="section-4.14-2.12">
            <t indent="0" pn="section-4.14-2.12.1">list</t>
          </li>
          <li pn="section-4.14-2.13">
            <t indent="0" pn="section-4.14-2.13.1">notification</t>
          </li>
          <li pn="section-4.14-2.14">
            <t indent="0" pn="section-4.14-2.14.1">rpc</t>
          </li>
          <li pn="section-4.14-2.15">
            <t indent="0" pn="section-4.14-2.15.1">typedef</t>
          </li>
        </ul>
        <t indent="0" pn="section-4.14-3">If the data definition semantics are defined in an external document,
   (other than another YANG module indicated by an "import" statement),
   then a "reference" statement <bcp14>MUST</bcp14> be present.</t>
        <t indent="0" pn="section-4.14-4">The "anyxml" construct may be useful to represent an HTML banner
   containing markup elements, such as <tt>"&lt;b&gt;"</tt> and <tt>"&lt;/b&gt;"</tt>, and <bcp14>MAY</bcp14> be used
   in such cases.  However, this construct <bcp14>SHOULD NOT</bcp14> be used if other
   YANG data node types can be used instead to represent the desired
   syntax and semantics.</t>
        <t indent="0" pn="section-4.14-5">It has been found that the "anyxml" statement is not implemented
   consistently across all servers.  It is possible that mixed-mode XML
   will not be supported or that configuration anyxml nodes will not be
   supported.</t>
        <t indent="0" pn="section-4.14-6">If there are referential integrity constraints associated with the
   desired semantics that can be represented with XPath, then one or
   more "must" statements <bcp14>SHOULD</bcp14> be present.</t>
        <t indent="0" pn="section-4.14-7">For list and leaf-list data definitions, if the number of possible
   instances is required to be bounded for all implementations, then the
   max-elements statements <bcp14>SHOULD</bcp14> be present.</t>
        <t indent="0" pn="section-4.14-8">If any "must" or "when" statements are used within the data
   definition, then the data definition "description" statement <bcp14>SHOULD</bcp14>
   describe the purpose of each one.</t>
        <t indent="0" pn="section-4.14-9">The "choice" statement is allowed to be directly present within a
   "case" statement in YANG 1.1.  This needs to be considered carefully.
   Consider simply including the nested "choice" as additional "case"
   statements within the parent "choice" statement.  Note that the
   "mandatory" and "default" statements within a nested "choice"
   statement only apply if the "case" containing the nested "choice"
   statement is first selected.</t>
        <t indent="0" pn="section-4.14-10">If a list defines any key leafs, then these leafs <bcp14>SHOULD</bcp14> be defined
   in order, as the first child nodes within the list.  The key leafs
   <bcp14>MAY</bcp14> be in a different order in some cases, e.g., they are defined in
   a grouping, and not inline in the list statement.</t>
        <section anchor="non-presence-containers" numbered="true" removeInRFC="false" toc="include" pn="section-4.14.1">
          <name slugifiedName="name-non-presence-containers">Non-Presence Containers</name>
          <t indent="0" pn="section-4.14.1-1">A non-presence container is used to organize data into specific
   subtrees.  It is not intended to have semantics within the data model
   beyond this purpose, although YANG allows it (e.g., a "must"
   statement within the non-presence container).</t>
          <t indent="0" pn="section-4.14.1-2">Example using container wrappers:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.14.1-3">
    container top {
       container foos {
          list foo { ... }
       }
       container bars {
          list bar { ... }
       }
    }</sourcecode>
          <t indent="0" pn="section-4.14.1-4">Example without container wrappers:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.14.1-5">
    container top {
       list foo { ... }
       list bar { ... }
    }</sourcecode>
          <t indent="0" pn="section-4.14.1-6">Use of non-presence containers to organize data is a subjective
   matter similar to use of subdirectories in a file system.  Although
   these containers do not have any semantics, they can impact protocol
   operations for the descendant data nodes within a non-presence
   container, so use of these containers <bcp14>SHOULD</bcp14> be considered carefully.</t>
          <t indent="0" pn="section-4.14.1-7">The NETCONF and RESTCONF protocols do not currently support the
   ability to delete all list (or leaf-list) entries at once.  This
   deficiency is sometimes avoided by use of a parent container (i.e.,
   deleting the container also removes all child entries).</t>
        </section>
        <section anchor="top-level-data-nodes" numbered="true" removeInRFC="false" toc="include" pn="section-4.14.2">
          <name slugifiedName="name-top-level-data-nodes">Top-Level Data Nodes</name>
          <t indent="0" pn="section-4.14.2-1">Use of top-level objects needs to be considered carefully:</t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.14.2-2">
            <li pn="section-4.14.2-2.1">
              <t indent="0" pn="section-4.14.2-2.1.1">top-level siblings are not ordered</t>
            </li>
            <li pn="section-4.14.2-2.2">
              <t indent="0" pn="section-4.14.2-2.2.1">top-level siblings are not static and depend on the modules that are loaded</t>
            </li>
            <li pn="section-4.14.2-2.3">
              <t indent="0" pn="section-4.14.2-2.3.1">for subtree filtering, retrieval of a top-level leaf-list will be treated as a content-match node for all top-level-siblings</t>
            </li>
            <li pn="section-4.14.2-2.4">
              <t indent="0" pn="section-4.14.2-2.4.1">a top-level list with many instances may impact performance</t>
            </li>
          </ul>
        </section>
      </section>
      <section anchor="operation-definitions" numbered="true" removeInRFC="false" toc="include" pn="section-4.15">
        <name slugifiedName="name-operation-definitions">Operation Definitions</name>
        <t indent="0" pn="section-4.15-1">If the operation semantics are defined in an external document (other
   than another YANG module indicated by an "import" statement), then a
   "reference" statement <bcp14>MUST</bcp14> be present.</t>
        <t indent="0" pn="section-4.15-2">If the operation impacts system behavior in some way, it <bcp14>SHOULD</bcp14> be
   mentioned in the "description" statement.</t>
        <t indent="0" pn="section-4.15-3">If the operation is potentially harmful to system behavior in some
   way, it <bcp14>MUST</bcp14> be mentioned in the Security Considerations section of
   the document.</t>
      </section>
      <section anchor="notification-definitions" numbered="true" removeInRFC="false" toc="include" pn="section-4.16">
        <name slugifiedName="name-notification-definitions">Notification Definitions</name>
        <t indent="0" pn="section-4.16-1">The "description" statement <bcp14>MUST</bcp14> be present.</t>
        <t indent="0" pn="section-4.16-2">If the notification semantics are defined in an external document
   (other than another YANG module indicated by an "import" statement),
   then a "reference" statement <bcp14>MUST</bcp14> be present.</t>
        <t indent="0" pn="section-4.16-3">If the notification refers to a specific resource instance, then this
   instance <bcp14>SHOULD</bcp14> be identified in the notification data.  This is
   usually done by including "leafref" leaf nodes with the key leaf
   values for the resource instance.  For example:</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.16-4">
  notification interface-up {
    description "Sent when an interface is activated.";
    leaf name {
      type leafref {
        path "/if:interfaces/if:interface/if:name";
      }
    }
  }</sourcecode>
        <t indent="0" pn="section-4.16-5">Note that there are no formal YANG statements to identify any data
   node resources associated with a notification.  The "description"
   statement for the notification <bcp14>SHOULD</bcp14> specify if and how the
   notification identifies any data node resources associated with the
   specific event.</t>
      </section>
      <section anchor="feature-definitions" numbered="true" removeInRFC="false" toc="include" pn="section-4.17">
        <name slugifiedName="name-feature-definitions">Feature Definitions</name>
        <t indent="0" pn="section-4.17-1">The YANG "feature" statement is used to define a label for a set of
   optional functionality within a module.  The "if-feature" statement
   is used in the YANG statements associated with a feature.  The
   description-stmt within a feature-stmt <bcp14>MUST</bcp14> specify any interactions
   with other features.</t>
        <t indent="0" pn="section-4.17-2">The set of YANG features defined in a module should be considered
   carefully.  Very fine granular features increase interoperability
   complexity and should be avoided.  A likely misuse of the feature
   mechanism is the tagging of individual leafs (e.g., counters) with
   separate features.</t>
        <t indent="0" pn="section-4.17-3">If there is a large set of objects associated with a YANG feature,
   then consider moving those objects to a separate module instead of
   using a YANG feature.  Note that the set of features within a module
   is easily discovered by the reader, but the set of related modules
   within the entire YANG library is not as easy to identify.  Module
   names with a common prefix can help readers identify the set of
   related modules, but this assumes the reader will have discovered and
   installed all the relevant modules.</t>
        <t indent="0" pn="section-4.17-4">Another consideration for deciding whether to create a new module or
   add a YANG feature is the stability of the module in question.  It
   may be desirable to have a stable base module that is not changed
   frequently.  If new functionality is placed in a separate module,
   then the base module does not need to be republished.  If it is
   designed as a YANG feature, then the module will need to be
   republished.</t>
        <t indent="0" pn="section-4.17-5">If one feature requires implementation of another feature, then an
   "if-feature" statement <bcp14>SHOULD</bcp14> be used in the dependent "feature"
   statement.</t>
        <t indent="0" pn="section-4.17-6">For example, feature2 requires implementation of feature1:</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.17-7">
   feature feature1 {
     description "Some protocol feature";
   }

   feature feature2 {
     if-feature "feature1";
     description "Another protocol feature";
   }</sourcecode>
      </section>
      <section anchor="yang-data-node-constraints" numbered="true" removeInRFC="false" toc="include" pn="section-4.18">
        <name slugifiedName="name-yang-data-node-constraints">YANG Data Node Constraints</name>
        <section anchor="controlling-quantity" numbered="true" removeInRFC="false" toc="include" pn="section-4.18.1">
          <name slugifiedName="name-controlling-quantity">Controlling Quantity</name>
          <t indent="0" pn="section-4.18.1-1">The "min-elements" and "max-elements" statements can be used to
   control how many list or leaf-list instances are required for a
   particular data node.  YANG constraint statements <bcp14>SHOULD</bcp14> be used to
   identify conditions that apply to all implementations of the data
   model.  If platform-specific limitations (e.g., the "max-elements"
   supported for a particular list) are relevant to operations, then a
   data model definition statement (e.g., "max-ports" leaf) <bcp14>SHOULD</bcp14> be
   used to identify the limit.</t>
        </section>
        <section anchor="must-versus-when" numbered="true" removeInRFC="false" toc="include" pn="section-4.18.2">
          <name slugifiedName="name-must-versus-when">"must" versus "when"</name>
          <t indent="0" pn="section-4.18.2-1">"must" and "when" YANG statements are used to provide cross-object
   referential tests.  They have very different behavior.  The "when"
   statement causes data node instances to be silently deleted as soon
   as the condition becomes false.  A false "when" statement is not
   considered to be an error.</t>
          <t indent="0" pn="section-4.18.2-2">The "when" statement <bcp14>SHOULD</bcp14> be used together with "augment" or "uses"
   statements to achieve conditional model composition.  The condition
   <bcp14>SHOULD</bcp14> be based on static properties of the augmented entry (e.g.,
   list key leafs).</t>
          <t indent="0" pn="section-4.18.2-3">The "must" statement causes a datastore validation error if the
   condition is false.  This statement <bcp14>SHOULD</bcp14> be used for enforcing
   parameter value restrictions that involve more than one data node
   (e.g., end-time parameter must be after the start-time parameter).</t>
        </section>
      </section>
      <section anchor="augment-statements" numbered="true" removeInRFC="false" toc="include" pn="section-4.19">
        <name slugifiedName="name-augment-statements">"augment" Statements</name>
        <t indent="0" pn="section-4.19-1">The YANG "augment" statement is used to define a set of data
   definition statements that will be added as child nodes of a target
   data node.  The module namespace for these data nodes will be the
   augmenting module, not the augmented module.</t>
        <t indent="0" pn="section-4.19-2">A top-level "augment" statement <bcp14>SHOULD NOT</bcp14> be used if the target data
   node is in the same module or submodule as the evaluated "augment"
   statement.  The data definition statements <bcp14>SHOULD</bcp14> be added inline
   instead.</t>
        <section anchor="conditional-augment-statements" numbered="true" removeInRFC="false" toc="include" pn="section-4.19.1">
          <name slugifiedName="name-conditional-augment-stateme">Conditional Augment Statements</name>
          <t indent="0" pn="section-4.19.1-1">The "augment" statement is often used together with the "when"
   statement and/or "if-feature" statement to make the augmentation
   conditional on some portion of the data model.</t>
          <t indent="0" pn="section-4.19.1-2">The following example from <xref target="RFC8343" format="default" sectionFormat="of" derivedContent="RFC8343"/> shows how a conditional
   container called "ethernet" is added to the "interface" list only for
   entries of the type "ethernetCsmacd".</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.19.1-3">
     augment "/if:interfaces/if:interface" {
         when "if:type = 'ianaift:ethernetCsmacd'";

         container ethernet {
             leaf duplex {
                 ...
             }
         }
     }</sourcecode>
        </section>
        <section anchor="conditionally-mandatory-data-definition-statements" numbered="true" removeInRFC="false" toc="include" pn="section-4.19.2">
          <name slugifiedName="name-conditionally-mandatory-dat">Conditionally Mandatory Data Definition Statements</name>
          <t indent="0" pn="section-4.19.2-1">YANG has very specific rules about how configuration data can be
   updated in new releases of a module.  These rules allow an "old
   client" to continue interoperating with a "new server".</t>
          <t indent="0" pn="section-4.19.2-2">If data nodes are added to an existing entry, the old client <bcp14>MUST NOT</bcp14>
   be required to provide any mandatory parameters that were not in the
   original module definition.</t>
          <t indent="0" pn="section-4.19.2-3">It is possible to add conditional "augment" statements such that the
   old client would not know about the new condition and would not
   specify the new condition.  The conditional "augment" statement can
   contain mandatory objects only if the condition is false, unless
   explicitly requested by the client.</t>
          <t indent="0" pn="section-4.19.2-4">Only a conditional "augment" statement that uses the "when" statement
   form of a condition can be used in this manner.  The YANG features
   enabled on the server cannot be controlled by the client in any way,
   so it is not safe to add mandatory augmenting data nodes based on the
   "if-feature" statement.</t>
          <t indent="0" pn="section-4.19.2-5">The XPath "when" statement condition <bcp14>MUST NOT</bcp14> reference data outside
   of the target data node because the client does not have any control
   over this external data.</t>
          <t indent="0" pn="section-4.19.2-6">In the following sample, it is okay to augment the "interface"
   entry with "mandatory-leaf" because the augmentation depends on
   support for "some-new-iftype".  The old client does not know about
   this type, so it would never select this type; therefore, it would
   not add a mandatory data node.</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.19.2-7">
  module example-module {

    yang-version 1.1;
    namespace "tag:example.com,2017:example-module";
    prefix mymod;

    import iana-if-type { prefix iana; }
    import ietf-interfaces { prefix if; }

    identity some-new-iftype {
      base iana:iana-interface-type;
    }

    augment "/if:interfaces/if:interface" {
      when "if:type = 'mymod:some-new-iftype'";

      leaf mandatory-leaf {
        type string;
        mandatory true;
      }
    }
  }</sourcecode>
          <t indent="0" pn="section-4.19.2-8">Note that this practice is safe only for creating data resources.  It
   is not safe for replacing or modifying resources if the client does
   not know about the new condition.  The YANG data model <bcp14>MUST</bcp14> be
   packaged in a way that requires the client to be aware of the
   mandatory data nodes if it is aware of the condition for this data.
   In the example above, the "some-new-iftype" identity is defined in
   the same module as the "mandatory-leaf" data definition statement.</t>
          <t indent="0" pn="section-4.19.2-9">This practice is not safe for identities defined in a common module
   such as "iana-if-type" because the client is not required to know
   about "my-module" just because it knows about the "iana-if-type"
   module.</t>
        </section>
      </section>
      <section anchor="deviation-statements" numbered="true" removeInRFC="false" toc="include" pn="section-4.20">
        <name slugifiedName="name-deviation-statements">Deviation Statements</name>
        <t indent="0" pn="section-4.20-1">Per <xref section="7.20.3" sectionFormat="of" target="RFC7950" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7950#section-7.20.3" derivedContent="RFC7950"/>, the YANG "deviation" statement is not
   allowed to appear in IETF YANG modules, but it can be useful for
   documenting server capabilities.  Deviation statements are not
   reusable and typically not shared across all platforms.</t>
        <t indent="0" pn="section-4.20-2">There are several reasons that deviations might be needed in an
   implementation, e.g., an object cannot be supported on all platforms,
   or feature delivery is done in multiple development phases.
   Deviation statements can also be used to add annotations to a module,
   which does not affect the conformance requirements for the module.</t>
        <t indent="0" pn="section-4.20-3">It is suggested that deviation statements be defined in separate
   modules from regular YANG definitions.  This allows the deviations to
   be platform specific and/or temporary.</t>
        <t indent="0" pn="section-4.20-4">The order that deviation statements are evaluated can affect the
   result.  Therefore, multiple deviation statements in the same module,
   for the same target object, <bcp14>SHOULD NOT</bcp14> be used.</t>
        <t indent="0" pn="section-4.20-5">The "max-elements" statement is intended to describe an architectural
   limit to the number of list entries.  It is not intended to describe
   platform limitations.  It is better to use a "deviation" statement
   for the platforms that have a hard resource limit.</t>
        <t indent="0" pn="section-4.20-6">Example documenting platform resource limits:</t>
        <t indent="0" pn="section-4.20-7">Wrong: (max-elements in the list itself)</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.20-8">
     container backups {
       list backup {
         ...
         max-elements 10;
         ...
       }
     }</sourcecode>
        <t indent="0" pn="section-4.20-9">Correct: (max-elements in a deviation)</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.20-10">
     deviation /bk:backups/bk:backup {
       deviate add {
         max-elements 10;
       }
     }</sourcecode>
      </section>
      <section anchor="extension-statements" numbered="true" removeInRFC="false" toc="include" pn="section-4.21">
        <name slugifiedName="name-extension-statements">Extension Statements</name>
        <t indent="0" pn="section-4.21-1">The YANG "extension" statement is used to specify external
   definitions.  This appears in the YANG syntax as an
   "unknown-statement".  Usage of "extension" statements in a published
   module needs to be considered carefully.</t>
        <t indent="0" pn="section-4.21-2">The following guidelines apply to the usage of YANG extensions:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.21-3">
          <li pn="section-4.21-3.1">
            <t indent="0" pn="section-4.21-3.1.1">The semantics of the extension <bcp14>MUST NOT</bcp14> contradict any YANG
 statements.  Extensions can add semantics not covered by the
 normal YANG statements.</t>
          </li>
          <li pn="section-4.21-3.2">
            <t indent="0" pn="section-4.21-3.2.1">The module containing the "extension" statement <bcp14>MUST</bcp14> clearly
 identify the conformance requirements for the extension.  It
 should be clear whether all implementations of the YANG module
 containing the extension need to also implement the extension.  If
 not, identify what conditions apply that would require
 implementation of the extension.</t>
          </li>
          <li pn="section-4.21-3.3">
            <t indent="0" pn="section-4.21-3.3.1">The extension <bcp14>MUST</bcp14> clearly identify where it can be used within
 other YANG statements.</t>
          </li>
          <li pn="section-4.21-3.4">
            <t indent="0" pn="section-4.21-3.4.1">The extension <bcp14>MUST</bcp14> clearly identify if YANG statements or other
 extensions are allowed or required within the extension as
 substatements.</t>
          </li>
        </ul>
      </section>
      <section anchor="data-correlation" numbered="true" removeInRFC="false" toc="include" pn="section-4.22">
        <name slugifiedName="name-data-correlation">Data Correlation</name>
        <t indent="0" pn="section-4.22-1">Data can be correlated in various ways, using common data types,
   common data naming, and common data organization.  There are several
   ways to extend the functionality of a module, based on the degree of
   coupling between the old and new functionality:</t>
        <dl indent="3" newline="false" spacing="normal" pn="section-4.22-2">
          <dt pn="section-4.22-2.1">inline:</dt>
          <dd pn="section-4.22-2.2">
            <t indent="0" pn="section-4.22-2.2.1">update the module with new protocol-accessible objects.
 The naming and data organization of the original objects is used.
 The new objects are in the original module namespace.</t>
          </dd>
          <dt pn="section-4.22-2.3">augment:</dt>
          <dd pn="section-4.22-2.4">
            <t indent="0" pn="section-4.22-2.4.1">create a new module with new protocol-accessible objects
 that augment the original data structure.  The naming and data
 organization of the original objects is used.  The new objects are
 in the new module namespace.</t>
          </dd>
          <dt pn="section-4.22-2.5">mirror:</dt>
          <dd pn="section-4.22-2.6">
            <t indent="0" pn="section-4.22-2.6.1">create new objects in a new module or the original module,
 except use a new naming scheme and data location.  The naming can
 be coupled in different ways.  Tight coupling is achieved with a
 "leafref" data type, with the "require-instance" substatement set
 to "true".  This method <bcp14>SHOULD</bcp14> be used.</t>
          </dd>
        </dl>
        <t indent="0" pn="section-4.22-3">If the new data instances are not limited to the values in use in the
   original data structure, then the "require-instance" substatement
   <bcp14>MUST</bcp14> be set to "false".  Loose coupling is achieved by using key
   leafs with the same data type as the original data structure.  This
   has the same semantics as setting the "require-instance" substatement
   to "false".</t>
        <t indent="0" pn="section-4.22-4">The relationship between configuration and operational state has been
   clarified in NMDA <xref target="RFC8342" format="default" sectionFormat="of" derivedContent="RFC8342"/>.</t>
        <section anchor="use-of-leafref-for-key-correlation" numbered="true" removeInRFC="false" toc="include" pn="section-4.22.1">
          <name slugifiedName="name-use-of-leafref-for-key-corr">Use of "leafref" for Key Correlation</name>
          <t indent="0" pn="section-4.22.1-1">Sometimes it is not practical to augment a data structure.  For
   example, the correlated data could have different keys or contain
   mandatory nodes.</t>
          <t indent="0" pn="section-4.22.1-2">The following example shows the use of the "leafref" data type for
   data correlation purposes:</t>
          <t indent="0" pn="section-4.22.1-3">Not preferred:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.22.1-4">
   list foo {
      key name;
      leaf name {
         type string;
      }
      ...
   }

   list foo-addon {
      key name;
      config false;
      leaf name {
         type string;
      }
      ...
   }</sourcecode>
          <t indent="0" pn="section-4.22.1-5">Preferred:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.22.1-6">
   list foo {
      key name;
      leaf name {
         type string;
      }
      ...
   }

   list foo-addon {
      key name;
      config false;
      leaf name {
         type leafref {
            path "/foo/name";
            require-instance false;
         }
      }
      leaf addon {
         type string;
         mandatory true;
      }
   }</sourcecode>
        </section>
      </section>
      <section anchor="sec-op-state" numbered="true" removeInRFC="false" toc="include" pn="section-4.23">
        <name slugifiedName="name-operational-state">Operational State</name>
        <t indent="0" pn="section-4.23-1">The modeling of operational state with YANG has been refined over
   time.  At first, only data that has a "config" statement value of
   "false" was considered to be operational state.  This data was not
   considered to be part of any datastore, which made the YANG XPath
   definition much more complicated.</t>
        <t indent="0" pn="section-4.23-2">Operational state is now modeled using YANG according to the NMDA
   <xref target="RFC8342" format="default" sectionFormat="of" derivedContent="RFC8342"/> and conceptually contained in the operational state
   datastore, which also includes the operational values of
   configuration data.  There is no longer any need to duplicate data
   structures to provide separate configuration and operational state
   sections.</t>
        <t indent="0" pn="section-4.23-3">This section describes some data modeling issues related to
   operational state and guidelines for transitioning YANG data model
   design to be NMDA compatible.</t>
        <section anchor="combining-operational-state-and-configuration-data" numbered="true" removeInRFC="false" toc="include" pn="section-4.23.1">
          <name slugifiedName="name-combining-operational-state">Combining Operational State and Configuration Data</name>
          <t indent="0" pn="section-4.23.1-1">If possible, operational state <bcp14>SHOULD</bcp14> be combined with its associated
   configuration data.  This prevents duplication of key leafs and
   ancestor nodes.  It also prevents race conditions for retrieval of
   dynamic entries and allows configuration and operational state to be
   retrieved together with minimal message overhead.</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.23.1-2">
   container foo {
     ...
     // contains "config true" and "config false" nodes that have
     // no corresponding "config true" object (e.g., counters)
   }</sourcecode>
        </section>
        <section anchor="sec-4.23.2" numbered="true" removeInRFC="false" toc="include" pn="section-4.23.2">
          <name slugifiedName="name-representing-operational-va">Representing Operational Values of Configuration Data</name>
          <t indent="0" pn="section-4.23.2-1">If possible, the same data type <bcp14>SHOULD</bcp14> be used to represent the
   configured value and the operational value, for a given leaf or leaf-
   list object.</t>
          <t indent="0" pn="section-4.23.2-2">Sometimes the configured value set is different than the operational
   value set for that object, for example, the "admin-status" and
   "oper-status" leafs in <xref target="RFC8343" format="default" sectionFormat="of" derivedContent="RFC8343"/>.  In this case, a separate object
   <bcp14>MAY</bcp14> be used to represent the configured and operational values.</t>
          <t indent="0" pn="section-4.23.2-3">Sometimes the list keys are not identical for configuration data and
   the corresponding operational state.  In this case, separate lists
   <bcp14>MAY</bcp14> be used to represent the configured and operational values.</t>
          <t indent="0" pn="section-4.23.2-4">If it is not possible to combine configuration and operational state,
   then the keys used to represent list entries <bcp14>SHOULD</bcp14> be the same type.
   The "leafref" data type <bcp14>SHOULD</bcp14> be used in operational state for key
   leafs that have corresponding configuration instances.  The
   "require-instance" statement <bcp14>MAY</bcp14> be set to "false" (in YANG 1.1
   modules only) to indicate instances are allowed in the operational
   state that do not exist in the associated configuration data.</t>
          <t indent="0" pn="section-4.23.2-5">The need to replicate objects or define different operational state
   objects depends on the data model.  It is not possible to define one
   approach that will be optimal for all data models.</t>
          <t indent="0" pn="section-4.23.2-6">Designers <bcp14>SHOULD</bcp14> describe and justify any NMDA exceptions in detail,
   such as the use of separate subtrees and/or separate leafs.  The
   "description" statements for both the configuration and the
   operational state <bcp14>SHOULD</bcp14> be used for this purpose.</t>
        </section>
        <section anchor="nmda-transition-guidelines" numbered="true" removeInRFC="false" toc="include" pn="section-4.23.3">
          <name slugifiedName="name-nmda-transition-guidelines">NMDA Transition Guidelines</name>
          <t indent="0" pn="section-4.23.3-1">YANG modules <bcp14>SHOULD</bcp14> be designed with the assumption that they will be
   used on servers supporting the operational state datastore.  With
   this in mind, YANG modules <bcp14>SHOULD</bcp14> define "config false" nodes
   wherever they make sense to the data model.  "Config false" nodes
   <bcp14>SHOULD NOT</bcp14> be defined to provide the operational value for
   configuration nodes, except when the value space of a configured and
   operational value may differ, in which case a distinct "config false"
   node <bcp14>SHOULD</bcp14> be defined to hold the operational value for the
   configured node.</t>
          <t indent="0" pn="section-4.23.3-2">The following guidelines are meant to help modelers develop YANG
   modules that will maximize the utility of the module with both current
   and new implementations.</t>
          <t indent="0" pn="section-4.23.3-3">New modules and modules that are not concerned with the operational
   state of configuration information <bcp14>SHOULD</bcp14> immediately be structured
   to be NMDA compatible, as described in <xref target="combining-operational-state-and-configuration-data" format="default" sectionFormat="of" derivedContent="Section 4.23.1"/>.  This
   transition <bcp14>MAY</bcp14> be deferred if the module does not contain any
   configuration datastore objects.</t>
          <t indent="0" pn="section-4.23.3-4">The remaining are options that <bcp14>MAY</bcp14> be followed during the time that
   NMDA mechanisms are being defined.</t>
          <ol group="bar" spacing="normal" type="(%c)" start="1" indent="adaptive" pn="section-4.23.3-5"><li pn="section-4.23.3-5.1" derivedCounter="(a)">
              <t indent="0" pn="section-4.23.3-5.1.1">Modules that require immediate support for the NMDA features
   <bcp14>SHOULD</bcp14> be structured for NMDA.  A temporary non-NMDA version of
   this type of module <bcp14>MAY</bcp14> exist, as either an existing module or a
   module created by hand or with suitable tools that mirror the
   current modeling strategies.  Both the NMDA and the non-NMDA
   modules <bcp14>SHOULD</bcp14> be published in the same document, with NMDA
   modules in the document main body and the non-NMDA modules in a
   non-normative appendix.  The use of the non-NMDA module will
   allow temporary bridging of the time period until NMDA
   implementations are available.</t>
            </li>
            <li pn="section-4.23.3-5.2" derivedCounter="(b)">
              <t indent="0" pn="section-4.23.3-5.2.1">For published modules, the module should be republished with an
   NMDA-compatible structure, deprecating non-NMDA constructs.  For
   example, the "ietf-interfaces" module in <xref target="RFC7223" format="default" sectionFormat="of" derivedContent="RFC7223"/> has been
   restructured as an NMDA-compatible module in <xref target="RFC8343" format="default" sectionFormat="of" derivedContent="RFC8343"/> (which obsoletes <xref target="RFC7223" format="default" sectionFormat="of" derivedContent="RFC7223"/>).  The
   "/interfaces-state" hierarchy has been marked with "status
   deprecated".  Modules that mark their "/foo-state" hierarchy with
   "status deprecated" will allow NMDA-capable implementations to
   avoid the cost of duplicating the state nodes, while enabling
   non-NMDA-capable implementations to utilize them for access to
   the operational values.</t>
            </li>
            <li pn="section-4.23.3-5.3" derivedCounter="(c)">
              <t indent="0" pn="section-4.23.3-5.3.1">For modules that augment modules that have not been structured
   with the NMDA, the modeler will have to consider the structure
   of the base module and the guidelines listed above.  Where
   possible, such modules should move to new revisions of the base
   module that are NMDA compatible.  When that is not possible,
   augmenting "state" containers <bcp14>SHOULD</bcp14> be avoided, with the
   expectation that the base module will be re-released with the
   state containers marked as "deprecated".  It is <bcp14>RECOMMENDED</bcp14> to
   augment only the "/foo" hierarchy of the base module.  Where this
   recommendation cannot be followed, any new "state" elements
   <bcp14>SHOULD</bcp14> be included in their own module.</t>
            </li>
          </ol>
          <section anchor="temporary-non-nmda-modules" numbered="true" removeInRFC="false" toc="exclude" pn="section-4.23.3.1">
            <name slugifiedName="name-temporary-non-nmda-modules">Temporary Non-NMDA Modules</name>
            <t indent="0" pn="section-4.23.3.1-1">A temporary non-NMDA module allows a non-NMDA-aware client to access
   operational state from an NMDA-compliant server.  It contains the
   top-level "config false" data nodes that would have been defined in a
   legacy YANG module (before NMDA).</t>
            <t indent="0" pn="section-4.23.3.1-2">A server that needs to support both NMDA and non-NMDA clients can
   advertise both the new NMDA module and the temporary non-NMDA module.
   A non-NMDA client can use separate "foo" and "foo-state" subtrees,
   except the "foo-state" subtree is located in a different (temporary)
   module.  The NMDA module can be used by a non-NMDA client to access
   the conventional configuration datastores and the deprecated <tt>&lt;get&gt;</tt>
   operation to access nested "config false" data nodes.</t>
            <t indent="0" pn="section-4.23.3.1-3">To create the temporary non-NMDA module from an NMDA module, the
   following steps can be taken:</t>
            <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.23.3.1-4">
              <li pn="section-4.23.3.1-4.1">
                <t indent="0" pn="section-4.23.3.1-4.1.1">Change the module name by appending "-state" to the original module name.</t>
              </li>
              <li pn="section-4.23.3.1-4.2">
                <t indent="0" pn="section-4.23.3.1-4.2.1">Change the namespace by appending "-state" to the original namespace value.</t>
              </li>
              <li pn="section-4.23.3.1-4.3">
                <t indent="0" pn="section-4.23.3.1-4.3.1">Change the prefix by appending "-s" to the original prefix value.</t>
              </li>
              <li pn="section-4.23.3.1-4.4">
                <t indent="0" pn="section-4.23.3.1-4.4.1">Add an import to the original module (e.g., for typedef definitions).</t>
              </li>
              <li pn="section-4.23.3.1-4.5">
                <t indent="0" pn="section-4.23.3.1-4.5.1">Retain or create only the top-level nodes that have a "config"
 statement value "false".  These subtrees represent "config false"
 data nodes that were combined into the configuration subtree;
 therefore, they are not available to non-NMDA-aware clients.  Set
 the "status" statement to "deprecated" for each new node.</t>
              </li>
              <li pn="section-4.23.3.1-4.6">
                <t indent="0" pn="section-4.23.3.1-4.6.1">The module description <bcp14>SHOULD</bcp14> clearly identify the module as a
 temporary non-NMDA module.</t>
              </li>
            </ul>
          </section>
          <section anchor="example-create-a-new-nmda-module" numbered="true" removeInRFC="false" toc="exclude" pn="section-4.23.3.2">
            <name slugifiedName="name-example-create-a-new-nmda-m">Example: Create a New NMDA Module</name>
            <t indent="0" pn="section-4.23.3.2-1">Create an NMDA-compliant module, using combined configuration and
   state subtrees, whenever possible.</t>
            <sourcecode name="" type="yang" markers="false" pn="section-4.23.3.2-2">
  module example-foo {
    namespace "urn:example:params:xml:ns:yang:example-foo";
    prefix "foo";

    container foo {
      // configuration data child nodes
      // operational value in operational state datastore only
      // may contain "config false" nodes as needed
    }
 }</sourcecode>
          </section>
          <section anchor="example-convert-an-old-non-nmda-module" numbered="true" removeInRFC="false" toc="exclude" pn="section-4.23.3.3">
            <name slugifiedName="name-example-convert-an-old-non-">Example: Convert an Old Non-NMDA Module</name>
            <t indent="0" pn="section-4.23.3.3-1">Do not remove non-compliant objects from existing modules.  Instead,
   change the status to "deprecated".  At some point, usually after 1
   year, the status <bcp14>MAY</bcp14> be changed to "obsolete".</t>
            <t indent="0" pn="section-4.23.3.3-2">Old Module:</t>
            <sourcecode name="" type="yang" markers="false" pn="section-4.23.3.3-3">
  module example-foo {
    namespace "urn:example:params:xml:ns:yang:example-foo";
    prefix "foo";

    container foo {
      // configuration data child nodes
    }

    container foo-state {
      config false;
      // operational state child nodes
    }
 }</sourcecode>
            <t indent="0" pn="section-4.23.3.3-4">Converted NMDA Module:</t>
            <sourcecode name="" type="yang" markers="false" pn="section-4.23.3.3-5">
  module example-foo {
    namespace "urn:example:params:xml:ns:yang:example-foo";
    prefix "foo";

    container foo {
      // configuration data child nodes
      // operational value in operational state datastore only
      // may contain "config false" nodes as needed
      // will contain any data nodes from old foo-state
    }

    // keep original foo-state but change status to deprecated
    container foo-state {
      config false;
      status deprecated;
      // operational state child nodes
    }
 }</sourcecode>
          </section>
          <section anchor="example-create-a-temporary-nmda-module" numbered="true" removeInRFC="false" toc="exclude" pn="section-4.23.3.4">
            <name slugifiedName="name-example-create-a-temporary-">Example: Create a Temporary NMDA Module</name>
            <t indent="0" pn="section-4.23.3.4-1">Create a new module that contains the top-level operational state
   data nodes that would have been available before they were combined
   with configuration data nodes (to be NMDA compliant).</t>
            <sourcecode name="" type="yang" markers="false" pn="section-4.23.3.4-2">
  module example-foo-state {
    namespace "urn:example:params:xml:ns:yang:example-foo-state";
    prefix "foo-s";

    // import new or converted module; not used in this example
    import example-foo { prefix foo; }

    container foo-state {
      config false;
      status deprecated;
      // operational state child nodes
     }
  }</sourcecode>
          </section>
        </section>
      </section>
      <section anchor="performance-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-4.24">
        <name slugifiedName="name-performance-considerations">Performance Considerations</name>
        <t indent="0" pn="section-4.24-1">It is generally likely that certain YANG statements require more
   runtime resources than other statements.  Although there are no
   performance requirements for YANG validation, the following
   information <bcp14>MAY</bcp14> be considered when designing YANG data models:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.24-2">
          <li pn="section-4.24-2.1">
            <t indent="0" pn="section-4.24-2.1.1">Lists are generally more expensive than containers</t>
          </li>
          <li pn="section-4.24-2.2">
            <t indent="0" pn="section-4.24-2.2.1">"when" statement evaluation is generally more expensive than "if-feature" or "choice" statements</t>
          </li>
          <li pn="section-4.24-2.3">
            <t indent="0" pn="section-4.24-2.3.1">"must" statements are generally more expensive than "min-elements", "max-elements", "mandatory", or "unique" statements</t>
          </li>
          <li pn="section-4.24-2.4">
            <t indent="0" pn="section-4.24-2.4.1">"identityref" leafs are generally more expensive than "enumeration" leafs</t>
          </li>
          <li pn="section-4.24-2.5">
            <t indent="0" pn="section-4.24-2.5.1">"leafref" and "instance-identifier" types with "require-instance" set to "true" are generally more expensive than if "require-instance" is set to "false"</t>
          </li>
        </ul>
      </section>
      <section anchor="open-systems-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-4.25">
        <name slugifiedName="name-open-systems-considerations">Open Systems Considerations</name>
        <t indent="0" pn="section-4.25-1">Only the modules imported by a particular module can be assumed to be
   present in an implementation.  An open system <bcp14>MAY</bcp14> include any
   combination of YANG modules.</t>
      </section>
      <section anchor="guidelines-for-constructs-specific-to-yang-11" numbered="true" removeInRFC="false" toc="include" pn="section-4.26">
        <name slugifiedName="name-guidelines-for-constructs-s">Guidelines for Constructs Specific to YANG 1.1</name>
        <t indent="0" pn="section-4.26-1">The set of guidelines for YANG 1.1 will grow as operational
   experience is gained with the new language features.  This section
   contains an initial set of guidelines for YANG 1.1 language
   features.</t>
        <section anchor="importing-multiple-revisions" numbered="true" removeInRFC="false" toc="include" pn="section-4.26.1">
          <name slugifiedName="name-importing-multiple-revision">Importing Multiple Revisions</name>
          <t indent="0" pn="section-4.26.1-1">Standard modules <bcp14>SHOULD NOT</bcp14> import multiple revisions of the same
   module into a module.  This <bcp14>MAY</bcp14> be done if independent definitions
   (e.g., "enumeration" typedefs) from specific revisions are needed in
   the importing module.</t>
        </section>
        <section anchor="using-feature-logic" numbered="true" removeInRFC="false" toc="include" pn="section-4.26.2">
          <name slugifiedName="name-using-feature-logic">Using Feature Logic</name>
          <t indent="0" pn="section-4.26.2-1">The YANG 1.1 feature logic is much more expressive than YANG 1.0.  A
   "description" statement <bcp14>SHOULD</bcp14> describe the "if-feature" logic in
   text, to help readers understand the module.</t>
          <t indent="0" pn="section-4.26.2-2">YANG features <bcp14>SHOULD</bcp14> be used instead of the "when" statement, if
   possible.  Features are advertised by the server, and objects
   conditional by the "if-feature" statement are conceptually grouped
   together.  There is no such commonality supported for "when"
   statements.</t>
          <t indent="0" pn="section-4.26.2-3">Features generally require less server implementation complexity and
   runtime resources than objects that use "when" statements.  Features
   are generally static (i.e., set when a module is loaded and not
   changed at runtime).  However, every client edit might cause a "when"
   statement result to change.</t>
        </section>
        <section anchor="anyxml-versus-anydata" numbered="true" removeInRFC="false" toc="include" pn="section-4.26.3">
          <name slugifiedName="name-anyxml-versus-anydata">"anyxml" versus "anydata"</name>
          <t indent="0" pn="section-4.26.3-1">The "anyxml" statement <bcp14>MUST NOT</bcp14> be used to represent a conceptual
   subtree of YANG data nodes.  The "anydata" statement <bcp14>MUST</bcp14> be used for
   this purpose.</t>
        </section>
        <section anchor="action-versus-rpc" numbered="true" removeInRFC="false" toc="include" pn="section-4.26.4">
          <name slugifiedName="name-action-versus-rpc">"action" versus "rpc"</name>
          <t indent="0" pn="section-4.26.4-1">The use of "action" statements or "rpc" statements is a subjective
   design decision.  RPC operations are not associated with any
   particular data node.  Actions are associated with a specific data
   node definition.  An "action" statement <bcp14>SHOULD</bcp14> be used if the
   protocol operation is specific to a subset of all data nodes instead
   of all possible data nodes.</t>
          <t indent="0" pn="section-4.26.4-2">The same action name <bcp14>MAY</bcp14> be used in different definitions within
   different data node.  For example, a "reset" action defined with a
   data node definition for an interface might have different parameters
   than for a power supply or a VLAN.  The same action name <bcp14>SHOULD</bcp14> be
   used to represent similar semantics.</t>
          <t indent="0" pn="section-4.26.4-3">The NETCONF Access Control Model (NACM) <xref target="RFC8341" format="default" sectionFormat="of" derivedContent="RFC8341"/> does not support
   parameter-based access control for RPC operations.  The user is given
   permission (or not) to invoke the RPC operation with any parameters.
   For example, if each client is only allowed to reset their own
   interface, then NACM cannot be used.</t>
          <t indent="0" pn="section-4.26.4-4">For example, NACM cannot enforce access control based on the value of
   the "interface" parameter, only the "reset" operation itself:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.26.4-5">
   rpc reset {
     input {
       leaf interface {
         type if:interface-ref;
         mandatory true;
         description "The interface to reset.";
       }
     }
   }</sourcecode>
          <t indent="0" pn="section-4.26.4-6">However, NACM can enforce access control for individual interface
   instances, using a "reset" action.  If the user does not have read
   access to the specific "interface" instance, then it cannot invoke
   the "reset" action for that interface instance:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.26.4-7">
   container interfaces {
     list interface {
       ...
       action reset { }
     }
   }</sourcecode>
        </section>
      </section>
      <section anchor="updating-yang-modules-published-versus-unpublished" numbered="true" removeInRFC="false" toc="include" pn="section-4.27">
        <name slugifiedName="name-updating-yang-modules-publi">Updating YANG Modules (Published versus Unpublished)</name>
        <t indent="0" pn="section-4.27-1">YANG modules can change over time.  Typically, new data model
   definitions are needed to support new features.  YANG update rules
   defined in <xref section="11" sectionFormat="of" target="RFC7950" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7950#section-11" derivedContent="RFC7950"/> <bcp14>MUST</bcp14> be followed for published
   modules.  They <bcp14>MAY</bcp14> be followed for unpublished modules.</t>
        <t indent="0" pn="section-4.27-2">The YANG update rules only apply to published module revisions.  Each
   organization will have their own way to identify published work that
   is considered to be stable and unpublished work that is considered to
   be unstable.  For example, in the IETF, an RFC is used for
   published work, and an I-D is used for unpublished work.</t>
      </section>
      <section anchor="sec-tags" numbered="true" removeInRFC="false" toc="include" pn="section-4.28">
        <name slugifiedName="name-defining-standard-tags">Defining Standard Tags</name>
        <t indent="0" pn="section-4.28-1"><xref target="RFC8819" format="default" sectionFormat="of" derivedContent="RFC8819"/> specifies a method for associating tags with YANG modules. Tags may
be defined and associated at design time, at implementation time, or via
user administrative control. Design-time tags are indicated using the module-tag
"extension" statement.</t>
        <t indent="0" pn="section-4.28-2">A module <bcp14>MAY</bcp14> indicate, using module-tag "extension" statements, a set of
tags that are to be automatically associated with it (i.e., not added through configuration).</t>
        <sourcecode name="" type="yang" markers="false" pn="section-4.28-3">
module example-module {
  namespace "https://example.com/yang/example";
  prefix "ex";
  //...
  import module-tags { prefix tags; }

  tags:module-tag "ietf:some-new-tag";
  tags:module-tag "ietf:some-other-tag";
  // ...
}</sourcecode>
        <t indent="0" pn="section-4.28-4">Authors can use existing standard tags or use new tags defined in the model definition,
as appropriate. For IETF modules, new tags <bcp14>MUST</bcp14> be assigned in the IANA "IETF YANG Module Tags"
registry within the "YANG Module Tags" registry group <xref target="IANA-TAGS" format="default" sectionFormat="of" derivedContent="IANA-TAGS"/>.</t>
      </section>
      <section anchor="modeling-abstract-data-structures" numbered="true" removeInRFC="false" toc="include" pn="section-4.29">
        <name slugifiedName="name-modeling-abstract-data-stru">Modeling Abstract Data Structures</name>
        <t indent="0" pn="section-4.29-1">For contexts where YANG is used to model abstract data structures (e.g., protocol messages), the use of the "structure" extension statement <xref target="RFC8791" format="default" sectionFormat="of" derivedContent="RFC8791"/> is <bcp14>RECOMMENDED</bcp14> compared to the "yang-data" extension statement <xref target="RFC8040" format="default" sectionFormat="of" derivedContent="RFC8040"/>. Examples of modules that rely upon the "structure" extension statement from <xref target="RFC8791" format="default" sectionFormat="of" derivedContent="RFC8791"/> can be found in <xref target="RFC9132" format="default" sectionFormat="of" derivedContent="RFC9132"/> or <xref target="RFC9195" format="default" sectionFormat="of" derivedContent="RFC9195"/>.</t>
        <t indent="0" pn="section-4.29-2">Abstract data structures can be augmented using the "augment-structure" statement <xref target="RFC8791" format="default" sectionFormat="of" derivedContent="RFC8791"/>. Examples of modules that augment abstract data structures can be found in <xref target="RFC9244" format="default" sectionFormat="of" derivedContent="RFC9244"/> and <xref target="RFC9362" format="default" sectionFormat="of" derivedContent="RFC9362"/>.</t>
      </section>
      <section anchor="iana-maintained-modules" numbered="true" removeInRFC="false" toc="include" pn="section-4.30">
        <name slugifiedName="name-iana-maintained-yang-module">IANA-Maintained YANG Modules</name>
        <section anchor="context" numbered="true" removeInRFC="false" toc="include" pn="section-4.30.1">
          <name slugifiedName="name-context">Context</name>
          <t indent="0" pn="section-4.30.1-1">IANA maintains a set of registries that are key for interoperability.
   The content of these registries is usually available using various
   formats (e.g., plain text or XML).  However, there was some confusion
   in the past about whether the content of some registries is dependent
   on a specific representation format.  For example, 
   <xref target="RFC8892" section="5" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8892#section-5" derivedContent="RFC8892"/> was published to clarify that MIB and YANG modules are
   merely additional formats in which the "Interface Types (ifType)" and
   "Tunnel Types (tunnelType)" registries are available.  The MIB
   <xref target="RFC2863" format="default" sectionFormat="of" derivedContent="RFC2863"/> and YANG modules (<xref target="RFC7224" format="default" sectionFormat="of" derivedContent="RFC7224"/> <xref target="RFC8675" format="default" sectionFormat="of" derivedContent="RFC8675"/>) are not separate
   registries, and the same values are always present in all formats of
   the same registry.</t>
          <t indent="0" pn="section-4.30.1-2">A design in which a YANG module includes parameters and values directly in a
   module that is not maintained by IANA while these are populated in an
   IANA registry could lead to ambiguity and maintain stale information. Such a design creates another
   source of information that may deviate from the IANA registry as new
   values are assigned or some values are deprecated.</t>
          <t indent="0" pn="section-4.30.1-3">For the sake of consistency and the ability to support new values while
   maintaining IANA registries as the unique authoritative source of
   information, this document recommends the use of IANA-maintained YANG modules
   as the single source of information.</t>
          <t indent="0" pn="section-4.30.1-4">The following section provides a set of guidelines for YANG module authors
   related to the design of IANA-maintained YANG modules.  These guidelines
   are meant to leverage existing IANA registries and use YANG as
   another format to present the content of these registries when
   appropriate.</t>
        </section>
        <section anchor="guidelines-for-iana-maintained-modules" numbered="true" removeInRFC="false" toc="include" pn="section-4.30.2">
          <name slugifiedName="name-guidelines-for-iana-maintai">Guidelines for IANA-Maintained YANG Modules</name>
          <t indent="0" pn="section-4.30.2-1">When designing a YANG module for a functionality governed by a
   protocol for which IANA maintains a registry, it is <bcp14>RECOMMENDED</bcp14> to
   specify an IANA-maintained YANG module that echoes the content of that
   registry.  This is superior to including that content in an
   IETF-maintained module.</t>
          <t indent="0" pn="section-4.30.2-2">When one or multiple registries are available under the same
   registry group, it is <bcp14>RECOMMENDED</bcp14> to define an IANA-maintained YANG module for
   each registry.  However, module designers <bcp14>MAY</bcp14> consider defining
   one single IANA-maintained YANG module that covers all registries if
   maintaining that single module is manageable (e.g., very few values
   are present or expected to be present for each registry).  An
   example of such a module is documented in <xref section="5.2" sectionFormat="of" target="RFC9132" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9132#section-5.2" derivedContent="RFC9132"/>.</t>
          <t indent="0" pn="section-4.30.2-3">An IANA-maintained YANG module may use the "identityref" data type approach (e.g., <xref target="RFC8675" format="default" sectionFormat="of" derivedContent="RFC8675"/>) or
   an "enumeration" data type approach (e.g., <xref target="RFC9108" format="default" sectionFormat="of" derivedContent="RFC9108"/>). See <xref target="sec-fve" format="default" sectionFormat="of" derivedContent="Section 4.11.1"/> for a guidance on which data type to use. The decision about which type to use
   should be made based upon
   specifics related to the intended use of the IANA-maintained YANG module.
   For example, identities are useful if the registry entries are
   organized hierarchically, possibly including multiple inheritances.
   The reasoning for the design choice <bcp14>MUST</bcp14> be
   documented in the companion specification that registers an
   IANA-maintained YANG module. For example, <xref target="RFC9244" format="default" sectionFormat="of" derivedContent="RFC9244"/> defines an IANA-maintained YANG 
   module that uses enumerations for the following reason:</t>
          <blockquote pn="section-4.30.2-4">
            <t indent="0" pn="section-4.30.2-4.1">The DOTS telemetry module (Section <xref target="RFC9244" section="11.1" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9244#section-11.1" derivedContent="RFC9244"/>) uses "enumerations" rather
            than "identities" to define units, samples, and intervals because
            otherwise the namespace identifier "ietf-dots-telemetry" must be
            included when a telemetry attribute is included (e.g., in a
            mitigation efficacy update).  The use of "identities" is thus
            suboptimal from the standpoint of message compactness, as message
            compactness is one of the key requirements for DOTS signal channel
            messages.</t>
          </blockquote>
          <t indent="0" pn="section-4.30.2-5">Designers of IANA-maintained YANG modules <bcp14>MAY</bcp14> supply the initial full
   version of the module in a specification document that registers the
   module or only a script to be used (including by IANA) for generating
   the module (e.g., an Extensible Stylesheet Language Transformations (XSLT) stylesheet as in <xref section="A" target="RFC9108" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc9108#appendix-A" derivedContent="RFC9108"/> or a Python script as in <xref target="RFC9645" format="default" sectionFormat="of" derivedContent="RFC9645"/>).
   For both cases, the document that defines an IANA-maintained YANG module
   <bcp14>MUST</bcp14> include a note indicating that the document is only documenting
   the initial version of the module and that the authoritative version
   is to be retrieved from the IANA registry. Also, the IANA-maintained
   module <bcp14>MUST</bcp14> include the following note indicating the RFC that
   registered the initial version of the IANA-maintained YANG module:</t>
          <blockquote pn="section-4.30.2-6">
            <t indent="0" pn="section-4.30.2-6.1">The initial version of this YANG module is part of RFC IIII;
     see the RFC itself for full legal notices.</t>
          </blockquote>
          <t indent="0" pn="section-4.30.2-7">It is <bcp14>RECOMMENDED</bcp14> to
   include the URL from where to retrieve the recent version of the
   module.  When a script is used, the Internet-Draft that defines an
   IANA-maintained YANG module has to include an appendix with the full script and <bcp14>SHOULD</bcp14> include an appendix with the initial
   full version of the module. Including such an appendix in Internet-Drafts is meant to assess the correctness of the outcome of the
   supplied script.  The authors <bcp14>MUST</bcp14> include a note to the RFC Editor
   requesting that the appendix with the initial version of the module be removed before publication as RFC and
   that RFC IIII is replaced with the RFC number that is assigned to the document.
   Initial versions of IANA-maintained YANG modules that are published in
   RFCs may be misused despite the appropriate language to refer to the
   IANA registry to retrieve the up-to-date module.  This is problematic
   for interoperability, e.g., when values are deprecated or are
   associated with a new meaning.</t>
          <aside pn="section-4.30.2-8">
            <t indent="0" pn="section-4.30.2-8.1">Note: <xref target="Style" format="default" sectionFormat="of" derivedContent="Style"/> provides XSLT 1.0 stylesheets and other tools for
  translating IANA registries to YANG modules.  The tools can be
  used to generate up-to-date revisions of an IANA-maintained YANG module
  based upon the XML representation of an IANA registry.</t>
          </aside>
          <t indent="0" pn="section-4.30.2-9">If an IANA-maintained YANG module is imported by another module, a
   normative reference with the IANA URL from which to retrieve the
   IANA-maintained YANG module <bcp14>SHOULD</bcp14> be included.  Although not encouraged,
   referencing the RFC that defines the initial version of the IANA
   module is acceptable in specific cases (e.g., the imported version is
   specifically the initial version, the RFC includes useful description
   about the usage of the module).</t>
          <t indent="0" pn="section-4.30.2-10">Examples of IANA URLs from which to retrieve the latest version of an
	  IANA-maintained YANG module are as follows:</t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.30.2-11">
            <li pn="section-4.30.2-11.1">
              <eref target="https://www.iana.org/assignments/iana-bgp-l2-encaps" brackets="none"/>,</li>
            <li pn="section-4.30.2-11.2">
              <eref target="https://www.iana.org/assignments/iana-pseudowire-types" brackets="none"/>,
   and</li>
            <li pn="section-4.30.2-11.3">
              <eref target="https://www.iana.org/assignments/iana-bfd-types" brackets="none"/>.</li>
          </ul>
          <t indent="0" pn="section-4.30.2-12"> "IANA_FOO_URL" is used in the following to refer
   to such URLs.  These URLs are expected to be sufficiently permanent
   and stable.</t>
          <t indent="0" pn="section-4.30.2-13">Whenever referencing a specific version of an
   IANA-maintained YANG module is needed, then URLs such as the following are used:</t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.30.2-14">
            <li pn="section-4.30.2-14.1">
              <eref target="https://www.iana.org/assignments/iana-bgp-l2-encaps@2022-09-20.yang" brackets="none"/></li>
          </ul>
          <t indent="0" pn="section-4.30.2-15">"IANA_FOO_URL_With_REV" is used in the following to refer
   to such URLs.</t>
          <t indent="0" pn="section-4.30.2-16">A template for IANA-maintained YANG modules is provided in <xref target="tem-iana" format="default" sectionFormat="of" derivedContent="Appendix C"/>.</t>
        </section>
        <section anchor="sec-iana-mm" numbered="true" removeInRFC="false" toc="include" pn="section-4.30.3">
          <name slugifiedName="name-guidance-for-writing-the-ia">Guidance for Writing the IANA Considerations for RFCs Defining IANA-Maintained YANG Modules</name>
          <t indent="0" pn="section-4.30.3-1">In addition to the IANA considerations in <xref target="sec-iana-cons" format="default" sectionFormat="of" derivedContent="Section 3.8"/>,
   the IANA Considerations section of an RFC that includes an
   IANA-maintained YANG module <bcp14>MUST</bcp14> provide the required instructions for IANA to
   automatically perform the maintenance of that IANA module.  These
   instructions describe how to proceed with updates to the
   IANA-maintained YANG module that are triggered by a change to the authoritative
   registry.  Concretely, the IANA Considerations section <bcp14>SHALL</bcp14> at least
   provide the following information:</t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.30.3-2">
            <li pn="section-4.30.3-2.1">
              <t indent="0" pn="section-4.30.3-2.1.1">A request to IANA to add a note to the page displaying the
information about the IANA-maintained YANG module that new values must
not be directly added to the module. These values should be added to an authoritative IANA
registry.</t>
            </li>
            <li pn="section-4.30.3-2.2">
              <t indent="0" pn="section-4.30.3-2.2.1">A request to IANA to add a note to the authoritative IANA registry
to indicate that any change to the registry must be reflected into
the corresponding IANA-maintained YANG module. That is, any changes to the registry must be accompanied by an update to the corresponding
IANA-maintained YANG module.</t>
            </li>
            <li pn="section-4.30.3-2.3">
              <t indent="0" pn="section-4.30.3-2.3.1">Details about the required actions (e.g., add a new "identity" or
"enum" statement) to update the IANA-maintained YANG module to reflect
changes to an authoritative IANA registry.  Typically, these
details have to include the procedure to create a new "identity"
statement name and substatements ("base", "status",
"description", and "reference") or a new "enum" statement and
substatements ("value", "status", "description", and "reference").  </t>
              <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.30.3-2.3.2">
                <li pn="section-4.30.3-2.3.2.1">
                  <t indent="0" pn="section-4.30.3-2.3.2.1.1">When creating a new "identity" statement name or a new "enum" statement,
it is <bcp14>RECOMMENDED</bcp14> to use the same name (if present) as recorded in the IANA registry.</t>
                </li>
                <li pn="section-4.30.3-2.3.2.2">
                  <t indent="0" pn="section-4.30.3-2.3.2.2.1">If the name in the IANA registry does not comply with the naming conventions
listed in <xref target="sec-id-naming" format="default" sectionFormat="of" derivedContent="Section 4.3.1"/>, the procedure <bcp14>MUST</bcp14> detail how IANA
can generate legal identifiers from such a name. Specifically, if the name
begins with a number, it is <bcp14>RECOMMENDED</bcp14> to spell out (i.e., not use a digit) the number when used as an identifier. IANA should be provided with instructions to perform such a task. For example, authors of a module with such identifiers have to indicate whether:      </t>
                  <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-4.30.3-2.3.2.2.2">
                    <li pn="section-4.30.3-2.3.2.2.2.1">
                      <t indent="0" pn="section-4.30.3-2.3.2.2.2.1.1">"3des-cbc" should be "three-des-cbc" or rather "triple-des-cbc" to be consistent with <xref section="6.3" sectionFormat="of" target="RFC4253" format="default" derivedLink="https://rfc-editor.org/rfc/rfc4253#section-6.3" derivedContent="RFC4253"/>.</t>
                    </li>
                    <li pn="section-4.30.3-2.3.2.2.2.2">
                      <t indent="0" pn="section-4.30.3-2.3.2.2.2.2.1">"6to4" should be "sixToFour" as in <xref target="RFC7224" format="default" sectionFormat="of" derivedContent="RFC7224"/> or "sixtofour" as in <xref target="RFC8675" format="default" sectionFormat="of" derivedContent="RFC8675"/>.</t>
                    </li>
                  </ul>
                </li>
                <li pn="section-4.30.3-2.3.2.3">
                  <t indent="0" pn="section-4.30.3-2.3.2.3.1">If a new registration uses an identifier that does not comply with the naming conventions
listed in <xref target="sec-id-naming" format="default" sectionFormat="of" derivedContent="Section 4.3.1"/>, IANA should check if guidance to generate legal identifiers was supplied in the RFC that specified the initial version of the module. If no such guidance is available, IANA should check the latest revision of the IANA-maintained YANG module for similar patterns. If all else fails, IANA should seek advice from relevant registry experts (e.g., designated experts for a registry using the Expert Review policy (<xref section="4.5" sectionFormat="of" target="RFC8126" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8126#section-4.5" derivedContent="RFC8126"/>) or responsible area director).</t>
                </li>
              </ul>
            </li>
          </ul>
          <t indent="0" pn="section-4.30.3-3">The IANA Considerations Section <bcp14>MAY</bcp14> also provide the following information
if a default action is to be overridden:</t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.30.3-4">
            <li pn="section-4.30.3-4.1">
              <t indent="0" pn="section-4.30.3-4.1.1">A note whether unassigned or reserved values should be present in
  the IANA-maintained YANG module.  If no instruction is provided,
  unassigned or reserved values must not be present in
  the IANA-maintained YANG module.</t>
            </li>
            <li pn="section-4.30.3-4.2">
              <t indent="0" pn="section-4.30.3-4.2.1">An instruction whether experimental values should be included in
  the IANA-maintained YANG module.  If no instruction is provided,
  experimental values <bcp14>MUST NOT</bcp14> be listed in the IANA-maintained
  YANG module.</t>
            </li>
            <li pn="section-4.30.3-4.3">
              <t indent="0" pn="section-4.30.3-4.3.1">An instruction about how to generate the "revision" statement.
  If no instruction is provided, default actions provided in <xref target="iana-maintained-modules-1" format="default" sectionFormat="of" derivedContent="Section 5.3"/> will be followed.</t>
            </li>
          </ul>
          <t indent="0" pn="section-4.30.3-5">A template for the IANA Considerations is provided in <xref target="sec-temp-id" format="default" sectionFormat="of" derivedContent="Section 4.30.3.1"/> for
   IANA-maintained YANG modules with identities and <xref target="sec-temp-enum" format="default" sectionFormat="of" derivedContent="Section 4.30.3.2"/> for
   IANA-maintained YANG modules with enumerations.  Authors may modify the
   template to reflect specifics of their modules (e.g., multiple
   registries can be listed for a single IANA-maintained YANG module, no
   explicit description (or name) field is listed under the
   authoritative IANA registry, or the name does not comply with YANG naming conventions (<xref target="sec-id-naming" format="default" sectionFormat="of" derivedContent="Section 4.3.1"/>)).</t>
          <t indent="0" pn="section-4.30.3-6">An example of "revision" statements that are generated following the guidance in <xref target="iana-maintained-modules-1.2" format="default" sectionFormat="of" derivedContent="Section 5.3.2"/>
is provided below:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.30.3-7">
  revision 2023-11-27 {
    description
      "Registered RR Type RESINFO 261.";
    reference
      "https://www.iana.org/assignments/yang-parameters/"
    + "iana-dns-class-rr-type@2023-11-27.yang";
  }

  revision 2023-11-08 {
    description
      "Updated description and replaced draft string reference to
       64 and 65 with RFC 9460: Service Binding and Parameter
       Specification via the DNS (SVCB and HTTPS Resource Records).";
    reference
      "RFC 9460: Service Binding and Parameter Specification via the
                 DNS (SVCB and HTTPS Resource Records)
       https://www.iana.org/assignments/yang-parameters/"
    + "iana-dns-class-rr-type@2023-11-08.yang";
  }

  revision 2023-04-25 {
    description
      "Updated reference for 64 and 65.";
    reference
      "https://www.iana.org/assignments/yang-parameters/"
    + "iana-dns-class-rr-type@2023-04-25.yang";
  }

  revision 2022-05-30 {
    description
      "Updated description, reference for 64 and 65.";
    reference
      "https://www.iana.org/assignments/yang-parameters/"
    + "iana-dns-class-rr-type@2022-05-30.yang";
  }

  revision 2021-08-31 {
    description
      "Initial revision.";
    reference
      "RFC 9108: YANG Types for DNS Classes and Resource Record
                 Types";
  }</sourcecode>
          <t indent="0" pn="section-4.30.3-8">Duplicating the same reference at the high level and at the level of a new addition might be redundant. For example, the following does not provide access to a specific (OLD) revision of the module when future revisions are made <xref target="IANA_Tunnel_Type_URL" format="default" sectionFormat="of" derivedContent="IANA_Tunnel_Type_URL"/>:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.30.3-9">
revision 2021-04-23 {
  description
    "Registered tunnelType 19.";
  reference
    "RFC 4301: Security Architecture for the Internet Protocol";
}

revision 2019-11-16 {
  description
    "Initial revision.";
  reference
    "RFC 8675: A YANG Data Model for Tunnel Interface Types";
}

...

identity ipsectunnelmode {
  base ift:tunnel;
  description
    "IpSec tunnel mode encapsulation.";
  reference
    "RFC 4301: Security Architecture for the Internet Protocol";
}</sourcecode>
          <t indent="0" pn="section-4.30.3-10">The following example shows how to generate the "revision" statements following the guidance in <xref target="iana-maintained-modules-1.2" format="default" sectionFormat="of" derivedContent="Section 5.3.2"/>:</t>
          <sourcecode name="" type="yang" markers="false" pn="section-4.30.3-11">
revision 2021-04-23 {
  description
    "Registered tunnelType 19.";
  reference
    "https://www.iana.org/assignments/yang-parameters/"
  + "iana-tunnel-type@2021-04-23.yang
     RFC 4301: Security Architecture for the Internet Protocol";
}

revision 2019-11-16 {
  description
    "Initial revision.";
  reference
    "RFC 8675: A YANG Data Model for Tunnel Interface Types";
}
...
identity ipsectunnelmode {
  base ift:tunnel;
  description
    "IpSec tunnel mode encapsulation.";
  reference
    "RFC 4301: Security Architecture for the Internet Protocol";
}</sourcecode>
          <t indent="0" pn="section-4.30.3-12">The templates in the following subsections are to be considered in addition to the
   required information that is provided in <xref target="sec-iana-cons" format="default" sectionFormat="of" derivedContent="Section 3.8"/>.</t>
          <section anchor="sec-temp-id" numbered="true" removeInRFC="false" toc="exclude" pn="section-4.30.3.1">
            <name slugifiedName="name-template-for-iana-maintaine">Template for IANA-Maintained YANG Modules with Identities</name>
            <artwork align="left" pn="section-4.30.3.1-1">
&lt;BEGIN TEMPLATE TEXT&gt;
	    
This document defines the initial version of the IANA-maintained
"iana-foo" YANG module.  The most recent version of the YANG module
is available from the "YANG Parameters" registry group
[IANA-YANG-PARAMETERS].

IANA is requested to add this note to the registry:

   New values must not be directly added to the "iana-foo" YANG
   module.  They must instead be added to the "foo" registry.

IANA is requested to add this note to [reference-to-the-iana-foo-
registry]:

   When this registry is modified, the YANG module "iana-foo"
   [IANA_FOO_URL] must be updated as defined in RFC IIII.
   
When a value is added to the "foo" registry, a new "identity"
statement needs to be added to the "iana-foo" YANG module. 
The name of the "identity" MUST be the name as provided in the 
registry.  The "identity" statement should have the following
substatements defined:

 "base":        Contains 'name-base-identity-defined-in-foo'.

 "status":      Include only if a registration has been deprecated or
                obsoleted.  IANA "deprecated" maps to YANG status
                "deprecated", and IANA "obsolete" maps to YANG status
                "obsolete".

 "description":  Replicates the description from the registry.

 "reference":   Replicates the reference(s) from the registry with
                the title of the document(s) added.

-- Optional:

-- Include only text that needs to be customized for the module.
-- Text that does not require customization should be
-- omitted.

-- Notes tagged with "--" include instructions for authors.  These 
-- notes must not be copied. 

Unassigned and Reserved Values:

-- To be completed only if unassigned and/or reserved values 
-- (which may include experimental values) should be included 
-- in the module.  These values are typically not included.

Description Substatements:

-- To be completed only if the default actions described in 
-- Section 5.3.2 of RFC 9907 are to be overridden.
-- Specify whether instructions apply to "revision" statements,
-- "identity" statements, or both.

Reference Substatements:

-- To be completed only if the default actions described in 
-- Section 5.3.2 of RFC 9907 are to be overridden.
-- Specify whether instructions apply to "revision" statements,
-- "identity" statements, or both.

Naming Considerations:

-- If a name in the IANA registry does not comply with the
-- YANG naming conventions, add details how IANA can generate
-- legal identifiers.  For example, if the name begins with
-- a number, indicate a preference to spell out the number when
-- used as an identifier.

&lt;END TEMPLATE TEXT&gt;
     
</artwork>
          </section>
          <section anchor="sec-temp-enum" numbered="true" removeInRFC="false" toc="exclude" pn="section-4.30.3.2">
            <name slugifiedName="name-template-for-iana-maintained">Template for IANA-Maintained YANG Modules with Enumerations</name>
            <artwork align="left" pn="section-4.30.3.2-1">
&lt;BEGIN TEMPLATE TEXT&gt;
	    
This document defines the initial version of the IANA-maintained
"iana-foo" YANG module.  The most recent version of the YANG module
is available from the "YANG Parameters" registry group
[IANA-YANG-PARAMETERS].

IANA is requested to add this note to the registry:

    New values must not be directly added to the "iana-foo" YANG
    module.  They must instead be added to the "foo" registry.

When a value is added to the "foo" registry, a new "enum" statement
must be added to the "iana-foo" YANG module.  The "enum" statement,
and substatements thereof, should be defined:

 "enum":        Replicates a name from the registry.

 "value":       Contains the decimal value of the IANA-assigned
                value.

 "status":      Is included only if a registration has been 
                deprecated or obsoleted.  IANA "deprecated" maps 
                to YANG status "deprecated", and IANA "obsolete" 
                maps to YANG status "obsolete".

 "description":  Replicates the description from the registry.

 "reference":   Replicates the reference(s) from the registry. 
                References to documents should also include titles.

-- Optional:

-- Include only text that needs to be customized for the module.
-- Text that does not require customization should be
-- omitted.

-- Notes tagged with "--" include instructions for authors.  These
-- notes must not be copied.

Unassigned and Reserved Values:

-- To be completed only if unassigned and/or reserved values 
-- (which may include experimental values) should be included 
-- in the module.  These values are typically not included.

Description Substatements:

-- To be completed only if the default actions described in 
-- Section 5.3.2 of RFC 9907 are to be overridden.
-- Specify whether instructions apply to "revision" statements, "enum"
-- statements, or both.

Reference Substatements:

-- To be completed only if the default actions described in 
-- Section 5.3.2 of RFC 9907 are to be overridden.
-- Specify whether instructions apply to "revision" statements, "enum"
-- statements, or both.

Naming Considerations:

-- If a name in the IANA registry does not comply with the
-- YANG naming conventions, add details how IANA can generate
-- legal identifiers.  For example, if the name begins with
-- a number, indicate a preference to spell out the number when
-- used as an identifier.

&lt;END TEMPLATE TEXT&gt;
</artwork>
          </section>
        </section>
      </section>
    </section>
    <section anchor="sec-iana" numbered="true" removeInRFC="false" toc="include" pn="section-5">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <section anchor="yang-modules" numbered="true" removeInRFC="false" toc="include" pn="section-5.1">
        <name slugifiedName="name-yang-modules">YANG Modules</name>
        <t indent="0" pn="section-5.1-1">The following registration in the "ns" registry of the "IETF XML
Registry" registry group <xref target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/> was detailed in <xref target="RFC8407" format="default" sectionFormat="of" derivedContent="RFC8407"/>. IANA
has updated this registration to reference this document.</t>
        <dl spacing="compact" newline="false" indent="3" pn="section-5.1-2">
          <dt pn="section-5.1-2.1">URI:</dt>
          <dd pn="section-5.1-2.2">urn:ietf:params:xml:ns:yang:ietf-template</dd>
          <dt pn="section-5.1-2.3">Registrant Contact:</dt>
          <dd pn="section-5.1-2.4">The IESG</dd>
          <dt pn="section-5.1-2.5">XML:</dt>
          <dd pn="section-5.1-2.6">N/A; the requested URI is an XML namespace.</dd>
        </dl>
        <t indent="0" pn="section-5.1-3">IANA has registered the following URI in the "ns" registry within
   the "IETF XML Registry" registry group <xref target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/>:</t>
        <dl spacing="compact" newline="false" indent="3" pn="section-5.1-4">
          <dt pn="section-5.1-4.1">URI:</dt>
          <dd pn="section-5.1-4.2">urn:ietf:params:xml:ns:yang:iana-template</dd>
          <dt pn="section-5.1-4.3">Registrant Contact:</dt>
          <dd pn="section-5.1-4.4">The IESG</dd>
          <dt pn="section-5.1-4.5">XML:</dt>
          <dd pn="section-5.1-4.6">N/A; the requested URI is an XML namespace.</dd>
        </dl>
        <t indent="0" pn="section-5.1-5">IANA has registered the following YANG modules in the "YANG Module
Names" registry <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/> <xref target="RFC9890" format="default" sectionFormat="of" derivedContent="RFC9890"/> within the "YANG Parameters" registry group.</t>
        <dl spacing="compact" newline="false" indent="3" pn="section-5.1-6">
          <dt pn="section-5.1-6.1">Name:</dt>
          <dd pn="section-5.1-6.2">ietf-template</dd>
          <dt pn="section-5.1-6.3">Maintained by IANA?</dt>
          <dd pn="section-5.1-6.4">N</dd>
          <dt pn="section-5.1-6.5">Namespace:</dt>
          <dd pn="section-5.1-6.6">urn:ietf:params:xml:ns:yang:ietf-template</dd>
          <dt pn="section-5.1-6.7">Prefix:</dt>
          <dd pn="section-5.1-6.8">temp</dd>
          <dt pn="section-5.1-6.9">Reference:</dt>
          <dd pn="section-5.1-6.10">RFC 9907</dd>
        </dl>
        <dl spacing="compact" newline="false" indent="3" pn="section-5.1-7">
          <dt pn="section-5.1-7.1">Name:</dt>
          <dd pn="section-5.1-7.2">iana-template</dd>
          <dt pn="section-5.1-7.3">Maintained by IANA?</dt>
          <dd pn="section-5.1-7.4">N</dd>
          <dt pn="section-5.1-7.5">Namespace:</dt>
          <dd pn="section-5.1-7.6">urn:ietf:params:xml:ns:yang:iana-template</dd>
          <dt pn="section-5.1-7.7">Prefix:</dt>
          <dd pn="section-5.1-7.8">iana-foo</dd>
          <dt pn="section-5.1-7.9">Reference:</dt>
          <dd pn="section-5.1-7.10">RFC 9907</dd>
        </dl>
      </section>
      <section anchor="update-yang-parameters-registry-group" numbered="true" removeInRFC="false" toc="include" pn="section-5.2">
        <name slugifiedName="name-update-in-yang-parameters-r">Update in YANG Parameters Registry Group</name>
        <t indent="0" pn="section-5.2-1">For the references of the "YANG Module Names" registry under the "YANG Parameters" registry group, IANA has updated <xref target="RFC8407" format="default" sectionFormat="of" derivedContent="RFC8407"/> to this document, as it contains the template necessary
for registration in <xref target="tem-ietf" format="default" sectionFormat="of" derivedContent="Appendix B"/>.</t>
      </section>
      <section anchor="iana-maintained-modules-1" numbered="true" removeInRFC="false" toc="include" pn="section-5.3">
        <name slugifiedName="name-iana-maintained-yang-modules">IANA-Maintained YANG Modules</name>
        <t indent="0" pn="section-5.3-1">IANA should refer to <xref target="sec-iana-mm" format="default" sectionFormat="of" derivedContent="Section 4.30.3"/> for information necessary to populate "revision" statements and "identity" and "enum" substatements in IANA-maintained YANG modules.</t>
        <t indent="0" pn="section-5.3-2">These considerations cover both the creation and maintenance of an IANA-maintained YANG module, and they include both instructions applicable to all IANA-maintained YANG modules and instructions that can be customized by module creators.</t>
        <section anchor="iana-maintained-modules-1.1" numbered="true" removeInRFC="false" toc="include" pn="section-5.3.1">
          <name slugifiedName="name-requirements-for-all-module">Requirements for All Modules</name>
          <t indent="0" pn="section-5.3.1-1">In particular, the following instructions should apply to all modules:</t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5.3.1-2">
            <li pn="section-5.3.1-2.1">
              <t indent="0" pn="section-5.3.1-2.1.1">When a YANG module is updated, a new "revision" statement with
    a unique revision date must be added in front of the existing revision
    statements. The "revision" statement MUST contain both "description"
    and "reference" substatements as described in <xref target="iana-maintained-modules-1.2" format="default" sectionFormat="of" derivedContent="Section 5.3.2"/>.</t>
            </li>
            <li pn="section-5.3.1-2.2">
              <t indent="0" pn="section-5.3.1-2.2.1">When an underlying registration is deprecated or obsoleted, a
     corresponding "status" substatement should be added to the
	    "identity" or "enum" statement.</t>
            </li>
            <li pn="section-5.3.1-2.3">
              <t indent="0" pn="section-5.3.1-2.3.1">The "reference" substatement in the "revision" statement should point specifically to the published module (i.e., IANA_FOO_URL_With_REV).  When the registration is triggered by an RFC, that RFC must also be included in the "reference" substatement.  It may also point to an authoritative event triggering the update to the YANG module.  In all cases, the event is cited from the underlying IANA registry.</t>
            </li>
            <li pn="section-5.3.1-2.4">
              <t indent="0" pn="section-5.3.1-2.4.1">References to documents should include titles.</t>
            </li>
          </ul>
          <t indent="0" pn="section-5.3.1-3">In addition, when the module is published, IANA must add the following notes to:</t>
          <dl newline="true" indent="3" spacing="normal" pn="section-5.3.1-4">
            <dt pn="section-5.3.1-4.1">The YANG Module Names registry:</dt>
            <dd pn="section-5.3.1-4.2">
              <t indent="0" pn="section-5.3.1-4.2.1">New values must not be directly added to the "iana-foo" YANG module. They must instead be added to the "foo" registry.</t>
            </dd>
            <dt pn="section-5.3.1-4.3">The underlying registry:</dt>
            <dd pn="section-5.3.1-4.4">
              <t indent="0" pn="section-5.3.1-4.4.1">When this registry is modified, the YANG module "iana-foo" [IANA_FOO_URL] must be updated as defined in RFC IIII.</t>
            </dd>
          </dl>
        </section>
        <section anchor="iana-maintained-modules-1.2" numbered="true" removeInRFC="false" toc="include" pn="section-5.3.2">
          <name slugifiedName="name-requirements-subject-to-cus">Requirements Subject to Customization</name>
          <t indent="0" pn="section-5.3.2-1">Unless the creators of an IANA-maintained YANG module specify otherwise in their document's IANA Considerations section, the following instructions will apply:</t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-5.3.2-2">
            <li pn="section-5.3.2-2.1">Unassigned and reserved values (including experimental values) will be omitted from the module.</li>
            <li pn="section-5.3.2-2.2">The "reference" substatement in an "identity" or "enum" statement should mirror the underlying registry.  It may point to contact names as well as documents.</li>
            <li pn="section-5.3.2-2.3">
              <t indent="0" pn="section-5.3.2-2.3.1">In a "revision" statement, the "description" substatement captures what changed in the
revised version.  Typically, the "description" enumerates changes
such as updates to existing entries (e.g., update a "description" or
a "reference") or notes which identities were added or had their status
changed (e.g., deprecated, discouraged, or obsoleted).</t>
              <t indent="0" pn="section-5.3.2-2.3.2">When such a description is not feasible, the description varies in accordance with the trigger for the update.</t>
              <t indent="0" pn="section-5.3.2-2.3.3">If the update is triggered by an RFC, the "description" substatement should include or consist of this text:</t>
              <ul empty="true" bare="false" indent="3" spacing="normal" pn="section-5.3.2-2.3.4">
                <li pn="section-5.3.2-2.3.4.1">Applied updates as specified by RFC XXXX.</li>
              </ul>
              <t indent="0" pn="section-5.3.2-2.3.5">If the registration policy for the registry does not require RFC publication (Section 4 of <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>), insert this text:</t>
              <ul empty="true" bare="false" indent="3" spacing="normal" pn="section-5.3.2-2.3.6">
                <li pn="section-5.3.2-2.3.6.1">Applied updates as specified by the registration policy
	  &lt;Some_IANA_policy&gt;.</li>
              </ul>
            </li>
          </ul>
        </section>
      </section>
    </section>
    <section anchor="operations-and-manageability-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-6">
      <name slugifiedName="name-operational-considerations">Operational Considerations</name>
      <t indent="0" pn="section-6-1">Although the document focuses on YANG data modeling language guidance, the document does not define a protocol or a protocol extension. As such, there are no new operations or manageability requirements introduced by this document.</t>
    </section>
    <section anchor="security-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-7">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-7-1">This document defines guidelines for NETCONF or
RESTCONF content defined with the YANG data modeling language.
It does not introduce any new or increased security risks.</t>
    </section>
  </middle>
  <back>
    <references anchor="sec-combined-references" pn="section-8">
      <name slugifiedName="name-references">References</name>
      <references anchor="sec-normative-references" pn="section-8.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <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 indent="0">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="RFC3688" target="https://www.rfc-editor.org/info/rfc3688" quoteTitle="true" derivedAnchor="RFC3688">
          <front>
            <title>The IETF XML Registry</title>
            <author fullname="M. Mealling" initials="M." surname="Mealling"/>
            <date month="January" year="2004"/>
            <abstract>
              <t indent="0">This document describes an IANA maintained registry for IETF standards which use Extensible Markup Language (XML) related items such as Namespaces, Document Type Declarations (DTDs), Schemas, and Resource Description Framework (RDF) Schemas.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="81"/>
          <seriesInfo name="RFC" value="3688"/>
          <seriesInfo name="DOI" value="10.17487/RFC3688"/>
        </reference>
        <reference anchor="RFC3986" target="https://www.rfc-editor.org/info/rfc3986" quoteTitle="true" derivedAnchor="RFC3986">
          <front>
            <title>Uniform Resource Identifier (URI): Generic Syntax</title>
            <author fullname="T. Berners-Lee" initials="T." surname="Berners-Lee"/>
            <author fullname="R. Fielding" initials="R." surname="Fielding"/>
            <author fullname="L. Masinter" initials="L." surname="Masinter"/>
            <date month="January" year="2005"/>
            <abstract>
              <t indent="0">A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource. This specification defines the generic URI syntax and a process for resolving URI references that might be in relative form, along with guidelines and security considerations for the use of URIs on the Internet. The URI syntax defines a grammar that is a superset of all valid URIs, allowing an implementation to parse the common components of a URI reference without knowing the scheme-specific requirements of every possible identifier. This specification does not define a generative grammar for URIs; that task is performed by the individual specifications of each URI scheme. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="66"/>
          <seriesInfo name="RFC" value="3986"/>
          <seriesInfo name="DOI" value="10.17487/RFC3986"/>
        </reference>
        <reference anchor="RFC5378" target="https://www.rfc-editor.org/info/rfc5378" quoteTitle="true" derivedAnchor="RFC5378">
          <front>
            <title>Rights Contributors Provide to the IETF Trust</title>
            <author fullname="S. Bradner" initials="S." role="editor" surname="Bradner"/>
            <author fullname="J. Contreras" initials="J." role="editor" surname="Contreras"/>
            <date month="November" year="2008"/>
            <abstract>
              <t indent="0">The IETF policies about rights in Contributions to the IETF are designed to ensure that such Contributions can be made available to the IETF and Internet communities while permitting the authors to retain as many rights as possible. This memo details the IETF policies on rights in Contributions to the IETF. It also describes the objectives that the policies are designed to meet. This memo obsoletes RFCs 3978 and 4748 and, with BCP 79 and RFC 5377, replaces Section 10 of RFC 2026. 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="78"/>
          <seriesInfo name="RFC" value="5378"/>
          <seriesInfo name="DOI" value="10.17487/RFC5378"/>
        </reference>
        <reference anchor="RFC6020" target="https://www.rfc-editor.org/info/rfc6020" quoteTitle="true" derivedAnchor="RFC6020">
          <front>
            <title>YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)</title>
            <author fullname="M. Bjorklund" initials="M." role="editor" surname="Bjorklund"/>
            <date month="October" year="2010"/>
            <abstract>
              <t indent="0">YANG is a data modeling language used to model configuration and state data manipulated by the Network Configuration Protocol (NETCONF), NETCONF remote procedure calls, and NETCONF notifications. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6020"/>
          <seriesInfo name="DOI" value="10.17487/RFC6020"/>
        </reference>
        <reference anchor="RFC6241" target="https://www.rfc-editor.org/info/rfc6241" quoteTitle="true" derivedAnchor="RFC6241">
          <front>
            <title>Network Configuration Protocol (NETCONF)</title>
            <author fullname="R. Enns" initials="R." role="editor" surname="Enns"/>
            <author fullname="M. Bjorklund" initials="M." role="editor" surname="Bjorklund"/>
            <author fullname="J. Schoenwaelder" initials="J." role="editor" surname="Schoenwaelder"/>
            <author fullname="A. Bierman" initials="A." role="editor" surname="Bierman"/>
            <date month="June" year="2011"/>
            <abstract>
              <t indent="0">The Network Configuration Protocol (NETCONF) defined in this document provides mechanisms to install, manipulate, and delete the configuration of network devices. It uses an Extensible Markup Language (XML)-based data encoding for the configuration data as well as the protocol messages. The NETCONF protocol operations are realized as remote procedure calls (RPCs). This document obsoletes RFC 4741. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6241"/>
          <seriesInfo name="DOI" value="10.17487/RFC6241"/>
        </reference>
        <reference anchor="RFC7950" target="https://www.rfc-editor.org/info/rfc7950" quoteTitle="true" derivedAnchor="RFC7950">
          <front>
            <title>The YANG 1.1 Data Modeling Language</title>
            <author fullname="M. Bjorklund" initials="M." role="editor" surname="Bjorklund"/>
            <date month="August" year="2016"/>
            <abstract>
              <t indent="0">YANG is a data modeling language used to model configuration data, state data, Remote Procedure Calls, and notifications for network management protocols. This document describes the syntax and semantics of version 1.1 of the YANG language. YANG version 1.1 is a maintenance release of the YANG language, addressing ambiguities and defects in the original specification. There are a small number of backward incompatibilities from YANG version 1. This document also specifies the YANG mappings to the Network Configuration Protocol (NETCONF).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7950"/>
          <seriesInfo name="DOI" value="10.17487/RFC7950"/>
        </reference>
        <reference anchor="RFC7952" target="https://www.rfc-editor.org/info/rfc7952" quoteTitle="true" derivedAnchor="RFC7952">
          <front>
            <title>Defining and Using Metadata with YANG</title>
            <author fullname="L. Lhotka" initials="L." surname="Lhotka"/>
            <date month="August" year="2016"/>
            <abstract>
              <t indent="0">This document defines a YANG extension that allows for defining metadata annotations in YANG modules. The document also specifies XML and JSON encoding of annotations and other rules for annotating instances of YANG data nodes.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7952"/>
          <seriesInfo name="DOI" value="10.17487/RFC7952"/>
        </reference>
        <reference anchor="RFC8040" target="https://www.rfc-editor.org/info/rfc8040" quoteTitle="true" derivedAnchor="RFC8040">
          <front>
            <title>RESTCONF Protocol</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <date month="January" year="2017"/>
            <abstract>
              <t indent="0">This document describes an HTTP-based protocol that provides a programmatic interface for accessing data defined in YANG, using the datastore concepts defined in the Network Configuration Protocol (NETCONF).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8040"/>
          <seriesInfo name="DOI" value="10.17487/RFC8040"/>
        </reference>
        <reference anchor="RFC8126" target="https://www.rfc-editor.org/info/rfc8126" quoteTitle="true" derivedAnchor="RFC8126">
          <front>
            <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
            <author fullname="M. Cotton" initials="M." surname="Cotton"/>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <author fullname="T. Narten" initials="T." surname="Narten"/>
            <date month="June" year="2017"/>
            <abstract>
              <t indent="0">Many protocols make use of points of extensibility that use constants to identify various protocol parameters. To ensure that the values in these fields do not have conflicting uses and to promote interoperability, their allocations are often coordinated by a central record keeper. For IETF protocols, that role is filled by the Internet Assigned Numbers Authority (IANA).</t>
              <t indent="0">To make assignments in a given registry prudently, guidance describing the conditions under which new values should be assigned, as well as when and how modifications to existing values can be made, is needed. This document defines a framework for the documentation of these guidelines by specification authors, in order to assure that the provided guidance for the IANA Considerations is clear and addresses the various issues that are likely in the operation of a registry.</t>
              <t indent="0">This is the third edition of this document; it obsoletes RFC 5226.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="26"/>
          <seriesInfo name="RFC" value="8126"/>
          <seriesInfo name="DOI" value="10.17487/RFC8126"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <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 indent="0">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="RFC8341" target="https://www.rfc-editor.org/info/rfc8341" quoteTitle="true" derivedAnchor="RFC8341">
          <front>
            <title>Network Configuration Access Control Model</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">The standardization of network configuration interfaces for use with the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires a structured and secure operating environment that promotes human usability and multi-vendor interoperability. There is a need for standard mechanisms to restrict NETCONF or RESTCONF protocol access for particular users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content. This document defines such an access control model.</t>
              <t indent="0">This document obsoletes RFC 6536.</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="91"/>
          <seriesInfo name="RFC" value="8341"/>
          <seriesInfo name="DOI" value="10.17487/RFC8341"/>
        </reference>
        <reference anchor="RFC8342" target="https://www.rfc-editor.org/info/rfc8342" quoteTitle="true" derivedAnchor="RFC8342">
          <front>
            <title>Network Management Datastore Architecture (NMDA)</title>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <author fullname="J. Schoenwaelder" initials="J." surname="Schoenwaelder"/>
            <author fullname="P. Shafer" initials="P." surname="Shafer"/>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <author fullname="R. Wilton" initials="R." surname="Wilton"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">Datastores are a fundamental concept binding the data models written in the YANG data modeling language to network management protocols such as the Network Configuration Protocol (NETCONF) and RESTCONF. This document defines an architectural framework for datastores based on the experience gained with the initial simpler model, addressing requirements that were not well supported in the initial model. This document updates RFC 7950.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8342"/>
          <seriesInfo name="DOI" value="10.17487/RFC8342"/>
        </reference>
        <reference anchor="RFC8791" target="https://www.rfc-editor.org/info/rfc8791" quoteTitle="true" derivedAnchor="RFC8791">
          <front>
            <title>YANG Data Structure Extensions</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <author fullname="M. Björklund" initials="M." surname="Björklund"/>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <date month="June" year="2020"/>
            <abstract>
              <t indent="0">This document describes YANG mechanisms for defining abstract data structures with YANG.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8791"/>
          <seriesInfo name="DOI" value="10.17487/RFC8791"/>
        </reference>
        <reference anchor="RFC8792" target="https://www.rfc-editor.org/info/rfc8792" quoteTitle="true" derivedAnchor="RFC8792">
          <front>
            <title>Handling Long Lines in Content of Internet-Drafts and RFCs</title>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <author fullname="E. Auerswald" initials="E." surname="Auerswald"/>
            <author fullname="A. Farrel" initials="A." surname="Farrel"/>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <date month="June" year="2020"/>
            <abstract>
              <t indent="0">This document defines two strategies for handling long lines in width-bounded text content. One strategy, called the "single backslash" strategy, is based on the historical use of a single backslash ('\') character to indicate where line-folding has occurred, with the continuation occurring with the first character that is not a space character (' ') on the next line. The second strategy, called the "double backslash" strategy, extends the first strategy by adding a second backslash character to identify where the continuation begins and is thereby able to handle cases not supported by the first strategy. Both strategies use a self-describing header enabling automated reconstitution of the original content.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8792"/>
          <seriesInfo name="DOI" value="10.17487/RFC8792"/>
        </reference>
        <reference anchor="RFC8819" target="https://www.rfc-editor.org/info/rfc8819" quoteTitle="true" derivedAnchor="RFC8819">
          <front>
            <title>YANG Module Tags</title>
            <author fullname="C. Hopps" initials="C." surname="Hopps"/>
            <author fullname="L. Berger" initials="L." surname="Berger"/>
            <author fullname="D. Bogdanovic" initials="D." surname="Bogdanovic"/>
            <date month="January" year="2021"/>
            <abstract>
              <t indent="0">This document provides for the association of tags with YANG modules. The expectation is for such tags to be used to help classify and organize modules. A method for defining, reading, and writing modules tags is provided. Tags may be registered and assigned during module definition, assigned by implementations, or dynamically defined and set by users. This document also provides guidance to future model writers; as such, this document updates RFC 8407.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8819"/>
          <seriesInfo name="DOI" value="10.17487/RFC8819"/>
        </reference>
        <reference anchor="RFC9890" target="https://www.rfc-editor.org/info/rfc9890" quoteTitle="true" derivedAnchor="RFC9890">
          <front>
            <title>An Update to YANG Module Names Registration</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <date month="October" year="2025"/>
            <abstract>
              <t indent="0">This document amends the IANA guidance on the uniqueness of YANG module and submodule names.</t>
              <t indent="0">The document updates RFC 6020 to clarify how modules and their revisions are handled by IANA.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9890"/>
          <seriesInfo name="DOI" value="10.17487/RFC9890"/>
        </reference>
        <reference anchor="W3C.REC-xpath" target="https://www.w3.org/TR/1999/REC-xpath-19991116" quoteTitle="true" derivedAnchor="W3C.REC-xpath">
          <front>
            <title>XML Path Language (XPath) Version 1.0</title>
            <author initials="J." surname="Clark" fullname="James Clark" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="S." surname="DeRose" fullname="Steve DeRose" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date day="16" year="1999" month="November"/>
          </front>
          <refcontent>W3C Recommendation</refcontent>
        </reference>
      </references>
      <references anchor="sec-informative-references" pn="section-8.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="Err5693" target="https://www.rfc-editor.org/errata/eid5693" quoteTitle="false" derivedAnchor="Err5693">
          <front>
            <title>Erratum ID 5693</title>
            <author>
              <organization showOnFrontPage="true">RFC Errata</organization>
            </author>
          </front>
          <refcontent>RFC 8407</refcontent>
        </reference>
        <reference anchor="Err5800" target="https://www.rfc-editor.org/errata/eid5800" quoteTitle="false" derivedAnchor="Err5800">
          <front>
            <title>Erratum ID 5800</title>
            <author>
              <organization showOnFrontPage="true">RFC Errata</organization>
            </author>
          </front>
          <refcontent>RFC 8407</refcontent>
        </reference>
        <reference anchor="Err6899" target="https://www.rfc-editor.org/errata/eid6899" quoteTitle="false" derivedAnchor="Err6899">
          <front>
            <title>Erratum ID 6899</title>
            <author>
              <organization showOnFrontPage="true">RFC Errata</organization>
            </author>
          </front>
          <refcontent>RFC 8407</refcontent>
        </reference>
        <reference anchor="Err7416" target="https://www.rfc-editor.org/errata/eid7416" quoteTitle="false" derivedAnchor="Err7416">
          <front>
            <title>Erratum ID 7416</title>
            <author>
              <organization showOnFrontPage="true">RFC Errata</organization>
            </author>
          </front>
          <refcontent>RFC 8407</refcontent>
        </reference>
        <reference anchor="IANA-MOD-NAMES" target="https://www.iana.org/assignments/yang-parameters/" quoteTitle="true" derivedAnchor="IANA-MOD-NAMES">
          <front>
            <title>YANG Module Names</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
            <date/>
          </front>
        </reference>
        <reference anchor="IANA-TAGS" target="https://www.iana.org/assignments/yang-module-tags/" quoteTitle="true" derivedAnchor="IANA-TAGS">
          <front>
            <title>YANG Module Tags</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
            <date/>
          </front>
        </reference>
        <reference anchor="IANA-XML" target="https://www.iana.org/assignments/xml-registry/" quoteTitle="true" derivedAnchor="IANA-XML">
          <front>
            <title>IETF XML Registry</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
            <date/>
          </front>
        </reference>
        <reference anchor="IANA-YANG-PARAMETERS" target="https://www.iana.org/assignments/yang-parameters" quoteTitle="true" derivedAnchor="IANA-YANG-PARAMETERS">
          <front>
            <title>YANG Parameters</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
          </front>
        </reference>
        <reference anchor="IANA_Tunnel_Type_URL" target="https://www.iana.org/assignments/iana-tunnel-type" quoteTitle="true" derivedAnchor="IANA_Tunnel_Type_URL">
          <front>
            <title>iana-tunnel-type YANG Module</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
            <date/>
          </front>
        </reference>
        <reference anchor="ID-Guidelines" target="https://authors.ietf.org/en/content-guidelines-overview" quoteTitle="true" derivedAnchor="ID-Guidelines">
          <front>
            <title>Content guidelines overview</title>
            <author>
              <organization showOnFrontPage="true">IETF</organization>
            </author>
          </front>
        </reference>
        <reference anchor="RFC2026" target="https://www.rfc-editor.org/info/rfc2026" quoteTitle="true" derivedAnchor="RFC2026">
          <front>
            <title>The Internet Standards Process -- Revision 3</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="October" year="1996"/>
            <abstract>
              <t indent="0">This memo documents the process used by the Internet community for the standardization of protocols and procedures. It defines the stages in the standardization process, the requirements for moving a document between stages and the types of documents used during this process. 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="9"/>
          <seriesInfo name="RFC" value="2026"/>
          <seriesInfo name="DOI" value="10.17487/RFC2026"/>
        </reference>
        <reference anchor="RFC2606" target="https://www.rfc-editor.org/info/rfc2606" quoteTitle="true" derivedAnchor="RFC2606">
          <front>
            <title>Reserved Top Level DNS Names</title>
            <author fullname="D. Eastlake 3rd" initials="D." surname="Eastlake 3rd"/>
            <author fullname="A. Panitz" initials="A." surname="Panitz"/>
            <date month="June" year="1999"/>
            <abstract>
              <t indent="0">To reduce the likelihood of conflict and confusion, a few top level domain names are reserved for use in private testing, as examples in documentation, and the like. In addition, a few second level domain names reserved for use as examples are documented. 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="32"/>
          <seriesInfo name="RFC" value="2606"/>
          <seriesInfo name="DOI" value="10.17487/RFC2606"/>
        </reference>
        <reference anchor="RFC2863" target="https://www.rfc-editor.org/info/rfc2863" quoteTitle="true" derivedAnchor="RFC2863">
          <front>
            <title>The Interfaces Group MIB</title>
            <author fullname="K. McCloghrie" initials="K." surname="McCloghrie"/>
            <author fullname="F. Kastenholz" initials="F." surname="Kastenholz"/>
            <date month="June" year="2000"/>
            <abstract>
              <t indent="0">This memo discusses the 'interfaces' group of MIB-II, especially the experience gained from the definition of numerous media-specific MIB modules for use in conjunction with the 'interfaces' group for managing various sub-layers beneath the internetwork-layer. It specifies clarifications to, and extensions of, the architectural issues within the MIB-II model of the 'interfaces' group. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="2863"/>
          <seriesInfo name="DOI" value="10.17487/RFC2863"/>
        </reference>
        <reference anchor="RFC3849" target="https://www.rfc-editor.org/info/rfc3849" quoteTitle="true" derivedAnchor="RFC3849">
          <front>
            <title>IPv6 Address Prefix Reserved for Documentation</title>
            <author fullname="G. Huston" initials="G." surname="Huston"/>
            <author fullname="A. Lord" initials="A." surname="Lord"/>
            <author fullname="P. Smith" initials="P." surname="Smith"/>
            <date month="July" year="2004"/>
            <abstract>
              <t indent="0">To reduce the likelihood of conflict and confusion when relating documented examples to deployed systems, an IPv6 unicast address prefix is reserved for use in examples in RFCs, books, documentation, and the like. Since site-local and link-local unicast addresses have special meaning in IPv6, these addresses cannot be used in many example situations. The document describes the use of the IPv6 address prefix 2001:DB8::/32 as a reserved prefix for use in documentation. This memo provides information for the Internet community.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3849"/>
          <seriesInfo name="DOI" value="10.17487/RFC3849"/>
        </reference>
        <reference anchor="RFC4151" target="https://www.rfc-editor.org/info/rfc4151" quoteTitle="true" derivedAnchor="RFC4151">
          <front>
            <title>The 'tag' URI Scheme</title>
            <author fullname="T. Kindberg" initials="T." surname="Kindberg"/>
            <author fullname="S. Hawke" initials="S." surname="Hawke"/>
            <date month="October" year="2005"/>
            <abstract>
              <t indent="0">This document describes the "tag" Uniform Resource Identifier (URI) scheme. Tag URIs (also known as "tags") are designed to be unique across space and time while being tractable to humans. They are distinct from most other URIs in that they have no authoritative resolution mechanism. A tag may be used purely as an entity identifier. Furthermore, using tags has some advantages over the common practice of using "http" URIs as identifiers for non-HTTP-accessible resources. This memo provides information for the Internet community.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4151"/>
          <seriesInfo name="DOI" value="10.17487/RFC4151"/>
        </reference>
        <reference anchor="RFC4181" target="https://www.rfc-editor.org/info/rfc4181" quoteTitle="true" derivedAnchor="RFC4181">
          <front>
            <title>Guidelines for Authors and Reviewers of MIB Documents</title>
            <author fullname="C. Heard" initials="C." role="editor" surname="Heard"/>
            <date month="September" year="2005"/>
            <abstract>
              <t indent="0">This memo provides guidelines for authors and reviewers of IETF standards-track specifications containing MIB modules. Applicable portions may be used as a basis for reviews of other MIB 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="111"/>
          <seriesInfo name="RFC" value="4181"/>
          <seriesInfo name="DOI" value="10.17487/RFC4181"/>
        </reference>
        <reference anchor="RFC4252" target="https://www.rfc-editor.org/info/rfc4252" quoteTitle="true" derivedAnchor="RFC4252">
          <front>
            <title>The Secure Shell (SSH) Authentication Protocol</title>
            <author fullname="T. Ylonen" initials="T." surname="Ylonen"/>
            <author fullname="C. Lonvick" initials="C." role="editor" surname="Lonvick"/>
            <date month="January" year="2006"/>
            <abstract>
              <t indent="0">The Secure Shell Protocol (SSH) is a protocol for secure remote login and other secure network services over an insecure network. This document describes the SSH authentication protocol framework and public key, password, and host-based client authentication methods. Additional authentication methods are described in separate documents. The SSH authentication protocol runs on top of the SSH transport layer protocol and provides a single authenticated tunnel for the SSH connection protocol. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4252"/>
          <seriesInfo name="DOI" value="10.17487/RFC4252"/>
        </reference>
        <reference anchor="RFC4253" target="https://www.rfc-editor.org/info/rfc4253" quoteTitle="true" derivedAnchor="RFC4253">
          <front>
            <title>The Secure Shell (SSH) Transport Layer Protocol</title>
            <author fullname="T. Ylonen" initials="T." surname="Ylonen"/>
            <author fullname="C. Lonvick" initials="C." role="editor" surname="Lonvick"/>
            <date month="January" year="2006"/>
            <abstract>
              <t indent="0">The Secure Shell (SSH) is a protocol for secure remote login and other secure network services over an insecure network.</t>
              <t indent="0">This document describes the SSH transport layer protocol, which typically runs on top of TCP/IP. The protocol can be used as a basis for a number of secure network services. It provides strong encryption, server authentication, and integrity protection. It may also provide compression.</t>
              <t indent="0">Key exchange method, public key algorithm, symmetric encryption algorithm, message authentication algorithm, and hash algorithm are all negotiated.</t>
              <t indent="0">This document also describes the Diffie-Hellman key exchange method and the minimal set of algorithms that are needed to implement the SSH transport layer protocol. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4253"/>
          <seriesInfo name="DOI" value="10.17487/RFC4253"/>
        </reference>
        <reference anchor="RFC5398" target="https://www.rfc-editor.org/info/rfc5398" quoteTitle="true" derivedAnchor="RFC5398">
          <front>
            <title>Autonomous System (AS) Number Reservation for Documentation Use</title>
            <author fullname="G. Huston" initials="G." surname="Huston"/>
            <date month="December" year="2008"/>
            <abstract>
              <t indent="0">To reduce the likelihood of conflict and confusion when relating documented examples to deployed systems, two blocks of Autonomous System numbers (ASNs) are reserved for use in examples in RFCs, books, documentation, and the like. This document describes the reservation of two blocks of ASNs as reserved numbers for use in documentation. This memo provides information for the Internet community.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5398"/>
          <seriesInfo name="DOI" value="10.17487/RFC5398"/>
        </reference>
        <reference anchor="RFC5612" target="https://www.rfc-editor.org/info/rfc5612" quoteTitle="true" derivedAnchor="RFC5612">
          <front>
            <title>Enterprise Number for Documentation Use</title>
            <author fullname="P. Eronen" initials="P." surname="Eronen"/>
            <author fullname="D. Harrington" initials="D." surname="Harrington"/>
            <date month="August" year="2009"/>
            <abstract>
              <t indent="0">This document describes an Enterprise Number (also known as SMI Network Management Private Enterprise Code) for use in documentation. This memo provides information for the Internet community.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5612"/>
          <seriesInfo name="DOI" value="10.17487/RFC5612"/>
        </reference>
        <reference anchor="RFC5737" target="https://www.rfc-editor.org/info/rfc5737" quoteTitle="true" derivedAnchor="RFC5737">
          <front>
            <title>IPv4 Address Blocks Reserved for Documentation</title>
            <author fullname="J. Arkko" initials="J." surname="Arkko"/>
            <author fullname="M. Cotton" initials="M." surname="Cotton"/>
            <author fullname="L. Vegoda" initials="L." surname="Vegoda"/>
            <date month="January" year="2010"/>
            <abstract>
              <t indent="0">Three IPv4 unicast address blocks are reserved for use in examples in specifications and other documents. This document describes the use of these blocks. This document is not an Internet Standards Track specification; it is published for informational purposes.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5737"/>
          <seriesInfo name="DOI" value="10.17487/RFC5737"/>
        </reference>
        <reference anchor="RFC7223" target="https://www.rfc-editor.org/info/rfc7223" quoteTitle="true" derivedAnchor="RFC7223">
          <front>
            <title>A YANG Data Model for Interface Management</title>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <date month="May" year="2014"/>
            <abstract>
              <t indent="0">This document defines a YANG data model for the management of network interfaces. It is expected that interface-type-specific data models augment the generic interfaces data model defined in this document. The data model includes configuration data and state data (status information and counters for the collection of statistics).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7223"/>
          <seriesInfo name="DOI" value="10.17487/RFC7223"/>
        </reference>
        <reference anchor="RFC7224" target="https://www.rfc-editor.org/info/rfc7224" quoteTitle="true" derivedAnchor="RFC7224">
          <front>
            <title>IANA Interface Type YANG Module</title>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <date month="May" year="2014"/>
            <abstract>
              <t indent="0">This document defines the initial version of the iana-if-type YANG module.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7224"/>
          <seriesInfo name="DOI" value="10.17487/RFC7224"/>
        </reference>
        <reference anchor="RFC7407" target="https://www.rfc-editor.org/info/rfc7407" quoteTitle="true" derivedAnchor="RFC7407">
          <front>
            <title>A YANG Data Model for SNMP Configuration</title>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <author fullname="J. Schoenwaelder" initials="J." surname="Schoenwaelder"/>
            <date month="December" year="2014"/>
            <abstract>
              <t indent="0">This document defines a collection of YANG definitions for configuring SNMP engines.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7407"/>
          <seriesInfo name="DOI" value="10.17487/RFC7407"/>
        </reference>
        <reference anchor="RFC7951" target="https://www.rfc-editor.org/info/rfc7951" quoteTitle="true" derivedAnchor="RFC7951">
          <front>
            <title>JSON Encoding of Data Modeled with YANG</title>
            <author fullname="L. Lhotka" initials="L." surname="Lhotka"/>
            <date month="August" year="2016"/>
            <abstract>
              <t indent="0">This document defines encoding rules for representing configuration data, state data, parameters of Remote Procedure Call (RPC) operations or actions, and notifications defined using YANG as JavaScript Object Notation (JSON) text.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7951"/>
          <seriesInfo name="DOI" value="10.17487/RFC7951"/>
        </reference>
        <reference anchor="RFC8199" target="https://www.rfc-editor.org/info/rfc8199" quoteTitle="true" derivedAnchor="RFC8199">
          <front>
            <title>YANG Module Classification</title>
            <author fullname="D. Bogdanovic" initials="D." surname="Bogdanovic"/>
            <author fullname="B. Claise" initials="B." surname="Claise"/>
            <author fullname="C. Moberg" initials="C." surname="Moberg"/>
            <date month="July" year="2017"/>
            <abstract>
              <t indent="0">The YANG data modeling language is currently being considered for a wide variety of applications throughout the networking industry at large. Many standards development organizations (SDOs), open-source software projects, vendors, and users are using YANG to develop and publish YANG modules for a wide variety of applications. At the same time, there is currently no well-known terminology to categorize various types of YANG modules.</t>
              <t indent="0">A consistent terminology would help with the categorization of YANG modules, assist in the analysis of the YANG data modeling efforts in the IETF and other organizations, and bring clarity to the YANG- related discussions between the different groups.</t>
              <t indent="0">This document describes a set of concepts and associated terms to support consistent classification of YANG modules.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8199"/>
          <seriesInfo name="DOI" value="10.17487/RFC8199"/>
        </reference>
        <reference anchor="RFC8299" target="https://www.rfc-editor.org/info/rfc8299" quoteTitle="true" derivedAnchor="RFC8299">
          <front>
            <title>YANG Data Model for L3VPN Service Delivery</title>
            <author fullname="Q. Wu" initials="Q." role="editor" surname="Wu"/>
            <author fullname="S. Litkowski" initials="S." surname="Litkowski"/>
            <author fullname="L. Tomotaki" initials="L." surname="Tomotaki"/>
            <author fullname="K. Ogaki" initials="K." surname="Ogaki"/>
            <date month="January" year="2018"/>
            <abstract>
              <t indent="0">This document defines a YANG data model that can be used for communication between customers and network operators and to deliver a Layer 3 provider-provisioned VPN service. This document is limited to BGP PE-based VPNs as described in RFCs 4026, 4110, and 4364. This model is intended to be instantiated at the management system to deliver the overall service. It is not a configuration model to be used directly on network elements. This model provides an abstracted view of the Layer 3 IP VPN service configuration components. It will be up to the management system to take this model as input and use specific configuration models to configure the different network elements to deliver the service. How the configuration of network elements is done is out of scope for this document.</t>
              <t indent="0">This document obsoletes RFC 8049; it replaces the unimplementable module in that RFC with a new module with the same name that is not backward compatible. The changes are a series of small fixes to the YANG module and some clarifications to the text.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8299"/>
          <seriesInfo name="DOI" value="10.17487/RFC8299"/>
        </reference>
        <reference anchor="RFC8309" target="https://www.rfc-editor.org/info/rfc8309" quoteTitle="true" derivedAnchor="RFC8309">
          <front>
            <title>Service Models Explained</title>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <author fullname="W. Liu" initials="W." surname="Liu"/>
            <author fullname="A. Farrel" initials="A." surname="Farrel"/>
            <date month="January" year="2018"/>
            <abstract>
              <t indent="0">The IETF has produced many modules in the YANG modeling language. The majority of these modules are used to construct data models to model devices or monolithic functions.</t>
              <t indent="0">A small number of YANG modules have been defined to model services (for example, the Layer 3 Virtual Private Network Service Model (L3SM) produced by the L3SM working group and documented in RFC 8049).</t>
              <t indent="0">This document describes service models as used within the IETF and also shows where a service model might fit into a software-defined networking architecture. Note that service models do not make any assumption of how a service is actually engineered and delivered for a customer; details of how network protocols and devices are engineered to deliver a service are captured in other modules that are not exposed through the interface between the customer and the provider.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8309"/>
          <seriesInfo name="DOI" value="10.17487/RFC8309"/>
        </reference>
        <reference anchor="RFC8340" target="https://www.rfc-editor.org/info/rfc8340" quoteTitle="true" derivedAnchor="RFC8340">
          <front>
            <title>YANG Tree Diagrams</title>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <author fullname="L. Berger" initials="L." role="editor" surname="Berger"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">This document captures the current syntax used in YANG module tree diagrams. The purpose of this document is to provide a single location for this definition. This syntax may be updated from time to time based on the evolution of the YANG language.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="215"/>
          <seriesInfo name="RFC" value="8340"/>
          <seriesInfo name="DOI" value="10.17487/RFC8340"/>
        </reference>
        <reference anchor="RFC8343" target="https://www.rfc-editor.org/info/rfc8343" quoteTitle="true" derivedAnchor="RFC8343">
          <front>
            <title>A YANG Data Model for Interface Management</title>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">This document defines a YANG data model for the management of network interfaces. It is expected that interface-type-specific data models augment the generic interfaces data model defined in this document. The data model includes definitions for configuration and system state (status information and counters for the collection of statistics).</t>
              <t indent="0">The YANG data model in this document conforms to the Network Management Datastore Architecture (NMDA) defined in RFC 8342.</t>
              <t indent="0">This document obsoletes RFC 7223.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8343"/>
          <seriesInfo name="DOI" value="10.17487/RFC8343"/>
        </reference>
        <reference anchor="RFC8349" target="https://www.rfc-editor.org/info/rfc8349" quoteTitle="true" derivedAnchor="RFC8349">
          <front>
            <title>A YANG Data Model for Routing Management (NMDA Version)</title>
            <author fullname="L. Lhotka" initials="L." surname="Lhotka"/>
            <author fullname="A. Lindem" initials="A." surname="Lindem"/>
            <author fullname="Y. Qu" initials="Y." surname="Qu"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">This document specifies three YANG modules and one submodule. Together, they form the core routing data model that serves as a framework for configuring and managing a routing subsystem. It is expected that these modules will be augmented by additional YANG modules defining data models for control-plane protocols, route filters, and other functions. The core routing data model provides common building blocks for such extensions -- routes, Routing Information Bases (RIBs), and control-plane protocols.</t>
              <t indent="0">The YANG modules in this document conform to the Network Management Datastore Architecture (NMDA). This document obsoletes RFC 8022.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8349"/>
          <seriesInfo name="DOI" value="10.17487/RFC8349"/>
        </reference>
        <reference anchor="RFC8407" target="https://www.rfc-editor.org/info/rfc8407" quoteTitle="true" derivedAnchor="RFC8407">
          <front>
            <title>Guidelines for Authors and Reviewers of Documents Containing YANG Data Models</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <date month="October" year="2018"/>
            <abstract>
              <t indent="0">This memo provides guidelines for authors and reviewers of specifications containing YANG modules. Recommendations and procedures are defined, which are intended to increase interoperability and usability of Network Configuration Protocol (NETCONF) and RESTCONF protocol implementations that utilize YANG modules. This document obsoletes RFC 6087.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="216"/>
          <seriesInfo name="RFC" value="8407"/>
          <seriesInfo name="DOI" value="10.17487/RFC8407"/>
        </reference>
        <reference anchor="RFC8446" target="https://www.rfc-editor.org/info/rfc8446" quoteTitle="true" derivedAnchor="RFC8446">
          <front>
            <title>The Transport Layer Security (TLS) Protocol Version 1.3</title>
            <author fullname="E. Rescorla" initials="E." surname="Rescorla"/>
            <date month="August" year="2018"/>
            <abstract>
              <t indent="0">This document specifies version 1.3 of the Transport Layer Security (TLS) protocol. TLS allows client/server applications to communicate over the Internet in a way that is designed to prevent eavesdropping, tampering, and message forgery.</t>
              <t indent="0">This document updates RFCs 5705 and 6066, and obsoletes RFCs 5077, 5246, and 6961. This document also specifies new requirements for TLS 1.2 implementations.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8446"/>
          <seriesInfo name="DOI" value="10.17487/RFC8446"/>
        </reference>
        <reference anchor="RFC8466" target="https://www.rfc-editor.org/info/rfc8466" quoteTitle="true" derivedAnchor="RFC8466">
          <front>
            <title>A YANG Data Model for Layer 2 Virtual Private Network (L2VPN) Service Delivery</title>
            <author fullname="B. Wen" initials="B." surname="Wen"/>
            <author fullname="G. Fioccola" initials="G." role="editor" surname="Fioccola"/>
            <author fullname="C. Xie" initials="C." surname="Xie"/>
            <author fullname="L. Jalil" initials="L." surname="Jalil"/>
            <date month="October" year="2018"/>
            <abstract>
              <t indent="0">This document defines a YANG data model that can be used to configure a Layer 2 provider-provisioned VPN service. It is up to a management system to take this as an input and generate specific configuration models to configure the different network elements to deliver the service. How this configuration of network elements is done is out of scope for this document.</t>
              <t indent="0">The YANG data model defined in this document includes support for point-to-point Virtual Private Wire Services (VPWSs) and multipoint Virtual Private LAN Services (VPLSs) that use Pseudowires signaled using the Label Distribution Protocol (LDP) and the Border Gateway Protocol (BGP) as described in RFCs 4761 and 6624.</t>
              <t indent="0">The YANG data model defined in this document conforms to the Network Management Datastore Architecture defined in RFC 8342.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8466"/>
          <seriesInfo name="DOI" value="10.17487/RFC8466"/>
        </reference>
        <reference anchor="RFC8519" target="https://www.rfc-editor.org/info/rfc8519" quoteTitle="true" derivedAnchor="RFC8519">
          <front>
            <title>YANG Data Model for Network Access Control Lists (ACLs)</title>
            <author fullname="M. Jethanandani" initials="M." surname="Jethanandani"/>
            <author fullname="S. Agarwal" initials="S." surname="Agarwal"/>
            <author fullname="L. Huang" initials="L." surname="Huang"/>
            <author fullname="D. Blair" initials="D." surname="Blair"/>
            <date month="March" year="2019"/>
            <abstract>
              <t indent="0">This document defines a data model for Access Control Lists (ACLs). An ACL is a user-ordered set of rules used to configure the forwarding behavior in a device. Each rule is used to find a match on a packet and define actions that will be performed on the packet.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8519"/>
          <seriesInfo name="DOI" value="10.17487/RFC8519"/>
        </reference>
        <reference anchor="RFC8675" target="https://www.rfc-editor.org/info/rfc8675" quoteTitle="true" derivedAnchor="RFC8675">
          <front>
            <title>A YANG Data Model for Tunnel Interface Types</title>
            <author fullname="M. Boucadair" initials="M." surname="Boucadair"/>
            <author fullname="I. Farrer" initials="I." surname="Farrer"/>
            <author fullname="R. Asati" initials="R." surname="Asati"/>
            <date month="November" year="2019"/>
            <abstract>
              <t indent="0">This document specifies the initial version of a YANG module "iana-tunnel-type", which contains a collection of IANA-maintained YANG identities used as interface types for tunnel interfaces. The module reflects the "tunnelType" registry maintained by IANA. The latest revision of this YANG module can be obtained from the IANA website.</t>
              <t indent="0">Tunnel type values are not directly added to the Tunnel Interface Types YANG module; they must instead be added to the "tunnelType" IANA registry. Once a new tunnel type registration is made by IANA for a new tunneling scheme or even an existing one that is not already listed in the current registry (e.g., LISP, NSH), IANA will update the Tunnel Interface Types YANG module accordingly.</t>
              <t indent="0">Some of the IETF-defined tunneling techniques are not listed in the current IANA registry. It is not the intent of this document to update the existing IANA registry with a comprehensive list of tunnel technologies. Registrants must follow the IETF registration procedure for interface types whenever a new tunnel type is needed.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8675"/>
          <seriesInfo name="DOI" value="10.17487/RFC8675"/>
        </reference>
        <reference anchor="RFC8892" target="https://www.rfc-editor.org/info/rfc8892" quoteTitle="true" derivedAnchor="RFC8892">
          <front>
            <title>Guidelines and Registration Procedures for Interface Types and Tunnel Types</title>
            <author fullname="D. Thaler" initials="D." surname="Thaler"/>
            <author fullname="D. Romascanu" initials="D." surname="Romascanu"/>
            <date month="August" year="2020"/>
            <abstract>
              <t indent="0">This document provides guidelines and procedures for those who are
defining, registering, or evaluating definitions of new interface
types ("ifType" values) and tunnel types. The original definition of
the IANA interface type registry predated the use of IANA
Considerations sections and YANG modules, so some confusion arose
over time. Tunnel types were added later, with the same requirements
and allocation policy as interface types. This document updates RFC
2863 and provides updated guidance for these registries.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8892"/>
          <seriesInfo name="DOI" value="10.17487/RFC8892"/>
        </reference>
        <reference anchor="RFC8969" target="https://www.rfc-editor.org/info/rfc8969" quoteTitle="true" derivedAnchor="RFC8969">
          <front>
            <title>A Framework for Automating Service and Network Management with YANG</title>
            <author fullname="Q. Wu" initials="Q." role="editor" surname="Wu"/>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="D. Lopez" initials="D." surname="Lopez"/>
            <author fullname="C. Xie" initials="C." surname="Xie"/>
            <author fullname="L. Geng" initials="L." surname="Geng"/>
            <date month="January" year="2021"/>
            <abstract>
              <t indent="0">Data models provide a programmatic approach to represent services and networks. Concretely, they can be used to derive configuration information for network and service components, and state information that will be monitored and tracked. Data models can be used during the service and network management life cycle (e.g., service instantiation, service provisioning, service optimization, service monitoring, service diagnosing, and service assurance). Data models are also instrumental in the automation of network management, and they can provide closed-loop control for adaptive and deterministic service creation, delivery, and maintenance.</t>
              <t indent="0">This document describes a framework for service and network management automation that takes advantage of YANG modeling technologies. This framework is drawn from a network operator perspective irrespective of the origin of a data model; thus, it can accommodate YANG modules that are developed outside the IETF.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8969"/>
          <seriesInfo name="DOI" value="10.17487/RFC8969"/>
        </reference>
        <reference anchor="RFC9000" target="https://www.rfc-editor.org/info/rfc9000" quoteTitle="true" derivedAnchor="RFC9000">
          <front>
            <title>QUIC: A UDP-Based Multiplexed and Secure Transport</title>
            <author fullname="J. Iyengar" initials="J." role="editor" surname="Iyengar"/>
            <author fullname="M. Thomson" initials="M." role="editor" surname="Thomson"/>
            <date month="May" year="2021"/>
            <abstract>
              <t indent="0">This document defines the core of the QUIC transport protocol. QUIC provides applications with flow-controlled streams for structured communication, low-latency connection establishment, and network path migration. QUIC includes security measures that ensure confidentiality, integrity, and availability in a range of deployment circumstances. Accompanying documents describe the integration of TLS for key negotiation, loss detection, and an exemplary congestion control algorithm.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9000"/>
          <seriesInfo name="DOI" value="10.17487/RFC9000"/>
        </reference>
        <reference anchor="RFC9108" target="https://www.rfc-editor.org/info/rfc9108" quoteTitle="true" derivedAnchor="RFC9108">
          <front>
            <title>YANG Types for DNS Classes and Resource Record Types</title>
            <author fullname="L. Lhotka" initials="L." surname="Lhotka"/>
            <author fullname="P. Špaček" initials="P." surname="Špaček"/>
            <date month="September" year="2021"/>
            <abstract>
              <t indent="0">This document introduces the YANG module "iana-dns-class-rr-type", which contains derived types reflecting two IANA registries: DNS CLASSes and Resource Record (RR) TYPEs. These YANG types are intended as the minimum basis for future data modeling work.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9108"/>
          <seriesInfo name="DOI" value="10.17487/RFC9108"/>
        </reference>
        <reference anchor="RFC9129" target="https://www.rfc-editor.org/info/rfc9129" quoteTitle="true" derivedAnchor="RFC9129">
          <front>
            <title>YANG Data Model for the OSPF Protocol</title>
            <author fullname="D. Yeung" initials="D." surname="Yeung"/>
            <author fullname="Y. Qu" initials="Y." surname="Qu"/>
            <author fullname="Z. Zhang" initials="Z." surname="Zhang"/>
            <author fullname="I. Chen" initials="I." surname="Chen"/>
            <author fullname="A. Lindem" initials="A." surname="Lindem"/>
            <date month="October" year="2022"/>
            <abstract>
              <t indent="0">This document defines a YANG data model that can be used to configure and manage OSPF. The model is based on YANG 1.1 as defined in RFC 7950 and conforms to the Network Management Datastore Architecture (NMDA) as described in RFC 8342.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9129"/>
          <seriesInfo name="DOI" value="10.17487/RFC9129"/>
        </reference>
        <reference anchor="RFC9132" target="https://www.rfc-editor.org/info/rfc9132" quoteTitle="true" derivedAnchor="RFC9132">
          <front>
            <title>Distributed Denial-of-Service Open Threat Signaling (DOTS) Signal Channel Specification</title>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="J. Shallow" initials="J." surname="Shallow"/>
            <author fullname="T. Reddy.K" initials="T." surname="Reddy.K"/>
            <date month="September" year="2021"/>
            <abstract>
              <t indent="0">This document specifies the Distributed Denial-of-Service Open Threat Signaling (DOTS) signal channel, a protocol for signaling the need for protection against Distributed Denial-of-Service (DDoS) attacks to a server capable of enabling network traffic mitigation on behalf of the requesting client.</t>
              <t indent="0">A companion document defines the DOTS data channel, a separate reliable communication layer for DOTS management and configuration purposes.</t>
              <t indent="0">This document obsoletes RFC 8782.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9132"/>
          <seriesInfo name="DOI" value="10.17487/RFC9132"/>
        </reference>
        <reference anchor="RFC9182" target="https://www.rfc-editor.org/info/rfc9182" quoteTitle="true" derivedAnchor="RFC9182">
          <front>
            <title>A YANG Network Data Model for Layer 3 VPNs</title>
            <author fullname="S. Barguil" initials="S." surname="Barguil"/>
            <author fullname="O. Gonzalez de Dios" initials="O." role="editor" surname="Gonzalez de Dios"/>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="L. Munoz" initials="L." surname="Munoz"/>
            <author fullname="A. Aguado" initials="A." surname="Aguado"/>
            <date month="February" year="2022"/>
            <abstract>
              <t indent="0">As a complement to the Layer 3 Virtual Private Network Service Model (L3SM), which is used for communication between customers and service providers, this document defines an L3VPN Network Model (L3NM) that can be used for the provisioning of Layer 3 Virtual Private Network (L3VPN) services within a service provider network. The model provides a network-centric view of L3VPN services.</t>
              <t indent="0">The L3NM is meant to be used by a network controller to derive the configuration information that will be sent to relevant network devices. The model can also facilitate communication between a service orchestrator and a network controller/orchestrator.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9182"/>
          <seriesInfo name="DOI" value="10.17487/RFC9182"/>
        </reference>
        <reference anchor="RFC9195" target="https://www.rfc-editor.org/info/rfc9195" quoteTitle="true" derivedAnchor="RFC9195">
          <front>
            <title>A File Format for YANG Instance Data</title>
            <author fullname="B. Lengyel" initials="B." surname="Lengyel"/>
            <author fullname="B. Claise" initials="B." surname="Claise"/>
            <date month="February" year="2022"/>
            <abstract>
              <t indent="0">There is a need to document data defined in YANG models at design time, implementation time, or when a live server is unavailable. This document specifies a standard file format for YANG instance data, which follows the syntax and semantics of existing YANG models and annotates it with metadata.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9195"/>
          <seriesInfo name="DOI" value="10.17487/RFC9195"/>
        </reference>
        <reference anchor="RFC9244" target="https://www.rfc-editor.org/info/rfc9244" quoteTitle="true" derivedAnchor="RFC9244">
          <front>
            <title>Distributed Denial-of-Service Open Threat Signaling (DOTS) Telemetry</title>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="T. Reddy.K" initials="T." role="editor" surname="Reddy.K"/>
            <author fullname="E. Doron" initials="E." surname="Doron"/>
            <author fullname="M. Chen" initials="M." surname="Chen"/>
            <author fullname="J. Shallow" initials="J." surname="Shallow"/>
            <date month="June" year="2022"/>
            <abstract>
              <t indent="0">This document aims to enrich the Distributed Denial-of-Service Open Threat Signaling (DOTS) signal channel protocol with various telemetry attributes, allowing for optimal Distributed Denial-of-Service (DDoS) attack mitigation. It specifies the normal traffic baseline and attack traffic telemetry attributes a DOTS client can convey to its DOTS server in the mitigation request, the mitigation status telemetry attributes a DOTS server can communicate to a DOTS client, and the mitigation efficacy telemetry attributes a DOTS client can communicate to a DOTS server. The telemetry attributes can assist the mitigator in choosing the DDoS mitigation techniques and performing optimal DDoS attack mitigation.</t>
              <t indent="0">This document specifies two YANG modules: one for representing DOTS telemetry message types and one for sharing the attack mapping details over the DOTS data channel.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9244"/>
          <seriesInfo name="DOI" value="10.17487/RFC9244"/>
        </reference>
        <reference anchor="RFC9291" target="https://www.rfc-editor.org/info/rfc9291" quoteTitle="true" derivedAnchor="RFC9291">
          <front>
            <title>A YANG Network Data Model for Layer 2 VPNs</title>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="O. Gonzalez de Dios" initials="O." role="editor" surname="Gonzalez de Dios"/>
            <author fullname="S. Barguil" initials="S." surname="Barguil"/>
            <author fullname="L. Munoz" initials="L." surname="Munoz"/>
            <date month="September" year="2022"/>
            <abstract>
              <t indent="0">This document defines an L2VPN Network Model (L2NM) that can be used to manage the provisioning of Layer 2 Virtual Private Network (L2VPN) services within a network (e.g., a service provider network). The L2NM complements the L2VPN Service Model (L2SM) by providing a network-centric view of the service that is internal to a service provider. The L2NM is particularly meant to be used by a network controller to derive the configuration information that will be sent to relevant network devices.</t>
              <t indent="0">Also, this document defines a YANG module to manage Ethernet segments and the initial versions of two IANA-maintained modules that include a set of identities of BGP Layer 2 encapsulation types and pseudowire types.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9291"/>
          <seriesInfo name="DOI" value="10.17487/RFC9291"/>
        </reference>
        <reference anchor="RFC9362" target="https://www.rfc-editor.org/info/rfc9362" quoteTitle="true" derivedAnchor="RFC9362">
          <front>
            <title>Distributed Denial-of-Service Open Threat Signaling (DOTS) Signal Channel Configuration Attributes for Robust Block Transmission</title>
            <author fullname="M. Boucadair" initials="M." surname="Boucadair"/>
            <author fullname="J. Shallow" initials="J." surname="Shallow"/>
            <date month="February" year="2023"/>
            <abstract>
              <t indent="0">This document specifies new DDoS Open Threat Signaling (DOTS) signal channel configuration parameters that can be negotiated between DOTS peers to enable the use of Q-Block1 and Q-Block2 Constrained Application Protocol (CoAP) options. These options enable robust and faster transmission rates for large amounts of data with less packet interchanges as well as support for faster recovery should any of the blocks get lost in transmission (especially during DDoS attacks).</t>
              <t indent="0">Also, this document defines a YANG data model for representing these new DOTS signal channel configuration parameters. This model augments the DOTS signal YANG module ("ietf-dots-signal-channel") defined in RFC 9132.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9362"/>
          <seriesInfo name="DOI" value="10.17487/RFC9362"/>
        </reference>
        <reference anchor="RFC9637" target="https://www.rfc-editor.org/info/rfc9637" quoteTitle="true" derivedAnchor="RFC9637">
          <front>
            <title>Expanding the IPv6 Documentation Space</title>
            <author fullname="G. Huston" initials="G." surname="Huston"/>
            <author fullname="N. Buraglio" initials="N." surname="Buraglio"/>
            <date month="August" year="2024"/>
            <abstract>
              <t indent="0">The document describes the reservation of an additional IPv6 address prefix for use in documentation. This update to RFC 3849 expands on the existing 2001:db8::/32 address block with the reservation of an additional, larger prefix. The addition of a /20 prefix allows documented examples to more closely reflect a broader range of realistic, current deployment scenarios and more closely aligns with contemporary allocation models for large networks.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9637"/>
          <seriesInfo name="DOI" value="10.17487/RFC9637"/>
        </reference>
        <reference anchor="RFC9645" target="https://www.rfc-editor.org/info/rfc9645" quoteTitle="true" derivedAnchor="RFC9645">
          <front>
            <title>YANG Groupings for TLS Clients and TLS Servers</title>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <date month="October" year="2024"/>
            <abstract>
              <t indent="0">This document presents four YANG 1.1 modules -- three IETF modules and one supporting IANA module.</t>
              <t indent="0">The three IETF modules are "ietf-tls-common", "ietf-tls-client", and "ietf-tls-server". The "ietf-tls-client" and "ietf-tls-server" modules are the primary productions of this work, supporting the configuration and monitoring of TLS clients and servers.</t>
              <t indent="0">The IANA module is "iana-tls-cipher-suite-algs". This module defines YANG enumerations that provide support for an IANA-maintained algorithm registry.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9645"/>
          <seriesInfo name="DOI" value="10.17487/RFC9645"/>
        </reference>
        <reference anchor="RFC9911" target="https://www.rfc-editor.org/info/rfc9911" quoteTitle="true" derivedAnchor="RFC9911">
          <front>
            <title>Common YANG Data Types</title>
            <author fullname="J. Schönwälder" initials="J." role="editor" surname="Schönwälder"/>
            <date month="December" year="2025"/>
            <abstract>
              <t indent="0">This document defines a collection of common data types to be used with the YANG data modeling language. It includes several new type definitions and obsoletes RFC 6991.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9911"/>
          <seriesInfo name="DOI" value="10.17487/RFC9911"/>
        </reference>
        <reference anchor="Style" target="https://github.com/llhotka/iana-yang" quoteTitle="true" derivedAnchor="Style">
          <front>
            <title>IANA YANG</title>
            <author>
              <organization showOnFrontPage="true"/>
            </author>
            <date month="Dec" year="2021"/>
          </front>
          <refcontent>commit 3a6cb69</refcontent>
        </reference>
      </references>
    </references>
    <section anchor="module-review-checklist" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-module-review-checklist">Module Review Checklist</name>
      <t indent="0" pn="section-appendix.a-1">This section is adapted from <xref target="RFC4181" format="default" sectionFormat="of" derivedContent="RFC4181"/>.</t>
      <t indent="0" pn="section-appendix.a-2">The purpose of a YANG module review is to review the YANG module for
   both technical correctness and adherence to IETF documentation
   requirements.  The following checklist may be helpful when reviewing
   an I-D:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-appendix.a-3">
        <li pn="section-appendix.a-3.1">
          <t indent="0" pn="section-appendix.a-3.1.1">I-D Boilerplate: Verify that the document contains the required
          sections (see <eref target="https://authors.ietf.org/required-content" brackets="angle"/>).</t>
        </li>
        <li pn="section-appendix.a-3.2">
          <t indent="0" pn="section-appendix.a-3.2.1">Abstract: Verify that the abstract does not contain references,
          that it does not have a section number, and that its content follows
          the guidelines in <eref target="https://www.ietf.org/id-info/guidelines.html" brackets="angle"/>.</t>
        </li>
        <li pn="section-appendix.a-3.3">
          <t indent="0" pn="section-appendix.a-3.3.1">Copyright Notice: Verify that the document has the appropriate
          text regarding the rights that document contributors provide to the
          IETF Trust <xref target="RFC5378" format="default" sectionFormat="of" derivedContent="RFC5378"/>.  Verify that it contains the
          full IETF Trust copyright notice at the beginning of the document.
          The IETF Trust Legal Provisions (TLP) can be found at: <eref target="https://trustee.ietf.org/license-info/" brackets="angle"/></t>
        </li>
        <li pn="section-appendix.a-3.4">
          <t indent="0" pn="section-appendix.a-3.4.1">Security Considerations section: If none of the modules in the
          document falls under the exceptions in <xref target="sec-sec-cons-sec" format="default" sectionFormat="of" derivedContent="Section 3.7"/> (e.g., use YANG data structure), verify
          that the section is modeled after the latest approved template from
          the Operations and Management (OPS) area website (see <eref target="https://wiki.ietf.org/group/ops/yang-security-guidelines" brackets="angle"/>) and that the guidelines therein have been
          followed.</t>
        </li>
        <li pn="section-appendix.a-3.5">
          <t indent="0" pn="section-appendix.a-3.5.1">IANA Considerations section: This section must always be present.
          For each module within the document, ensure that the IANA
          Considerations section contains entries for the following IANA
          registries: </t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-appendix.a-3.5.2">
            <li pn="section-appendix.a-3.5.2.1">XML Namespace Registry: Register the YANG module
            namespace.</li>
            <li pn="section-appendix.a-3.5.2.2">YANG Module Registry: Register the YANG module name,
            prefix, namespace, and RFC number according to the rules
            specified in <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/>.</li>
          </ul>
        </li>
        <li pn="section-appendix.a-3.6">
          <t indent="0" pn="section-appendix.a-3.6.1">References: Verify that the references are properly divided
          between normative and informative references, that RFCs 2119 and
          8174 are included as normative references if the terminology defined
          therein is used in the document, that all references required by the
          boilerplate are present, that all YANG modules containing imported
          items are cited as normative references, and that all citations
          point to the most current RFCs, unless there is a valid reason to do
          otherwise (for example, it is okay to include an informative
          reference to a previous version of a specification to help explain a
          feature included for backward compatibility).  Be sure citations for
          all imported modules are present somewhere in the document text
          (outside the YANG module).  If a YANG module contains "reference" or
          "description" statements that refer to an I-D, then the I-D is
          included as an informative reference.</t>
        </li>
        <li pn="section-appendix.a-3.7">
          <t indent="0" pn="section-appendix.a-3.7.1">License: Verify that the document contains the Revised BSD
          License in each YANG module or submodule.  Some guidelines related
          to this requirement are described in <xref target="module-copyright" format="default" sectionFormat="of" derivedContent="Section 3.1"/>.  Make sure that the correct year is
          used in all copyright dates.  Use the approved text from the latest
          TLP document, which can be found at: 
          <eref target="https://trustee.ietf.org/license-info/" brackets="angle"/></t>
        </li>
        <li pn="section-appendix.a-3.8">
          <t indent="0" pn="section-appendix.a-3.8.1">Other Issues: Check for any issues mentioned in <eref target="https://www.ietf.org/id-info/checklist.html" brackets="angle"/> that are not covered elsewhere.</t>
        </li>
        <li pn="section-appendix.a-3.9">
          <t indent="0" pn="section-appendix.a-3.9.1">Technical Content: Review the actual technical content for
          compliance with the guidelines in this document.  The use of a YANG
          module compiler is recommended when checking for syntax errors.  A
          list of freely available tools and other information, including
          formatting advice, can be found at:
          <eref target="https://wiki.ietf.org/group/netconf" brackets="angle"/> and
          <eref target="https://wiki.ietf.org/group/netmod" brackets="angle"/>  </t>
          <t indent="0" pn="section-appendix.a-3.9.2">Checking for correct syntax, however, is only part of the job.
          It is just as important to actually read the YANG module document
          from the point of view of a potential implementor.  It is
          particularly important to check that "description" statements are
          sufficiently clear and unambiguous to allow interoperable
          implementations to be created.</t>
        </li>
      </ul>
    </section>
    <section anchor="tem-ietf" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.b">
      <name slugifiedName="name-template-for-ietf-modules">Template for IETF Modules</name>
      <sourcecode name="ietf-template@2023-07-26.yang" type="yang" markers="true" pn="section-appendix.b-1">
module ietf-template {
  yang-version 1.1;

  // replace this string with a unique namespace URN value

  namespace "urn:ietf:params:xml:ns:yang:ietf-template";

  // replace this string, and try to pick a unique prefix

  prefix temp;

  // import statements here: e.g.,
  // import ietf-yang-types { prefix yang; }
  // import ietf-inet-types { prefix inet; }
  // identify the IETF working group if applicable

  organization
    "IETF your-wg-name (Expanded WG Name) Working Group";

  // update this contact statement with your info

  contact
    "WG Web:   https://datatracker.ietf.org/wg/your-wg-name
     WG List:  YOUR-WG-NAME &lt;mailto:your-wg-name@ietf.org&gt;

     Editor:   your-name
               &lt;mailto:your-email@example.com&gt;";

  // replace the first sentence in this "description" statement.
  // replace the copyright notice with the most recent
  // version, if it has been updated since the publication
  // of this document.

  description
    "This module defines a template for other YANG modules.

     Copyright (c) &lt;insert year&gt; IETF Trust and the persons
     identified as authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Revised BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     All revisions of IETF and IANA published modules can be found
     at the YANG Parameters registry group
     (https://www.iana.org/assignments/yang-parameters).

     This version of this YANG module is part of RFC XXXX; see
     the RFC itself for full legal notices.";

  // RFC Ed: replace 'date-revision' with the module publication date
  // the format is (YYYY-MM-DD)

  // replace XXXX with actual RFC number and remove
  // this note

  revision date-revision {
    description
      "What changed in this revision.";
    reference
      "RFC XXXX: &lt;Replace With Document Title&gt;";
  }

  // Authors: Replace RFC IIII with the RFC number and title
  // of the RFC that defined the initial version of
  // the module and remove this note

  revision date-initial {
    description
      "Initial version.";
    reference
      "RFC IIII: &lt;Replace With Document Title&gt;";
  }

  // extension statements
  // feature statements
  // identity statements
  // typedef statements
  // grouping statements
  // data definition statements
  // augment statements
  // rpc statements
  // notification statements
  // DO NOT put deviation statements in a published module
}</sourcecode>
    </section>
    <section anchor="tem-iana" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.c">
      <name slugifiedName="name-template-for-iana-maintained-">Template for IANA-Maintained YANG Modules</name>
      <sourcecode name="iana-template@2023-12-08.yang" markers="true" pn="section-appendix.c-1">
module iana-template {
  yang-version 1.1;

  // replace this string with a unique namespace URN value

  namespace "urn:ietf:params:xml:ns:yang:iana-template";

  // replace with the assigned prefix

  prefix iana-foo;

  organization
    "Internet Assigned Numbers Authority (IANA)";

  contact
    "Internet Assigned Numbers Authority

     ICANN
     12025 Waterfront Drive, Suite 300
     Los Angeles, CA 90094

     Tel: +1 310 301 5800

     &lt;mailto:iana@iana.org&gt;";

  description
    "This module defines a template for IANA-maintained modules.

     Copyright (c) &lt;insert year&gt; IETF Trust and the persons
     identified as authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject to
     the license terms contained in, the Revised BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     All revisions of IETF and IANA published modules can be found
     at the YANG Parameters registry group
     (https://www.iana.org/assignments/yang-parameters).

     The initial version of this YANG module is part of RFC IIII;
     see the RFC itself for full legal notices.

  // RFC Ed.: replace IIII with actual RFC number and remove
  // this note

  // If a script is used, complete with the script information

     This version of this YANG module was generated from the
     corresponding IANA registry using a &lt;script-info&gt;.

  // RFC Ed.: replace the IANA_FOO_URL and remove this note

     The latest version of this YANG module is available at
     &lt;IANA_FOO_URL&gt;.";

  // replace with the registry name and the URL of the IANA registry

  reference
    "Registry Name (URL)";


  // replace 'date-revision' with the module publication date
  // the format is (YYYY-MM-DD)

  revision date-revision {
    description
      "Indicates the list of changes per Section 4.30.3 of RFC 9907";
    reference
      "URL of the latest version of the module
       (if any) list the authoritative event (e.g., RFC) that
       triggered the update to the YANG module";
  }

  // replace 'date-initial' with the module publication date
  // the format is (YYYY-MM-DD)

  revision date-initial {
    description
      "Initial version.";
    reference
      "URL of the published initial version of the module
       RFC IIII: RFC Title";

  // RFC Ed.: Update with the RFC number and title
  // of the RFC that defined the initial version of
  // the module and remove this note
  }

  // identity statements
  // typedef statements
}</sourcecode>
    </section>
    <section numbered="false" anchor="acknowledgments" removeInRFC="false" toc="include" pn="section-appendix.d">
      <name slugifiedName="name-acknowledgments">Acknowledgments</name>
      <t indent="0" pn="section-appendix.d-1">Thanks to <contact fullname="Jürgen Schönwälder"/> and <contact fullname="Ladislav Lhotka"/> for the discussion and valuable comments.
      Special thanks to <contact fullname="Ladislav Lhotka"/> for sharing more
      context that led to the design documented in <xref target="RFC9108" format="default" sectionFormat="of" derivedContent="RFC9108"/>.</t>
      <t indent="0" pn="section-appendix.d-2">Thanks to <contact fullname="Italo Busi"/>, <contact fullname="Benoît       Claise"/>, <contact fullname="Tom Petch"/>, <contact fullname="Randy       Presuhn"/>, <contact fullname="Martin Björklund"/>, <contact fullname="Acee Lindem"/>, <contact fullname="Dale R. Worley"/>, <contact fullname="Kent Watsen"/>, <contact fullname="Jan Lindblad"/>, <contact fullname="Qiufang Ma"/>, <contact fullname="Mahesh Jethanandani"/>,
      <contact fullname="Robert Wilton"/>, and <contact fullname="Thomas       Fossati"/> for the comments.</t>
      <t indent="0" pn="section-appendix.d-3"><contact fullname="Lou Berger"/> suggested to include more details about IANA considerations.</t>
      <t indent="0" pn="section-appendix.d-4"><xref target="sec-tags" format="default" sectionFormat="of" derivedContent="Section 4.28"/> is inspired by <xref target="RFC8819" format="default" sectionFormat="of" derivedContent="RFC8819"/>.</t>
      <t indent="0" pn="section-appendix.d-5"><contact fullname="Michal Vaško"/> reported an inconsistency in
      Sections <xref target="RFC8407" section="4.6.2" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8407#section-4.6.2" derivedContent="RFC8407"/>
      and <xref target="RFC8407" section="4.6.4" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8407#section-4.6.4" derivedContent="RFC8407"/> of
      <xref target="RFC8407" format="default" sectionFormat="of" derivedContent="RFC8407"/>.</t>
      <t indent="0" pn="section-appendix.d-6">Thanks to <contact fullname="Xufeng Liu"/> for reviewing the document, including providing YANGDOCTORS reviews.</t>
      <t indent="0" pn="section-appendix.d-7"><contact fullname="Italo Busi"/> provided the examples of "case + when" construct.</t>
      <t indent="0" pn="section-appendix.d-8">Thanks to <contact fullname="Rich Salz"/> and <contact fullname="Michael Richardson"/> for the SAAG review.</t>
      <t indent="0" pn="section-appendix.d-9"><contact fullname="Kent Watsen"/> contributed text to the security and IANA-maintained YANG module templates.</t>
      <t indent="0" pn="section-appendix.d-10">Special thanks to <contact fullname="Amanda Baber"/> for the thoughtful and careful review of the document.</t>
      <t indent="0" pn="section-appendix.d-11">Thanks to <contact fullname="Qiufang Ma"/> for the careful shepherd review.</t>
      <t indent="0" pn="section-appendix.d-12">Thanks to <contact fullname="Acee Lindem"/> for triggering the discussion on data model versus module.</t>
      <t indent="0" pn="section-appendix.d-13">Thanks to <contact fullname="Mahesh Jethanandani"/> for the thoughtful AD review.</t>
      <t indent="0" pn="section-appendix.d-14">Thanks to <contact fullname="Christer Holmberg"/> for the genart
      review, <contact fullname="Jean Mahoney"/> for the check on RPC
      implications, <contact fullname="Ralf Weber"/> for the dnsdir, <contact fullname="Giuseppe Fioccola"/> for the opsdir review, <contact fullname="Joseph Touch"/> for the tsvart review, and <contact fullname="Yoav Nir"/> for the secdir review.</t>
      <t indent="0" pn="section-appendix.d-15">Thanks <contact fullname="Éric Vyncke"/>, <contact fullname="Mike       Bishop"/>, <contact fullname="Roman Danyliw"/>, <contact fullname="Orie       Steele"/>, <contact fullname="Ketan Talaulikar"/>, <contact fullname="Deb Cooley"/>, and <contact fullname="Gorry Fairhurst"/> for
      the IESG review.</t>
      <t indent="0" pn="section-appendix.d-16">The author of RFC 8407:</t>
      <contact fullname="Andy Bierman">
        <organization showOnFrontPage="true">YumaWorks</organization>
        <address>
          <email>andy@yumaworks.com</email>
        </address>
      </contact>
      <t indent="0" pn="section-appendix.d-17">Acknowledgments from RFC 8407:</t>
      <blockquote pn="section-appendix.d-18">
        <t indent="0" pn="section-appendix.d-18.1">The structure and contents of this document are adapted
    from "Guidelines for Authors and Reviewers of MIB Documents" <xref target="RFC4181" format="default" sectionFormat="of" derivedContent="RFC4181"/>, by <contact fullname="C. M. Heard"/>.</t>
        <t indent="0" pn="section-appendix.d-18.2">The working group thanks <contact fullname="Martin Bjorklund"/>,
    <contact fullname="Juergen Schoenwaelder"/>, <contact fullname="Ladislav     Lhotka"/>, <contact fullname="Jernej Tuljak"/>, <contact fullname="Lou     Berger"/>, <contact fullname="Robert Wilton"/>, <contact fullname="Kent     Watsen"/>, and <contact fullname="William Lupton"/> for their extensive
    reviews and contributions to this document.</t>
      </blockquote>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.e">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author fullname="Andy Bierman">
        <organization showOnFrontPage="true">YumaWorks</organization>
        <address>
          <postal>
            <country>United States of America</country>
          </postal>
          <email>andy@yumaworks.com</email>
        </address>
      </author>
      <author fullname="Mohamed Boucadair" role="editor">
        <organization showOnFrontPage="true">Orange</organization>
        <address>
          <postal>
            <country>France</country>
          </postal>
          <email>mohamed.boucadair@orange.com</email>
        </address>
      </author>
      <author fullname="Qin Wu">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <postal>
            <country>China</country>
          </postal>
          <email>bill.wu@huawei.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
