FeddDesktop: two.tcl

File two.tcl, 281 bytes (added by faber, 6 years ago)

Test experiment

Line 
1# simple DETER topology federated to a desktop
2#
3
4set ns [new Simulator]
5source tb_compat.tcl
6
7set a [$ns node]
8set b [$ns node]
9tb-set-node-testbed $a "deter"
10
11tb-set-node-testbed $b "desktop"
12
13set link0 [ $ns duplex-link $a $b 100Mb 0ms DropTail]
14
15$ns rtproto Static
16$ns run 
17
18
19