This module holds chassis, cards Enviroment data. Copyright (c) 2012-2020 by Cisco Systems, Inc. All rights reserved.
Version: 2020-05-12
module Cisco-IOS-XR-sysadmin-xrv9k-envmon-ui { yang-version 1; namespace "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-xrv9k-envmon-ui"; prefix envmon; import Cisco-IOS-XR-sysadmin-show-trace { prefix show_trace; } import tailf-xsd-types { prefix xs; } import Cisco-IOS-XR-sysadmin-types { prefix calvados; } import Cisco-IOS-XR-sysadmin-xrv9k-envmon-types { prefix envmon-types; } import cisco-semver { prefix semver; } organization "Cisco Systems Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module holds chassis, cards Enviroment data. Copyright (c) 2012-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-05-12" { description "Required changes to add single mode config location specific"; } revision "2020-05-05" { description "Adjusting power consumed due to multi output for 9903"; } revision "2019-04-15" { description "Establish semantic version baseline."; } revision "2018-04-09" { description "Required changes for ConfD 6.4.5"; } revision "2018-02-06" { description "Adding CLI input validation for LC priority shutdown feature"; } revision "2018-01-25" { description "Initial revision of LC priority shutdown feature"; } revision "2017-11-27" { description "Add graceful shutdown disable CLI."; } revision "2017-07-31" { description "Changing the namespace to follow Cisco guidelines on naming convention"; } revision "2017-04-10" { description "Adding the source leaf to altitude value, this is to distinguish the source of the altitude value "; } revision "2017-03-31" { description "Renamed module and namespace"; } revision "2017-03-30" { description "commenting the sensor_attributes callpoints for the oper sensors, using only the location based callpoints for sensor_attributes "; } revision "2016-10-12" { description "unhide commands and configs. moved to advanced-grp"; } revision "2011-11-24" { description "Initial revision of show environment commands"; } semver:module-version "1.0.0"; container environment { container oper { config false; description "environment operational (show) data"; container temperatures { config false; list location { key "location"; leaf location { type string; } list sensor_attributes { key "sensor"; leaf loc_header { type boolean; default "false"; } leaf print_header { type boolean; default "false"; } leaf location { type string; } leaf sensor { type string; } leaf sensor_id { type string; } leaf alarm { type string; } leaf temperature_value { type string; } leaf value { type int32; } leaf critical_lo { type int32; } leaf major_lo { type int32; } leaf minor_lo { type int32; } leaf minor_hi { type int32; } leaf major_hi { type int32; } leaf critical_hi { type int32; } } // list sensor_attributes } // list location } // container temperatures container voltages { config false; list location { key "location"; leaf location { type string; } list sensor_attributes { key "sensor"; leaf loc_header { type boolean; default "false"; } leaf print_header { type boolean; default "false"; } leaf location { type string; } leaf sensor { type string; } leaf sensor_id { type string; } leaf alarm { type string; } leaf value { type string; } leaf temperature_value { type int32; } leaf critical_lo { type int32; } leaf major_lo { type int32; } leaf minor_lo { type int32; } leaf minor_hi { type int32; } leaf major_hi { type int32; } leaf critical_hi { type int32; } } // list sensor_attributes } // list location } // container voltages container current { config false; list location { key "location"; leaf location { type string; } list sensor_attributes { key "sensor"; leaf loc_header { type boolean; default "false"; } leaf print_header { type boolean; default "false"; } leaf location { type string; } leaf sensor { type string; } leaf sensor_id { type string; } leaf alarm { type string; } leaf value { type string; } leaf temperature_value { type int32; } } // list sensor_attributes } // list location } // container current container fan { config false; list location { key "location"; leaf location { type string; } leaf print_header { type boolean; default "false"; } leaf loc_header { type uint32; } list fan_attributes { key "logical_slot"; leaf print_fan_header { type string; } leaf location { type string; } leaf logical_slot { type string; } leaf fru_PID { type string; } leaf fans_speed { type string; } leaf fan_header { type uint32; } leaf speed_space { type uint32; } } // list fan_attributes } // list location } // container fan container power { config false; list location { key "location"; leaf location { type string; } list pem_attributes { key "pem"; leaf pem { type string; } leaf pem_id { type string; } leaf card_type { type string; } leaf ps_type { type string; } leaf shelf_num { type uint16; } leaf supply_type { type string; } leaf input_voltage { type string; } leaf input_current { type string; } leaf output_voltage { type xs:double; } leaf output_current { type xs:double; } leaf status { type string; } leaf input_power_to_ps { type uint32; } leaf input_current_to_ps { type string; } leaf output_power_from_ps { type uint32; } leaf output_current_from_ps { type xs:double; } leaf power_allocated { type uint32; } leaf power_consumed { type string; } leaf power_status { type string; } leaf confgd_power_redundancy_mode { type string; } leaf usable_power_capacity { type uint32; } leaf protection_power_capacity { type uint32; } leaf power_resrv_and_alloc { type uint32; } leaf system_power_used { type uint32; } leaf system_power_input { type uint32; } leaf power_level { type uint16; } leaf output_header { type uint16; } leaf output_footer { type uint16; } leaf ps_sum_footer { type uint16; } } // list pem_attributes } // list location } // container power container altitude { config false; list location { key "location"; leaf location { type string; } list alt_attributes { key "sensor"; leaf sensor { type string; } leaf rack { type uint32; } leaf sensor_value { type string; } leaf source { type string; } leaf print_header { type boolean; default "false"; } } // list alt_attributes } // list location } // container altitude } // container oper container all { config false; list location { key "location"; leaf location { type string; } list temperatures { key "loc_iden"; config false; leaf loc_iden { type string; } leaf print_header { type boolean; default "false"; } list sensor_attributes { key "sensor"; leaf sensor { type string; } leaf sensor_id { type string; } leaf alarm { type string; } leaf temperature_value { type string; } leaf value { type int32; } leaf critical_lo { type int32; } leaf major_lo { type int32; } leaf minor_lo { type int32; } leaf minor_hi { type int32; } leaf major_hi { type int32; } leaf critical_hi { type int32; } } // list sensor_attributes } // list temperatures list voltages { key "loc_iden"; config false; leaf loc_iden { type string; } leaf print_header { type boolean; default "false"; } list sensor_attributes { key "sensor"; leaf sensor { type string; } leaf sensor_id { type string; } leaf alarm { type string; } leaf value { type string; } leaf temperature_value { type int32; } leaf critical_lo { type int32; } leaf major_lo { type int32; } leaf minor_lo { type int32; } leaf minor_hi { type int32; } leaf major_hi { type int32; } leaf critical_hi { type int32; } } // list sensor_attributes } // list voltages list current { key "loc_iden"; config false; leaf loc_iden { type string; } leaf print_header { type boolean; default "false"; } list sensor_attributes { key "sensor"; leaf sensor { type string; } leaf sensor_id { type string; } leaf value { type string; } } // list sensor_attributes } // list current list fan { key "loc_iden"; config false; leaf loc_iden { type string; } list fan_attributes { key "logical_slot"; leaf print_fan_header { type string; } leaf location { type string; } leaf logical_slot { type string; } leaf fru_PID { type string; } leaf fans_speed { type string; } leaf fan_header { type uint32; } leaf speed_space { type uint32; } } // list fan_attributes } // list fan list power { key "loc_iden"; config false; leaf loc_iden { type string; } list pem_attributes { key "pem"; leaf pem { type string; } leaf pem_id { type string; } leaf card_type { type string; } leaf ps_type { type string; } leaf shelf_num { type uint16; } leaf supply_type { type string; } leaf input_voltage { type string; } leaf input_current { type string; } leaf output_voltage { type xs:double; } leaf output_current { type xs:double; } leaf status { type string; } leaf input_power_to_ps { type uint32; } leaf input_current_to_ps { type string; } leaf output_power_from_ps { type uint32; } leaf output_current_from_ps { type xs:double; } leaf power_allocated { type uint32; } leaf power_consumed { type string; } leaf power_status { type string; } leaf confgd_power_redundancy_mode { type string; } leaf usable_power_capacity { type uint32; } leaf protection_power_capacity { type uint32; } leaf power_resrv_and_alloc { type uint32; } leaf system_power_used { type uint32; } leaf system_power_input { type uint32; } leaf power_level { type uint16; } leaf output_header { type uint16; } leaf output_footer { type uint16; } leaf ps_sum_footer { type uint16; } } // list pem_attributes } // list power list altitude { key "loc_iden"; config false; leaf loc_iden { type string; } list alt_attributes { key "sensor"; leaf print_header { type boolean; default "false"; } leaf sensor { type string; } leaf rack { type uint32; } leaf sensor_value { type string; } leaf source { type string; } } // list alt_attributes } // list altitude } // list location } // container all container config { description "environment configurational data"; container router { container altitude { container all { leaf num_meters { type uint32 { range "1..4000"; } } } // container all container rack_loc { list location { key "rackId"; leaf rackId { type calvados:rack-id; } leaf num_meters { type uint32 { range "1..4000"; } } } // list location } // container rack_loc } // container altitude } // container router container air-filter { container replaced { container all { leaf date { type xs:date; } } // container all container rack_loc { list location { key "rackId"; leaf rackId { type calvados:rack-id; } leaf date { type xs:date; } } // list location } // container rack_loc } // container replaced } // container air-filter container fan-ctrl { container disable { container rack_loc { leaf all { type empty; } list location { key "rackId"; leaf rackId { type calvados:rack-id; } } // list location } // container rack_loc } // container disable } // container fan-ctrl container temperature { container disable { container rack_loc { leaf all { type empty; } list location { key "rackId"; leaf rackId { type calvados:rack-id; } } // list location } // container rack_loc } // container disable } // container temperature container monitoring { container disable { container rack_loc { leaf all { type empty; } list location { key "rackId"; leaf rackId { type calvados:rack-id; } } // list location } // container rack_loc } // container disable } // container monitoring leaf raise-fan-speed { type uint32 { range "0..100"; } config false; } leaf fan-ctrl-optics { type uint32 { range "0..1"; } config false; } leaf graceful-shutdown { type uint32 { range "0..1"; } config false; } } // container config list trace { key "buffer"; config false; description "show traceable processes"; leaf buffer { type string; } list location { key "location_name"; leaf location_name { type string; } list all-options { key "option"; leaf option { type string; } list trace-blocks { leaf data { type string; description "Trace output block"; } } // list trace-blocks } // list all-options } // list location } // list trace } // container environment container power-mgmt { container config { description "Power Trays and PEMs configurational data"; container action { container disable { container rack_loc { leaf all { type empty; } list location { key "rackId"; leaf rackId { type calvados:rack-id; } } // list location } // container rack_loc } // container disable } // container action container single-feed-mode { container enable { container pm_loc { leaf all { type empty; } list location { key "pmId"; leaf pmId { type string { pattern "0/PT[0-3]-PM[0-3]"; } } } // list location } // container pm_loc } // container enable } // container single-feed-mode container extended-temp { container enable { container rack_loc { leaf all { type empty; } list location { key "rackId"; leaf rackId { type calvados:rack-id; } } // list location } // container rack_loc } // container enable } // container extended-temp container redundancy-num-pms { container all { leaf num_pm { type envmon-types:num_pm; } } // container all container rack_loc { list location { key "rackId"; leaf rackId { type calvados:rack-id; } leaf num_pm { type envmon-types:num_pm; } } // list location } // container rack_loc } // container redundancy-num-pms container progressive { list enable { key "enabled"; leaf enabled { type enumeration { enum "enable" { value 0; } } } leaf syslog-threshold { type uint32 { range "3000 .. 72000"; } } leaf shutdown-threshold { type uint32 { range "3000 .. 72000"; } } container priority { list location { key "loc"; leaf loc { type string { pattern "0/([0-9]|1[0-9])"; } } leaf prior { type uint32 { range "0 .. 19"; } } } // list location } // container priority } // list enable } // container progressive } // container config } // container power-mgmt } // module Cisco-IOS-XR-sysadmin-xrv9k-envmon-ui
© 2023 YumaWorks, Inc. All rights reserved.