This PR will improve the output of get_environment(), as the command show chassis power available in some platforms reports capacity and output per power supply
user@juniper> show chassis power
PEM 0:
State: Online
Capacity: 2700 W (maximum 2700 W)
DC output: 612 W (zone 0, 51 A at 12 V, 22% of capacity)
PEM 1:
State: Online
Capacity: 2700 W (maximum 2700 W)
DC output: 612 W (zone 0, 51 A at 12 V, 22% of capacity)
PEM 2:
State: Online
Capacity: 2700 W (maximum 2700 W)
DC output: 612 W (zone 0, 51 A at 12 V, 22% of capacity)
PEM 3:
State: Online
Capacity: 2700 W (maximum 2700 W)
DC output: 624 W (zone 0, 52 A at 12 V, 23% of capacity)
Okay, this seems to break the test case for the virtual chassis, as virtual chassis most probably don't have the power supply section. Can you please check @ckishimo?
Coverage decreased (-0.08%) to 78.766% when pulling 35bb0e584d66c17db2e4cb99fd84741307cc6c30 on ckishimo:devel-psu into 21c3512dbce5676b5a059b389707cb297c5c43d3 on napalm-automation:develop.
This PR will improve the output of get_environment(), as the command
show chassis power
available in some platforms reports capacity and output per power supplyExample:
The output from get_environment() will be now:
Let me know. Thanks