blob: 277d69bb3256d67922bff90af2ad91e6868c1694 [file] [log] [blame]
#! /bin/bash
. $HOME/bin/func.sh
onos stop
cassandra cleandb
db_status=`cassandra checkdb |grep OK | wc -l`
if [ $db_status != 1 ];then
echo $db_status
echo "Cassandra DB was screwed up. Need DB key drop"
exit
fi
onos start
switch local
#dsh -g $basename 'cd ONOS; ./ctrl-local.sh'