Commit 65fec642 authored by Robert Ricci's avatar Robert Ricci

Add automatic setting of $opt variables for mapping plab nodes to

elab nodes for the simple model - when no real plab nodes are being
parent aead4580
......@@ -278,6 +278,15 @@ for {set i 1} {$i <= $num_pcs} {incr i} {
lappend tdlist $tcpdump($tdix)
incr tdix
# If the user has given a plabnodes list, we set up $opt variables so that
# even if they are not actually using PlanetLab nodes, the simple model can
# still see the mapping between elab and plab nodes
if {[llength $plabnodes] > 0} {
set opt("pelab-elab-$i-mapping") [lindex $plabnodes [expr $i - 1]]
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