blob: 46a0239b9a68d4e7cb5f89e49a8576ba51f252cc [file] [log] [blame]
Masayoshi Kobayashif358ff52013-03-22 00:31:59 +00001#! /bin/bash
2USERNAME=ubuntu
3CASSANDRA_DIR='/home/ubuntu/apache-cassandra-1.1.4'
4ZK_DIR='/home/ubuntu/zookeeper-3.4.5'
5ZK_LIB='/var/lib/zookeeper'
6CASSANDRA_LIB='/var/lib/cassandra'
7
8if [ $# == 1 ]; then
9 basename=$1
10else
11 echo "$0 basename"
12 exit
13fi
14
15export CLUSTER="./cluster.txt"
16dsh -g $basename 'uname -a'
17
18#dsh -g ${basename} 'cd ONOS/test-network/mininet; ./tunnel_onsdemo.sh start'
19#dsh -g ${basename} 'cd ONOS/test-network/mininet; ./tunnel_onsdemo.sh start'
20dsh -g ${basename} 'cd ONOS/test-network/mininet; sudo mn -c'
21dsh -g ${basename} 'cd ONOS/test-network/mininet; sudo ./onsdemo.py -n'