FeddMulti: attack.tcl

File attack.tcl, 950 bytes (added by faber, 13 years ago)
Line 
1set ns [new Simulator]
2source tb_compat.tcl
3# tb-use-endnodeshaping 1
4# COMPOSITION: ar:required:stub:transit
5
6
7set tarball "/users/faber/fedd-dev/split_view-routes.tgz"
8set seer_tarball "/users/faber/fedd-dev/seer-fc6-current.tgz"
9
10set irc_count 1
11
12set OS FC6-STD
13#set dest_OS FBSD62-STD
14set dest_OS FC6-STD
15
16set HW pc
17
18set startup "sudo python /usr/local/seer/experiment-setup.py Basic"
19
20set ar [$ns node]
21tb-set-node-os $ar $OS
22tb-set-hardware $ar $HW
23tb-set-node-startcmd $ar $startup
24tb-set-node-tarfiles $ar /usr/local/botnet $tarball /usr/local $seer_tarball
25tb-set-node-testbed $ar "deter/attack"
26
27set botmaster [$ns node]
28tb-set-node-os $botmaster $OS
29tb-set-hardware $botmaster $HW
30tb-set-node-startcmd $botmaster $startup
31tb-set-node-tarfiles $botmaster /usr/local/botnet $tarball /usr/local $seer_tarball
32tb-set-node-testbed $botmaster "deter/attack"
33
34set ar-botmaster [$ns make-lan "ar botmaster" 100Mb 0ms]
35$ns rtproto Static
36$ns run
37
38