<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" []>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt"?>
<?rfc toc="yes"?>
<?rfc compact="no"?>
<?rfc subcompact="no"?>
<?rfc symrefs="yes" ?>
<?rfc sortrefs="yes"?>
<?rfc iprnotified="no"?>
<?rfc strict="yes"?> version='1.0' encoding='utf-8'?>
<rfc ipr="trust200902" xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true" docName="draft-ietf-netmod-module-tags-10" indexInclude="true" ipr="trust200902" number="8819" prepTime="2020-12-23T10:04:57" scripts="Common,Latin" sortRefs="true" submissionType="IETF" symRefs="true" tocDepth="3" tocInclude="true" updates="8407"
     submissionType="IETF"> xml:lang="en">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-netmod-module-tags-10" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc8819" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="YANG Module Tags">YANG Module Tags</title>
    <seriesInfo name="RFC" value="8819" stream="IETF"/>
    <author initials='C.' surname='Hopps' fullname='Christian Hopps'><organization>LabN initials="C." surname="Hopps" fullname="Christian Hopps">
      <organization showOnFrontPage="true">LabN Consulting, L.L.C.</organization><address><email>chopps@chopps.org</email></address></author> L.L.C.</organization>
      <address>
        <email>chopps@chopps.org</email>
      </address>
    </author>
    <author initials='L.' surname='Berger' fullname='Lou Berger'><organization>LabN initials="L." surname="Berger" fullname="Lou Berger">
      <organization showOnFrontPage="true">LabN Consulting, LLC.</organization><address><email>lberger@labn.net</email></address></author> L.L.C.</organization>
      <address>
        <email>lberger@labn.net</email>
      </address>
    </author>
    <author initials='D.' surname='Bogdanovic' fullname='Dean Bogdanovic'><organization>Volta Networks</organization><address><email>ivandean@gmail.com</email></address></author>  <date/><abstract><t>This initials="D." surname="Bogdanovic" fullname="Dean Bogdanovic">
      <organization showOnFrontPage="true">Volta Networks</organization>
      <address>
        <email>ivandean@gmail.com</email>
      </address>
    </author>
    <date month="12" year="2020"/>
    <keyword>YANG</keyword>
    <keyword>tags</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">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 reading, and writing a
      modules tags is provided. Tags may be registered and assigned during
      module definition; definition, assigned by implementations; implementations, or dynamically defined
      and set by users. This document also provides guidance to future model
      writers; as such, this document updates RFC8407.</t></abstract> RFC 8407.</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 is an Internet Standards Track document.
        </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 Internet Standards 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/rfc8819" 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) 2020 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 Simplified BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Simplified 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-some-possible-use-cases-for">Some Possible Use Cases for YANG Module Tags</xref></t>
              </li>
              <li pn="section-toc.1-1.1.2.2">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.2.2.1"><xref derivedContent="1.2" format="counter" sectionFormat="of" target="section-1.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-conventions-used-in-this-do">Conventions Used in This Document</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-tag-values">Tag Values</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" 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-ietf-tags">IETF Tags</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-vendor-tags">Vendor Tags</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-user-tags">User Tags</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-reserved-tags">Reserved Tags</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-tag-management">Tag Management</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-definition-tagging">Module Definition Tagging</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-implementation-tagging">Implementation Tagging</xref></t>
              </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-user-tagging">User Tagging</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-tags-module-structure">Tags Module Structure</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-tags-module-tree">Tags Module Tree</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-yang-module">YANG Module</xref></t>
              </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-other-classifications">Other Classifications</xref></t>
          </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-guidelines-to-model-writers">Guidelines to Model Writers</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2">
              <li pn="section-toc.1-1.6.2.1">
                <t indent="0" pn="section-toc.1-1.6.2.1.1"><xref derivedContent="6.1" format="counter" sectionFormat="of" target="section-6.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-define-standard-tags">Define Standard Tags</xref></t>
              </li>
            </ul>
          </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-iana-considerations">IANA Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2">
              <li pn="section-toc.1-1.7.2.1">
                <t indent="0" pn="section-toc.1-1.7.2.1.1"><xref derivedContent="7.1" format="counter" sectionFormat="of" target="section-7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-module-tag-prefixes-re">YANG Module Tag Prefixes Registry</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.2">
                <t indent="0" pn="section-toc.1-1.7.2.2.1"><xref derivedContent="7.2" format="counter" sectionFormat="of" target="section-7.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ietf-yang-module-tags-regis">IETF YANG Module Tags Registry</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.3">
                <t indent="0" pn="section-toc.1-1.7.2.3.1"><xref derivedContent="7.3" format="counter" sectionFormat="of" target="section-7.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-updates-to-the-ietf-xml-reg">Updates to the IETF XML Registry</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.4">
                <t indent="0" pn="section-toc.1-1.7.2.4.1"><xref derivedContent="7.4" format="counter" sectionFormat="of" target="section-7.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-updates-to-the-yang-module-">Updates to the YANG Module Names Registry</xref></t>
              </li>
            </ul>
          </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-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <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.9.2">
              <li pn="section-toc.1-1.9.2.1">
                <t indent="0" pn="section-toc.1-1.9.2.1.1"><xref derivedContent="9.1" format="counter" sectionFormat="of" target="section-9.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.2">
                <t indent="0" pn="section-toc.1-1.9.2.2.1"><xref derivedContent="9.2" format="counter" sectionFormat="of" target="section-9.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-examples">Examples</xref></t>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="Appendix B" format="default" sectionFormat="of" target="section-appendix.b"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-non-nmda-state-module">Non-NMDA State Module</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.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</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.d"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section title="Introduction">
<t>The numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">The use of tags for classification and organization is fairly
      ubiquitous not only within IETF protocols, protocols but in the internet itself
      (e.g., <spanx style='verb'>#hashtags</spanx>). <tt>#hashtags</tt>).

      One benefit of using tags for organization
      over a rigid structure is that it is more flexible and can more easily
      adapt over time as technologies evolve. Tags can be usefully registered,
      but they can also serve as a non-registered mechanism available for
      users to define themselves. This document provides a mechanism to define
      tags and associate them with YANG modules in a flexible manner. In
      particular, tags may be registered as well as assigned during module definition;
      definition, assigned by implementations; implementations, or dynamically defined and set
      by users.</t>

<t>This
      <t indent="0" pn="section-1-2">This document defines a YANG module <xref target="RFC7950"/> which target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/> that provides a list of module entries to allow for
      adding or removing of tags as well as viewing the set of tags associated
      with a module.</t>

<t>This
      <t indent="0" pn="section-1-3">This document defines an extension statement to be used to indicate
      tags that SHOULD <bcp14>SHOULD</bcp14> be added by the module implementation
      automatically (i.e., outside of configuration).</t>

<t>This
      <t indent="0" pn="section-1-4">This document also defines an IANA registry for tag prefixes as well
      as a set of globally assigned tags.</t>

<t><xref target="sec-guidelines-to-model-writers"></xref>
      <t indent="0" pn="section-1-5"><xref target="sec-guidelines-to-model-writers" format="default" sectionFormat="of" derivedContent="Section 6"/>
      provides guidelines for authors of YANG data models.</t>

<t>This
      <t indent="0" pn="section-1-6">This document updates <xref target="RFC8407"/>.</t>

<t>The target="RFC8407" format="default" sectionFormat="of" derivedContent="RFC8407"/>.</t>
      <t indent="0" pn="section-1-7">The YANG data model in this document conforms to the Network
      Management Datastore Architecture (NMDA) defined in <xref target="RFC8342"/>.</t> target="RFC8342" format="default" sectionFormat="of" derivedContent="RFC8342"/>.</t>
      <section title="Some possible use cases numbered="true" toc="include" removeInRFC="false" pn="section-1.1">
        <name slugifiedName="name-some-possible-use-cases-for">Some Possible Use Cases for YANG module tags">
<t>During Module Tags</name>
        <t indent="0" pn="section-1.1-1">During this documents's development document's development, there were requests for example
	uses of module tags. The following are a few example use cases for
	tags. This list is certainly not exhaustive.</t>

<t>One
        <t indent="0" pn="section-1.1-2">One example use of tags would be to help filter different discrete
	categories of YANG modules supported by a device. For example, if
	modules are suitably tagged, then an XPath query can be used to list
	all of the vendor modules supported by a device.</t>

<t>Tags
        <t indent="0" pn="section-1.1-3">Tags can also be used to help coordination when multiple multiple,
	semi-independent clients are interacting with the same devices. For
	example, one management client could mark that some modules should not
	be used because they have not been verified to behave correctly, so
	that other management clients avoid querying the data associated with
	those modules.</t>

<t>Tag
        <t indent="0" pn="section-1.1-4">Tag classification is useful for users searching module
	repositories (e.g., YANG catalog). A query restricted to the
	'ietf:routing' module tag could be used to return only the IETF YANG
	modules associated with routing. Without tags, a user would need to
	know the name of all the IETF routing protocol YANG modules.</t>

<t>Future
        <t indent="0" pn="section-1.1-5">Future management protocol extensions could allow for filtering
	queries of configuration or operational state on a server based on
tags. For
	tags (for example, return all operational state related to
system-management.</t>
	system management).</t>
      </section>
      <section title="Conventions numbered="true" toc="include" removeInRFC="false" pn="section-1.2">
        <name slugifiedName="name-conventions-used-in-this-do">Conventions Used in This Document">
<t>The Document</name>
        <t indent="0" pn="section-1.2-1">
    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", "<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
"OPTIONAL" "<bcp14>OPTIONAL</bcp14>" in this document are
    to be interpreted as
    described in BCP 14 <xref target="RFC2119"/> target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174"/> target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/>
    when, and only when, they appear in all capitals, as shown here.</t> here.
        </t>
      </section>
    </section>
    <section title="Tag Values">
<t>All numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-tag-values">Tag Values</name>
      <t indent="0" pn="section-2-1">All tags SHOULD <bcp14>SHOULD</bcp14> begin with a prefix indicating who
      owns their definition. An IANA registry (<xref target="sec-yang-module-tag-prefixes-registry"></xref>) target="sec-yang-module-tag-prefixes-registry" format="default" sectionFormat="of" derivedContent="Section 7.1"/>) is
      used to support registering tag prefixes. Currently 3 Currently, three prefixes are
      defined. No further structure is imposed by this document on the value
      following the registered prefix, and the value can contain any YANG type
      'string' characters except carriage-returns, newlines carriage returns, newlines, and tabs.</t>

<t>Again,
      <t indent="0" pn="section-2-2">Again, except for the conflict-avoiding prefix, this document is
      purposefully not specifying any structure on (i.e., restricting) the tag values on
purpose. values.
      The intent is to avoid arbitrarily restricting the values that
      designers, implementers implementers, and users can use. As a result of this choice,
      designers, implementers, and users are free to add or not add any
      structure they may require to their own tag values.</t>
      <section title="IETF Tags" anchor="sec-ietf-tags">
<t>An anchor="sec-ietf-tags" numbered="true" toc="include" removeInRFC="false" pn="section-2.1">
        <name slugifiedName="name-ietf-tags">IETF Tags</name>
        <t indent="0" pn="section-2.1-1">An IETF tag is a tag that has the prefix "ietf:". All IETF tags are
	registered with IANA in a registry defined later in this document
	(<xref target="sec-ietf-yang-module-tags-registry"></xref>).</t> target="sec-ietf-yang-module-tags-registry" format="default" sectionFormat="of" derivedContent="Section 7.2"/>).</t>
      </section>
      <section title="Vendor Tags">
<t>A numbered="true" toc="include" removeInRFC="false" pn="section-2.2">
        <name slugifiedName="name-vendor-tags">Vendor Tags</name>
        <t indent="0" pn="section-2.2-1">A vendor tag is a tag that has the prefix "vendor:". These tags are
	defined by the vendor that implements the module, module and are not
	registered; however, it is RECOMMENDED <bcp14>RECOMMENDED</bcp14> that the vendor
	include extra identification in the tag to avoid collisions collisions, such as
	using the
enterpise enterprise or organization name following the "vendor:"
	prefix (e.g., vendor:example.com:vendor-defined-classifier).</t>
      </section>
      <section title="User Tags">
<t>A numbered="true" toc="include" removeInRFC="false" pn="section-2.3">
        <name slugifiedName="name-user-tags">User Tags</name>
        <t indent="0" pn="section-2.3-1">A user tag is any tag that has the prefix "user:". These tags are
	defined by the user/administrator and are not meant to be
	registered. Users are not required to use the "user:" prefix; however,
	doing so is RECOMMENDED <bcp14>RECOMMENDED</bcp14> as it helps avoid
	collisions.</t>
      </section>
      <section title="Reserved Tags">
<t>Any numbered="true" toc="include" removeInRFC="false" pn="section-2.4">
        <name slugifiedName="name-reserved-tags">Reserved Tags</name>
        <t indent="0" pn="section-2.4-1">Any tag not starting with the prefix "ietf:", "vendor:" "vendor:", or "user:"
	is reserved for future use. These tag values are not invalid, invalid but
	simply reserved in the context of specifications (e.g., RFCs).</t>
      </section>
    </section>
    <section title="Tag Management">
<t>Tags numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-tag-management">Tag Management</name>
      <t indent="0" pn="section-3-1">Tags can become associated with a module in a number of ways. Tags
      may be defined and associated at module design time, at implementation
      time, or via user administrative control. As the main consumer of tags
      are users, users may also remove any tag, no matter how the tag became
      associated with a module.</t>
      <section title="Module numbered="true" toc="include" removeInRFC="false" pn="section-3.1">
        <name slugifiedName="name-module-definition-tagging">Module Definition Tagging">
<t>A Tagging</name>
        <t indent="0" pn="section-3.1-1">A module definition MAY <bcp14>MAY</bcp14> indicate a set of tags to be
	added by the module implementer. These design time design-time tags are indicated
	using the module-tag extension statement.</t>

<t>If
        <t indent="0" pn="section-3.1-2">If the module is defined in an IETF standards track Standards Track document, the
	tags MUST <bcp14>MUST</bcp14> be <xref format="counter" target="sec-ietf-tags">IETF Tags</xref>. IETF tags (<xref target="sec-ietf-tags" format="default" sectionFormat="of" derivedContent="Section 2.1"/>). Thus, new modules can drive
	the addition of new IETF tags to the IANA registry defined in <xref target="sec-ietf-yang-module-tags-registry"></xref>, target="sec-ietf-yang-module-tags-registry" format="default" sectionFormat="of" derivedContent="Section 7.2"/>, and
	the IANA registry can serve as a check against duplication.</t>
      </section>
      <section title="Implementation Tagging">
