netconfcentral logo

ietf-factory-default

HTML

ietf-factory-default@2019-11-27



  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
        "RFC8341: Network Configuration Access Control Model";


    }

    organization
      "IETF NETMOD (Network Modeling) Working Group";

    contact
      "WG Web:   <https://tools.ietf.org/wg/netconf/>
     WG List:  <mailto:netconf@ietf.org>

     Editor:   Qin Wu
               <mailto:bill.wu@huawei.com>
     Editor:   Balazs Lengyel
               <mailto:balazs.lengyel@ericsson.com>
     Editor:   Ye Niu
               <mailto:niuye@huawei.com>";

    description
      "This module 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.

     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
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX;
     see the RFC itself for full legal notices.";

    revision "2019-11-27" {
      description "Initial revision.";
      reference
        "RFC XXXX: Factory default Setting";

    }


    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 content and any non-volatile 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.";
    }  // rpc factory-reset

    identity factory-default {
      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.";
    }
  }  // module ietf-factory-default

Summary

  
ietf-factory-default  
  
Organization IETF Network Modeling (netmod) Working Group
  
Module ietf-factory-default
Version 2020-08-31
File ietf-factory-default@2020-08-31.yang
  
Prefix fd
Namespace urn:ietf:params:xml:ns:yang:ietf-factory-default
  
Cooked /cookedmodules/ietf-factory-default/2020-08-31
YANG /src/ietf-factory-default@2020-08-31.yang
XSD /xsd/ietf-factory-default@2020-08-31.xsd
  
Abstract This module provides functionality to reset a server to its factory default configuration and, when supported, to discover the f...
  
Contact
WG Web:   <https://datatracker.ietf.org/wg/netmod/>
WG List:  <mailto:netmod@ietf.org>

Editor:   Qin Wu
	  <mailto:bill.wu@huawei.com>

Editor:   Balazs Lengyel
	  <mailto:balazs.lengyel@ericsson.com>

Editor:   Ye Niu
	  <mailto:niuye@huawei.com>
  
ietf-factory-default  
  
Organization IETF NETMOD (Network Modeling) Working Group
  
Module ietf-factory-default
Version 2019-11-27
File ietf-factory-default@2019-11-27.yang
  
Prefix fd
Namespace urn:ietf:params:xml:ns:yang:ietf-factory-default
  
Cooked /cookedmodules/ietf-factory-default/2019-11-27
YANG /src/ietf-factory-default@2019-11-27.yang
XSD /xsd/ietf-factory-default@2019-11-27.xsd
  
Abstract This module provides functionality to reset a server to its factory default configuration and, when supported, to discover the f...
  
Contact
WG Web:   <https://tools.ietf.org/wg/netconf/>
WG List:  <mailto:netconf@ietf.org>

Editor:   Qin Wu
	  <mailto:bill.wu@huawei.com>
Editor:   Balazs Lengyel
	  <mailto:balazs.lengyel@ericsson.com>
Editor:   Ye Niu
	  <mailto:niuye@huawei.com>

Description

 
ietf-factory-default
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.
 
ietf-factory-default
This module 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.

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
(http://trustee.ietf.org/license-info).

This version of this YANG module is part of RFC XXXX;
see the RFC itself for full legal notices.

RPC Methods

RPC Abstract
factory-reset 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 ...
factory-reset The server resets all datastores to their factory default content and any non-volatile storage back to factory condition, deleting all dynamically generated files, including those containing keys, certificates, logs, and other temporary files. Depending ...