FeddMulti: atrio.tcl

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