<t>An numbered="true" toc="include" removeInRFC="false" pn="section-3.2">
        <name slugifiedName="name-implementation-tagging">Implementation Tagging</name>
        <t indent="0" pn="section-3.2-1">An implementation MAY <bcp14>MAY</bcp14> include additional tags
	associated with a module. These tags SHOULD <bcp14>SHOULD</bcp14> be IETF Tags
	tags (i.e., registered) or vendor
specific vendor-specific tags.</t>
      </section>
      <section title="User Tagging">
<t>Tags numbered="true" toc="include" removeInRFC="false" pn="section-3.3">
        <name slugifiedName="name-user-tagging">User Tagging</name>
        <t indent="0" pn="section-3.3-1">Tags of any kind, with or without a prefix, can be assigned and
	removed by the user using normal configuration mechanisms. In order to
	remove a tag from the operational datastore datastore, the user adds a matching <spanx style='verb'>masked-tag</spanx>
	<tt>masked-tag</tt> entry for a given module.</t>
      </section>
    </section>
    <section title="Tags numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-tags-module-structure">Tags Module Structure"> Structure</name>
      <section title="Tags numbered="true" toc="include" removeInRFC="false" pn="section-4.1">
        <name slugifiedName="name-tags-module-tree">Tags Module Tree">
<t>The Tree</name>
        <t indent="0" pn="section-4.1-1">The tree associated with the "ietf-module-tags" module follows. The
	meaning of the symbols can be found in <xref target="RFC8340"/>.</t> target="RFC8340" format="default" sectionFormat="of" derivedContent="RFC8340"/>.</t>
        <figure title="YANG anchor="sec-yang-module-tags-tree-diagram" align="left" suppress-title="false" pn="figure-1">
          <name slugifiedName="name-yang-module-tags-tree-diagr">YANG Module Tags Tree Diagram" anchor="sec-yang-module-tags-tree-diagram"><artwork><![CDATA[ Diagram</name>
          <sourcecode type="yangtree" markers="false" pn="section-4.1-2.1">
    module: ietf-module-tags
      +--rw module-tags
         +--rw module* [name]
            +--rw name          yang:yang-identifier
            +--rw tag*          tag
            +--rw masked-tag*   tag
]]></artwork></figure>
</sourcecode>
        </figure>
      </section>
      <section title="YANG Module"> numbered="true" toc="include" removeInRFC="false" pn="section-4.2">
        <name slugifiedName="name-yang-module">YANG Module</name>
        <figure title="Module anchor="sec-module-tags-module" align="left" suppress-title="false" pn="figure-2">
          <name slugifiedName="name-module-tags-module">Module Tags Module" anchor="sec-module-tags-module"><artwork><![CDATA[
<CODE BEGINS> file "ietf-module-tags@2020-02-29.yang" Module</name>
          <sourcecode name="ietf-module-tags@2020-12-22.yang" type="yang" markers="true" pn="section-4.2-1.1">
module ietf-module-tags {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-module-tags";
  prefix tags;

  import ietf-yang-types {
    prefix yang;
  }

  organization
    "IETF NetMod Working Group (NetMod)";
  contact
    "WG Web:  <https://tools.ietf.org/wg/netmod/>  &lt;https://datatracker.ietf.org/wg/netmod/&gt;
     WG List: <mailto:netmod@ietf.org> &lt;mailto:netmod@ietf.org&gt;

     Author: Christian Hopps
	     <mailto:chopps@chopps.org>
             &lt;mailto:chopps@chopps.org&gt;

     Author: Lou Berger
	     <mailto:lberger@labn.net>
             &lt;mailto:lberger@labn.net&gt;

     Author: Dean Bogdanovic
	     <ivandean@gmail.com>";

  // RFC Ed.: replace XXXX with actual RFC number and
  // remove this note.
             &lt;mailto:ivandean@gmail.com&gt;";

  description
    "This module describes a mechanism associating tags with YANG
     modules.  Tags may be IANA assigned or privately defined.

     Copyright (c) 2019 2020 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 Simplified 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).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); 8819
     (https://www.rfc-editor.org/info/rfc8819); see the RFC itself
     for full legal notices.

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
     NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
     'MAY', and 'OPTIONAL' in this document are to be interpreted as
     described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
     they appear in all capitals, as shown here.";

  // RFC Ed.: update the date below with the date of RFC publication
  // and RFC number and remove this note. only when,
     they appear in all capitals, as shown here.";

  revision 2020-02-29 2020-12-22 {
    description
      "Initial revision.";
    reference
      "RFC XXXX: 8819: YANG Module Tags";
  }

  typedef tag {
    type string {
      length "1..max";
      pattern '[\S ]+';
    }
    description
      "A tag is a type of 'string' value that does not include
       carriage return, newline newline, or tab characters.  It SHOULD begin
       with a registered prefix; however, tags without a registered
       prefix SHOULD NOT be treated as invalid.";
  }

  extension module-tag {
    argument tag;
    description
      "The argument 'tag' is of type 'tag'.  This extension statement
       is used by module authors to indicate the tags that SHOULD be
       added automatically by the system.  As such such, the origin of the
       value for the pre-defined predefined tags should be set to 'system'
       [RFC8342].";
  }

  container module-tags {
    description
      "Contains the list of modules and their associated tags"; tags.";
    list module {
      key "name";
      description
        "A list of modules and their associated tags"; tags.";
      leaf name {
        type yang:yang-identifier;
        mandatory true;
        description
          "The YANG module name.";
      }
      leaf-list tag {
        type tag;
        description
          "Tags associated with the module.  See the IANA 'YANG
           Module Tag Prefixes' registry for reserved prefixes and
           the IANA 'IETF YANG Module Tags' registry for IETF tags.

           The 'operational' state [RFC8342] view of this list is
           constructed using the following steps:

           1) System tags (i.e., tags of 'system' origin) are added.
           2) User configured User-configured tags (i.e., tags of 'intended' origin)
           are added.
           3) Any tag that is equal to a masked-tag is removed.";
      }
      leaf-list masked-tag {
        type tag;
        description
          "The list of tags that should not be associated with this
           module.  The user can remove (mask) tags from the
           operational state datastore [RFC8342] by adding them to
           this list.  It is not an error to add tags to this list
           that are not associated with the module, but they have no
           operational effect.";
      }
    }
  }
}
<CODE ENDS>
]]></artwork></figure>

</sourcecode>
        </figure>
      </section>
    </section>
    <section title="Other Classifications">
<t>It numbered="true" toc="include" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-other-classifications">Other Classifications</name>
      <t indent="0" pn="section-5-1">It is worth noting that a different YANG module classification
      document exists <xref target="RFC8199"/>. target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/>. That document
      only classifies modules in a logical manner and does not define tagging
      or any other mechanisms. It divides YANG modules into two categories
      (service or element) and then into one of three origins: standard, vendor
      vendor, or user. It does provide a good way to discuss and identify
      modules in general. This document defines IETF tags to support <xref target="RFC8199"/> the
      classification style
classification.</t> described in <xref target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/>.</t>
    </section>
    <section title="Guidelines anchor="sec-guidelines-to-model-writers" numbered="true" toc="include" removeInRFC="false" pn="section-6">
      <name slugifiedName="name-guidelines-to-model-writers">Guidelines to Model Writers" anchor="sec-guidelines-to-model-writers">
