Junos RPC YANG module for chassis command(s)
Version: 2019-01-01
module junos-ex-rpc-chassis { yang-version 1; namespace "http://yang.juniper.net/junos-ex/rpc/chassis"; prefix chassis; import junos-common-types { prefix jt; revision-date "2019-01-01"; } organization "Juniper Networks, Inc."; contact "yang-support@juniper.net"; description "Junos RPC YANG module for chassis command(s)"; revision "2019-01-01" { description "Junos: 21.3R1.9"; } rpc get-power-usage-information { description "Show Chassis Power Usages"; output { choice output_c { leaf output { type string; } anyxml power-usage-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-power-usage-information rpc get-fru-power-on-sequence { description "Show chassis fru power on sequence"; output { choice output_c { leaf output { type string; } anyxml fru-power-on-sequence; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-fru-power-on-sequence rpc get-alarm-information { description "Show alarm status"; output { choice output_c { leaf output { type string; } anyxml alarm-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-alarm-information rpc get-chassis-errors { description "Show chassis errors"; input { leaf error-id { type string { length "1 .. 255"; } mandatory true; description "Error identifier for the error to be cleared"; } leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } mandatory true; description "Slot number of FPC"; } } output { choice output_c { leaf output { type string; } anyxml chassis-error-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-errors rpc get-chassis-active-errors { description "Show active errors"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Slot number of FPC"; } } output { choice output_c { leaf output { type string; } anyxml chassis-active-error-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-active-errors rpc get-active-error-information-detail { description "Show detailed output"; input { leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Slot number of FPC"; } } output { choice output_c { leaf output { type string; } anyxml chassis-errors-detail-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-active-error-information-detail rpc get-chassis-beacon-information { description "Show beacon status"; input { choice which-arg { leaf all { type enumeration { enum "off" { value 0; description "Beacons in OFF state"; } enum "on" { value 1; description "Beacons in ON state"; } } description "Beacons in ON/OFF state"; } leaf fpc { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Flexible PIC Controller slot number"; } case cb { } // case cb leaf service-node { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Service Node slot number"; } } // choice which-arg leaf pic-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "PIC slot number"; } choice port-num { leaf port { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Port number"; } leaf port-range { type empty; description "Port range"; } } // choice port-num leaf lower-limit { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Port range lower limit"; } leaf upper-limit { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Port range upper limit"; } } output { choice output_c { leaf output { type string; } anyxml chassis-beacon-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-beacon-information rpc network-services { description "Show chassis network services"; output { choice output_c { leaf output { type string; } anyxml network-services; anyxml multi-routing-engine-results; } // choice output_c } } // rpc network-services rpc ambient-temperature { description "Show chassis ambient temperature"; output { choice output_c { leaf output { type string; } anyxml ambient-temperature; anyxml multi-routing-engine-results; } // choice output_c } } // rpc ambient-temperature rpc get-clock-synchronization-information { description "Show clock synchronization information"; input { uses command-forwarding; 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 { uses command-forwarding; 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-chassis-memory-usage-chassisd { description "Dump LMLD data to /var/log/chassisd_memory_usage"; input { leaf root { type string; } } output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-memory-usage-chassisd rpc get-environment-information { description "Show component status and temperature, cooling system speeds"; output { choice output_c { leaf output { type string; } anyxml environment-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-environment-information rpc get-environment-sib-information { description "Show Switch Interface Board information"; input { uses command-forwarding; 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 { uses command-forwarding; 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 { uses command-forwarding; leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-environment-fpc-information rpc get-environment-fpm-information { description "Show craft interface information"; output { choice output_c { leaf output { type string; } anyxml environment-component-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-environment-fpm-information rpc get-environment-cb-information { description "Show Control Board information"; input { uses command-forwarding; 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-psu-information { description "Show Power Supply Unit information"; input { uses command-forwarding; leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "PSU 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-psu-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 { uses command-forwarding; leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "PEM slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-environment-pem-information rpc get-environment-psm-information { description "Show Power Supply Module information"; input { uses command-forwarding; leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "PSM slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-environment-psm-information rpc get-environment-re-information { description "Show Routing Engine information"; input { uses command-forwarding; leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Routing Engine slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-environment-re-information rpc get-environment-service-node-information { description "Show Compute Node Environment information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Service node slot number"; } } output { choice output_c { leaf output { type string; } anyxml environment-component-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-environment-service-node-information rpc get-firmware-information { description "Show firmware and operating system version for components"; output { choice output_c { leaf output { type string; } anyxml firmware-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-firmware-information rpc get-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-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 { uses command-forwarding; 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 { uses command-forwarding; 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 { uses command-forwarding; 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 { uses command-forwarding; 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-vcpu-information { description "Show Visibility CPU status"; input { uses command-forwarding; leaf detail { type empty; description "Display detailed output"; } leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "VCPU slot number"; } } output { choice output_c { leaf output { type string; } anyxml vcpu-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-vcpu-information rpc get-pic-detail { description "Show Physical Interface Card state, type, and uptime"; input { uses command-forwarding; 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-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-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-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-fm-fpc-state-information { description "Show summary fabric management FPC state from Routing Engine"; output { choice output_c { leaf output { type string; } anyxml fm-fpc-state-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-fm-fpc-state-information rpc get-fm-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 { uses command-forwarding; leaf plane { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Fabric plane number"; } } output { choice output_c { leaf output { type string; } anyxml fm-topology; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-fm-topology rpc get-fm-plane-state-information { description "Show state of fabric management plane"; input { uses command-forwarding; leaf display { type enumeration { enum "terse" { value 0; description "Show terse output"; } enum "detail" { value 1; description "Show detail output"; } enum "extensive" { value 2; description "Show extensive output"; } } } leaf number { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 4"; } } description "Fabric plane number"; } } output { choice output_c { leaf output { type string; } anyxml fm-plane-state-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-fm-plane-state-information rpc get-fm-state-information { description "Show summary fabric management state"; output { choice output_c { leaf output { type string; } anyxml fm-state-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-fm-state-information rpc get-chassis-inventory { description "Show installed hardware components"; input { uses command-forwarding; 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-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-ae-lb-information { description "Show multicast load balancing settings"; output { choice output_c { leaf output { type string; } anyxml chassis-ae-lb-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-ae-lb-information rpc get-rps-chassis-information { description "Show redundant power system chassis information"; output { choice output_c { leaf output { type string; } anyxml rps-chassis-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-rps-chassis-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 { uses command-forwarding; leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "Routing Engine slot number"; } } output { choice output_c { leaf output { type string; } anyxml route-engine-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-route-engine-information rpc get-bios-version-information { description "Show BIOS firmware version"; output { choice output_c { leaf output { type string; } anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-bios-version-information rpc get-chassis-hard-disk-test { description "Show smartd self tests status on hard disks"; input { leaf status { type empty; mandatory true; description "Display status of test"; } leaf disk { type string; mandatory true; description "Name of hard disk"; } } output { choice output_c { leaf output { type string; } anyxml raid-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-hard-disk-test rpc get-chassis-routing-engine-errors { description "Show RE errors"; output { choice output_c { leaf output { type string; } anyxml errors; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-routing-engine-errors rpc get-service-node-information { description "Show service node information"; input { leaf slot { type union { type string { pattern "<.*>|$.*"; } type uint32 { range "0 .. 1"; } } description "Service node slot number"; } } output { choice output_c { leaf output { type string; } anyxml service-node-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-service-node-information rpc get-tfeb-information { description "Show Compact Forwarding Engine Board status"; output { choice output_c { leaf output { type string; } anyxml scb-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-tfeb-information rpc get-fan-information { description "Show fan and fan tray information"; output { choice output_c { leaf output { type string; } anyxml fan-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-fan-information rpc get-chassis-location { description "Show physical location of chassis"; output { choice output_c { leaf output { type string; } anyxml chassis-location; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-location rpc get-temperature-threshold-information { description "Show chassis temperature threshold settings"; output { choice output_c { leaf output { type string; } anyxml temperature-threshold-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-temperature-threshold-information rpc get-power-management { description "Show power ratings for the router"; output { choice output_c { leaf output { type string; } anyxml power-management-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-power-management rpc get-in-service-upgrade-status { description "Show In Service upgrade status"; output { choice output_c { leaf output { type string; } anyxml in-service-upgrade-status; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-in-service-upgrade-status rpc get-nonstop-upgrade-status { description "Show nonstop upgrade status"; output { choice output_c { leaf output { type string; } anyxml in-service-upgrade-status; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-nonstop-upgrade-status rpc get-chassis-oss-map { description "Show Operation Supported System's translated model"; output { choice output_c { leaf output { type string; } anyxml chassis-oss-map; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-oss-map rpc get-lcd-information { description "Show LCD display"; output { choice output_c { leaf output { type string; } anyxml craft-lcd-led-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-lcd-information rpc get-lcd-fpc-information { description "Show LCD display for FPC slot number"; input { uses command-forwarding; leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml craft-lcd-led-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-lcd-fpc-information rpc get-lcd-menu-information { description "Show active LCD menu items"; output { choice output_c { leaf output { type string; } anyxml lcd-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-lcd-menu-information rpc get-led-information { description "Show LED status"; output { choice output_c { leaf output { type string; } anyxml craft-lcd-led-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-led-information rpc get-led-fpc-information { description "Show LED status for FPC slot number"; input { uses command-forwarding; leaf fpc-slot { type union { type string { pattern "<.*>|$.*"; } type uint32; } description "FPC slot number"; } } output { choice output_c { leaf output { type string; } anyxml craft-lcd-led-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-led-fpc-information rpc get-chassis-pic-mode-information { description "Show a member's chassis pic-mode"; output { choice output_c { leaf output { type string; } anyxml chassis-pic-mode-information; anyxml multi-routing-engine-results; } // choice output_c } } // rpc get-chassis-pic-mode-information grouping command-forwarding { 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 } // grouping command-forwarding } // module junos-ex-rpc-chassis
© 2023 YumaWorks, Inc. All rights reserved.