Junos RPC YANG module for chassis command(s)
Version: 2019-01-01
module junos-rpc-chassis { yang-version 1; namespace "http://yang.juniper.net/junos/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-personality-information { description "Show chassis's current personality"; output { choice output_c { leaf output { type string; } anyxml personality-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-personality-information rpc get-uft-information { description "Show member's current UFT configuration"; output { choice output_c { leaf output { type string; } anyxml uft-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-uft-information rpc get-system-mode-information { description "Show member's current system-mode configuration"; output { choice output_c { leaf output { type string; } anyxml system-mode-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-system-mode-information 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-alarm-satellite-information { description "Show alarm status for satellite devices"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } } output { choice output_c { leaf output { type string; } anyxml chassis-alarm-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-alarm-satellite-information rpc get-jam-test-information { description "Show Jam API test result"; input { 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 jam-test-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-jam-test-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 interface { type string; description "Name of physical interface"; } 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 switch { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Switch number"; } 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 switch { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Switch number"; } 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-re-redundancy-information { description "Show RE failover redundancy information"; output { choice output_c { leaf output { type string; } anyxml re-redundancy-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-re-redundancy-information rpc get-feb-redundancy-information { description "Show Forwarding Engine Board redundancy information"; output { choice output_c { leaf output { type string; } anyxml feb-redundancy-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-redundancy-information rpc get-feb-redundancy-error-information { description "Show error information"; output { choice output_c { leaf output { type string; } anyxml feb-redundancy-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-redundancy-error-information rpc get-feb-redundancy-group-information { description "Show FEB redundancy group information"; input { leaf group { type string; mandatory true; description "Name of FEB redundancy group"; } leaf errors { type empty; description "Include error information"; } } output { choice output_c { leaf output { type string; } anyxml feb-redundancy-group-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-redundancy-group-information rpc get-fpc-feb-connectivity-information { description "Show connectivity between Flexible PIC Concentrators and Forwarding Engine boards"; output { choice output_c { leaf output { type string; } anyxml fpc-feb-connectivity { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-feb-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-chassis-zones-information { description "Show chassis cooling zones 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 detail { type empty; description "Display detailed output"; } } output { choice output_c { leaf output { type string; } anyxml chassis-zones-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-zones-information rpc get-environment-information { description "Show component status and temperature, cooling system speeds"; 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 monitored { type empty; description "Show items whose temperatures are monitored"; } } 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-sib-information { description "Show Switch Interface 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 sib-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SIB 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-sib-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-chassis-environment-fpc-satellite-info { description "Show environment FPC details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-environment-fpc-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-environment-fpc-satellite-info 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-mcs-information { description "Show Miscellaneous Control Subsystem information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "MCS 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-mcs-information rpc get-environment-pcg-information { description "Show Packet Forwarding Engine Clock Generator information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "PCG 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-pcg-information rpc get-environment-scg-information { description "Show SONET Clock Generator 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 { range "0 .. 1"; } } description "SCG 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-scg-information rpc get-environment-ccg-information { description "Show clock generator information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "CCG 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-ccg-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-power-supply-unit-information { description "Show power supply unit information"; input { leaf 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-power-supply-unit-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-chassis-environment-pem-satellite-info { description "Show environment PEM details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-environment-pem-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-environment-pem-satellite-info 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-sfb-information { description "Show SFB 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 sfb-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 7"; } } description "SFB slot number"; } } output { choice output_c { leaf output { type string; } anyxml sfb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-sfb-information rpc get-environment-adc-information { description "Show adc 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 adc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "ADC slot number"; } } output { choice output_c { leaf output { type string; } anyxml sfb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-environment-adc-information rpc get-environment-pdu-information { description "Show Power Distribution Unit information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 3"; } } description "PDU 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-pdu-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-chassis-environment-re-satellite-info { description "Show environment routing engine details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-environment-routing-engine-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-environment-re-satellite-info rpc get-environment-sfm-information { description "Show Switching and Forwarding Module information"; input { leaf sfm_plane { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFM 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-sfm-information rpc get-environment-feb-information { description "Show Forwarding Engine Board information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FEB 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-feb-information rpc get-environment-cip-information { description "Show Connector Interface Panel Information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "CIP 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-cip-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-chassis-environment-satellite-information { description "Show environment details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-environment-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-environment-satellite-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-firmware-information-detail { description "Show detailed output"; output { choice output_c { leaf output { type string; } anyxml hardware-version-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-firmware-information-detail rpc get-chassis-firmware-satellite-information { description "Show FPC firmware details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-firmware-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-firmware-satellite-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-fpc-optical-information { description "Show optical properties of the card"; output { choice output_c { leaf output { type string; } anyxml fpc-optical-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-information rpc get-fpc-optical-mfg-info-information { description "Show mfg-info of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-mfg-info-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-mfg-info-information rpc get-fpc-optical-status-information { description "Show status of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-status-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-status-information rpc get-fpc-optical-alarms-information { description "Show alarms of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-alarms-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-alarms-information rpc get-fpc-optical-edfa-information { description "Show edfa of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-edfa-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-edfa-information rpc get-fpc-optical-ocm-information { description "Show ocm of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ocm-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ocm-information rpc get-fpc-optical-wss-information { description "Show wss of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-wss-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-wss-information rpc get-fpc-optical-pm-current-information { description "Show pm-current of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-pm-current-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-pm-current-information rpc get-fpc-optical-pm-interval-information { description "Show pm-interval of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-pm-interval-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-pm-interval-information rpc get-fpc-optical-pm-currentday-information { description "Show pm-currentday of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-pm-currentday-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-pm-currentday-information rpc get-fpc-optical-pm-previousday-information { description "Show pm-previousday of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-pm-previousday-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-pm-previousday-information rpc get-fpc-optical-amplifier-topology-information { description "Show amplifier-topology of optical module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-amplifier-topology-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-amplifier-topology-information rpc get-fpc-optical-topology-information { description "Show IPLC Topology Information"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf detail { type empty; description "Show IPLC Topology Detailed Information"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-topology-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-topology-information rpc get-fpc-optical-amplifier-chain-information { description "Show in-line amplifier amplifier-chain information"; output { choice output_c { leaf output { type string; } anyxml fpc-optical-amplifier-chain-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-amplifier-chain-information rpc get-fpc-optical-ila-summary-information { description "Show summary of ila module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf ila-number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "In-line amplifier number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ila-summary-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ila-summary-information rpc get-fpc-optical-ila-edfa-information { description "Show edfa of ila module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf ila-number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "In-line amplifier number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ila-edfa-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ila-edfa-information rpc get-fpc-optical-ila-osc-information { description "Show osc of ila module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf ila-number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "In-line amplifier number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ila-osc-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ila-osc-information rpc get-fpc-optical-ila-voa-information { description "Show voa of ila module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf ila-number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "In-line amplifier number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ila-voa-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ila-voa-information rpc get-fpc-optical-ila-alarms-information { description "Show alarms of ila module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf ila-number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "In-line amplifier number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ila-alarms-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ila-alarms-information rpc get-fpc-optical-ila-pm-current-information { description "Show pm-current of ila module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf ila-number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "In-line amplifier number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ila-pm-current-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ila-pm-current-information rpc get-fpc-optical-ila-pm-interval-information { description "Show pm-interval of ila module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf ila-number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "In-line amplifier number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ila-pm-interval-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ila-pm-interval-information rpc get-fpc-optical-ila-pm-currentday-information { description "Show pm-currentday of ila module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf ila-number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "In-line amplifier number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ila-pm-currentday-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ila-pm-currentday-information rpc get-fpc-optical-ila-pm-previousday-information { description "Show pm-previousday of ila module"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } leaf ila-number { type union { type uint32; type string { pattern "<.*>|$.*"; } } mandatory true; description "In-line amplifier number"; } } output { choice output_c { leaf output { type string; } anyxml fpc-optical-ila-pm-previousday-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fpc-optical-ila-pm-previousday-information rpc get-global-pfe-id { description "Show Global PFE IDs"; output { choice output_c { leaf output { type string; } anyxml global-pfe-id-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-global-pfe-id rpc get-adc-information { description "Show ADC status"; output { choice output_c { leaf output { type string; } anyxml adc-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-adc-information 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-spmb-information { description "Show Switch Processor Mezzanine Board status"; output { choice output_c { leaf output { type string; } anyxml spmb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-spmb-information rpc get-spmb-sib-information { description "Show Switch Interface Board status"; output { choice output_c { leaf output { type string; } anyxml sib-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-spmb-sib-information rpc get-spmb-error-information { description "Show errors on SPMB"; output { choice output_c { leaf output { type string; } anyxml spmb-error-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-spmb-error-information rpc get-sib-information { description "Show Switch Interface Board 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 slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SIB slot number"; } } output { choice output_c { leaf output { type string; } anyxml sib-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sib-information rpc get-sibs-errors { description "Show ASIC errors on sib"; input { leaf sib-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SIB slot number"; } } output { choice output_c { leaf output { type string; } anyxml sib-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sibs-errors rpc get-sfb-information { description "Show Switch Fabric Board 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 "SFB slot number"; } } output { choice output_c { leaf output { type string; } anyxml sfb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sfb-information rpc get-sfb-errors { description "Show ASIC errors on sfb"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SFB slot number"; } } output { choice output_c { leaf output { type string; } anyxml sfb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sfb-errors rpc get-fru-information { description "Show Line Card Chassis (LCC) status"; output { choice output_c { leaf output { type string; } anyxml fru-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fru-information rpc get-chassis-lcc-mode-information { description "Show chassis lcc mode information"; input { leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "LCC number"; } } output { choice output_c { leaf output { type string; } anyxml chassis-lcc-mode-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-lcc-mode-information rpc get-psd-information { description "Show Protected System Domain (PSD) status"; output { choice output_c { leaf output { type string; } anyxml psd-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-psd-information rpc get-gnf-information { description "Show Network Slices status"; output { choice output_c { leaf output { type string; } anyxml gnf-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-gnf-information rpc get-gnf-fpcs-information { description "Show FPCs assigned to GNFs"; output { choice output_c { leaf output { type string; } anyxml gnf-fpcs-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-gnf-fpcs-information rpc get-network-slice-description { description "Show GNF description"; input { leaf gnf-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "1 .. 10"; } } description "GNF slot number"; } } output { choice output_c { leaf output { type string; } anyxml gnf-description { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-network-slice-description rpc get-afs-information { description "Show AFs information"; output { choice output_c { leaf output { type string; } anyxml afs-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-afs-information rpc get-chassis-fabric-mesh-topo-information { description "Show mesh topology"; output { choice output_c { leaf output { type string; } anyxml chassis-fabric-mesh-topo-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-fabric-mesh-topo-information rpc get-chassis-fabric-mesh-feb-information { description "Show summary fabric management FEB state"; output { choice output_c { leaf output { type string; } anyxml chassis-fabric-mesh-feb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-fabric-mesh-feb-information rpc get-fm-fpc-state-information { description "Show summary fabric management FPC state from Routing Engine"; 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"; } leaf mode { type enumeration { enum "extended" { value 0; description "Show all planes in output"; } } } } 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"; } leaf mode { type enumeration { enum "extended" { value 0; description "Show all 24 planes in output"; } } } } 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-optical-links-state-information { description "Show state of fabric management optical links"; input { leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Lcc number"; } leaf detail { type empty; description "Display detailed output"; } } output { choice output_c { leaf output { type string; } anyxml fm-optical-links-state-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-optical-links-state-information rpc get-fm-optics-port-information { description "Show info of fabric optical ports"; 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 "brief" { value 0; description "Show brief output"; } enum "detail" { value 1; description "Show detailed output"; } } } leaf sib-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SIB slot number"; } } output { choice output_c { leaf output { type string; } anyxml fm-optics-port-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-optics-port-information 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"; } leaf mode { type enumeration { enum "extended" { value 0; description "Show all 24 planes in output"; } } } } 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-mid-plane-state-information { description "Show state of fabric mid plane"; output { choice output_c { leaf output { type string; } anyxml fm-plane-state-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-mid-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-sib-state-information { description "Show summary fabric management SIB state from Routing Engine"; 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 "SIB slot number"; } } output { choice output_c { leaf output { type string; } anyxml fm-sib-state-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-sib-state-information rpc get-chassis-fabric-topology-information { description "Show fabric topology 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 sib-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "SIB slot number"; } } output { choice output_c { leaf output { type string; } anyxml chassis-fabric-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-fabric-topology-information rpc get-fm-topo-tracepath-link { description "Show info of fabric path"; input { leaf hsl2link { type string; mandatory true; description "HSL2 Link Name as in topology command"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } default "0"; description "Lcc number. Default is 0"; } } output { choice output_c { leaf output { type string; } anyxml fm-topo-tracepath-link { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-topo-tracepath-link rpc get-fm-topo-tracepath-fpc { description "Show info of fabric path"; input { leaf fpcstr { type string; mandatory true; description "FPC/PFE String as in topology cmd - e.g. FPC7PFE1"; } leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "Lcc number."; } leaf plane { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 5"; } } default "5"; description "Fabric Plane - 0/1/2/3/4 and 5=all-active-planes(Default)"; } } output { choice output_c { leaf output { type string; } anyxml fm-topo-tracepath-fpc { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-topo-tracepath-fpc rpc get-fm-unreachable-dest-information { description "Show unreachable destinations on all active planes"; output { choice output_c { leaf output { type string; } anyxml fm-unreachable-dest-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-unreachable-dest-information 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"; } leaf extended { type empty; description "Show all 24 planes in output"; } } 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-fm-degraded-fabric-state-information { description "Show degraded fabric state on all active planes"; output { choice output_c { leaf output { type string; } anyxml fm-degraded-fabric-state-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-degraded-fabric-state-information rpc get-fm-sib-errors { description "Show Switch Interface Board 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 sib-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "SIB slot number"; } } output { choice output_c { leaf output { type string; } anyxml fm-fru-errors { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-sib-errors rpc get-fm-fpc-errors { description "Show Flexible PIC Controller 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 slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml fm-fru-errors { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-fpc-errors rpc get-fm-plane-autoheal-errors { description "Show Planes autoheal state"; output { choice output_c { leaf output { type string; } anyxml fm-fru-errors { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-plane-autoheal-errors rpc get-fm-fpc-stream-information { description "Show FPC stream number information"; output { choice output_c { leaf output { type string; } anyxml fm-fpc-stream-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-fm-fpc-stream-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-chassis-hardware-satellite-information { description "Show hardware details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } 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-hardware-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-hardware-satellite-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-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-routing-engine-bios-satellite-info { description "Show routing engine bios details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-routing-engine-bios-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-routing-engine-bios-satellite-info 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-chassis-routing-engine-satellite-information { description "Show routing engine details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-routing-engine-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-routing-engine-satellite-information rpc get-service-node-information { description "Show service node information"; input { leaf version { type empty; description "Show service-node version information"; } 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-ssb-information { description "Show System and Switch Board status"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "SSB slot number"; } } output { choice output_c { leaf output { type string; } anyxml scb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-ssb-information rpc get-scb-information { description "Show System Control Board status"; output { choice output_c { leaf output { type string; } anyxml scb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-scb-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-sfm-information { description "Show Switching and Forwarding Module status"; output { choice output_c { leaf output { type string; } anyxml scb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-sfm-information rpc get-feb-brief-information { description "Show Forwarding Engine Board status"; input { leaf feb_slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FEB slot number"; } } output { choice output_c { leaf output { type string; } anyxml scb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-brief-information rpc get-feb-information { description "Show detailed output"; input { leaf feb_slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FEB slot number"; } } output { choice output_c { leaf output { type string; } anyxml scb-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-feb-information rpc get-cfeb-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-cfeb-information rpc get-afeb-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-afeb-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-fan-satellite-information { description "Show fan details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-fan-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-fan-satellite-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-interface-location-name-information { description "Show physical location given interface name"; input { leaf interface-name { type string; mandatory true; description "Interface name"; } } output { choice output_c { leaf output { type string; } anyxml interface-location-name-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-interface-location-name-information rpc get-interface-location-information { description "Show interface name given location"; input { leaf lcc { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "LCC number"; } leaf fpc { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "FPC number"; } } output { choice output_c { leaf output { type string; } anyxml interface-location-slot-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-interface-location-information 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-chassis-temp-thresholds-satellite-info { description "Show temperature thresholds details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-temperature-thresholds-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-temp-thresholds-satellite-info 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-chassis-mode-status { description "Show chassis mode status"; output { choice output_c { leaf output { type string; } anyxml chassis-mode-status { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-mode-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-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 security-uefi-variables { description "Show platform UEFI variables"; output { choice output_c { leaf output { type string; } anyxml uefi-vars { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc security-uefi-variables rpc get-gnf-description { description "Show GNF information"; output { choice output_c { leaf output { type string; } anyxml gnf-description { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-gnf-description rpc get-chassis-satellite-information { description "Show Satellite Devices information"; input { choice arg { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } // choice arg leaf cluster { type string; description "Cluster name"; } leaf since { type jt:time; description "Show history since YYYY-MM-DD.HH:MM:SS"; } 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"; } } output { choice output_c { leaf output { type string; } anyxml satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-information rpc get-chassis-satellite-unprovision-information { description "Display unprovisioned satellites"; input { leaf system-id { type jt:mac-addr; description "Satellite system id"; } leaf since { type jt:time; description "Show history since YYYY-MM-DD.HH:MM:SS"; } 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"; } } output { choice output_c { leaf output { type string; } anyxml satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-unprovision-information rpc get-chassis-satellite-statistics { description "Display device statistics information"; input { choice arg { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } // choice arg leaf cluster { type string; description "Cluster name"; } } output { choice output_c { leaf output { type string; } anyxml device-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-statistics rpc get-chassis-satellite-redundancy-group-info { description "Display multi-chassis cluster information"; input { leaf since { type jt:time; description "Show history since YYYY-MM-DD.HH:MM:SS"; } leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "brief" { value 1; description "Display brief output"; } enum "detail" { value 2; description "Display detailed output"; } enum "extensive" { value 3; description "Display extensive output"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml multi-chassis-cluster-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-redundancy-group-info rpc get-chassis-satellite-redundacy-grp-devices-info { description "Display satellite device information"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "Satellite slot number"; } leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "brief" { value 1; description "Display brief output"; } enum "detail" { value 2; description "Display detailed output"; } enum "extensive" { value 3; description "Display extensive output"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml multi-chassis-cluster-device-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-redundacy-grp-devices-info rpc get-chassis-satellite-redundancy-grp-dev-history { description "Display device history information"; input { leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } enum "extensive" { value 2; description "Display extensive output"; } } default "brief"; } leaf serial-number { type string; description "Device Serial Number"; } leaf global { type empty; description "Global history"; } } output { choice output_c { leaf output { type string; } anyxml multi-chassis-cluster-device-history-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-redundancy-grp-dev-history rpc get-chassis-satellite-redundacy-grp-if-info { description "Display satellite interface information"; input { leaf interface-name { type union { type jt:interface-name; type string { pattern "<.*>|$.*"; } } description "Name of interface"; } leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "brief" { value 1; description "Display brief output"; } enum "detail" { value 2; description "Display detailed output"; } enum "extensive" { value 3; description "Display extensive output"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml multi-chassis-cluster-interface-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-redundacy-grp-if-info rpc get-chassis-satellite-extended-port-information { description "Display extended-port information"; input { leaf interface-name { type string; description "Interface name"; } leaf since { type jt:time; description "Show history since YYYY-MM-DD.HH:MM:SS"; } leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "Satellite slot number"; } leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "brief" { value 1; description "Display brief output"; } enum "detail" { value 2; description "Display detailed output"; } enum "extensive" { value 3; description "Display extensive output"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml extended-port-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-extended-port-information rpc get-chassis-satellite-upgrade-group-information { description "Display upgrade group information"; input { leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "brief" { value 1; description "Display brief output"; } enum "detail" { value 2; description "Display detailed output"; } enum "extensive" { value 3; description "Display extensive output"; } } default "terse"; } leaf group-name { type string; description "Upgrade group name"; } } output { choice output_c { leaf output { type string; } anyxml upgrade-group-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-upgrade-group-information rpc get-chassis-satellite-neighbor-information { description "Display satellite adjacency information"; input { leaf interface-name { type string; description "Name of interface"; } leaf since { type jt:time; description "Show history since YYYY-MM-DD.HH:MM:SS"; } leaf level { type enumeration { enum "terse" { value 0; description "Display terse output (default)"; } enum "brief" { value 1; description "Display brief output"; } enum "detail" { value 2; description "Display detailed output"; } enum "extensive" { value 3; description "Display extensive output"; } } default "terse"; } } output { choice output_c { leaf output { type string; } anyxml adjacency-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-neighbor-information rpc get-chassis-satellite-neighbor-statistics { description "Display adjacency statistics information"; input { leaf interface-name { type string; description "Name of interface"; } } output { choice output_c { leaf output { type string; } anyxml adjacency-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-neighbor-statistics rpc get-chassis-satellite-interface-information { description "Display satellite protocol interface information"; input { leaf verbosity_level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } enum "extensive" { value 2; description "Display extensive output"; } } default "brief"; } leaf interface-name { type string; description "Name of interface"; } leaf since { type jt:time; description "Show history since YYYY-MM-DD.HH:MM:SS"; } } output { choice output_c { leaf output { type string; } anyxml satellite-interface-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-interface-information rpc get-satellite-management-software-information { description "Show satellite software installed"; input { leaf level { type enumeration { enum "brief" { value 0; description "Display brief output (default)"; } enum "detail" { value 1; description "Display detailed output"; } } default "brief"; } } output { choice output_c { leaf output { type string; } anyxml satellite-software-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-management-software-information rpc get-satellite-power-budget-information { description "Show power budget chassis satellite information"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } } output { choice output_c { leaf output { type string; } anyxml power-budget-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-satellite-power-budget-information rpc get-chassis-satellite-cluster-information { description "Show Satellite Cluster information"; input { leaf cluster { type string; description "Cluster name"; } 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"; } } output { choice output_c { leaf output { type string; } anyxml satellite-cluster-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-cluster-information rpc get-chassis-satellite-cluster-route { description "Display cluster route information"; input { leaf cluster { type string; description "Cluster name"; } leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "Satellite slot number"; } } output { choice output_c { leaf output { type string; } anyxml cluster-statistics-route { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-cluster-route rpc get-chassis-satellite-cluster-statistics { description "Display cluster statistics information"; input { leaf cluster { type string; description "Cluster name"; } leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "65 .. 254"; } } description "Satellite slot number"; } } output { choice output_c { leaf output { type string; } anyxml cluster-statistics { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-satellite-cluster-statistics rpc get-chassis-led-satellite-information { description "Show led details"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint16 { range "65 .. 254"; } } description "Satellite slot number"; } leaf device-alias { type string; description "Device alias"; } } output { choice output_c { leaf output { type string; } anyxml chassis-led-satellite-information { } anyxml multi-routing-engine-results { } } // choice output_c } } // rpc get-chassis-led-satellite-information } // module junos-rpc-chassis
© 2023 YumaWorks, Inc. All rights reserved.