diff --git a/www/geni_defs.php b/www/geni_defs.php index c05d8959a910067f65eef548ccc07069fc8191d4..1f73b2e9ba197e27c90e06e0c895a67d92f751ae 100644 --- a/www/geni_defs.php +++ b/www/geni_defs.php @@ -128,6 +128,8 @@ class GeniSlice function sa_uuid() { return $this->field('sa_uuid'); } function needsfirewall(){ return $this->field('needsfirewall'); } 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. diff --git a/www/showslice.php b/www/showslice.php index fda2946d48b60273f77231a564c09a27dab94311..8efe7cb3ea36cbc212c2e33f875bcdbf6de3f025 100644 --- a/www/showslice.php +++ b/www/showslice.php @@ -87,6 +87,12 @@ $rows[] = array("expires" => $slice->expires()); if ($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()) { $rows[] = array("Monitor PID" => $slice->monitor_pid()); }