Commit 1e7c594f authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add call to gentopofile script. See initial log message for

gentopofile.  Note that the call to "staticroutes -j" is still there
while we transition over; eventually the -j option (which created an
input file for ddijkstra) will be removed, since the client side
rc.routes will generate that file on the remote node using the topomap
generated by gentopofile.
parent b703a624
...@@ -195,6 +195,16 @@ if (system("staticroutes -j -f $pid $eid")) { ...@@ -195,6 +195,16 @@ if (system("staticroutes -j -f $pid $eid")) {
" staticroutes linkmap generation failed!\n"); " staticroutes linkmap generation failed!\n");
} }
#
# Generate a topo map that is used by the remote nodes to create the
# routes (ddijk) and the /etc/hosts file.
#
if (system("gentopofile $pid $eid")) {
cleanup();
die("*** $0:\n".
" gentopofile failed!\n");
}
TBDebugTimeStamp("routes finished"); TBDebugTimeStamp("routes finished");
print "Static routing done! " . TBTimeStamp() . "\n"; 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