draft-ietf-netmod-factory-default-11.txt | draft-ietf-netmod-factory-default-12.txt | |||
---|---|---|---|---|
NETMOD Working Group Q. Wu | NETMOD Working Group Q. Wu | |||
Internet-Draft Huawei | Internet-Draft Huawei | |||
Intended status: Standards Track B. Lengyel | Intended status: Standards Track B. Lengyel | |||
Expires: August 15, 2020 Ericsson Hungary | Expires: August 19, 2020 Ericsson Hungary | |||
Y. Niu | Y. Niu | |||
Huawei | Huawei | |||
February 12, 2020 | February 16, 2020 | |||
Factory Default Setting | Factory Default Setting | |||
draft-ietf-netmod-factory-default-11 | draft-ietf-netmod-factory-default-12 | |||
Abstract | Abstract | |||
This document defines a method to reset a server to its factory | This document defines a method to reset a server to its factory | |||
default content. The reset operation may be used, e.g., when the | default content. The reset operation may be used, e.g., when the | |||
existing configuration has major errors so re-starting the | existing configuration has major errors so re-starting the | |||
configuration process from scratch is the best option. | configuration process from scratch is the best option. | |||
A new "factory-reset" RPC is defined. When resetting a device, all | A new "factory-reset" RPC is defined. When resetting a device, all | |||
previous configuration settings will be lost and replaced by the | previous configuration settings will be lost and replaced by the | |||
skipping to change at page 1, line 43 ¶ | skipping to change at page 1, line 43 ¶ | |||
Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
Drafts is at https://datatracker.ietf.org/drafts/current/. | Drafts is at https://datatracker.ietf.org/drafts/current/. | |||
Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
This Internet-Draft will expire on August 15, 2020. | This Internet-Draft will expire on August 19, 2020. | |||
Copyright Notice | Copyright Notice | |||
Copyright (c) 2020 IETF Trust and the persons identified as the | Copyright (c) 2020 IETF Trust and the persons identified as the | |||
document authors. All rights reserved. | document authors. All rights reserved. | |||
This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
Provisions Relating to IETF Documents | Provisions Relating to IETF Documents | |||
(https://trustee.ietf.org/license-info) in effect on the date of | (https://trustee.ietf.org/license-info) in effect on the date of | |||
publication of this document. Please review these documents | publication of this document. Please review these documents | |||
skipping to change at page 2, line 26 ¶ | skipping to change at page 2, line 26 ¶ | |||
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 | 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 | |||
1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 | 1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3 | |||
2. Factory-Reset RPC . . . . . . . . . . . . . . . . . . . . . . 3 | 2. Factory-Reset RPC . . . . . . . . . . . . . . . . . . . . . . 3 | |||
3. Factory-Default Datastore . . . . . . . . . . . . . . . . . . 4 | 3. Factory-Default Datastore . . . . . . . . . . . . . . . . . . 4 | |||
4. YANG Module . . . . . . . . . . . . . . . . . . . . . . . . . 5 | 4. YANG Module . . . . . . . . . . . . . . . . . . . . . . . . . 5 | |||
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7 | 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7 | |||
6. Security Considerations . . . . . . . . . . . . . . . . . . . 7 | 6. Security Considerations . . . . . . . . . . . . . . . . . . . 7 | |||
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 7 | 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 7 | |||
8. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 8 | 8. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 8 | |||
9. Normative References . . . . . . . . . . . . . . . . . . . . 8 | 9. References . . . . . . . . . . . . . . . . . . . . . . . . . 8 | |||
9.1. Normative References . . . . . . . . . . . . . . . . . . 8 | ||||
9.2. Informative References . . . . . . . . . . . . . . . . . 8 | ||||
Appendix A. Changes between revisions . . . . . . . . . . . . . 9 | Appendix A. Changes between revisions . . . . . . . . . . . . . 9 | |||
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 11 | Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 11 | |||
1. Introduction | 1. Introduction | |||
This document defines a method to reset a server to its factory | This document defines a method to reset a server to its factory | |||
default content. The reset operation may be used, e.g., when the | default content. The reset operation may be used, e.g., when the | |||
existing configuration has major errors so re-starting the | existing configuration has major errors so re-starting the | |||
configuration process from scratch is the best option. | configuration process from scratch is the best option. | |||
skipping to change at page 5, line 17 ¶ | skipping to change at page 5, line 17 ¶ | |||
o Protocols: RESTCONF, NETCONF and other management protocol. | o Protocols: RESTCONF, NETCONF and other management protocol. | |||
o Defining YANG module: "ietf-factory-default". | o Defining YANG module: "ietf-factory-default". | |||
The contents of <factory-default> is defined by the device vendor and | The contents of <factory-default> is defined by the device vendor and | |||
MUST persist across device restarts. | MUST persist across device restarts. | |||
4. YANG Module | 4. YANG Module | |||
This module imports typedefs from [RFC8342], and it references | This module uses the "datastore" identity [RFC8342], and the | |||
"default-deny-all" extension statement from [RFC8341]. | "default-deny-all" extension statement from [RFC8341]. | |||
<CODE BEGINS> file "ietf-factory-default@2019-11-27.yang" | <CODE BEGINS> file "ietf-factory-default@2019-11-27.yang" | |||
module ietf-factory-default { | module ietf-factory-default { | |||
yang-version 1.1; | yang-version 1.1; | |||
namespace "urn:ietf:params:xml:ns:yang:ietf-factory-default"; | namespace "urn:ietf:params:xml:ns:yang:ietf-factory-default"; | |||
prefix fd; | prefix fd; | |||
import ietf-datastores { | import ietf-datastores { | |||
prefix ds; | prefix ds; | |||
skipping to change at page 5, line 50 ¶ | skipping to change at page 5, line 50 ¶ | |||
"WG Web: <https://tools.ietf.org/wg/netconf/> | "WG Web: <https://tools.ietf.org/wg/netconf/> | |||
WG List: <mailto:netconf@ietf.org> | WG List: <mailto:netconf@ietf.org> | |||
Editor: Qin Wu | Editor: Qin Wu | |||
<mailto:bill.wu@huawei.com> | <mailto:bill.wu@huawei.com> | |||
Editor: Balazs Lengyel | Editor: Balazs Lengyel | |||
<mailto:balazs.lengyel@ericsson.com> | <mailto:balazs.lengyel@ericsson.com> | |||
Editor: Ye Niu | Editor: Ye Niu | |||
<mailto:niuye@huawei.com>"; | <mailto:niuye@huawei.com>"; | |||
description | description | |||
"This module defines an RPC called 'factory-reset', and a | "This module provides functionality to reset a server to its | |||
datastore identity called 'factory-default'. | factory default configuration and, when supported, to discover | |||
the factory default configuration contents independent of | ||||
It provides functionality to reset a server to its factory | ||||
default configuration and, when supported, to discover the | ||||
factory default configuration contents independent of | ||||
resetting the server. | resetting the server. | |||
Copyright (c) 2019 IETF Trust and the persons identified as | Copyright (c) 2020 IETF Trust and the persons identified as | |||
authors of the code. All rights reserved. | authors of the code. All rights reserved. | |||
Redistribution and use in source and binary forms, with or | Redistribution and use in source and binary forms, with or | |||
without modification, is permitted pursuant to, and subject | without modification, is permitted pursuant to, and subject | |||
to the license terms contained in, the Simplified BSD License | to the license terms contained in, the Simplified BSD License | |||
set forth in Section 4.c of the IETF Trust's Legal Provisions | set forth in Section 4.c of the IETF Trust's Legal Provisions | |||
Relating to IETF Documents | Relating to IETF Documents | |||
(http://trustee.ietf.org/license-info). | (http://trustee.ietf.org/license-info). | |||
This version of this YANG module is part of RFC XXXX; | This version of this YANG module is part of RFC XXXX; | |||
skipping to change at page 8, line 11 ¶ | skipping to change at page 8, line 11 ¶ | |||
Clarke, Robert Wilton, Kent Watsen, Joel Jaeggli, Lou Berger, Andy | Clarke, Robert Wilton, Kent Watsen, Joel Jaeggli, Lou Berger, Andy | |||
Bierman, Susan Hares to review this draft and provide important input | Bierman, Susan Hares to review this draft and provide important input | |||
to this document. | to this document. | |||
8. Contributors | 8. Contributors | |||
Rohit R Ranade | Rohit R Ranade | |||
Huawei | Huawei | |||
Email: rohitrranade@huawei.com | Email: rohitrranade@huawei.com | |||
9. Normative References | 9. References | |||
9.1. Normative References | ||||
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | |||
Requirement Levels", BCP 14, RFC 2119, | Requirement Levels", BCP 14, RFC 2119, | |||
DOI 10.17487/RFC2119, March 1997, | DOI 10.17487/RFC2119, March 1997, | |||
<https://www.rfc-editor.org/info/rfc2119>. | <https://www.rfc-editor.org/info/rfc2119>. | |||
[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, | [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, | |||
DOI 10.17487/RFC3688, January 2004, | DOI 10.17487/RFC3688, January 2004, | |||
<https://www.rfc-editor.org/info/rfc3688>. | <https://www.rfc-editor.org/info/rfc3688>. | |||
[RFC6020] Bjorklund, M., Ed., "YANG - A Data Modeling Language for | [RFC6020] Bjorklund, M., Ed., "YANG - A Data Modeling Language for | |||
the Network Configuration Protocol (NETCONF)", RFC 6020, | the Network Configuration Protocol (NETCONF)", RFC 6020, | |||
DOI 10.17487/RFC6020, October 2010, | DOI 10.17487/RFC6020, October 2010, | |||
<https://www.rfc-editor.org/info/rfc6020>. | <https://www.rfc-editor.org/info/rfc6020>. | |||
[RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., | ||||
and A. Bierman, Ed., "Network Configuration Protocol | ||||
(NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, | ||||
<https://www.rfc-editor.org/info/rfc6241>. | ||||
[RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure | ||||
Shell (SSH)", RFC 6242, DOI 10.17487/RFC6242, June 2011, | ||||
<https://www.rfc-editor.org/info/rfc6242>. | ||||
[RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", | [RFC7950] Bjorklund, M., Ed., "The YANG 1.1 Data Modeling Language", | |||
RFC 7950, DOI 10.17487/RFC7950, August 2016, | RFC 7950, DOI 10.17487/RFC7950, August 2016, | |||
<https://www.rfc-editor.org/info/rfc7950>. | <https://www.rfc-editor.org/info/rfc7950>. | |||
[RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF | ||||
Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, | ||||
<https://www.rfc-editor.org/info/rfc8040>. | ||||
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC | [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC | |||
2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, | 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, | |||
May 2017, <https://www.rfc-editor.org/info/rfc8174>. | May 2017, <https://www.rfc-editor.org/info/rfc8174>. | |||
[RFC8341] Bierman, A. and M. Bjorklund, "Network Configuration | [RFC8341] Bierman, A. and M. Bjorklund, "Network Configuration | |||
Access Control Model", STD 91, RFC 8341, | Access Control Model", STD 91, RFC 8341, | |||
DOI 10.17487/RFC8341, March 2018, | DOI 10.17487/RFC8341, March 2018, | |||
<https://www.rfc-editor.org/info/rfc8341>. | <https://www.rfc-editor.org/info/rfc8341>. | |||
[RFC8342] Bjorklund, M., Schoenwaelder, J., Shafer, P., Watsen, K., | [RFC8342] Bjorklund, M., Schoenwaelder, J., Shafer, P., Watsen, K., | |||
and R. Wilton, "Network Management Datastore Architecture | and R. Wilton, "Network Management Datastore Architecture | |||
(NMDA)", RFC 8342, DOI 10.17487/RFC8342, March 2018, | (NMDA)", RFC 8342, DOI 10.17487/RFC8342, March 2018, | |||
<https://www.rfc-editor.org/info/rfc8342>. | <https://www.rfc-editor.org/info/rfc8342>. | |||
9.2. Informative References | ||||
[RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., | ||||
and A. Bierman, Ed., "Network Configuration Protocol | ||||
(NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, | ||||
<https://www.rfc-editor.org/info/rfc6241>. | ||||
[RFC6242] Wasserman, M., "Using the NETCONF Protocol over Secure | ||||
Shell (SSH)", RFC 6242, DOI 10.17487/RFC6242, June 2011, | ||||
<https://www.rfc-editor.org/info/rfc6242>. | ||||
[RFC8040] Bierman, A., Bjorklund, M., and K. Watsen, "RESTCONF | ||||
Protocol", RFC 8040, DOI 10.17487/RFC8040, January 2017, | ||||
<https://www.rfc-editor.org/info/rfc8040>. | ||||
[RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol | [RFC8446] Rescorla, E., "The Transport Layer Security (TLS) Protocol | |||
Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, | Version 1.3", RFC 8446, DOI 10.17487/RFC8446, August 2018, | |||
<https://www.rfc-editor.org/info/rfc8446>. | <https://www.rfc-editor.org/info/rfc8446>. | |||
Appendix A. Changes between revisions | Appendix A. Changes between revisions | |||
Editorial Note (To be removed by RFC Editor) | Editorial Note (To be removed by RFC Editor) | |||
v11 - 12 | ||||
o Fix IDnits and reference issues from Shepherd review. | ||||
v10 - 11 | v10 - 11 | |||
o Incorporate additional Shepherd review's comments. | o Incorporate additional Shepherd review's comments. | |||
v09 - 10 | v09 - 10 | |||
o Incorporate Shepherd review's comments. | o Incorporate Shepherd review's comments. | |||
v08 - 09 | v08 - 09 | |||
End of changes. 13 change blocks. | ||||
27 lines changed or deleted | 34 lines changed or added | |||
This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |