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
merged 20 commits into from Mar 9, 2019

Update boss.inc.php

  • Loading branch information...
ospfbgp committed Mar 4, 2019
commit d6a8a4cf0a86baa6177e56dd4666421376b2b460
@@ -55,6 +55,12 @@
//Get unit number
$unit_array = explode(".", $index);
$unit = floor($unit_array[1]/10);
//reset power supply number when going to new switch in stack
if ($ps_unit != $unit ) {
$ps_num = 0;
} else {
$ps_unit == $unit;
}
//Set description power supply
if ($unit_array[0] == 4) {
$ps_num++;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.