Commit dbc2dd33 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Show modelnet fields in SHOWEXP() when usemodelnet is turned on.

parent 13d0cbfa
......@@ -628,6 +628,9 @@ function SHOWEXP($pid, $eid, $short = 0, $sortby = "") {
$cpu_usage = $exprow["cpu_usage"];
$exp_slice = $exprow[slicename];
$linktest = $exprow["linktest_level"];
$usemodelnet = $exprow["usemodelnet"];
$mnet_cores = $exprow["modelnet_cores"];
$mnet_edges = $exprow["modelnet_edges"];
$autoswap_hrs= ($autoswap_timeout/60.0);
$idleswap_hrs= ($idleswap_timeout/60.0);
......@@ -844,6 +847,21 @@ function SHOWEXP($pid, $eid, $short = 0, $sortby = "") {
}
if (!$short) {
if ($usemodelnet) {
echo "<tr>
<td>Use Modelnet: </td>
<td class=\"left\">Yes</td>
</tr>\n";
echo "<tr>
<td>Modelnet Phys Core Nodes: </td>
<td class=\"left\">$mnet_cores</td>
</tr>\n";
echo "<tr>
<td>Modelnet Phys Edge Nodes: </td>
<td class=\"left\">$mnet_edges</td>
</tr>\n";
}
if (isset($syncserver)) {
echo "<tr>
<td>Sync Server: </td>
......
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