Added volumes for a node

Added schedules
Added management classes for a node
Added clientopts to nodes
Added schedule and event information
This commit is contained in:
Deon George
2011-05-24 01:04:40 +10:00
parent a244d693b5
commit 58ddb97d87
24 changed files with 650 additions and 171 deletions

View File

@@ -45,7 +45,7 @@
</table>
</td>
<td style="width: 50%; vertical-align: top;">
<table width="100%">
<table class="box-full">
<tr>
<td class="head" colspan="2">Last Session Performance Information</td>
</tr>
@@ -135,7 +135,88 @@
</table>
</td>
<td style="width: 50%; vertical-align: top;">
[PERFORMANCE PIE-GRAPH?]
&nbsp;
</td>
</tr>
<tr>
<td style="width: 50%; vertical-align: top;">
<table class="box-full">
<tr>
<td class="head" colspan="2">Policy Settings</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td class="head" colspan="2">Backup Settings</td>
</tr>
<tr>
<td>MGMT Class</td>
<td>HSM Pool</td>
<td>1st Backup Pool</td>
<td>Ver Exist</td>
<td>Ver Del</td>
<td>Frequency</td>
</tr>
<?php $i=0; foreach ($node->MGMTCLASS->where('SET_NAME','=','ACTIVE')->find_all() as $mco) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="head"><?php echo $mco->display('CLASS_NAME'); ?><?php echo $mco->DEFAULTMC=='Yes' ? ' <sup>*</sup>' : ''; ?></td>
<td class="head"><?php echo $mco->display('MIGDESTINATION'); ?></td>
<td class="head"><?php echo $mco->COPYGROUP_BU->display('DESTINATION'); ?></td>
<td class="head"><?php printf('%s/%s',$mco->COPYGROUP_BU->display('VEREXISTS'),$mco->COPYGROUP_BU->display('RETEXTRA')); ?></td>
<td class="head"><?php printf('%s/%s',$mco->COPYGROUP_BU->display('VERDELETED'),$mco->COPYGROUP_BU->display('RETONLY')); ?></td>
<td class="head"><?php echo $mco->COPYGROUP_BU->display('FREQUENCY'); ?></td>
</tr>
<?php } ?>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td class="head" colspan="2">Archive Settings</td>
</tr>
<tr>
<td>MGMT Class</td>
<td>Destination</td>
<td>Retain</td>
</tr>
<?php $i=0; foreach ($node->MGMTCLASS->where('SET_NAME','=','ACTIVE')->find_all() as $mco) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="head"><?php echo $mco->display('CLASS_NAME'); ?><?php echo $mco->DEFAULTMC=='Yes' ? ' <sup>*</sup>' : ''; ?></td>
<td class="head"><?php echo $mco->COPYGROUP_AR->display('DESTINATION'); ?></td>
<td class="head"><?php echo $mco->COPYGROUP_AR->display('RETVER'); ?></td>
</tr>
<?php } ?>
</table>
</td>
<td style="width: 50%; vertical-align: top;">
<table class="box-full">
<tr>
<td class="head" colspan="2">Server Side Client Options</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Client Option</td>
<td>Seq #</td>
<td>Setting</td>
<td>Forced</td>
</tr>
<?php if ($node->OPTION_SET) { ?>
<?php $i=0; foreach ($node->CLIENTOPT->find_all() as $coo) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="head"><?php echo $coo->display('OPTION_NAME'); ?></td>
<td class="head"><?php echo $coo->display('SEQNUMBER'); ?></td>
<td class="head"><?php echo $coo->display('OPTION_VALUE'); ?></td>
<td class="head"><?php echo $coo->display('FORCE'); ?></td>
</tr>
<?php } ?>
<?php } else { ?>
<tr>
<td>This node is not configured for any server side Client Options</td>
</tr>
<?php } ?>
</table>
</td>
</tr>
</table>