<t>This Writers</name>
      <t indent="0" pn="section-6-1">This section updates <xref target="RFC8407"/>.</t> target="RFC8407" format="default" sectionFormat="of" derivedContent="RFC8407"/>.</t>
      <section title="Define numbered="true" toc="include" removeInRFC="false" pn="section-6.1">
        <name slugifiedName="name-define-standard-tags">Define Standard Tags">
<t>A Tags</name>
        <t indent="0" pn="section-6.1-1">A module MAY <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>

<figure><artwork><![CDATA[
        <sourcecode name="" type="yang" markers="false" pn="section-6.1-2">
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";
  // ...
}
]]></artwork></figure>

<t>The
</sourcecode>
        <t indent="0" pn="section-6.1-3">The module writer can use existing standard tags, tags or use new tags
	defined in the model definition, as appropriate. For IETF standardized modules
	modules, new tags MUST <bcp14>MUST</bcp14> be assigned in the IANA registry
	defined below, see <xref target="sec-ietf-yang-module-tags-registry"></xref>.</t> target="sec-ietf-yang-module-tags-registry" format="default" sectionFormat="of" derivedContent="Section 7.2"/>.</t>
      </section>
    </section>
    <section title="IANA Considerations"> numbered="true" toc="include" removeInRFC="false" pn="section-7">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <section title="YANG anchor="sec-yang-module-tag-prefixes-registry" numbered="true" toc="include" removeInRFC="false" pn="section-7.1">
        <name slugifiedName="name-yang-module-tag-prefixes-re">YANG Module Tag Prefixes Registry" anchor="sec-yang-module-tag-prefixes-registry">
<t>IANA is asked to create a new registry Registry</name>
        <t indent="0" pn="section-7.1-1">IANA has created the "YANG Module Tag Prefixes"
grouped under a new "Protocol" category named subregistry
	in the "YANG Module Tags".</t>

<t>This Tags" registry.</t>
        <t indent="0" pn="section-7.1-2">This registry allocates tag prefixes. All YANG module tags SHOULD
	<bcp14>SHOULD</bcp14> begin with one of the prefixes in this registry.</t>

<t>Prefix
        <t indent="0" pn="section-7.1-3">Prefix entries in this registry should be short strings consisting
	of lowercase ASCII alpha-numeric characters and a final ":" character.</t>

<t>The
        <t indent="0" pn="section-7.1-4">The allocation policy for this registry is Specification Required
	<xref target="RFC8126"/>. target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>. The Reference and Assignee
	values should be sufficient to identify and contact the organization
	that has been allocated the prefix.</t>

<t>The
        <t indent="0" pn="section-7.1-5">The initial values for this registry are as follows.</t>

<texttable>
<ttcol>Prefix</ttcol><ttcol>Description</ttcol><ttcol>Reference</ttcol><ttcol>Assignee</ttcol>
<c>ietf:</c><c>IETF Tags
        <table align="center" pn="table-1">
          <thead>
            <tr>
              <th align="left" colspan="1" rowspan="1">Prefix</th>
              <th align="left" colspan="1" rowspan="1">Description</th>
              <th align="left" colspan="1" rowspan="1">Reference</th>
              <th align="left" colspan="1" rowspan="1">Assignee</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:</td>
              <td align="left" colspan="1" rowspan="1">IETF tags allocated in the IANA IETF "IETF YANG
	      Module Tags registry.</c><c>[This document]</c><c>IETF</c>
<c>vendor:</c><c>Non-registered Tags" registry.</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
              <td align="left" colspan="1" rowspan="1">IETF</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">vendor:</td>
              <td align="left" colspan="1" rowspan="1">Non-registered tags allocated by the module implementer.</c><c>[This document]</c><c>IETF</c>
<c>user:</c><c>Non-registered
	      implementer.</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
              <td align="left" colspan="1" rowspan="1">IETF</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">user:</td>
              <td align="left" colspan="1" rowspan="1">Non-registered tags allocated by and for the user.</c><c>[This document]</c><c>IETF</c>
</texttable>

<t>Other
	      user.</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
              <td align="left" colspan="1" rowspan="1">IETF</td>
            </tr>
          </tbody>
        </table>
        <t indent="0" pn="section-7.1-7">Other standards development organizations (SDOs) wishing to
	allocate their own set of tags should allocate a prefix from this
	registry.</t>
      </section>
      <section title="IETF anchor="sec-ietf-yang-module-tags-registry" numbered="true" toc="include" removeInRFC="false" pn="section-7.2">
        <name slugifiedName="name-ietf-yang-module-tags-regis">IETF YANG Module Tags Registry" anchor="sec-ietf-yang-module-tags-registry">
<t>IANA is asked to create a new registry Registry</name>
        <t indent="0" pn="section-7.2-1">IANA has created the "IETF YANG Module Tags" grouped
under a new "Protocol" category "IETF YANG subregistry
	within the "YANG Module Tags". Tags" registry . This
	registry
should be included appears below the "YANG Module Tag Prefixes" when listed on
the same page.</t>

<t>This registry.</t>
        <t indent="0" pn="section-7.2-2">This registry allocates tags that have the registered prefix
	"ietf:". New values should be well considered and not achievable
	through a combination of already existing IETF tags. IANA assigned
	tags must conform to Net-Unicode as defined in <xref target="RFC5198"/> target="RFC5198" format="default" sectionFormat="of" derivedContent="RFC5198"/>, and they shall not need normalization.</t>

<t>The
        <t indent="0" pn="section-7.2-3">The allocation policy for this registry is IETF Review <xref target="RFC8126"/>.</t>

<t>The target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>.</t>
        <t indent="0" pn="section-7.2-4">The initial values for this registry are as follows.</t>

<texttable>
<ttcol>Tag</ttcol><ttcol>Description</ttcol><ttcol>Reference</ttcol>
<c>ietf:network-element-class</c><c><xref target="RFC8199"/> network element.</c><c><xref target="RFC8199"/></c>
<c>ietf:network-service-class</c><c><xref target="RFC8199"/> network service.</c><c><xref target="RFC8199"/></c>
<c>ietf:sdo-defined-class</c><c>Module
        <table align="center" pn="table-2">
          <thead>
            <tr>
              <th align="left" colspan="1" rowspan="1">Tag</th>
              <th align="left" colspan="1" rowspan="1">Description</th>
              <th align="left" colspan="1" rowspan="1">Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:network-element-class</td>
              <td align="left" colspan="1" rowspan="1">Network element as defined in
                <xref target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/>.</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:network-service-class</td>
              <td align="left" colspan="1" rowspan="1">Network service as defined in
                <xref target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/>.</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:sdo-defined-class</td>
              <td align="left" colspan="1" rowspan="1">Module is defined by a standards organization.</c><c><xref target="RFC8199"/></c>
<c>ietf:vendor-defined-class</c><c>Module organization.</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:vendor-defined-class</td>
              <td align="left" colspan="1" rowspan="1">Module is defined by a vendor.</c><c><xref target="RFC8199"/></c>
<c>ietf:user-defined-class</c><c>Module vendor.</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:user-defined-class</td>
              <td align="left" colspan="1" rowspan="1">Module is defined by the user.</c><c><xref target="RFC8199"/></c>
