//------------------------------------------------------------------------------ // Licensed Materials - Property of IBM // (c) Copyright IBM Corporation 2001,2002 All Rights Reserved. // US Government Users Restricted Rights - Use, duplication or disclosure // restricted by GSA ADP Schedule Contract with IBM Corp. //------------------------------------------------------------------------------ // Auto Create Logical Library // // Filename: ml_loglib_auto_create_lib.htm // // This file displays builds configuration information for a new logical // library. // // // Input: POST // url original request page // partitionCount number of logical libraries to create // // Ouput: POST ('form_out') // url original request page // errorCode result of operation // returnMessage text information about the operation results // // Change History: // // Date Defect Changed By Description of Change // ---- ------ ---------- --------------------- // 07/21/2005 rwinston File Created // 09/24/2012 1829 dagalleg Add SNMP audit logging. // //------------------------------------------------------------------------------ include('common_admin_inc.htm'); include('main_inc.htm'); //initialize variables $errorCode = 0; $returnMessage = " "; $url = " " ; if ($_SERVER['REQUEST_METHOD'] == "POST") { $url = $_REQUEST['url']; $partitionCount = $_POST['numLogLibs']; auto_partition($user, $partitionCount); if(get_snmp_audit_logging_enabled($user) == '1') { error_log("send_snmp_audit_logging_partition_config_changed_trap"); send_snmp_audit_logging_partition_config_changed_trap($user, "Auto Partition", "A logical library configuration setting has been changed from the Web UI"); } $returnMessage = "Auto Partition Logical Library Complete."; } ?>