Added Node Summary
This commit is contained in:
@@ -32,6 +32,7 @@ class Model_FILESPACE extends ORMTSM {
|
||||
return $this->CAPACITY * ($this->PCT_UTIL/100);
|
||||
}
|
||||
|
||||
// $dtype must be Bkup or Arch
|
||||
public function storagepools($dtype) {
|
||||
$pool = array();
|
||||
|
||||
@@ -40,10 +41,9 @@ class Model_FILESPACE extends ORMTSM {
|
||||
->where('TYPE','=',$dtype)
|
||||
->group_by('STGPOOL_NAME')
|
||||
->order_by('STGPOOL_NAME')
|
||||
->find_all() as $oo) {
|
||||
->find_all() as $oo)
|
||||
|
||||
array_push($pool,$oo->STGPOOL);
|
||||
}
|
||||
|
||||
return $pool;
|
||||
}
|
||||
|
Reference in New Issue
Block a user