<c>ietf:hardware</c><c>Relates user.</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC8199" format="default" sectionFormat="of" derivedContent="RFC8199"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:hardware</td>
              <td align="left" colspan="1" rowspan="1">Relates to hardware (e.g., inventory).</c><c>[This document]</c>
<c>ietf:software</c><c>Relates inventory).</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:software</td>
              <td align="left" colspan="1" rowspan="1">Relates to software (e.g., installed OS).</c><c>[This document]</c>
<c>ietf:protocol</c><c>Represents OS).</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:protocol</td>
              <td align="left" colspan="1" rowspan="1">Represents a protocol (often combined with
	      another tag to refine).</c><c>[This document]</c>
<c>ietf:qos</c><c>Relates refine).</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:qos</td>
              <td align="left" colspan="1" rowspan="1">Relates to quality of service.</c><c>[This document]</c>
<c>ietf:network-service-app</c><c>Relates service.</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:network-service-app</td>
              <td align="left" colspan="1" rowspan="1">Relates to a network service application (e.g.,
	      an NTP server, DNS server, DHCP server, etc).</c><c>[This document]</c>
<c>ietf:system-management</c><c>Relates etc.).</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:system-management</td>
              <td align="left" colspan="1" rowspan="1">Relates to system management (e.g., a system
	      management protocol such as syslog, TACAC+, SNMP, netconf, ...).</c><c>[This document]</c>
<c>ietf:oam</c><c>Relates NETCONF, etc.).</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:oam</td>
              <td align="left" colspan="1" rowspan="1">Relates to Operations, Administration, and
	      Maintenance (e.g., BFD).</c><c>[This document]</c>
<c>ietf:routing</c><c>Relates to routing.</c><c>[This document]</c>
<c>ietf:security</c><c>Related to security.</c><c>[This document]</c>
<c>ietf:signaling</c><c>Relates to control plane signaling.</c><c>[This document]</c>
<c>ietf:link-management</c><c>Relates BFD).</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:routing</td>
              <td align="left" colspan="1" rowspan="1">Relates to routing.</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:security</td>
              <td align="left" colspan="1" rowspan="1">Related to security.</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:signaling</td>
              <td align="left" colspan="1" rowspan="1">Relates to control-plane signaling.</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">ietf:link-management</td>
              <td align="left" colspan="1" rowspan="1">Relates to link management.</c><c>[This document]</c>
</texttable> management.</td>
              <td align="left" colspan="1" rowspan="1">RFC 8819</td>
            </tr>
          </tbody>
        </table>
      </section>
      <section title="Updates numbered="true" toc="include" removeInRFC="false" pn="section-7.3">
        <name slugifiedName="name-updates-to-the-ietf-xml-reg">Updates to the IETF XML Registry">
<t>This Registry</name>
        <t indent="0" pn="section-7.3-1">This document registers a URI in the "IETF XML Registry" <xref target="RFC3688"/>. target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/>. Following the format in <xref target="RFC3688"/>, target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/>, the following registrations have
	been made:</t>

<t><list style="hanging">
<t hangText="URI:"><vspace/>urn:ietf:params:xml:ns:yang:ietf-module-tags</t>
<t hangText="Registrant Contact:"><vspace/>The IESG.</t>
<t hangText="XML:"><vspace/>N/A;
        <dl newline="false" spacing="compact" indent="3" pn="section-7.3-2">
          <dt pn="section-7.3-2.1">URI:</dt>
          <dd pn="section-7.3-2.2">urn:ietf:params:xml:ns:yang:ietf-module-tags</dd>
          <dt pn="section-7.3-2.3">Registrant Contact:</dt>
          <dd pn="section-7.3-2.4">The IESG.</dd>
          <dt pn="section-7.3-2.5">XML:</dt>
          <dd pn="section-7.3-2.6">N/A; the requested URI is an XML namespace.</t>

<t hangText="URI:"><vspace/>urn:ietf:params:xml:ns:yang:ietf-module-tags-state</t>
<t hangText="Registrant Contact:"><vspace/>The IESG.</t>
<t hangText="XML:"><vspace/>N/A; namespace.</dd>
        </dl>
        <dl newline="false" spacing="compact" indent="3" pn="section-7.3-3">
          <dt pn="section-7.3-3.1">URI:</dt>
          <dd pn="section-7.3-3.2">urn:ietf:params:xml:ns:yang:ietf-module-tags-state</dd>
          <dt pn="section-7.3-3.3">Registrant Contact:</dt>
          <dd pn="section-7.3-3.4">The IESG.</dd>
          <dt pn="section-7.3-3.5">XML:</dt>
          <dd pn="section-7.3-3.6">N/A; the requested URI is an XML namespace.</t>
</list></t> namespace.</dd>
        </dl>
      </section>
      <section title="Updates numbered="true" toc="include" removeInRFC="false" pn="section-7.4">
        <name slugifiedName="name-updates-to-the-yang-module-">Updates to the YANG Module Names Registry">
<t>This Registry</name>
        <t indent="0" pn="section-7.4-1">This document registers two YANG modules in the "YANG Module Names"
	registry <xref target="RFC6020"/>. target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/>. Following the
	format in <xref target="RFC6020"/>, target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/>, the following
registration
	registrations have been made:</t>

<t><list style="hanging">
<t hangText="name:"><vspace/>ietf-module-tags</t>
<t hangText="namespace:"><vspace/>urn:ietf:params:xml:ns:yang:ietf-module-tags</t>
<t hangText="prefix:"><vspace/>tags</t>
<t hangText="reference:"><vspace/>RFC XXXX (RFC Ed.: replace XXX with actual RFC number and remove this note.)</t>

<t hangText="name:"><vspace/>ietf-module-tags-state</t>
<t hangText="namespace:"><vspace/>urn:ietf:params:xml:ns:yang:ietf-module-tags-state</t>
<t hangText="prefix:"><vspace/>tags</t>
<t hangText="reference:"><vspace/>RFC XXXX (RFC Ed.: replace XXX with actual RFC number and remove this note.)</t>
</list></t>
        <dl newline="false" spacing="compact" indent="3" pn="section-7.4-2">
          <dt pn="section-7.4-2.1">name:</dt>
          <dd pn="section-7.4-2.2">ietf-module-tags</dd>
          <dt pn="section-7.4-2.3">namespace:</dt>
          <dd pn="section-7.4-2.4">urn:ietf:params:xml:ns:yang:ietf-module-tags</dd>
          <dt pn="section-7.4-2.5">prefix:</dt>
          <dd pn="section-7.4-2.6">tags</dd>
          <dt pn="section-7.4-2.7">reference:</dt>
          <dd pn="section-7.4-2.8">RFC 8819</dd>
        </dl>
        <dl newline="false" spacing="compact" indent="3" pn="section-7.4-3">
          <dt pn="section-7.4-3.1">name:</dt>
          <dd pn="section-7.4-3.2">ietf-module-tags-state</dd>
          <dt pn="section-7.4-3.3">namespace:</dt>
          <dd pn="section-7.4-3.4">urn:ietf:params:xml:ns:yang:ietf-module-tags-state</dd>
          <dt pn="section-7.4-3.5">prefix:</dt>
          <dd pn="section-7.4-3.6">tags-s</dd>
          <dt pn="section-7.4-3.7">reference:</dt>
          <dd pn="section-7.4-3.8">RFC 8819</dd>
        </dl>
      </section>
    </section>
    <section title="Security Considerations">
