sortColumn = DRV_SORT_LOC; $sortCriteria->ascending = true; // For filtering the drives $enclView = "All Enclosures"; // for displaying message box $errorCode = 0; $displayMessage = 0; $blades = get_eeblades($user); error_log("\n\n\nFINISHED CALLING GET ETHERNET EXPANSION BLADES RETURNED = ".print_r($blades, true)); $enclosures = get_chassis($user); // If a post, then this is a return from an operation // retrieve the results of the operation if ($_SERVER['REQUEST_METHOD'] == "POST") { $enclView = $_REQUEST["enclView"]; $errorCode = $_REQUEST["errorCode"]; $displayMessage = $_REQUEST["Message"]; $returnMessage = $_REQUEST["returnMessage"]; } // get the counts needed to display the main table $numRows = count($blades); $numEnclosures = count($enclosures); // determine the attributes for the div that handles displaying and scrolling // for the main data table if ($numRows > MAX_ROWS) { // make the table scrollable $divAttributes['divClass'] = "table-scroll"; $divAttributes['thClass'] = "table-noscroll"; $divAttributes['divHeight'] = MAX_SIZE_LIB_LIST; } else { // no scrolling needed $divAttributes['divClass'] = ""; $divAttributes['thClass'] = ""; $divAttributes['divHeight'] = ""; } ?> Ethernet Expansion Blade Control
0) { ?>
Error Message Image Error Message

Error code:
Informational Message Image

Operation Complete

Close Message

Ethernet Expansion Blade Control

Last refresh:


Ethernet Expansion Blades:
Select All Deselect All
location[0]; // if the enclosure (chassis) location is negative, append the numeric value to the // '-' to identify the enclosure if (!strcmp($chass, '-')) { $chass = $blade->location[0].$blade->location[1]; } // If this row item meets the filter requirements, build the row data // filter requirement: // The item is in the selected enclosure if( !strcmp($enclView, "All Enclosures") || !strcmp($enclView, $chass) ) { // store the drive info separated by ":" $bladeInfo = "$blade->id:$blade->location:$blade->serial:$blade->wwnn:$blade->fw_ver:$blade->status"; // store blade id in sourceSelect id attribute // store logical library id in sourceSelect value attribute ?>
Select Location Click to Sort Descending ID Click to Sort Ascending Serial Click to Sort Ascending WWNN Click to Sort Ascending Firmware Version Click to Sort Ascending Status Click to Sort Ascending
location; ?> id; ?> serial; ?> wwnn; ?> fw_ver; ?> status){ case 0: print("Unknown"); break; case 1: print("Not Ready"); break; case 2: print("Booting"); break; case 3: print("Auto Leveling"); break; case 4: print("Auto Leveling Complete"); break; case 5: print("Auto Level Failed"); break; case 6: print("Ready"); break; case 7: print("Powered Down"); break; default: } ?>
Total: Filtered: Displayed: Selected: 0