Commit 08ef8f0b authored by Leigh Stoller's avatar Leigh Stoller

Show the vtop mapping for a node (if its a virtual node).

parent 83070be7
......@@ -1029,6 +1029,7 @@ function SHOWNODE($node_id) {
$row = mysql_fetch_array($query_result);
$node_id = $row[node_id];
$phys_nodeid = $row[phys_nodeid];
$type = $row[type];
$vname = $row[vname];
$pid = $row[pid];
......@@ -1070,6 +1071,15 @@ function SHOWNODE($node_id) {
<td class=left>$node_id</td>
</tr>\n";
if (strcmp($node_id, $phys_nodeid)) {
echo "<tr>
<td>Phys ID:</td>
<td class=left>
<A href='shownode.php3?node_id=$phys_nodeid'>
$phys_nodeid</a></td>
</tr>\n";
}
if ($vname) {
echo "<tr>
<td>Virtual Name:</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