<t>The numbered="true" toc="include" removeInRFC="false" pn="section-8">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-8-1">The YANG module defined in this memo is designed to be accessed via
      the NETCONF protocol <xref target="RFC6241"/>. target="RFC6241" format="default" sectionFormat="of" derivedContent="RFC6241"/>. The
      lowest NETCONF layer is the secure transport layer and the
      mandatory-to-implement secure transport is SSH Secure Shell (SSH) <xref target="RFC6242"/>.</t>

<t>This target="RFC6242" format="default" sectionFormat="of" derivedContent="RFC6242"/>.</t>
      <t indent="0" pn="section-8-2">This document adds the ability to associate tag meta-data metadata with YANG
      modules. This document does not define any actions based on these
      associations, and none are yet defined, and therefore defined; therefore, it does not by
      itself introduce any new security considerations directly.</t>

<t>Users
      <t indent="0" pn="section-8-3">Users of the tag-meta data tag metadata may define various actions to be taken
      based on the tag meta-data. metadata. These actions and their definitions are
      outside the scope of this document. Users will need to consider the
      security implications of any actions they choose to define, including
      the potential for a tag to get 'masked' by another user.</t>
    </section>
  </middle>
  <back>
    <references title="Normative References"> pn="section-9">
      <name slugifiedName="name-references">References</name>
      <references pn="section-9.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference  anchor='RFC2119' target='https://www.rfc-editor.org/info/rfc2119'> 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 initials='S.' surname='Bradner' fullname='S. Bradner'><organization /></author> initials="S." surname="Bradner" fullname="S. Bradner">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='1997' month='March' />
<abstract><t>In year="1997" month="March"/>
            <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> improvements.</t>
            </abstract>
          </front>
          <seriesInfo name='BCP' value='14'/> name="BCP" value="14"/>
          <seriesInfo name='RFC' value='2119'/> name="RFC" value="2119"/>
          <seriesInfo name='DOI' value='10.17487/RFC2119'/> name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference  anchor='RFC7950' target='https://www.rfc-editor.org/info/rfc7950'> 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 initials='M.' surname='Bjorklund' fullname='M. Bjorklund' role='editor'><organization /></author> initials="M." surname="Bjorklund" fullname="M. Bjorklund" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2016' month='August' />
<abstract><t>YANG year="2016" month="August"/>
            <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> (NETCONF).</t>
            </abstract>
          </front>
          <seriesInfo name='RFC' value='7950'/> name="RFC" value="7950"/>
          <seriesInfo name='DOI' value='10.17487/RFC7950'/> name="DOI" value="10.17487/RFC7950"/>
        </reference>
        <reference  anchor='RFC8126' target='https://www.rfc-editor.org/info/rfc8126'> 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 initials='M.' surname='Cotton' fullname='M. Cotton'><organization /></author> initials="M." surname="Cotton" fullname="M. Cotton">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials='B.' surname='Leiba' fullname='B. Leiba'><organization /></author> initials="B." surname="Leiba" fullname="B. Leiba">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials='T.' surname='Narten' fullname='T. Narten'><organization /></author> initials="T." surname="Narten" fullname="T. Narten">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2017' month='June' />
