junos-es-rpc-v4ov6-tunnels

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

  • Version: 2019-01-01

    junos-es-rpc-v4ov6-tunnels@2019-01-01


    
      module junos-es-rpc-v4ov6-tunnels {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-es/rpc/v4ov6-tunnels";
    
        prefix v4ov6-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 v4ov6-tunnels command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-v4ov6-information {
          description
            "Show V4 over V6 tunnel information";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf anti-spoof-ip {
              type jt:ipaddr;
              description
                "Filter based on Anti-spoof-IP";
            }
    
            leaf v6-source {
              type jt:ipaddr;
              description
                "Filter based on v6-source";
            }
    
            leaf v6-dest {
              type jt:ipaddr;
              description
                "Filter based on v6-dest";
            }
    
            leaf tcnh-index {
              type union {
                type uint32;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description
                "Filter based on tcnh-index";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml v4ov6-dynamic-tunnel {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-v4ov6-information
    
        rpc get-v4ov6-information-anchor-pfe {
          description
            "Filter based on anchor-pfe";
          input {
            leaf pfe-name {
              type string;
              mandatory true;
              description
                "PFE anchored to v4ov6 tunnel";
            }
    
            leaf level {
              type enumeration {
                enum "count" {
                  value 0;
                  description
                    "Display count of v4ov6 tunnels per filter";
                }
              }
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml v4ov6-dynamic-tunnel-anchor-pfe {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-v4ov6-information-anchor-pfe
    
        rpc get-v4ov6-information-count {
          description "Count of v4ov6-tunnels";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml v4ov6-information-count {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-v4ov6-information-count
      }  // module junos-es-rpc-v4ov6-tunnels
    

© 2023 YumaWorks, Inc. All rights reserved.