Commit 93e61b70 authored by Leigh B Stoller's avatar Leigh B Stoller

Sample NS file to create a two-node shared pool.

parent 4666ff93
#
# 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"
tb-fix-node $vhost1 pc1
tb-fix-node $vhost2 pc2
$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