rsd-virt-for-nova/devstack/settings

36 lines
1.0 KiB
Plaintext

# This driver is enabled in override-defaults with:
# VIRT_DRIVER=${VIRT_DRIVER:-rsd}
# Auth info
OS_AUTH_URL="$KEYSTONE_SERVICE_URI/v$IDENTITY_API_VERSION"
OS_IDENTITY_API_VERSION=${IDENTITY_API_VERSION:-3}
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