Commit a235283e authored by Leigh Stoller's avatar Leigh Stoller

Generate linkmap for Jon's distributed Dijkstra route calulator;

currently I run this all the time regardless of routertype or
use_ipassign flags, since its really quick. Will improve later.
parent 535a08a6
......@@ -2,7 +2,7 @@
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
......@@ -179,6 +179,22 @@ if ($use_ipassign) {
# Generate a linkmap for new router calculation. This is done as an option
# to staticroutes, and is really fast, so we can do it all the time. We
# of course have to run it after ipassign_wrapper runs so that the IPs are
# set. Note the routertype slot in the DB indicates to not generate static
# routes now, when we are using the new distributed Dijkstra setup.
# Eventually staticroutes and ipassign_wrapper should look at routertype
# slot and generate this map when it equals 'static-ddijk'.
if (system("staticroutes -j -f $pid $eid")) {
die("*** $0:\n".
" staticroutes linkmap generation failed!\n");
TBDebugTimeStamp("routes finished");
print "Static routing done! " . TBTimeStamp() . "\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