junos-rpc-flexible-tunnels

Junos RPC YANG module for flexible-tunnels command(s)

  • Version: 2019-01-01

    junos-rpc-flexible-tunnels@2019-01-01


    
      module junos-rpc-flexible-tunnels {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos/rpc/flexible-tunnels";
    
        prefix flexible-tunnels;
    
        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 flexible-tunnels command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-flexible-tunnels-profiles {
          description
            "Show the flexible tunnel profiles database";
          input {
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
              default "brief";
            }
    
            leaf tunnel-name {
              type string;
              description
                "Show the tunnel profile matching this name";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml flexible-tunnels-profile-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-flexible-tunnels-profiles
    
        rpc get-flexible-tunnels-route {
          description
            "Show the tunnel profile associated with this route";
          input {
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
              default "brief";
            }
    
            leaf address {
              type jt:ipv4addr;
              mandatory true;
              description "Route IP address";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml flexible-tunnels-profile-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-flexible-tunnels-route
      }  // module junos-rpc-flexible-tunnels
    

© 2023 YumaWorks, Inc. All rights reserved.