Junos RPC YANG module for rsvp command(s)
Version: 2019-01-01
module junos-es-rpc-rsvp { yang-version 1; namespace "http://yang.juniper.net/junos-es/rpc/rsvp"; prefix rsvp; 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 rsvp command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-rsvp-interface-information { description "Show RSVP interfaces"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } leaf 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"; } enum "link-management" { value 3; description "Display RSVP interfaces created by LMP"; } } default "brief"; } leaf interface-name { type string; description "Name of logical interface"; } } output { choice output_c { leaf output { type string; } anyxml rsvp-interface-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-rsvp-interface-information rpc get-rsvp-neighbor-information { description "Show RSVP neighbors"; 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"; } } default "brief"; } leaf instance { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml rsvp-neighbor-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-rsvp-neighbor-information rpc get-rsvp-session-information { description "Show active RSVP sessions"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } leaf session-type { type enumeration { enum "ingress" { value 0; description "Display RSVP sessions originating at this router"; } enum "egress" { value 1; description "Display RSVP sessions ending at this router"; } enum "transit" { value 2; description "Display RSVP sessions transiting this router"; } } } leaf session-lsp { type enumeration { enum "lsp" { value 0; description "Display RSVP sessions used to set up LSPs"; } enum "nolsp" { value 1; description "Display RSVP sessions not used to set up LSPs"; } } } leaf lsp-state { type enumeration { enum "up" { value 0; description "Display active LSPs"; } enum "down" { value 1; description "Display inactive LSPs"; } } } leaf lsp-direction { type enumeration { enum "unidirectional" { value 0; description "Display unidirectional RSVP sessions"; } enum "bidirectional" { value 1; description "Display bidirectional RSVP sessions"; } enum "p2mp" { value 2; description "Display point-to-multipoint RSVP sessions"; } enum "externally-provisioned" { value 3; description "Display externally provisioned LSPs"; } } } leaf enhanced-frr-state { type enumeration { enum "enhanced-frr" { value 0; description "Display enhanced FRR enabled RSVP sessions"; } } } leaf level { type enumeration { enum "terse" { value 0; description "Display terse output"; } enum "brief" { value 1; description "Display brief output (default)"; } enum "detail" { value 2; description "Display detailed output"; } enum "extensive" { value 3; description "Display extensive output"; } } default "brief"; } leaf lsp-stat { type enumeration { enum "statistics" { value 0; description "Display packet statistics"; } } } leaf bypass-lsp { type enumeration { enum "bypass" { value 0; description "Display RSVP sessions used to protect LSPs"; } } } leaf activeroutes { type enumeration { enum "count-active-routes" { value 0; description "Show active routes for RSVP sessions"; } } } leaf session-name { type string; description "Name of RSVP session"; } leaf interface { type string; description "Name of interface"; } leaf te-link { type string; description "Name of traffic engineering link"; } } output { choice output_c { leaf output { type string; } anyxml rsvp-session-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-rsvp-session-information rpc get-rsvp-statistics-information { description "Show RSVP statistics"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml rsvp-statistics-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-rsvp-statistics-information rpc get-rsvp-version-information { description "Show RSVP version"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml rsvp-version-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-rsvp-version-information rpc get-rsvp-route-session-id-information { description "Show RSVP Ingress Route Session IDs"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } } output { choice output_c { leaf output { type string; } anyxml rsvp-route-session-id-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-rsvp-route-session-id-information rpc get-rsvp-pop-and-fwd-information { description "Show RSVP pop-and-forward info"; input { choice daemon-select { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice daemon-select leaf instance { type string; description "Name of routing instance"; } leaf 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 shared-label { type union { type uint32; type string { pattern "<.*>|$.*"; } } description "Shared-label"; } } output { choice output_c { leaf output { type string; } anyxml rsvp-pop-and-fwd-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-rsvp-pop-and-fwd-information } // module junos-es-rpc-rsvp
© 2023 YumaWorks, Inc. All rights reserved.