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