/****************************************************************************** * Copyright 1991-2006 by ADIC, Inc. All rights reserved. * No part of this work may be reproduced or transmitted in any * form or by any means, electronic or mechanical, including * photocopying and recording, or by any information storage * or retrieval system, except as may be expressly permitted by * the 17 U.S.C. section 101, et. seq., or in writing by * ADIC, Inc. *******************************************************************************/ include('common_admin_inc.htm'); include('IOB_inc.htm'); // Handle the progress screen if opened and get the NEW data if ($_SERVER[REQUEST_METHOD] == "POST") { $operationInProgress = true; $status = new ReturnStatus(); //error_log("_POST = ". print_r($_POST, true ) ); $thePort = new CBPort( $_POST['bladePortId'], $_POST['bladeId'], $_POST['portNum'], $_POST['status'], $_POST['speed'], $_POST['loopId'], $_POST['frameSize'], $_POST['mode'], $_POST['connection'], $_POST['loopIdMode'], $_POST['speedAct'], $_POST['wwpn'] ); // Now fix up the Auto LoopID stuff depending on the user's selections. if( $thePort->loopId == 'Auto' ) { $thePort->loopIdMode = '0'; // Auto / Soft $thePort->loopId = '0'; } else $thePort->loopIdMode = '1'; // No-Auto / Hard error_log( "Calling set_blade_port with: ". print_r($thePort, true) ); set_blade_port($user, $thePort ); print $status->out(); return; } ?>