Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for power supply on Extreme BOSS switches #9898

merged 20 commits into from Mar 9, 2019


  • Loading branch information...
ospfbgp committed Mar 4, 2019
commit e6e57bd5e049744cc0243b1dddaec8104f2a7d5e
@@ -42,7 +42,7 @@
dbInsert($insert, 'state_translations');
//Get power supply (4), temp (5), and fans (6) sensor only from walk
//Get power supply(4), temp(5), and fans(6) sensor only from walk
$ers_sensors = array();
foreach ($oid as $key => $value) {
if ($key['s5ChasComGrpIndx'] == 4 || $key['s5ChasComGrpIndx'] == 5 || $key['s5ChasComGrpIndx'] == 6) {
@@ -54,7 +54,7 @@
//Get unit number
$unit_array = explode(".", $index);
$unit = floor($unit_array[1]/10);
//Set description power supply
//Set description with Power Supply number
if ($unit_array[0] == 4) {
if ($unit != $temp_unit) {
$ps_num = 1;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.