Commit 87f6b79d authored by Christopher Alfeld's avatar Christopher Alfeld
Browse files

Updated to handle shark shelfs correctly. No longer lists the shelf as a

seperated node in the /os/nodes table.
parent 8522de5b
......@@ -90,7 +90,13 @@ foreach (split("\n",$raw)) {
# assume to be a delay node
$os{$physical} = $delayos;
} else {
$os{$physical} = $ostype{$nodetype{$virtual}};
if ($nodetype{$virtual} ne "shark-shelf") {
$os{$physical} = $ostype{$nodetype{$virtual}};
} else {
for ($i=1;$i<=8;$i++) {
$os{"$physical-$i"} = $ostype{"shark-shelf"};
}
}
}
}
......
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