Commit fcba0054 authored by Leigh Stoller's avatar Leigh Stoller

Minor changes for expiration and renew_limit.

parent e0a3cdd3
...@@ -128,6 +128,8 @@ class GeniSlice ...@@ -128,6 +128,8 @@ class GeniSlice
function sa_uuid() { return $this->field('sa_uuid'); } function sa_uuid() { return $this->field('sa_uuid'); }
function needsfirewall(){ return $this->field('needsfirewall'); } function needsfirewall(){ return $this->field('needsfirewall'); }
function monitor_pid() { return $this->field('monitor_pid'); } function monitor_pid() { return $this->field('monitor_pid'); }
function expiration_max() { return $this->field('expiration_max'); }
function renew_limit() { return $this->field('renew_limit'); }
# #
# Class function to return a list of all slices. # Class function to return a list of all slices.
......
...@@ -87,6 +87,12 @@ $rows[] = array("expires" => $slice->expires()); ...@@ -87,6 +87,12 @@ $rows[] = array("expires" => $slice->expires());
if ($slice->locked()) { if ($slice->locked()) {
$rows[] = array("locked" => $slice->locked()); $rows[] = array("locked" => $slice->locked());
} }
if ($slice->expiration_max()) {
$rows[] = array("expires limit" => $slice->expiration_max());
}
if ($slice->renew_limit()) {
$rows[] = array("renew limit" => $slice->renew_limit());
}
if ($slice->monitor_pid()) { if ($slice->monitor_pid()) {
$rows[] = array("Monitor PID" => $slice->monitor_pid()); $rows[] = array("Monitor PID" => $slice->monitor_pid());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment