Merge pull request #103 from Khemir/base_new_methods

get_environment for Junos
This commit is contained in:
David Barroso committed 2015-12-03 15:23:48 +01:00
commit 26246cd6e6
1 file changed
+42 -1
+42 -1
View File
@@ -130,4 +130,45 @@ junos_iface_counter_view:
fields_txerrs:
tx_errors: { output-errors: int }
tx_discards: { output-drops: int }
tx_discards: { output-drops: int }
junos_enviroment_table:
rpc: get-environment-information
args:
item: environment-item
key: name
view: junos_enviroment_view
junos_enviroment_view:
fields:
class: class
status: status
temperature: { temperature/@celsius: int }
junos_routing_engine_table:
rpc: get-route-engine-information
args:
item: route-engine
key: slot
view: junos_routing_engine_view
junos_routing_engine_view:
fields:
cpu-idle: { cpu-idle: int }
memory-dram-size: { memory-dram-size: int }
memory-buffer-utilization : { memory-buffer-utilization: int }
junos_temperature_thresholds:
rpc: get-temperature-threshold-information
args:
item: temperature-threshold
key: name
view: junos_temperature_thresholds_view
junos_temperature_thresholds_view:
fields:
name: name
yellow-alarm: { yellow-alarm: int }
red-alarm: { red-alarm: int }
tx_discards: { output-drops: int }