Junos RPC YANG module for isis command(s)
Version: 2019-01-01
module junos-qfx-rpc-isis { yang-version 1; namespace "http://yang.juniper.net/junos-qfx/rpc/isis"; prefix isis; 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 isis command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-isis-adjacency-information { description "Show IS-IS adjacency database"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } 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 instance { type string; description "Name of IS-IS instance"; } leaf system-id { type string; description "System ID of intermediate system"; } } output { choice output_c { leaf output { type string; } anyxml isis-adjacency-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-adjacency-information rpc get-isis-adjacency-holddown-information { description "Show IS-IS adjacency-holddown status"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } 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 instance { type string; description "Name of IS-IS instance"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 2"; } } description "Number of IS-IS level"; } } output { choice output_c { leaf output { type string; } anyxml isis-adjacency-holddown-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-adjacency-holddown-information rpc get-isis-authentication-information { description "Show IS-IS authentication information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-authentication-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-authentication-information rpc get-isis-bgporr-information { description "Show BGP optimal route reflection groups"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf destination { type jt:ipprefix; description "IP address and optional prefix length of destination"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf group { type string; description "BGP optimal route-reflection peer group name"; } } output { choice output_c { leaf output { type string; } anyxml isis-bgporr-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-bgporr-information rpc get-isis-database-information { description "Show IS-IS link-state database"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf flex-algorithm-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "128 .. 255"; } } description "Flex Algorithm id"; } 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 instance { type string; description "Name of IS-IS instance"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 2"; } } description "Number of IS-IS level"; } leaf system-id { type string; description "System ID of IS"; } } output { choice output_c { leaf output { type string; } anyxml isis-database-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-database-information rpc get-isis-hostname-information { description "Show IS-IS hostname database"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select } output { choice output_c { leaf output { type string; } anyxml isis-hostname-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-hostname-information rpc get-isis-interface-information { description "Show IS-IS interface information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } 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 instance { type string; description "Name of IS-IS instance"; } leaf interface-name { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml isis-interface-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-interface-information rpc get-isis-interface-group-information { description "Show IS-IS interface-group information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-interface-group-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-interface-group-information rpc get-isis-layer2-map-information { description "Show IS-IS ARP/ND mapping information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf destination { type jt:ipaddr; description "IP address of mapping entry"; } } output { choice output_c { leaf output { type string; } anyxml isis-layer2-map-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-layer2-map-information rpc get-isis-overview-information { description "Show overview of IS-IS information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-overview-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-overview-information rpc get-isis-route-information { description "Show IS-IS routing table"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf flex-algorithm-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "128 .. 255"; } } description "Flex Algorithm id"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf destination { type jt:ipprefix; description "IP address and optional prefix length of destination"; } leaf floodgroup { type string; description "Routes belonging to a specific floodgroup"; } leaf nexthop { type string; description "Routes reachable through specific nexthop"; } leaf download-priority { type empty; description "Sorted by download priority"; } leaf family { type enumeration { enum "inet" { value 0; description "Display IPv4 routes"; } enum "inet6" { value 1; description "Display IPv6 routes"; } enum "iso" { value 2; description "Display CLNS routes"; } } } leaf topology { type enumeration { enum "unicast" { value 0; description "Unicast topology"; } enum "ipv4-multicast" { value 1; description "IPv4 multicast topology"; } enum "ipv6-unicast" { value 2; description "IPv6 unicast topology"; } enum "ipv6-multicast" { value 3; description "IPv6 multicast topology"; } } description "Name of topology from which routes were learned"; } } output { choice output_c { leaf output { type string; } anyxml isis-route-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-route-information rpc get-isis-purge-log-information { description "Show log of PURGE runs"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 2"; } } description "Number of IS-IS level"; } } output { choice output_c { leaf output { type string; } anyxml isis-purge-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-purge-log-information rpc get-isis-spf-log-information { description "Show log of SPF runs"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf flex-algorithm-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "128 .. 255"; } } description "Flex Algorithm id"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 2"; } } description "Number of IS-IS level"; } leaf topology { type enumeration { enum "unicast" { value 0; description "Unicast topology"; } enum "ipv4-multicast" { value 1; description "IPv4 multicast topology"; } enum "ipv6-unicast" { value 2; description "IPv6 unicast topology"; } enum "ipv6-multicast" { value 3; description "IPv6 multicast topology"; } } description "Name of topology"; } } output { choice output_c { leaf output { type string; } anyxml isis-spf-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-spf-log-information rpc get-isis-spf-results-information { description "Show results from SPF runs"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "IS-IS instance"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 2"; } } description "Number of IS-IS level"; } leaf topology { type enumeration { enum "unicast" { value 0; description "Unicast topology"; } enum "ipv4-multicast" { value 1; description "IPv4 multicast topology"; } enum "ipv6-unicast" { value 2; description "IPv6 unicast topology"; } enum "ipv6-multicast" { value 3; description "IPv6 multicast topology"; } } description "Name of topology"; } } output { choice output_c { leaf output { type string; } anyxml isis-spf-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-spf-results-information rpc get-isis-spf-results-brief-information { description "Show brief summary of SPF results"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 2"; } } description "Number of level"; } leaf topology { type enumeration { enum "unicast" { value 0; description "Unicast topology"; } enum "ipv4-multicast" { value 1; description "IPv4 multicast topology"; } enum "ipv6-unicast" { value 2; description "IPv6 unicast topology"; } enum "ipv6-multicast" { value 3; description "IPv6 multicast topology"; } } description "Name of topology"; } } output { choice output_c { leaf output { type string; } anyxml isis-spf-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-spf-results-brief-information rpc get-isis-statistics-information { description "Show IS-IS performance statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-statistics-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-statistics-information rpc get-isis-interface-statistics-information { description "ISIS interface statistics information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } leaf interface-name { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml isis-interface-statistics-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-interface-statistics-information rpc get-isis-interface-traffic-stats-information { description "Show aggregate SPRING traffic"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-interface-traffic-statistics-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-interface-traffic-stats-information rpc get-isis-spring-flex-algorithm-information { description "Show SPRING flex-algorithm information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf flex-algorithm-id { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "128 .. 255"; } } description "Flex Algorithm id"; } leaf igp-instance { type string; description "Name of igp-instance"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 2"; } } description "Number of IS-IS level"; } } output { choice output_c { leaf output { type string; } anyxml isis-spring-flex-algorithm-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-spring-flex-algorithm-information rpc get-isis-spring-sensor-information { description "Show SPRING sensor info"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-spring-sensor-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-spring-sensor-information rpc get-isis-backup-spf-results-information { description "Show results from backup SPF runs"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf destination { type string; description "Hostname or System-ID of remote destination"; } leaf instance { type string; description "IS-IS instance"; } leaf level { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 2"; } } description "Number of IS-IS level"; } leaf no-coverage { type empty; description "Destinations with no backup coverage"; } leaf topology { type enumeration { enum "unicast" { value 0; description "Unicast topology"; } enum "ipv4-multicast" { value 1; description "IPv4 multicast topology"; } enum "ipv6-unicast" { value 2; description "IPv6 unicast topology"; } enum "ipv6-multicast" { value 3; description "IPv6 multicast topology"; } } description "Name of topology"; } } output { choice output_c { leaf output { type string; } anyxml isis-spf-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-backup-spf-results-information rpc get-isis-backup-coverage-information { description "Show IS-IS backup coverage"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } leaf instance { type string; description "Name of IS-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-backup-coverage-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-backup-coverage-information rpc get-isis-backup-lsp-information { description "Show IS-IS MPLS backup LSP information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-backup-mplsp-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-backup-lsp-information rpc get-isis-context-identifier-information { description "Show IS-IS context-identifier information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } 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 IS-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-context-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-context-identifier-information rpc get-isis-context-identifier-origin-information { description "Show IS-IS context-identifier information"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf igp-instance { type string; description "Name of igp-instance"; } 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 id_addr { type jt:ipprefix; mandatory true; description "Context identifier address of session"; } leaf instance { type string; description "Name of IS-IS instance"; } } output { choice output_c { leaf output { type string; } anyxml isis-context-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-isis-context-identifier-origin-information } // module junos-qfx-rpc-isis
© 2023 YumaWorks, Inc. All rights reserved.