<abstract><t>Many year="2017" month="June"/>
            <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>To (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>This registry.</t>
              <t indent="0">This is the third edition of this document; it obsoletes RFC 5226.</t></abstract> 5226.</t>
            </abstract>
          </front>
          <seriesInfo name='BCP' value='26'/> name="BCP" value="26"/>
          <seriesInfo name='RFC' value='8126'/> name="RFC" value="8126"/>
          <seriesInfo name='DOI' value='10.17487/RFC8126'/> name="DOI" value="10.17487/RFC8126"/>
        </reference>
        <reference  anchor='RFC8174' target='https://www.rfc-editor.org/info/rfc8174'> 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 initials='B.' surname='Leiba' fullname='B. Leiba'><organization /></author> initials="B." surname="Leiba" fullname="B. Leiba">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2017' month='May' />
<abstract><t>RFC year="2017" month="May"/>
            <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='RFC8342' target='https://www.rfc-editor.org/info/rfc8342'>
<front>
<title>Network Management Datastore Architecture (NMDA)</title>
<author initials='M.' surname='Bjorklund' fullname='M. Bjorklund'><organization /></author>
<author initials='J.' surname='Schoenwaelder' fullname='J. Schoenwaelder'><organization /></author>
<author initials='P.' surname='Shafer' fullname='P. Shafer'><organization /></author>
<author initials='K.' surname='Watsen' fullname='K. Watsen'><organization /></author>
<author initials='R.' surname='Wilton' fullname='R. Wilton'><organization /></author>
<date year='2018' month='March' />
<abstract><t>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 key words that may be used in the initial model. protocol  specifications.  This document updates RFC 7950.</t></abstract> 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='RFC' value='8342'/> name="BCP" value="14"/>
          <seriesInfo name='DOI' value='10.17487/RFC8342'/> name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference  anchor='RFC8199' target='https://www.rfc-editor.org/info/rfc8199'> anchor="RFC8199" target="https://www.rfc-editor.org/info/rfc8199" quoteTitle="true" derivedAnchor="RFC8199">
          <front>
            <title>YANG Module Classification</title>
            <author initials='D.' surname='Bogdanovic' fullname='D. Bogdanovic'><organization /></author> initials="D." surname="Bogdanovic" fullname="D. Bogdanovic">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials='B.' surname='Claise' fullname='B. Claise'><organization /></author> initials="B." surname="Claise" fullname="B. Claise">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials='C.' surname='Moberg' fullname='C. Moberg'><organization /></author> initials="C." surname="Moberg" fullname="C. Moberg">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2017' month='July' />
<abstract><t>The year="2017" month="July"/>
            <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>A 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>This groups.</t>
              <t indent="0">This document describes a set of concepts and associated terms to support consistent classification of YANG modules.</t></abstract> modules.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8199"/>
          <seriesInfo name="DOI" value="10.17487/RFC8199"/>
        </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 initials="M." surname="Bjorklund" fullname="M. Bjorklund">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Schoenwaelder" fullname="J. Schoenwaelder">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="P." surname="Shafer" fullname="P. Shafer">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="K." surname="Watsen" fullname="K. Watsen">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="R." surname="Wilton" fullname="R. Wilton">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2018" month="March"/>
            <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='8199'/> name="RFC" value="8342"/>
          <seriesInfo name='DOI' value='10.17487/RFC8199'/> name="DOI" value="10.17487/RFC8342"/>
        </reference>
        <reference  anchor='RFC8407' target='https://www.rfc-editor.org/info/rfc8407'> 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 initials='A.' surname='Bierman' fullname='A. Bierman'><organization /></author> initials="A." surname="Bierman" fullname="A. Bierman">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2018' month='October' />
<abstract><t>This year="2018" month="October"/>
            <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> 6087.</t>
            </abstract>
          </front>
          <seriesInfo name='BCP' value='216'/> name="BCP" value="216"/>
          <seriesInfo name='RFC' value='8407'/> name="RFC" value="8407"/>
          <seriesInfo name='DOI' value='10.17487/RFC8407'/> name="DOI" value="10.17487/RFC8407"/>
        </reference>
      </references>
      <references title="Informative References"> pn="section-9.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference  anchor='RFC3688' target='https://www.rfc-editor.org/info/rfc3688'> anchor="RFC3688" target="https://www.rfc-editor.org/info/rfc3688" quoteTitle="true" derivedAnchor="RFC3688">
          <front>
            <title>The IETF XML Registry</title>
            <author initials='M.' surname='Mealling' fullname='M. Mealling'><organization /></author> initials="M." surname="Mealling" fullname="M. Mealling">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2004' month='January' />
<abstract><t>This year="2004" month="January"/>
            <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> Schemas.</t>
            </abstract>
          </front>
          <seriesInfo name='BCP' value='81'/> name="BCP" value="81"/>
          <seriesInfo name='RFC' value='3688'/> name="RFC" value="3688"/>
          <seriesInfo name='DOI' value='10.17487/RFC3688'/> name="DOI" value="10.17487/RFC3688"/>
        </reference>
        <reference  anchor='RFC5198' target='https://www.rfc-editor.org/info/rfc5198'> anchor="RFC5198" target="https://www.rfc-editor.org/info/rfc5198" quoteTitle="true" derivedAnchor="RFC5198">
          <front>
            <title>Unicode Format for Network Interchange</title>
            <author initials='J.' surname='Klensin' fullname='J. Klensin'><organization /></author> initials="J." surname="Klensin" fullname="J. Klensin">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials='M.' surname='Padlipsky' fullname='M. Padlipsky'><organization /></author> initials="M." surname="Padlipsky" fullname="M. Padlipsky">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2008' month='March' />
<abstract><t>The year="2008" month="March"/>
            <abstract>
              <t indent="0">The Internet today is in need of a standardized form for the transmission of internationalized &quot;text&quot; "text" information, paralleling the specifications for the use of ASCII that date from the early days of the ARPANET.  This document specifies that format, using UTF-8 with normalization and specific line-ending sequences.  [STANDARDS-TRACK]</t></abstract>  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name='RFC' value='5198'/> name="RFC" value="5198"/>
          <seriesInfo name='DOI' value='10.17487/RFC5198'/> name="DOI" value="10.17487/RFC5198"/>
        </reference>
        <reference  anchor='RFC6020' target='https://www.rfc-editor.org/info/rfc6020'> 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 initials='M.' surname='Bjorklund' fullname='M. Bjorklund' role='editor'><organization /></author> initials="M." surname="Bjorklund" fullname="M. Bjorklund" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2010' month='October' />
<abstract><t>YANG year="2010" month="October"/>
            <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> [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name='RFC' value='6020'/> name="RFC" value="6020"/>
          <seriesInfo name='DOI' value='10.17487/RFC6020'/> name="DOI" value="10.17487/RFC6020"/>
        </reference>
        <reference  anchor='RFC6241' target='https://www.rfc-editor.org/info/rfc6241'> anchor="RFC6241" target="https://www.rfc-editor.org/info/rfc6241" quoteTitle="true" derivedAnchor="RFC6241">
          <front>
            <title>Network Configuration Protocol (NETCONF)</title>
            <author initials='R.' surname='Enns' fullname='R. Enns' role='editor'><organization /></author> initials="R." surname="Enns" fullname="R. Enns" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials='M.' surname='Bjorklund' fullname='M. Bjorklund' role='editor'><organization /></author> initials="M." surname="Bjorklund" fullname="M. Bjorklund" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials='J.' surname='Schoenwaelder' fullname='J. Schoenwaelder' role='editor'><organization /></author> initials="J." surname="Schoenwaelder" fullname="J. Schoenwaelder" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials='A.' surname='Bierman' fullname='A. Bierman' role='editor'><organization /></author> initials="A." surname="Bierman" fullname="A. Bierman" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2011' month='June' />
<abstract><t>The year="2011" month="June"/>
            <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>  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name='RFC' value='6241'/> name="RFC" value="6241"/>
          <seriesInfo name='DOI' value='10.17487/RFC6241'/> name="DOI" value="10.17487/RFC6241"/>
        </reference>
        <reference  anchor='RFC6242' target='https://www.rfc-editor.org/info/rfc6242'> anchor="RFC6242" target="https://www.rfc-editor.org/info/rfc6242" quoteTitle="true" derivedAnchor="RFC6242">
          <front>
            <title>Using the NETCONF Protocol over Secure Shell (SSH)</title>
            <author initials='M.' surname='Wasserman' fullname='M. Wasserman'><organization /></author> initials="M." surname="Wasserman" fullname="M. Wasserman">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2011' month='June' />
<abstract><t>This year="2011" month="June"/>
            <abstract>
              <t indent="0">This document describes a method for invoking and running the Network Configuration Protocol (NETCONF) within a Secure Shell (SSH) session as an SSH subsystem.  This document obsoletes RFC 4742.  [STANDARDS-TRACK]</t></abstract>  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name='RFC' value='6242'/> name="RFC" value="6242"/>
          <seriesInfo name='DOI' value='10.17487/RFC6242'/> name="DOI" value="10.17487/RFC6242"/>
        </reference>
        <reference  anchor='RFC8340' target='https://www.rfc-editor.org/info/rfc8340'> anchor="RFC8340" target="https://www.rfc-editor.org/info/rfc8340" quoteTitle="true" derivedAnchor="RFC8340">
          <front>
            <title>YANG Tree Diagrams</title>
            <author initials='M.' surname='Bjorklund' fullname='M. Bjorklund'><organization /></author> initials="M." surname="Bjorklund" fullname="M. Bjorklund">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials='L.' surname='Berger' fullname='L. Berger' role='editor'><organization /></author> initials="L." surname="Berger" fullname="L. Berger" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year='2018' month='March' />
<abstract><t>This year="2018" month="March"/>
            <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> language.</t>
            </abstract>
          </front>
          <seriesInfo name='BCP' value='215'/> name="BCP" value="215"/>
          <seriesInfo name='RFC' value='8340'/> name="RFC" value="8340"/>
          <seriesInfo name='DOI' value='10.17487/RFC8340'/> name="DOI" value="10.17487/RFC8340"/>
        </reference>
      </references>
    </references>
    <section title="Examples">
<t>The numbered="true" toc="include" removeInRFC="false" pn="section-appendix.a">
      <name slugifiedName="name-examples">Examples</name>
      <t indent="0" pn="section-appendix.a-1">The following is a fictional NETCONF example result from a query of
      the module tags list. For the sake of brevity brevity, only a few module results
      are imagined.</t> shown.</t>
      <figure title="Example anchor="sec-example-netconf-query-output" align="left" suppress-title="false" pn="figure-3">
        <name slugifiedName="name-example-netconf-query-outpu">Example NETCONF Query Output" anchor="sec-example-netconf-query-output"><artwork><![CDATA[
<ns0:data xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0">
  <t:module-tags xmlns:t="urn:ietf:params:xml:ns:yang:ietf-module-tags">
    <t:module>
      <t:name>ietf-bfd</t:name>
      <t:tag>ietf:network-element-class</t:tag>
      <t:tag>ietf:oam</t:tag>
      <t:tag>ietf:protocol</t:tag>
      <t:tag>ietf:sdo-defined-class</t:tag>
    </t:module>
    <t:module>
      <t:name>ietf-isis</t:name>
      <t:tag>ietf:network-element-class</t:tag>
      <t:tag>ietf:protocol</t:tag>
      <t:tag>ietf:sdo-defined-class</t:tag>
      <t:tag>ietf:routing</t:tag>
    </t:module>
    <t:module>
      <t:name>ietf-ssh-server</t:name>
      <t:tag>ietf:network-element-class</t:tag>
      <t:tag>ietf:protocol</t:tag>
      <t:tag>ietf:sdo-defined-class</t:tag>
      <t:tag>ietf:system-management</t:tag>
    </t:module>
  </t:module-tags>
</ns0:data>
]]></artwork></figure>

