* @copyright (C) Adam Armstrong * */ $box_args = ['title' => 'c6500/7600 Crossbar', 'icon' => $config['icon']['crossbar'], ]; echo generate_box_open($box_args); echo('
" . $entity['entPhysicalName'] . " | "); switch ($entry['']['cc6kxbarModuleModeSwitchingMode']) { case "busmode": # echo 'Bus'; break; case "crossbarmode": echo 'Crossbar'; break; case "dcefmode": echo 'DCEF'; break; default: echo '' . $entry['']['cc6kxbarModuleModeSwitchingMode'] . ''; } echo(" | |||||
Fabric ' . $subindex . ' | ' . $fabric['cc6kxbarModuleChannelFabStatus'] . " | " . format_bps($fabric['cc6kxbarModuleChannelSpeed'] * 1000000) . " | " . overlib_link($link, $minigraph, $overlib_content) . " | " . print_percentage_bar(125, 20, $percent_in, "Ingress", "ffffff", $background['left'], $percent_in . "%", "ffffff", $background['right']) . " | " . print_percentage_bar(125, 20, $percent_out, "Egress", "ffffff", $background['left'], $percent_out . "%", "ffffff", $background['right']) . " |