Junos RPC YANG module for chassis command(s)
Version: 2019-01-01
module junos-es-rpc-chassis { yang-version 1; namespace "http://yang.juniper.net/junos-es/rpc/chassis"; prefix chassis; 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 chassis command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-power-usage-information { description "Show Chassis Power Usages"; output { choice output_c { leaf output { type string; } anyxml power-usage-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-power-usage-information rpc get-power-usage-information-detail { description "Show chassis power usage detail"; output { choice output_c { leaf output { type string; } anyxml power-usage-information-detail { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-power-usage-information-detail rpc get-fru-power-on-sequence { description "Show chassis fru power on sequence"; output { choice output_c { leaf output { type string; } anyxml fru-power-on-sequence { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fru-power-on-sequence rpc get-alarm-information { description "Show alarm status"; output { choice output_c { leaf output { type string; } anyxml alarm-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-alarm-information rpc get-chassis-errors { description "Show chassis errors"; input { leaf error-id { type string { length "1 .. 255"; } mandatory true; description "Error identifier for the error to be cleared"; } leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "Slot number of FPC"; } } output { choice output_c { leaf output { type string; } anyxml chassis-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-errors rpc get-chassis-active-errors { description "Show active errors"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Slot number of FPC"; } } output { choice output_c { leaf output { type string; } anyxml chassis-active-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-active-errors rpc get-active-error-information-detail { description "Show detailed output"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Slot number of FPC"; } } output { choice output_c { leaf output { type string; } anyxml chassis-errors-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-active-error-information-detail rpc get-chassis-beacon-information { description "Show beacon status"; input { choice which-arg { leaf all { type enumeration { enum "off" { value 0; description "Beacons in OFF state"; } enum "on" { value 1; description "Beacons in ON state"; } } description "Beacons in ON/OFF state"; } leaf fpc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Flexible PIC Controller slot number"; } case cb { } // case cb leaf service-node { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Service Node slot number"; } } // choice which-arg leaf pic-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "PIC slot number"; } choice port-num { leaf port { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Port number"; } leaf port-range { type empty; description "Port range"; } } // choice port-num leaf lower-limit { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Port range lower limit"; } leaf upper-limit { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Port range upper limit"; } } output { choice output_c { leaf output { type string; } anyxml chassis-beacon-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-beacon-information rpc network-services { description "Show chassis network services"; output { choice output_c { leaf output { type string; } anyxml network-services { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc network-services rpc ambient-temperature { description "Show chassis ambient temperature"; output { choice output_c { leaf output { type string; } anyxml ambient-temperature { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc ambient-temperature rpc get-clock-synchronization-information { description "Show clock synchronization information"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf extensive { type empty; description "Show clock synchronization information in detail"; } } output { choice output_c { leaf output { type string; } anyxml clock-synchronization-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-clock-synchronization-information rpc get-craft-information { description "Show craft interface status"; output { choice output_c { leaf output { type string; } anyxml craft-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-craft-information rpc get-ethernet-switch-information { description "Show Ethernet switch information"; output { choice output_c { leaf output { type string; } anyxml ethernet-switch-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switch-information rpc get-ethernet-switch-statistics-information { description "Show Ethernet switch traffic statistics"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf port { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Port number"; } } output { choice output_c { leaf output { type string; } anyxml ethernet-switch-statistics-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switch-statistics-information rpc get-ethernet-switch-error-information { description "Show accumulated Ethernet switch errors"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf port { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Port number"; } } output { choice output_c { leaf output { type string; } anyxml ethernet-switch-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ethernet-switch-error-information rpc get-ioc-npc-connectivity-information { description "Show connectivity between IOC and NPC"; output { choice output_c { leaf output { type string; } anyxml ioc-npc-connectivity { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ioc-npc-connectivity-information rpc get-chassis-memory-usage-chassisd { description "Dump LMLD data to /var/log/chassisd_memory_usage"; input { leaf root { type string; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-memory-usage-chassisd rpc get-environment-information { description "Show component status and temperature, cooling system speeds"; output { choice output_c { leaf output { type string; } anyxml environment-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-information rpc get-environment-fan-information { description "Show fan status"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 6"; } } description "Fantray slot number"; } } output { choice output_c { leaf output { type string; } anyxml fan-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-fan-information rpc get-environment-fpc-information { description "Show Flexible PIC Concentrator information"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-fpc-information rpc get-environment-fpm-information { description "Show craft interface information"; output { choice output_c { leaf output { type string; } anyxml environment-component-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-fpm-information rpc get-environment-cb-information { description "Show Control Board information"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "CB slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-cb-information rpc get-environment-pem-information { description "Show Power Entry Module information"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "PEM slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-pem-information rpc get-environment-psm-information { description "Show Power Supply Module information"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "PSM slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-psm-information rpc get-environment-re-information { description "Show Routing Engine information"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Routing Engine slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-re-information rpc get-environment-service-node-information { description "Show Compute Node Environment information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Service node slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-service-node-information rpc get-firmware-information { description "Show firmware and operating system version for components"; output { choice output_c { leaf output { type string; } anyxml firmware-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-firmware-information rpc get-usb-storage-status { description "Show USB storage status"; output { choice output_c { leaf output { type string; } anyxml usb-storage-status { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-usb-storage-status rpc get-fpc-information { description "Show Flexible PIC Concentrator status"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf detail { type empty; description "Display detailed output"; } leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-information rpc get-pic-information { description "Show Physical Interface Cards installed in FPC"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-pic-information rpc get-fpc-ether-types-information { description "Show Ether Types"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-ether-types-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-ether-types-information rpc get-fpc-port-information { description "Show Port status installed in FPC"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-port-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-port-information rpc get-fpc-error-information { description "Show ASIC errors on all the FPC's"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } leaf detail { type empty; description "Display detailed output"; } leaf scope { type enumeration { enum "board" { value 0; description "Show board errors"; } enum "pfe" { value 1; description "Show pfe errors"; } } description "Error scope"; } leaf category { type enumeration { enum "functional" { value 0; description "Functional category errors"; } enum "memory" { value 1; description "Memory category errors"; } enum "io" { value 2; description "Io category errors"; } enum "storage" { value 3; description "Storage category errors"; } enum "switch" { value 4; description "Switch category errors"; } enum "processing" { value 5; description "Processing category errors"; } } description "Error category"; } } output { choice output_c { leaf output { type string; } anyxml fpc-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-error-information rpc get-fpc-error-i2c { description "Display I2C error statistics"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-tvp-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-error-i2c rpc get-pic-detail { description "Show Physical Interface Card state, type, and uptime"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Slot number of FPC that houses PIC"; } leaf pic-slot { type union { type string { pattern "<.*>|$.*"; } type int32; } mandatory true; description "PIC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-pic-detail rpc get-pic-transport-information { description "Show Physical Interface Card transport information"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "Slot number of FPC that houses PIC"; } leaf pic-slot { type union { type string { pattern "<.*>|$.*"; } type int32; } mandatory true; description "PIC slot number"; } } output { choice output_c { leaf output { type string; } anyxml pic-transport-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-pic-transport-information rpc get-fm-fpc-state-information { description "Show summary fabric management FPC state from Routing Engine"; output { choice output_c { leaf output { type string; } anyxml fm-fpc-state-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-fpc-state-information rpc get-fm-degradation-information { description "Show FPC fabric bandwidth degradation information"; output { choice output_c { leaf output { type string; } anyxml fm-degradation-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-degradation-information rpc get-fm-degradation-information-details { description "Show fpc fabric degradation action history"; output { choice output_c { leaf output { type string; } anyxml fm-degradation-information-details { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-degradation-information-details rpc get-fm-fabric-destinations-state { description "Show fabric destinations state for all FPCs"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf fpc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fm-fabric-destinations-state { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-fabric-destinations-state rpc get-fm-plane-location-information { description "Show fabric plane location"; output { choice output_c { leaf output { type string; } anyxml fm-plane-location-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-plane-location-information rpc get-fm-topology { description "Show fabric topology for plane"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf plane { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Fabric plane number"; } } output { choice output_c { leaf output { type string; } anyxml fm-topology { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-topology rpc get-fm-plane-state-information { description "Show state of fabric management plane"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf display { type enumeration { enum "terse" { value 0; description "Show terse output"; } enum "detail" { value 1; description "Show detail output"; } enum "extensive" { value 2; description "Show extensive output"; } } } leaf number { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4"; } } description "Fabric plane number"; } } output { choice output_c { leaf output { type string; } anyxml fm-plane-state-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-plane-state-information rpc get-fm-state-information { description "Show summary fabric management state"; output { choice output_c { leaf output { type string; } anyxml fm-state-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-state-information rpc get-fm-ext-state-information { description "Show extended summary fabric management state"; output { choice output_c { leaf output { type string; } anyxml fm-ext-state-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-ext-state-information rpc get-fm-state-legend { description "Show legend of fabric management states"; output { choice output_c { leaf output { type string; } anyxml fm-state-legend { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-state-legend rpc get-fm-fabric-reachability-information { description "Show current status of fabric reachability"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf detail { type empty; description "Show reachability output in detail"; } } output { choice output_c { leaf output { type string; } anyxml fm-fabric-reachability-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-fabric-reachability-information rpc get-chassis-inventory { description "Show installed hardware components"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf verbosity { type enumeration { enum "detail" { value 0; description "Include RAM and disk information in output"; } enum "extensive" { value 1; description "Display ID EEPROM information"; } enum "models" { value 2; description "Display serial number and model number for orderable FRUs"; } enum "clei-models" { value 3; description "Display CLEI barcode and model number for orderable FRUs"; } } } } output { choice output_c { leaf output { type string; } anyxml chassis-inventory { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-inventory rpc get-reswatch-config-information { description "Show rewatch configuration"; output { choice output_c { leaf output { type string; } anyxml reswatch-config-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-reswatch-config-information rpc get-power-budget-information { description "Show power budget chassis information"; output { choice output_c { leaf output { type string; } anyxml power-budget-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-power-budget-information rpc get-chassis-mac-addresses { description "Show media access control addresses"; output { choice output_c { leaf output { type string; } anyxml chassis-mac-addresses { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-mac-addresses rpc get-raid-status { description "Show RAID status"; output { choice output_c { leaf output { type string; } anyxml raid-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-raid-status rpc get-raid-members { description "Show RAID members"; output { choice output_c { leaf output { type string; } anyxml raid-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-raid-members rpc get-route-engine-information { description "Show Routing Engine status"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Routing Engine slot number"; } } output { choice output_c { leaf output { type string; } anyxml route-engine-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-route-engine-information rpc get-bios-version-information { description "Show BIOS firmware version"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-bios-version-information rpc get-chassis-hard-disk-test { description "Show smartd self tests status on hard disks"; input { leaf status { type empty; mandatory true; description "Display status of test"; } leaf disk { type string; mandatory true; description "Name of hard disk"; } } output { choice output_c { leaf output { type string; } anyxml raid-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-hard-disk-test rpc get-chassis-routing-engine-errors { description "Show RE errors"; output { choice output_c { leaf output { type string; } anyxml errors { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-routing-engine-errors rpc get-service-node-information { description "Show service node information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Service node slot number"; } } output { choice output_c { leaf output { type string; } anyxml service-node-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-service-node-information rpc get-fwdd-information { description "Show forwarding process (fwdd) status"; output { choice output_c { leaf output { type string; } anyxml scb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fwdd-information rpc get-tfeb-information { description "Show Compact Forwarding Engine Board status"; output { choice output_c { leaf output { type string; } anyxml scb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-tfeb-information rpc get-fan-information { description "Show fan and fan tray information"; output { choice output_c { leaf output { type string; } anyxml fan-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fan-information rpc get-chassis-location { description "Show physical location of chassis"; output { choice output_c { leaf output { type string; } anyxml chassis-location { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-location rpc get-temperature-threshold-information { description "Show chassis temperature threshold settings"; output { choice output_c { leaf output { type string; } anyxml temperature-threshold-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-temperature-threshold-information rpc get-power-management { description "Show power ratings for the router"; output { choice output_c { leaf output { type string; } anyxml power-management-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-power-management rpc get-in-service-upgrade-status { description "Show In Service upgrade status"; output { choice output_c { leaf output { type string; } anyxml in-service-upgrade-status { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-in-service-upgrade-status rpc get-nonstop-upgrade-status { description "Show nonstop upgrade status"; output { choice output_c { leaf output { type string; } anyxml in-service-upgrade-status { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-nonstop-upgrade-status rpc get-dedicated-ukern-status { description "Show ukernel dedicated CPU core assignment status "; output { choice output_c { leaf output { type string; } anyxml dedicated-ukern-cpu { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-dedicated-ukern-status rpc get-realtime-ukern-status { description "Show ukernel realtime thread assignment status "; output { choice output_c { leaf output { type string; } anyxml realtime-ukern-thread { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-realtime-ukern-status rpc get-chassis-oss-map { description "Show Operation Supported System's translated model"; output { choice output_c { leaf output { type string; } anyxml chassis-oss-map { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-oss-map rpc get-chassis-cluster-interfaces { description "Display chassis cluster interfaces"; output { choice output_c { leaf output { type string; } anyxml chassis-cluster-interface-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-interfaces rpc get-chassis-cluster-control-plane-statistics { description "Display control-plane statistics"; output { choice output_c { leaf output { type string; } anyxml chassis-cluster-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-control-plane-statistics rpc get-chassis-cluster-data-plane-statistics { description "Display data-plane statistics"; output { choice output_c { leaf output { type string; } anyxml services-synchronized { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-data-plane-statistics rpc get-chassis-cluster-data-plane-interfaces { description "Display data-plane interfaces"; output { choice output_c { leaf output { type string; } anyxml chassis-cluster-dataplane-interfaces { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-data-plane-interfaces rpc get-chassis-cluster-statistics { description "Display chassis cluster statistics"; output { choice output_c { leaf output { type string; } anyxml chassis-cluster-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-statistics rpc get-chassis-cluster-status { description "Display chassis cluster status"; input { leaf redundancy-group { type union { type string { pattern "<.*>|$.*"; } type uint8; } description "Display chassis cluster status per redundancy-group"; } } output { choice output_c { leaf output { type string; } anyxml chassis-cluster-status { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-status rpc get-chassis-cluster-information { description "Show chassis cluster information"; output { choice output_c { leaf output { type string; } anyxml chassis-cluster-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-information rpc get-chassis-cluster-configuration-synchronization-information { description "Display configuration synchronization information"; output { choice output_c { leaf output { type string; } anyxml configuration-synchronization-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-configuration-synchronization-information rpc get-chassis-cluster-issu-information { description "Display ISSU information"; output { choice output_c { leaf output { type string; } anyxml issu-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-issu-information rpc get-chassis-cluster-detail-information { description "Display all chassis cluster information"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf redundancy-group { type union { type string { pattern "<.*>|$.*"; } type uint8; } description "Display chassis cluster status per redundancy-group"; } } output { choice output_c { leaf output { type string; } anyxml chassis-cluster-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-detail-information rpc get-chassis-cluster-cold-synchronization-information { description "Display coldsync information"; output { choice output_c { leaf output { type string; } anyxml cold-synchronization-monitoring-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-cold-synchronization-information rpc get-chassis-cluster-spu-information { description "Display SPU information"; output { choice output_c { leaf output { type string; } anyxml spu-monitoring-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-spu-information rpc get-chassis-cluster-loopback-information { description "Display loopback monitoring information"; output { choice output_c { leaf output { type string; } anyxml loopback-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-loopback-information rpc get-chassis-cluster-hardware-monitoring-information { description "Display hardware monitoring information"; output { choice output_c { leaf output { type string; } anyxml hardware-monitoring-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-hardware-monitoring-information rpc get-chassis-cluster-schedule-monitoring-information { description "Display schedule monitoring information"; output { choice output_c { leaf output { type string; } anyxml schedule-monitoring-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-schedule-monitoring-information rpc get-chassis-cluster-interface-monitoring-information { description "Display interface monitoring information"; output { choice output_c { leaf output { type string; } anyxml interface-monitoring-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-interface-monitoring-information rpc get-chassis-cluster-control-link-information { description "Display control link information"; output { choice output_c { leaf output { type string; } anyxml control-link-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-control-link-information rpc get-chassis-cluster-fabric-link-information { description "Display fabric link information"; output { choice output_c { leaf output { type string; } anyxml fabric-link-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-fabric-link-information rpc get-chassis-cluster-command-history-information { description "Display command history"; output { choice output_c { leaf output { type string; } anyxml command-history-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-command-history-information rpc get-chassis-cluster-ip-monitoring-status { description "Display IP monitoring status"; output { choice output_c { leaf output { type string; } anyxml chassis-cluster-ip-monitoring { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-ip-monitoring-status rpc get-chassis-cluster-ip-monitoring-status-redundancy-group { description "Show IP monitoring status of a specific redundancy-group"; input { choice chassis-selector { leaf all-chassis { type empty; description "All chassis"; } leaf all-lcc { type empty; description "All LCC chassis"; } leaf scc { type empty; description "SCC"; } leaf sfc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFC"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific LCC"; } leaf node { type string; description "Specific node"; } leaf bsys { type empty; description "Base system"; } leaf gnf { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "Specific guest network function"; } leaf all-gnfs { type empty; description "All guest network functions"; } leaf all-system { type empty; description "All system (BSYS and GNFs)"; } leaf server { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Specific server slot"; } leaf all-servers { type empty; description "All servers"; } leaf vnf { type string; description "Specific virtual-network-function"; } leaf all-vnfs { type empty; description "All virtual-network-functions"; } } // choice chassis-selector choice re-selector { leaf re0 { type empty; description "RE0"; } leaf re1 { type empty; description "RE1"; } leaf routing-engine { type enumeration { enum "local" { value 0; description "Local routing engine"; } enum "other" { value 1; description "Other routing engine"; } enum "master" { value 2; description "Master routing engine"; } enum "backup" { value 3; description "Backup routing engine"; } enum "both" { value 4; description "Both routing engines"; } } description "Specific routing engine"; } } // choice re-selector choice lr-selector { leaf logical-system { type string; description "Name of logical system, or 'all'"; } } // choice lr-selector choice tenant-selector { leaf tenant { type string; description "Name of tenant, or 'all'"; } } // choice tenant-selector choice vc-selector { leaf local { type empty; description "Local virtual chassis member"; } leaf all-members { type empty; description "All virtual chassis members"; } leaf member { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Specific virtual chassis member"; } } // choice vc-selector leaf redundancy-group-identifier { type union { type string { pattern "<.*>|$.*"; } type uint8; } mandatory true; description "Redundancy-group identifier"; } } output { choice output_c { leaf output { type string; } anyxml chassis-cluster-ip-monitoring { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-ip-monitoring-status-redundancy-group rpc get-chassis-cluster-ethernet-switching-status { description "Display chassis cluster ethernet switching status"; output { choice output_c { leaf output { type string; } anyxml chassis-cluster-ethernet-switching-status { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-ethernet-switching-status rpc get-chassis-cluster-switch-fabric-probe-statistics { description "Display chassis cluster switch fabric probe statistics"; output { choice output_c { leaf output { type string; } anyxml chassis-cluster-switch-switching-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-switch-fabric-probe-statistics rpc get-chassis-cluster-switch-fabric-link-interfaces { description "Display chassis cluster switch fabric link interfaces"; output { choice output_c { leaf output { type string; } anyxml chassis-cluster-switch-switching-interfaces { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-cluster-switch-fabric-link-interfaces rpc get-chassis-high-availability-information { description "Display high-availability information"; output { choice output_c { leaf output { type string; } anyxml chassis-high-availability-info { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-high-availability-information rpc get-chassis-high-availability-detail-information { description "Display detailed high-availability info"; output { choice output_c { leaf output { type string; } anyxml chassis-high-availability-detail-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-high-availability-detail-information rpc get-chassis-high-availability-peer-information { description "Display high-availability peer information"; output { choice output_c { leaf output { type string; } anyxml chassis-high-availability-peer-info-detail { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-high-availability-peer-information rpc get-chassis-ha-data-plane-statistics { description "Display data-plane statistics"; output { choice output_c { leaf output { type string; } anyxml services-synchronized { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-ha-data-plane-statistics rpc get-chassis-high-availability-srg-information { description "Show specific service-redundancy-group terse information"; input { leaf services-redundancy-group-id { type union { type string { pattern "<.*>|$.*"; } type uint8 { range "0 .. 255"; } } mandatory true; description "Service redundancy-group identifier"; } } output { choice output_c { leaf output { type string; } anyxml chassis-high-availability-srg-terse-info { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-high-availability-srg-information } // module junos-es-rpc-chassis
© 2023 YumaWorks, Inc. All rights reserved.