Commit de998dee authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor changes to allow this syntax:

	tb-elab-in-elab 1

	namespace eval TBCOMPAT {
	    set elabinelab_maxpcs 1
	    set elabinelab_fixnodes(mypc1) pc81
        }

which allows you to fix nodes inside an inner elab.
parent adeec74f
......@@ -59,7 +59,13 @@ for {set i 1} {$i <= $maxpcs} {incr i} {
append lanstr "[set $name] "
tb-set-node-os [set $name] FBSD-STD
tb-set-node-inner-elab-role [set $name] node
tb-set-hardware [set $name] pcslow
if {[info exists ::TBCOMPAT::elabinelab_fixnodes($name)]} {
namespace eval TBCOMPAT {
tb-fix-node [set $name] $elabinelab_fixnodes($name)
}
} else {
tb-set-hardware [set $name] pcslow
}
}
set publiclan [$ns make-lan $lanstr 100Mb 0ms]
......
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