netconfcentral logo


  module ietf-netconf-zerotouch {

    yang-version 1;


    prefix zerotouch;

      "IETF NETCONF (Network Configuration) Working Group";

      "WG Web:   <>
    WG List:  <>

    WG Chair: Mehmet Ersue

    WG Chair: Bert Wijnen

    Editor:   Kent Watsen

      "This module contains a collection of YANG definitions for
    configuring NETCONF zerotouch.

    Copyright (c) 2014 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

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

    revision "2014-07-01" {
      description "Initial version";
        "RFC XXXX: A YANG Data Model for NETCONF ZeroTouch Configlet";


    container configlet {
        "Top-level container for ZeroTouch configuration objects.";
      container target-requirements {
          "Specifies requirements for device this is loaded onto";
        leaf unique-identifier {
          type string;
          mandatory true;
            "The device MUST have this unique identifier.  The value
           MUST be the same as the 'subject' field in the device's
           DevID credential, as specified by section 7.2.8 in
           IEEE Std 802.1AR-2009.";

        leaf software-version {
          type string;
          mandatory true;
            "The device MUST must be running this version of software.
           The value for this field is device-specific, but it MUST
           be an exact match (e.g., 14.1R2.5)";
      }  // container target-requirements

      anyxml configuration {
        mandatory true;
          "The configuration to be committed to the device's running
           datastore.  The configuration MUST be valid for the target
           device.  Device's supporting ZeroTouch SHOULD at least
           support both the following standard data-models:

             ietf-system             // the authentication container
             ietf-system-tls-auth    // everything, if TLS supported
             ietf-netconf-server     // the call-home container

           These three data models contain everything needed to
           support NETCONF call home using either SSH or TLS.";
    }  // container configlet
  }  // module ietf-netconf-zerotouch