</section>

<section title="Acknowledgements">
<t>Special thanks to Robert Wilton for his help improving the
introduction and providing the example use cases, as well as
generating the non-NMDA module.</t> Output</name>
        <sourcecode type="xml" markers="false" pn="section-appendix.a-2.1">
&lt;ns0:data xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0"&gt;
  &lt;t:module-tags
   xmlns:t="urn:ietf:params:xml:ns:yang:ietf-module-tags"&gt;
    &lt;t:module&gt;
      &lt;t:name&gt;ietf-bfd&lt;/t:name&gt;
      &lt;t:tag&gt;ietf:network-element-class&lt;/t:tag&gt;
      &lt;t:tag&gt;ietf:oam&lt;/t:tag&gt;
      &lt;t:tag&gt;ietf:protocol&lt;/t:tag&gt;
      &lt;t:tag&gt;ietf:sdo-defined-class&lt;/t:tag&gt;
    &lt;/t:module&gt;
    &lt;t:module&gt;
      &lt;t:name&gt;ietf-isis&lt;/t:name&gt;
      &lt;t:tag&gt;ietf:network-element-class&lt;/t:tag&gt;
      &lt;t:tag&gt;ietf:protocol&lt;/t:tag&gt;
      &lt;t:tag&gt;ietf:sdo-defined-class&lt;/t:tag&gt;
      &lt;t:tag&gt;ietf:routing&lt;/t:tag&gt;
    &lt;/t:module&gt;
    &lt;t:module&gt;
      &lt;t:name&gt;ietf-ssh-server&lt;/t:name&gt;
      &lt;t:tag&gt;ietf:network-element-class&lt;/t:tag&gt;
      &lt;t:tag&gt;ietf:protocol&lt;/t:tag&gt;
      &lt;t:tag&gt;ietf:sdo-defined-class&lt;/t:tag&gt;
      &lt;t:tag&gt;ietf:system-management&lt;/t:tag&gt;
    &lt;/t:module&gt;
  &lt;/t:module-tags&gt;
&lt;/ns0:data&gt;
</sourcecode>
      </figure>
    </section>
    <section title="Non-NMDA numbered="true" toc="include" removeInRFC="false" pn="section-appendix.b">
      <name slugifiedName="name-non-nmda-state-module">Non-NMDA State Module.">
<t>As Module</name>
      <t indent="0" pn="section-appendix.b-1">As per <xref target="RFC8407"/> target="RFC8407" format="default" sectionFormat="of" derivedContent="RFC8407"/>, the following is a
      non-NMDA module to support viewing the operational state for non-NMDA
      compliant servers.</t>
      <figure title="Non-NMDA anchor="sec-non-nmda-module-tags-state-module" align="left" suppress-title="false" pn="figure-4">
        <name slugifiedName="name-non-nmda-module-tags-state-">Non-NMDA Module Tags State Module" anchor="sec-non-nmda-module-tags-state-module"><artwork><![CDATA[
<CODE BEGINS> file "ietf-module-tags-state@2020-02-29.yang" Module</name>
        <sourcecode name="ietf-module-tags-state@2020-12-22.yang" type="yang" markers="true" pn="section-appendix.b-2.1">
module ietf-module-tags-state {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-module-tags-state";
  prefix tags-s;

  import ietf-yang-types {
    prefix yang;
  }
  import ietf-module-tags {
    prefix tags;
  }

  organization
    "IETF NetMod Working Group (NetMod)";
  contact
    "WG Web:  <https://tools.ietf.org/wg/netmod/>  &lt;https://datatracker.ietf.org/wg/netmod/&gt;
     WG List: <mailto:netmod@ietf.org> &lt;mailto:netmod@ietf.org&gt;

     Author: Christian Hopps
	     <mailto:chopps@chopps.org>
             &lt;mailto:chopps@chopps.org&gt;

     Author: Lou Berger
	     <mailto:lberger@labn.net>
             &lt;mailto:lberger@labn.net&gt;

     Author: Dean Bogdanovic
	     <ivandean@gmail.com>";

  // RFC Ed.: replace XXXX with actual RFC number and
  // remove this note.
             &lt;mailto:ivandean@gmail.com&gt;";

  description
    "This module describes a mechanism associating tags with YANG
     modules.  Tags may be IANA assigned or privately defined.

     This is a temporary non-NMDA module that is for use by
     implementations that don't yet support NMDA.

     Copyright (c) 2019 2020 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 Simplified 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).

     This version of this YANG module is part of RFC XXXX
     (https://www.rfc-editor.org/info/rfcXXXX); 8819
     (https://www.rfc-editor.org/info/rfc8819); see the RFC itself
     for full legal notices.

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
     NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
     'MAY', and 'OPTIONAL' in this document are to be interpreted as
     described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
     they appear in all capitals, as shown here.";

  // RFC Ed.: update the date below with the date of RFC publication
  // and RFC number and remove this note. notices.";

  revision 2020-02-29 2020-12-22 {
    description
      "Initial revision.";
    reference
      "RFC XXXX: 8819: YANG Module Tags";
  }

  container module-tags-state {
    config false;
    status deprecated;
    description
      "Contains the list of modules and their associated tags"; tags.";
    list module {
      key "name";
      status deprecated;
      description
        "A list of modules and their associated tags"; tags.";
      leaf name {
        type yang:yang-identifier;
        mandatory true;
        status deprecated;
        description
          "The YANG module name.";
      }
      leaf-list tag {
        type tags:tag;
        status deprecated;
        description
          "Tags associated with the module.  See the IANA 'YANG
           Module Tag Prefixes' registry for reserved prefixes and
           the IANA 'IETF YANG Module Tags' registry for IETF tags.

           The contents of this list is constructed using the
           following steps:

           1) System tags (i.e., tags of added by the system) are
           added.
           2) User configured User-configured tags (i.e., tags added by
           configuration) are added.
           3) Any tag that is equal to a masked-tag present in the
           corresponding ietf-module-tags:module-tags:module-tag leaf
           list for this module is removed.";
      }
    }
  }
}
<CODE ENDS>
]]></artwork></figure>
</sourcecode>
      </figure>
    </section>
    <section numbered="false" toc="include" removeInRFC="false" pn="section-appendix.c">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.c-1">Special thanks to <contact fullname="Robert Wilton"/> for his help
      improving the introduction and providing the example use cases, as well
      as generating the non-NMDA module.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.d">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author initials="C." surname="Hopps" fullname="Christian Hopps">
        <organization showOnFrontPage="true">LabN Consulting, L.L.C.</organization>
        <address>
          <email>chopps@chopps.org</email>
        </address>
      </author>
      <author initials="L." surname="Berger" fullname="Lou Berger">
        <organization showOnFrontPage="true">LabN Consulting, L.L.C.</organization>
        <address>
          <email>lberger@labn.net</email>
        </address>
      </author>
      <author initials="D." surname="Bogdanovic" fullname="Dean Bogdanovic">
        <organization showOnFrontPage="true">Volta Networks</organization>
        <address>
          <email>ivandean@gmail.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>