Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
fcba0054
Commit
fcba0054
authored
Aug 09, 2013
by
Leigh B Stoller
Browse files
Minor changes for expiration and renew_limit.
parent
e0a3cdd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/geni_defs.php
View file @
fcba0054
...
...
@@ -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.
...
...
www/showslice.php
View file @
fcba0054
...
...
@@ -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
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment