Factory default Setting
draft-wu-netmod-factory-default-02

Document Type Active Internet-Draft (individual)
Last updated 2018-11-29
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Yang Validation 1 errors, 0 warnings.
Additional URLs
- Yang catalog entry for ietf-factory-default@2018-10-09.yang
- Yang impact analysis for draft-wu-netmod-factory-default
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
NETMOD Working Group                                               Q. Wu
Internet-Draft                                                    Huawei
Intended status: Standards Track                              B. Lengyel
Expires: June 2, 2019                                   Ericsson Hungary
                                                                  Y. Niu
                                                                  Huawei
                                                       November 29, 2018

                        Factory default Setting
                   draft-wu-netmod-factory-default-02

Abstract

   This document defines a method to reset a YANG datastore to its
   factory-default content.  The reset operation may be used e.g. during
   initial zero-touch configuration or when the existing configuration
   has major errors, so re-starting the configuration process from
   scratch is the best option.

   A new reset-datastore RPC is defined.  Several methods of documenting
   the factory-default content are specified.

   Optionally a new "factory-default-running" read-only datastore is
   defined, that contains the data that will be copied over to the
   running datastore at reset.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on June 2, 2019.

Wu, et al.                Expires June 2, 2019                  [Page 1]
Internet-Draft           Factory Default Setting           November 2018

Copyright Notice

   Copyright (c) 2018 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) 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.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Reset-Datastore RPC . . . . . . . . . . . . . . . . . . . . .   4
   3.  Factory-Default Datastore . . . . . . . . . . . . . . . . . .   4
   4.  YANG Module . . . . . . . . . . . . . . . . . . . . . . . . .   5
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   7
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .   8
   7.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   8
   8.  Contributors  . . . . . . . . . . . . . . . . . . . . . . . .   8
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .   8
     9.2.  Informative References  . . . . . . . . . . . . . . . . .   9
   Appendix A.  Open Issues  . . . . . . . . . . . . . . . . . . . .   9
   Appendix B.  Difference between <startup> datastore and <factory-
                default> datastore . . . . . . . . . . . . . . . . .   9
   Appendix C.  Changes between revisions  . . . . . . . . . . . . .   9
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  10

1.  Introduction

   This document defines a method to reset a YANG datastore to its
   factory-default content.  The reset operation may be used e.g. during
   initial zero-touch configuration or when the existing configuration
   has major errors, so re-starting the configuration process from
   scratch is the best option.  When resetting a datastore all previous
   configuration settings will be lost and replaced by the factory-
   default content.

   A new reset-datastore RPC is defined.  Several methods of documenting
   the factory-default content are specified.

Wu, et al.                Expires June 2, 2019                  [Page 2]
Internet-Draft           Factory Default Setting           November 2018

   Optionally a new "factory-default-running" read-only datastore is
   defined, that contains the data that will be copied over to the
   running datastore at reset.  This datastore can also be used in <get-
   data> or <copy-config> operations.
Show full document text