Helena McGough bdc51defdc First implementation of the new rsd-virt-for-nova driver
- Includes driver code
 - Some unit tests
 - Some documentation
 - Devstack installation plugin

Change-Id: Ie3b2483fbf587a037a3fd9d6af1bd64fa5635ed2
Signed-off-by: Helena McGough <helena.mcgough@intel.com>
2019-02-25 14:29:05 +00:00

32 lines
916 B
Plaintext

# This driver is enabled in override-defaults with:
# VIRT_DRIVER=${VIRT_DRIVER:-rsd}
if [ "$VERBOSE" == "False" ]; then
# allow local debugging
set -o xtrace
fi
NOVA_RSD_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )
NOVA_RSD_REPO_ENABLE=$(trueorfalse True NOVA_RSD_REPO_ENABLE)
if [ "${NOVA_RSD_REPO_ENABLE}" == "True" ]; then
# Ensure that the fake neutron agent is enabled
if [[ ! "$Q_ML2_PLUGIN_MECHANISM_DRIVERS" =~ "openvswitch" ]]; then
Q_ML2_PLUGIN_MECHANISM_DRIVERS+=",openvswitch"
fi
if [[ ! "$Q_ML2_PLUGIN_MECHANISM_DRIVERS" =~ "fake_agent" ]]; then
Q_ML2_PLUGIN_MECHANISM_DRIVERS+=",fake_agent"
fi
fi
# RSD comfigurations
PODM_IP=${PODM_IP:-'localhost'}
PODM_USER=${PODM_USER:-'admin'}
PODM_PASSWD=${PODM_PASSWD:-'admin'}
PODM_PORT=${PODM_PORT:-8443}
if [ "$VERBOSE" == "False" ]; then
# turn off debugging again
set +o xtrace
fi