blob: 887a02581ac302a71ce92f2ae9bbdd5217551c2b [file] [log] [blame]
Masayoshi Kobayashi1ef9ec02013-04-12 18:03:12 +00001#! /bin/bash
2basename=$ONOS_CLUSTER_BASENAME
3DIR=${HOME}/ONOS
4start=`date +"%s"`
5echo "bring up two nodes"
6ssh -i ~/.ssh/onlabkey.pem ${basename}5 'ONOS/start-onos.sh start'
7ssh -i ~/.ssh/onlabkey.pem ${basename}7 'ONOS/start-onos.sh start'
8sleep 2
9echo "Adding more flows"
10$DIR/web/add_flow.py -m onos -f $DIR/web/flowdef_demo_add.txt
11endt=`date +"%s"`
12(( delta = endt -start ))
13echo "Scale Up Done: took $delta sec"
14