/******************************************************************************
* Copyright 1991-2003 by Quantum, 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
* Quantum, Inc.
*******************************************************************************/
/******************************************************************************
* Name: reportNetwork.htm
* Purpose: Report the Network Settings.
* $Id: reportNetwork.htm 1.25.1.1 2007/05/22 13:13:53MDT Bill Gray (bgray) dev $
*******************************************************************************/
$isReportPopup = 1; // Set so we do not release the Service menu RAS Token when bringing up a report.
include('common_user_inc.htm');
$date = get_date_and_time($user);
$formattedDate = strftime("%B %e, %Y", $date->timestamp);
$formattedTime = strftime("%k:%M", $date->timestamp);
$networkConfig = get_network_configuration_ipv4($user);
error_log("networkConfig = ". print_r($networkConfig, true) );
$productInfo = get_product_info($user);
$drives = get_all_drives($user, $sortCriteria);
$fw = get_fw_settings($user);
error_log("* * * * * * * * FIREWALL * * * * * * * * * * *");
error_log("fw = " . print_r($fw, true) );
function set_enabled($var)
{
if( $var )
{
echo "Enabled";
}
else
{
echo "Disabled";
}
}
$ssl_settings = get_ssl_settings($user);
error_log("ssl_settings = ". print_r($ssl_settings, true) );
$snmp_settings = get_snmp_settings($user);
$snmp_traps = get_snmp_trap_regs($user);
/*
// For testing create and Delete
// After create a few 1.2.3.4's comment out the create and let the delte delete them.
create_trap_reg($user, "1.2.3.4", "42");
foreach($snmp_traps as $trap)
{
if( $trap->ip == "1.2.3.4" )
{
delete_trap_reg($user, $trap->id);
break;
}
}
*/
?>