junos-ex-rpc-rollback-config

Junos RPC YANG module for rollback-config command(s)

  • Version: 2019-01-01

    junos-ex-rpc-rollback-config@2019-01-01


    
      module junos-ex-rpc-rollback-config {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-ex/rpc/rollback-config";
    
        prefix rollback-config;
    
        import junos-common-types {
          prefix jt;
          revision-date "2019-01-01";
        }
    
        organization "Juniper Networks, Inc.";
    
        contact "yang-support@juniper.net";
    
        description
          "Junos RPC YANG module for rollback-config command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc rollback-config {
          description
            "Rollback to previous committed configuration";
          input {
            choice rollback_choice {
              leaf index {
                type union {
                  type string {
                    pattern "<.*>|$.*";
                  }
                  type int32 {
                    range "0 .. 49";
                  }
                }
                description
                  "Index of a previous configuration";
              }
              leaf rescue {
                type empty;
                description
                  "Rollback to rescue configuration";
              }
            }  // choice rollback_choice
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml rollback-config-results {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc rollback-config
      }  // module junos-ex-rpc-rollback-config
    

© 2023 YumaWorks, Inc. All rights reserved.