Commit 8ec32263 authored by Christopher Alfeld's avatar Christopher Alfeld
Browse files

A bunch of test files for assign_wrapper.

parent a5919a91
set ns [new Simulator]
set node0 [$ns node]
set node1 [$ns node]
set node2 [$ns node]
set node3 [$ns node]
set mylan0 [$ns make-lan "$node0 $node1" 100Mb .1ms]
set mylan1 [$ns make-lan "$node2 $node3" 100Mb .1ms]
#TB set-lan-loss mylan1 0.5
$ns duplex-link $mylan0 $mylan1 100Mb .1ms DropTail
$ns run
set ns [new Simulator]
set node0 [$ns node]
set node1 [$ns node]
set node2 [$ns node]
set node3 [$ns node]
set node4 [$ns node]
set node5 [$ns node]
set node6 [$ns node]
set node7 [$ns node]
set mylan0 [$ns make-lan "$node0 $node1" 100Mb .1ms]
set mylan1 [$ns make-lan "$node2 $node3" 100Mb .1ms]
set mylan2 [$ns make-lan "$node4 $node5" 100Mb .1ms]
set mylan3 [$ns make-lan "$node6 $node7" 100Mb .1ms]
$ns duplex-link $mylan0 $mylan1 100Mb .1ms DropTail
$ns duplex-link $mylan1 $mylan2 100Mb .1ms DropTail
$ns duplex-link $mylan2 $mylan3 100Mb 100ms DropTail
$ns run
set ns [new Simulator]
set node0 [$ns node]
set node1 [$ns node]
set node2 [$ns node]
set node3 [$ns node]
set node4 [$ns node]
set mylan0 [$ns make-lan "$node0 $node1" 100Mb .1ms]
$ns duplex-link $mylan0 $node2 100Mb .1ms DropTail
$ns duplex-link $mylan0 $node3 100Mb .1ms DropTail
$ns duplex-link $node3 $node4 100Mb 100ms DropTail
$ns run
set ns [new Simulator]
set node0 [$ns node]
set node1 [$ns node]
set node2 [$ns node]
set node3 [$ns node]
set node4 [$ns node]
set node5 [$ns node]
$ns duplex-link $node0 $node1 100Mb .1ms DropTail
$ns duplex-link $node0 $node2 100Mb .1ms DropTail
$ns duplex-link $node0 $node3 10Mb 100ms DropTail
$ns duplex-link $node3 $node4 100Mb .1ms DropTail
$ns duplex-link $node3 $node5 100Mb .1ms DropTail
$ns run
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment