--- 1/draft-ietf-netmod-factory-default-08.txt 2019-12-06 20:13:27.184353921 -0800 +++ 2/draft-ietf-netmod-factory-default-09.txt 2019-12-06 20:13:27.220354843 -0800 @@ -1,21 +1,21 @@ NETMOD Working Group Q. Wu Internet-Draft Huawei Intended status: Standards Track B. Lengyel -Expires: June 6, 2020 Ericsson Hungary +Expires: June 8, 2020 Ericsson Hungary Y. Niu Huawei - December 4, 2019 + December 6, 2019 Factory Default Setting - draft-ietf-netmod-factory-default-08 + draft-ietf-netmod-factory-default-09 Abstract This document defines a method to reset a server to its factory- default content. The reset operation may be used, e.g., when the existing configuration has major errors so re-starting the configuration process from scratch is the best option. A new factory-reset RPC is defined. When resetting a datastore, all previous configuration settings will be lost and replaced by the @@ -33,21 +33,21 @@ 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 6, 2020. + This Internet-Draft will expire on June 8, 2020. Copyright Notice Copyright (c) 2019 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 @@ -149,24 +149,28 @@ an appropriate factory-default state. In addition, the "factory-reset" RPC MUST restore storage to factory condition, including remove log files, remove temporary files (from datastore or elsewhere). It MUST also remove security credentials and restoring default security settings including remove certificates, keys, zero passwords, etc. The process invoked by the "factory-reset" RPC SHOULD zero/pattern-write than remove sensitive files such as the TLS keys, configuration stores, etc. The "factory- reset" RPC MAY also be used to trigger some other resetting tasks - such as restarting the node or some of the software processes, which - are especially needed after having onboard information being - processed or when a specified boot image needs to be - downloaded,verified and installed. + such as restarting the node or some of the software processes. + + Note that operators should be aware that since all read-write + datastores are immediately reset to factory default, the device may + become unreachable on the network. It is important to understand how + a given vendor's device will behave after the RPC is executed. + Implementors SHOULD reboot the device or otherwise restart processes + needed to bootstrap it. 3. Factory-Default Datastore Following guidelines for defining Datastores in the appendix A of [RFC8342], this document introduces a new optional datastore resource named 'factory-default' that represents a preconfigured minimal initial configuration that can be used to initialize the configuration of a server. A device MAY only implement the RPC without implementing the 'factory-default' datastore, which make it lose the ability to see what configuration the device @@ -376,20 +381,25 @@ [I-D.ietf-netmod-yang-instance-file-format] Lengyel, B. and B. Claise, "YANG Instance Data File Format", draft-ietf-netmod-yang-instance-file-format-06 (work in progress), December 2019. Appendix A. Changes between revisions Editorial Note (To be removed by RFC Editor) + v08 - 09 + + o Provide some guideline for operators and implementor who implement + factory defaut method. + v07 - 08 o Provide clarification and recommendation on the relationship between factory-reset RPC and reboot. o Nits fixed based on YANG Doctor Review. v06 - 07 o Remove Factory-default content specification;