junos-qfx-rpc-ted

Junos RPC YANG module for ted command(s)

  • Version: 2019-01-01

    junos-qfx-rpc-ted@2019-01-01


    
      module junos-qfx-rpc-ted {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-qfx/rpc/ted";
    
        prefix ted;
    
        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 ted command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-ted-database-information {
          description
            "Show current Traffic Engineering Database";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
    
            leaf topology-type {
              type enumeration {
                enum "traffic-engineering" {
                  value 0;
                  description
                    "Traffic-engineering topology";
                }
                enum "l3-unicast" {
                  value 1;
                  description
                    "L3-Unicast topology";
                }
                enum "bgp-ls-epe" {
                  value 2;
                  description
                    "BGP-LS-EPE topology";
                }
                enum "express-segments" {
                  value 3;
                  description
                    "Express-Segments topology";
                }
              }
              default "traffic-engineering";
              description "Topology type";
            }
    
            leaf instance {
              type string;
              description
                "Name of routing instance";
            }
    
            leaf system-id {
              type string;
              description "System ID or node ID";
            }
    
            leaf local {
              type empty;
              description
                "Shows any local augmentation of TED";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ted-database-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ted-database-information
    
        rpc get-ted-link-information {
          description
            "Show current Traffic Engineering Database link";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf topology-type {
              type enumeration {
                enum "traffic-engineering" {
                  value 0;
                  description
                    "Traffic-engineering topology";
                }
                enum "l3-unicast" {
                  value 1;
                  description
                    "L3-Unicast topology";
                }
                enum "bgp-ls-epe" {
                  value 2;
                  description
                    "BGP-LS-EPE topology";
                }
                enum "express-segments" {
                  value 3;
                  description
                    "Express-Segments topology";
                }
              }
              default "traffic-engineering";
              description "Topology type";
            }
    
            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 instance {
              type string;
              description
                "Name of routing instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ted-link-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ted-link-information
    
        rpc get-ted-ipv6-prefix-tree-information {
          description
            "Show TED IPv6 Prefix Tree";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf topology-type {
              type enumeration {
                enum "traffic-engineering" {
                  value 0;
                  description
                    "Traffic-engineering topology";
                }
                enum "l3-unicast" {
                  value 1;
                  description
                    "L3-Unicast topology";
                }
                enum "bgp-ls-epe" {
                  value 2;
                  description
                    "BGP-LS-EPE topology";
                }
                enum "express-segments" {
                  value 3;
                  description
                    "Express-Segments topology";
                }
              }
              default "traffic-engineering";
              description "Topology type";
            }
    
            leaf instance {
              type string;
              description
                "Name of routing instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ted-ipv6-prefix-tree-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ted-ipv6-prefix-tree-information
    
        rpc get-ted-prefix-tree-information {
          description
            "Show TED IPv4 Prefix Tree";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf topology-type {
              type enumeration {
                enum "traffic-engineering" {
                  value 0;
                  description
                    "Traffic-engineering topology";
                }
                enum "l3-unicast" {
                  value 1;
                  description
                    "L3-Unicast topology";
                }
                enum "bgp-ls-epe" {
                  value 2;
                  description
                    "BGP-LS-EPE topology";
                }
                enum "express-segments" {
                  value 3;
                  description
                    "Express-Segments topology";
                }
              }
              default "traffic-engineering";
              description "Topology type";
            }
    
            leaf instance {
              type string;
              description
                "Name of routing instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ted-prefix-tree-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ted-prefix-tree-information
    
        rpc get-ted-protocol-information {
          description
            "Show current contributing protocols";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf topology-type {
              type enumeration {
                enum "traffic-engineering" {
                  value 0;
                  description
                    "Traffic-engineering topology";
                }
                enum "l3-unicast" {
                  value 1;
                  description
                    "L3-Unicast topology";
                }
                enum "bgp-ls-epe" {
                  value 2;
                  description
                    "BGP-LS-EPE topology";
                }
                enum "express-segments" {
                  value 3;
                  description
                    "Express-Segments topology";
                }
              }
              default "traffic-engineering";
              description "Topology type";
            }
    
            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 instance {
              type string;
              description
                "Name of routing instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ted-protocol-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ted-protocol-information
    
        rpc get-ted-msvr-tree-information {
          description
            "Show TED Mapping Server Tree";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf topology-type {
              type enumeration {
                enum "traffic-engineering" {
                  value 0;
                  description
                    "Traffic-engineering topology";
                }
                enum "l3-unicast" {
                  value 1;
                  description
                    "L3-Unicast topology";
                }
                enum "bgp-ls-epe" {
                  value 2;
                  description
                    "BGP-LS-EPE topology";
                }
                enum "express-segments" {
                  value 3;
                  description
                    "Express-Segments topology";
                }
              }
              default "traffic-engineering";
              description "Topology type";
            }
    
            leaf instance {
              type string;
              description
                "Name of routing instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ted-msvr-tree-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ted-msvr-tree-information
    
        rpc get-ted-sid-index-tree-information {
          description
            "Show TED Spring Sid Index Tree";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf topology-type {
              type enumeration {
                enum "traffic-engineering" {
                  value 0;
                  description
                    "Traffic-engineering topology";
                }
                enum "l3-unicast" {
                  value 1;
                  description
                    "L3-Unicast topology";
                }
                enum "bgp-ls-epe" {
                  value 2;
                  description
                    "BGP-LS-EPE topology";
                }
                enum "express-segments" {
                  value 3;
                  description
                    "Express-Segments topology";
                }
              }
              default "traffic-engineering";
              description "Topology type";
            }
    
            leaf instance {
              type string;
              description
                "Name of routing instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ted-sid-index-tree-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ted-sid-index-tree-information
      }  // module junos-qfx-rpc-ted
    

© 2023 YumaWorks, Inc. All rights reserved.