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
e42e581b
Commit
e42e581b
authored
Nov 05, 2003
by
Kirk Webb
Browse files
Added "Lease Expiration" row to shownode output for plab nodes.
parent
f8295864
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showstuff.php3
View file @
e42e581b
...
...
@@ -1807,6 +1807,21 @@ function SHOWNODE($node_id, $short = 0) {
</tr>
\n
"
;
}
if
(
$isplabdslice
)
{
$query_result
=
DBQueryFatal
(
"select leaseend from plab_slice_nodes "
.
"where node_id='
$node_id
'"
);
if
(
mysql_num_rows
(
$query_result
)
!=
0
)
{
$row
=
mysql_fetch_array
(
$query_result
);
$leaseend
=
$row
[
leaseend
];
echo
"<tr>
<td>Lease Expiration:</td>
<td class=left>
$leaseend
</td>
</tr>
\n
"
;
}
}
if
(
$isremotenode
)
{
if
(
$isvirtnode
)
{
SHOWWIDEAREANODE
(
$phys_nodeid
,
1
);
...
...
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