Commit 9e0cb8ce authored by Leigh B Stoller's avatar Leigh B Stoller

Add NS file to create a few VMs.

parent 38bb600b
#
# NS file to create the shared node pool.
#
source tb_compat.tcl
set ns [new Simulator]
set vhost1 [$ns node]
tb-set-node-os $vhost1 FEDORA15-OPENVZ-STD
tb-set-node-sharingmode $vhost1 "shared_local"
set vhost2 [$ns node]
tb-set-node-os $vhost2 FEDORA15-OPENVZ-STD
tb-set-node-sharingmode $vhost2 "shared_local"
set vhost3 [$ns node]
tb-set-node-os $vhost3 XEN41-64-STD
tb-set-node-sharingmode $vhost3 "shared_local"
tb-fix-node $vhost1 pc1
tb-fix-node $vhost2 pc2
tb-fix-node $vhost3 pc3
$ns rtproto Static
$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