Commit c330f9a4 authored by Robert Ricci's avatar Robert Ricci

Limit number of assign runs when there are only plab nodes to 1.

parent 094db2ba
......@@ -415,6 +415,12 @@ if ($toponly) {
TBDebugTimeStamp("assign_loop started");
$currentrun = 1;
# XXX plab hack - only run assign once on plab topologies, since they're easy
# to map and the physical topology does not change frequently
if ($plabcount && (keys(%virt_nodes) == $plabcount)) {
$maxrun = 1;
}
while (1) {
print "Assign Run $currentrun\n";
......
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