df7893e330
This reverts commit 0b73b880cb
.
Change-Id: Idd5b94abd41d1fb501e45dba65a1f672d7d9aa96
25 lines
490 B
Bash
Executable File
25 lines
490 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Locate devstack directory
|
|
TOP_DIR=
|
|
|
|
# Detect path for this script file
|
|
DF_DIR=$(cd $(dirname "$0") && pwd)
|
|
|
|
# Main include for all openstack functions
|
|
source $TOP_DIR/openrc
|
|
|
|
# Include other dragonflow scripts
|
|
source $DF_DIR/settings
|
|
source $DF_DIR/plugin.sh
|
|
|
|
if ! nb_db_driver_status_server; then
|
|
# make sure the db is stopped
|
|
nb_db_driver_stop_server
|
|
echo "Going to start db"
|
|
nb_db_driver_start_server
|
|
fi
|
|
|
|
# Start ovs db and etcd/ramcloud
|
|
start_ovs
|