1 | # simple DETER topology |
---|
2 | # COMPOSITION: e-0:optional:eintl:euintl |
---|
3 | # COMPOSITION: e-1:optional:etransit:etransit |
---|
4 | # COMPOSITION: e-1:optional:etransit:stub |
---|
5 | # COMPOSITION: e-2:optional:etransit:etransit |
---|
6 | # COMPOSITION: e-2:optional:etransit:stub |
---|
7 | |
---|
8 | set ns [new Simulator] |
---|
9 | source tb_compat.tcl |
---|
10 | |
---|
11 | set tarball "/users/faber/fedd-dev/split_view-routes.tgz" |
---|
12 | set seer_tarball "/users/faber/fedd-dev/seer-fc6-current.tgz" |
---|
13 | set startup "sudo python /usr/local/seer/experiment-setup.py Basic" |
---|
14 | |
---|
15 | for { set i 0 } { $i < 3} { incr i} { |
---|
16 | set e($i) [$ns node] |
---|
17 | tb-set-node-os $e($i) "FC6-STD" |
---|
18 | tb-set-node-testbed $e($i) "deter" |
---|
19 | tb-set-node-startcmd $e($i) $startup |
---|
20 | tb-set-node-tarfiles $e($i) /usr/local/botnet $tarball /usr/local $seer_tarball |
---|
21 | |
---|
22 | } |
---|
23 | |
---|
24 | set lan0 [$ns make-lan "$e(0) $e(1) $e(2)" 100Mb 0ms] |
---|
25 | |
---|
26 | $ns rtproto Static |
---|
27 | $ns run |
---|
28 | |
---|
29 | |
---|
30 | |
---|