<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true" docName="draft-ietf-netmod-factory-default-15" indexInclude="true" ipr="trust200902" number="8808" prepTime="2020-08-31T14:59:13" scripts="Common,Latin" sortRefs="true" submissionType="IETF" symRefs="true" tocDepth="3" tocInclude="true" xml:lang="en">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-netmod-factory-default-15" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc8808" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="Factory Default Settings">A YANG Data Model for Factory Default Settings</title>
    <seriesInfo name="RFC" value="8808" stream="IETF"/>
    <author fullname="Qin Wu" initials="Q." surname="Wu">
      <organization showOnFrontPage="true">Huawei</organization>
      <address>
        <postal>
          <street>101 Software Avenue</street>
          <extaddr>Yuhua District</extaddr>
          <city>Nanjing</city>
          <region>Jiangsu</region>
          <code>210012</code>
          <country>China</country>
        </postal>
        <email>bill.wu@huawei.com</email>
      </address>
    </author>
    <author fullname="Balazs Lengyel" initials="B." surname="Lengyel">
      <organization abbrev="Ericsson Hungary" showOnFrontPage="true">Ericsson Hungary</organization>
      <address>
        <postal>
          <street>Magyar Tudosok korutja 11</street>
          <city>Budapest</city>
          <code>1117</code>
          <country>Hungary</country>
        </postal>
        <phone>+36-70-330-7909</phone>
        <email>balazs.lengyel@ericsson.com</email>
      </address>
    </author>
    <author fullname="Ye Niu" initials="Y." surname="Niu">
      <organization showOnFrontPage="true">Huawei</organization>
      <address>
        <email>niuye@huawei.com</email>
      </address>
    </author>
    <date month="08" year="2020"/>
    <abstract pn="section-abstract">
      <t pn="section-abstract-1">This document defines a YANG data model with the "factory-reset" RPC
      to allow clients to reset a server back to its factory default
      condition. It also defines an optional "factory-default" datastore to
      allow clients to read the factory default configuration for the
      device.</t>
      <t pn="section-abstract-2">The YANG data model in this document conforms to the Network
      Management Datastore Architecture (NMDA) defined in RFC 8342.</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 pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t 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 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/rfc8808" 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 pn="section-boilerplate.2-1">
            Copyright (c) 2020 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t 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 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 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-terminology">Terminology</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.2">
            <t keepWithNext="true" 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-factory-reset-rpc">"Factory-Reset" RPC</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t 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-factory-default-datastore">"Factory-Default" Datastore</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t 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-module">YANG Module</xref></t>
          </li>
          <li pn="section-toc.1-1.5">
            <t 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>
          </li>
          <li pn="section-toc.1-1.6">
            <t 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-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t 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-references">References</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 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-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.2">
                <t 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-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.8">
            <t pn="section-toc.1-1.8.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.a"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.9">
            <t pn="section-toc.1-1.9.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-contributors">Contributors</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t pn="section-toc.1-1.10.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="intro" numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t pn="section-1-1">This document defines a YANG data model and associated mechanism to
      reset a server to its factory default contents. This mechanism may be
      used, for example, when the existing configuration has major errors and so
      restarting the configuration process from scratch is the best
      option.</t>
      <t pn="section-1-2">A "factory-reset" remote procedure call (RPC) is defined within the YANG data model. When
      resetting a device, all previous configuration settings will be lost and
      replaced by the factory default contents.</t>
      <t pn="section-1-3">In addition, an optional "factory-default" read-only datastore is
      defined within the YANG data model. This datastore contains the data to replace
      the contents of implemented read-write conventional configuration
      datastores at reset and can also be used in the
      &lt;get‑data&gt; operation.</t>
      <t pn="section-1-4">The YANG data model in this document conforms to the Network
      Management Datastore Architecture defined in <xref target="RFC8342" format="default" sectionFormat="of" derivedContent="RFC8342"/>.</t>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-1.1">
        <name slugifiedName="name-terminology">Terminology</name>
        <t pn="section-1.1-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>
        <t pn="section-1.1-2">The following terms are defined in <xref target="RFC8342" format="default" sectionFormat="of" derivedContent="RFC8342"/> and <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/> and are not
        redefined here:</t>
        <ul spacing="normal" bare="false" empty="false" pn="section-1.1-3">
          <li pn="section-1.1-3.1">server</li>
          <li pn="section-1.1-3.2">startup configuration datastore</li>
          <li pn="section-1.1-3.3">candidate configuration datastore</li>
          <li pn="section-1.1-3.4">running configuration datastore</li>
          <li pn="section-1.1-3.5">intended configuration datastore</li>
          <li pn="section-1.1-3.6">operational state datastore</li>
          <li pn="section-1.1-3.7">conventional configuration datastore</li>
          <li pn="section-1.1-3.8">datastore schema</li>
          <li pn="section-1.1-3.9">RPC operation</li>
        </ul>
        <t pn="section-1.1-4">This document defines the following term:</t>
        <dl newline="false" spacing="normal" pn="section-1.1-5">
          <dt pn="section-1.1-5.1">"factory-default" datastore: </dt>
          <dd pn="section-1.1-5.2">A read-only configuration datastore
            holding a preset initial configuration that is used to initialize
            the configuration of a server. This datastore is referred to as
            "&lt;factory-default&gt;".</dd>
        </dl>
      </section>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-factory-reset-rpc">"Factory-Reset" RPC</name>
      <t pn="section-2-1">This document introduces a new "factory-reset" RPC. Upon
      receiving the RPC: </t>
      <ul spacing="normal" bare="false" empty="false" pn="section-2-2">
        <li pn="section-2-2.1">All supported conventional read-write configuration datastores
          (i.e., &lt;running&gt;, &lt;startup&gt;, and &lt;candidate&gt;) are
          reset to the contents of &lt;factory-default&gt;.</li>
        <li pn="section-2-2.2">Read-only datastores receive their contents from other datastores
          (e.g., &lt;intended&gt; gets its contents from &lt;running&gt;).</li>
        <li pn="section-2-2.3">All data in any dynamic configuration datastores <bcp14>MUST</bcp14> be
          discarded.</li>
        <li pn="section-2-2.4">The contents of the &lt;operational&gt; datastore <bcp14>MUST</bcp14> reflect
          the operational state of the device after applying the factory
          default configuration.</li>
      </ul>
      <t pn="section-2-3">In addition, the "factory-reset" RPC <bcp14>MUST</bcp14> restore nonvolatile
      storage to factory condition. Depending on the system, this may entail
      deleting dynamically generated files, such as those containing keys
      (e.g., /etc/ssl/private), certificates (e.g., /etc/ssl), logs (e.g.,
      /var/log), and temporary files (e.g., /tmp/*). Any other cryptographic
      keys that are part of the factory-installed image will be retained (such
      as an Initial Device Identifier (IDevID) certificate <xref target="I-D.ietf-anima-bootstrapping-keyinfra" format="default" sectionFormat="of" derivedContent="BRSKI"/>). When
      this process includes security-sensitive data such as cryptographic keys
      or passwords, it is <bcp14>RECOMMENDED</bcp14> to perform the deletion
      in as thorough a manner as possible (e.g., overwriting the physical storage medium with
      zeros and/or random bits for repurposing or end-of-life (EOL) disposal) to
      reduce the risk of the sensitive material being recoverable. The
      "factory-reset" RPC <bcp14>MAY</bcp14> also be used to trigger some other resetting
      tasks such as restarting the node or some of the software processes.</t>
      <t pn="section-2-4">Note that operators should be aware that since all read-write
      datastores are immediately reset to factory default, the device may
      become unreachable as a host on the network. It is important to
      understand how a given vendor's device will behave after the RPC is
      executed. Implementors <bcp14>SHOULD</bcp14> reboot the device and get it properly
      configured or otherwise restart processes needed to bootstrap it.</t>
    </section>
    <section anchor="datastore" numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-factory-default-datastore">"Factory-Default" Datastore</name>
      <t pn="section-3-1">Following the guidelines for defining datastores in
<xref target="RFC8342" format="default" section="A" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8342#appendix-A" derivedContent="RFC8342"/>, this document introduces a new optional datastore resource
      named "factory-default" that represents a preset initial configuration
      that can be used to initialize the configuration of a server. A device
      <bcp14>MAY</bcp14> implement the "factory-reset" RPC without implementing the
      "factory-default" datastore, which would only eliminate the ability to
      programmatically determine the factory default configuration. </t>
      <dl newline="false" spacing="normal" pn="section-3-2">
        <dt pn="section-3-2.1">Name:</dt>
        <dd pn="section-3-2.2">"factory-default".</dd>
        <dt pn="section-3-2.3">YANG modules:</dt>
        <dd pn="section-3-2.4">The "factory-default" datastore schema
	<bcp14>MUST</bcp14> be either
          (1) the same as the conventional configuration datastores or
          (2) a subset of the datastore schema for the conventional configuration datastores.</dd>
        <dt pn="section-3-2.5">YANG nodes:</dt>
        <dd pn="section-3-2.6">All "config true" data nodes.</dd>
        <dt pn="section-3-2.7">Management operations:</dt>
        <dd pn="section-3-2.8">The contents of the datastore is set by the
          server in an implementation-dependent manner. The contents cannot be
          changed by management operations via the Network Configuration
	  Protocol (NETCONF), RESTCONF, the CLI,
          etc., unless specialized, dedicated operations are provided. The datastore
          can be read using the standard NETCONF/RESTCONF protocol operations.
          The "factory-reset" operation copies the factory default contents to
          &lt;running&gt; and, if present, &lt;startup&gt; and/or
          &lt;candidate&gt;. The contents of these datastores is then
          propagated automatically to any other read-only datastores, e.g.,
          &lt;intended&gt; and &lt;operational&gt;.</dd>
        <dt pn="section-3-2.9">Origin:</dt>
        <dd pn="section-3-2.10">This document does not define a new origin
	identity, as it does not interact with the &lt;operational&gt; datastore.</dd>
        <dt pn="section-3-2.11">Protocols:</dt>
        <dd pn="section-3-2.12">RESTCONF, NETCONF, and other management protocols.</dd>
        <dt pn="section-3-2.13">Defining YANG module:</dt>
        <dd pn="section-3-2.14">"ietf-factory-default".</dd>
      </dl>
      <t pn="section-3-3">The contents of &lt;factory-default&gt; are defined by the
      device vendor and <bcp14>MUST</bcp14> persist across device restarts. If supported, the
      "factory-default" datastore <bcp14>MUST</bcp14> be included in the list of
      datastores in the 
      YANG library <xref target="RFC8525" format="default" sectionFormat="of" derivedContent="RFC8525"/>.</t>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-yang-module">YANG Module</name>
      <t pn="section-4-1">This module uses the "datastore" identity <xref target="RFC8342" format="default" sectionFormat="of" derivedContent="RFC8342"/> and the
      "default‑deny-all" extension statement from <xref target="RFC8341" format="default" sectionFormat="of" derivedContent="RFC8341"/>.</t>
      <sourcecode name="ietf-factory-default@2020-08-31.yang" type="yang" markers="true" pn="section-4-2">
   module ietf-factory-default {
     yang-version 1.1;
     namespace "urn:ietf:params:xml:ns:yang:ietf-factory-default";
     prefix fd;

     import ietf-datastores {
       prefix ds;
       reference
         "RFC 8342: Network Management Datastore Architecture
          (NMDA)";
     }
     import ietf-netconf-acm {
       prefix nacm;
       reference
         "RFC 8341: Network Configuration Access Control Model";
     }

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

        Editor:   Qin Wu
                  &lt;mailto:bill.wu@huawei.com&gt;

        Editor:   Balazs Lengyel
                  &lt;mailto:balazs.lengyel@ericsson.com&gt;

        Editor:   Ye Niu
                  &lt;mailto:niuye@huawei.com&gt;";
     description
       "This module provides functionality to reset a server to its
        factory default configuration and, when supported, to
        discover the factory default configuration contents
        independently of resetting the server.

        Copyright (c) 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 8808; see the
        RFC itself for full legal notices.";

     revision 2020-08-31 {
       description
         "Initial revision.";
       reference
         "RFC 8808: A YANG Data Model for Factory Default Settings";
     }

     feature factory-default-datastore {
       description
         "Indicates that the factory default configuration is
          available as a datastore.";
     }

     rpc factory-reset {
       nacm:default-deny-all;
       description
         "The server resets all datastores to their factory
          default contents and any nonvolatile storage back to
          factory condition, deleting all dynamically
          generated files, including those containing keys,
          certificates, logs, and other temporary files.

          Depending on the factory default configuration, after
          being reset, the device may become unreachable on the
          network.";
     }

     identity factory-default {
       if-feature "factory-default-datastore";
       base ds:datastore;
       description
         "This read-only datastore contains the factory default
          configuration for the device that will be used to replace
          the contents of the read-write conventional configuration
          datastores during a 'factory-reset' RPC operation.";
     }
   }</sourcecode>
    </section>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t pn="section-5-1"> IANA has registered the following URI in the "ns" subregistry within
      the "IETF XML Registry" <xref target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/>:</t>
      <dl newline="false" spacing="compact" pn="section-5-2">
        <dt pn="section-5-2.1">URI:</dt>
        <dd pn="section-5-2.2">urn:ietf:params:xml:ns:yang:ietf-factory-default </dd>
        <dt pn="section-5-2.3">Registrant Contact:</dt>
        <dd pn="section-5-2.4">The IESG.</dd>
        <dt pn="section-5-2.5">XML:</dt>
        <dd pn="section-5-2.6">N/A; the requested URI is an XML namespace.</dd>
      </dl>
      <t pn="section-5-3">IANA has registered the following YANG module in the "YANG Module
   Names" subregistry <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/> within the
      "YANG Parameters" registry:</t>
      <dl newline="false" spacing="compact" pn="section-5-4">
        <dt pn="section-5-4.1">Name:</dt>
        <dd pn="section-5-4.2">ietf-factory-default</dd>
        <dt pn="section-5-4.3">Namespace:</dt>
        <dd pn="section-5-4.4">urn:ietf:params:xml:ns:yang:ietf-factory-default</dd>
        <dt pn="section-5-4.5">Prefix:</dt>
        <dd pn="section-5-4.6">fd</dd>
        <dt pn="section-5-4.7">Reference:</dt>
        <dd pn="section-5-4.8">8808</dd>
      </dl>
    </section>
    <section anchor="security" numbered="true" toc="include" removeInRFC="false" pn="section-6">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t pn="section-6-1">The YANG module specified in this document defines a schema for data
that is designed to be accessed via network management protocols such
as NETCONF <xref target="RFC6241" format="default" sectionFormat="of" derivedContent="RFC6241"/> or RESTCONF <xref target="RFC8040" format="default" sectionFormat="of" derivedContent="RFC8040"/>.
The lowest NETCONF layer is the secure transport layer, and the
mandatory-to-implement secure transport is Secure Shell (SSH)
<xref target="RFC6242" format="default" sectionFormat="of" derivedContent="RFC6242"/>. The lowest RESTCONF layer is HTTPS, and the
mandatory-to-implement secure transport is TLS <xref target="RFC8446" format="default" sectionFormat="of" derivedContent="RFC8446"/>.</t>
      <t pn="section-6-2">
The Network Configuration Access Control Model (NACM) <xref target="RFC8341" format="default" sectionFormat="of" derivedContent="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. 
</t>
      <t pn="section-6-3">Access to the "factory-reset" RPC operation and factory default
      values of all configuration data nodes within the "factory-default"
      datastore is considered sensitive and therefore has been restricted by
      using the "default-deny-all" access control statement defined in <xref target="RFC8341" format="default" sectionFormat="of" derivedContent="RFC8341"/>.</t>
      <t pn="section-6-4">The "factory-reset" RPC can prevent any further management of the
      device when the server is reset back to its factory default
      condition, e.g., the session and client configurations are included in the
      factory default contents or treated as dynamic files in nonvolatile
      storage and overwritten by the "factory-reset" RPC.</t>
      <t pn="section-6-5">The operational disruption caused by setting the configuration to factory
      default contents or the lack of appropriate security control on the factory
      default configuration varies greatly, depending on the implementation and
      current configuration.</t>
      <t pn="section-6-6">The nonvolatile storage is expected to be wiped clean and reset back
      to the factory default state, but there is no guarantee that the data is
      wiped clean according to any particular data-cleansing standard, and the owner
      of the device <bcp14>MUST NOT</bcp14> rely on any sensitive data (e.g., private keys)
      being forensically unrecoverable from the device's nonvolatile storage
      after a "factory-reset" RPC has been invoked.</t>
    </section>
  </middle>
  <back>
    <displayreference target="I-D.ietf-anima-bootstrapping-keyinfra" to="BRSKI"/>
    <references pn="section-7">
      <name slugifiedName="name-references">References</name>
      <references pn="section-7.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 initials="S." surname="Bradner" fullname="S. Bradner">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="1997" month="March"/>
            <abstract>
              <t>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 initials="M." surname="Mealling" fullname="M. Mealling">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2004" month="January"/>
            <abstract>
              <t>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="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 showOnFrontPage="true"/>
            </author>
            <date year="2010" month="October"/>
            <abstract>
              <t>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 initials="R." surname="Enns" fullname="R. Enns" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <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 showOnFrontPage="true"/>
            </author>
            <author initials="A." surname="Bierman" fullname="A. Bierman" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2011" month="June"/>
            <abstract>
              <t>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="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 showOnFrontPage="true"/>
            </author>
            <date year="2011" month="June"/>
            <abstract>
              <t>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>
          </front>
          <seriesInfo name="RFC" value="6242"/>
          <seriesInfo name="DOI" value="10.17487/RFC6242"/>
        </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 initials="M." surname="Bjorklund" fullname="M. Bjorklund" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2016" month="August"/>
            <abstract>
              <t>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="RFC8040" target="https://www.rfc-editor.org/info/rfc8040" quoteTitle="true" derivedAnchor="RFC8040">
          <front>
            <title>RESTCONF Protocol</title>
            <author initials="A." surname="Bierman" fullname="A. Bierman">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Bjorklund" fullname="M. Bjorklund">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="K." surname="Watsen" fullname="K. Watsen">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="January"/>
            <abstract>
              <t>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="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 showOnFrontPage="true"/>
            </author>
            <date year="2017" month="May"/>
            <abstract>
              <t>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 initials="A." surname="Bierman" fullname="A. Bierman">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Bjorklund" fullname="M. Bjorklund">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2018" month="March"/>
            <abstract>
              <t>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>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 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>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="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 initials="E." surname="Rescorla" fullname="E. Rescorla">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2018" month="August"/>
            <abstract>
              <t>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>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="RFC8525" target="https://www.rfc-editor.org/info/rfc8525" quoteTitle="true" derivedAnchor="RFC8525">
          <front>
            <title>YANG Library</title>
            <author initials="A." surname="Bierman" fullname="A. Bierman">
              <organization showOnFrontPage="true"/>
            </author>
            <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="K." surname="Watsen" fullname="K. Watsen">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="R." surname="Wilton" fullname="R. Wilton">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2019" month="March"/>
            <abstract>
              <t>This document describes a YANG library that provides information about the YANG modules, datastores, and datastore schemas used by a network management server.  Simple caching mechanisms are provided to allow clients to minimize retrieval of this information.  This version of the YANG library supports the Network Management Datastore Architecture (NMDA) by listing all datastores supported by a network management server and the schema that is used by each of these datastores.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8525"/>
          <seriesInfo name="DOI" value="10.17487/RFC8525"/>
        </reference>
      </references>
      <references pn="section-7.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="I-D.ietf-anima-bootstrapping-keyinfra" quoteTitle="true" target="https://tools.ietf.org/html/draft-ietf-anima-bootstrapping-keyinfra-43" derivedAnchor="BRSKI">
          <front>
            <title>Bootstrapping Remote Secure Key Infrastructures (BRSKI)</title>
            <author fullname="Max Pritikin">
              <organization showOnFrontPage="true">Cisco</organization>
            </author>
            <author fullname="Michael C. Richardson">
              <organization showOnFrontPage="true">Sandelman Software Works</organization>
            </author>
            <author fullname="Toerless Eckert">
              <organization showOnFrontPage="true">Futurewei Technologies Inc.  USA</organization>
            </author>
            <author fullname="Michael H. Behringer">
	 </author>
            <author fullname="Kent Watsen">
              <organization showOnFrontPage="true">Watsen Networks</organization>
            </author>
            <date month="August" day="7" year="2020"/>
            <abstract>
              <t>   This document specifies automated bootstrapping of an Autonomic
   Control Plane.  To do this a Secure Key Infrastructure is
   bootstrapped.  This is done using manufacturer-installed X.509
   certificates, in combination with a manufacturer's authorizing
   service, both online and offline.  We call this process the
   Bootstrapping Remote Secure Key Infrastructure (BRSKI) protocol.
   Bootstrapping a new device can occur using a routable address and a
   cloud service, or using only link-local connectivity, or on limited/
   disconnected networks.  Support for deployment models with less
   stringent security requirements is included.  Bootstrapping is
   complete when the cryptographic identity of the new key
   infrastructure is successfully deployed to the device.  The
   established secure connection can be used to deploy a locally issued
   certificate to the device as well.

              </t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-anima-bootstrapping-keyinfra-43"/>
          <format type="TXT" target="https://www.ietf.org/internet-drafts/draft-ietf-anima-bootstrapping-keyinfra-43.txt"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
      </references>
    </references>
    <section numbered="false" toc="include" removeInRFC="false" pn="section-appendix.a">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t pn="section-appendix.a-1"> Thanks to <contact fullname="Juergen Schoenwaelder"/>,
     <contact fullname="Ladislav Lhotka"/>, <contact fullname="Alex      Campbell"/>, <contact fullname="Joe Clarke"/>, <contact fullname="Robert Wilton"/>, <contact fullname="Kent Watsen"/>,
     <contact fullname="Joel Jaeggli"/>, <contact fullname="Lou      Berger"/>, <contact fullname="Andy Bierman"/>, <contact fullname="Susan Hares"/>, <contact fullname="Benjamin Kaduk"/>,
     <contact fullname="Stephen Kent"/>, <contact fullname="Stewart      Bryant"/>, <contact fullname="Éric Vyncke"/>, <contact fullname="Murray Kucherawy"/>, <contact fullname="Roman      Danyliw"/>, <contact fullname="Tony Przygienda"/>, and <contact fullname="John Heasley"/> for reviewing, and providing
     important input to, this document.</t>
    </section>
    <section numbered="false" toc="include" removeInRFC="false" pn="section-appendix.b">
      <name slugifiedName="name-contributors">Contributors</name>
      <contact fullname="Rohit R Ranade">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <email>rohitrranade@huawei.com</email>
        </address>
      </contact>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.c">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author fullname="Qin Wu" initials="Q." surname="Wu">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <postal>
            <street>101 Software Avenue</street>
            <extaddr>Yuhua District</extaddr>
            <city>Nanjing</city>
            <region>Jiangsu</region>
            <code>210012</code>
            <country>China</country>
          </postal>
          <email>bill.wu@huawei.com</email>
        </address>
      </author>
      <author fullname="Balazs Lengyel" initials="B." surname="Lengyel">
        <organization abbrev="Ericsson Hungary" showOnFrontPage="true">Ericsson Hungary</organization>
        <address>
          <postal>
            <street>Magyar Tudosok korutja 11</street>
            <city>Budapest</city>
            <code>1117</code>
            <country>Hungary</country>
          </postal>
          <phone>+36-70-330-7909</phone>
          <email>balazs.lengyel@ericsson.com</email>
        </address>
      </author>
      <author fullname="Ye Niu" initials="Y." surname="Niu">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <email>niuye@huawei.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
