Blazar uses os_auth_host, os_auth_port and os_auth_version to the auth uri for now. However, current approach can not be applied to uri with some prefixes such like "http://127.0.0.1/identity". In this patch, authentification is executed by using "keystone_authtoken" configs. This patch enables us to use any forms of auth uri. Closes-Bug: #1681419 Change-Id: I7c8728593ecf503b23d742a5f464af8a2a6e5253
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Defaults
|
|
# --------
|
|
|
|
#enable manager service
|
|
enable_service blazar-m
|
|
|
|
#enable api service
|
|
enable_service blazar-a
|
|
|
|
BLAZAR_DEBUG=${BLAZAR_DEBUG:-True}
|
|
BLAZAR_VERBOSE=${BLAZAR_VERBOSE:-True}
|
|
BLAZAR_USER_NAME=${BLAZAR_USER_NAME:-blazar}
|
|
|
|
# Set up default repos
|
|
BLAZAR_REPO=${BLAZAR_REPO:-${GIT_BASE}/openstack/blazar.git}
|
|
BLAZAR_BRANCH=${BLAZAR_BRANCH:-master}
|
|
BLAZARCLIENT_REPO=${BLAZARCLIENT_REPO:-${GIT_BASE}/openstack/python-blazarclient.git}
|
|
BLAZARCLIENT_BRANCH=${BLAZARCLIENT_BRANCH:-master}
|
|
BLAZARNOVA_REPO=${BLAZARNOVA_REPO:-${GIT_BASE}/openstack/blazar-nova.git}
|
|
BLAZARNOVA_BRANCH=${BLAZARNOVA_BRANCH:-master}
|
|
|
|
# Set up default directories
|
|
BLAZAR_DIR=$DEST/blazar
|
|
BLAZAR_CONF_DIR=${BLAZAR_CONF_DIR:-/etc/blazar}
|
|
BLAZAR_CONF_FILE=$BLAZAR_CONF_DIR/blazar.conf
|
|
BLAZARCLIENT_DIR=$DEST/python-blazarclient
|
|
BLAZAR_AUTH_CACHE_DIR=${BLAZAR_AUTH_CACHE_DIR:-/var/cache/blazar}
|
|
BLAZARNOVA_DIR=$DEST/blazar-nova
|
|
|
|
BLAZAR_SERVICE_HOST=${BLAZAR_SERVICE_HOST:-$SERVICE_HOST}
|
|
BLAZAR_SERVICE_PORT=${BLAZAR_SERVICE_PORT:-1234}
|
|
BLAZAR_SERVICE_PROTOCOL=${BLAZAR_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
|
|
# Blazar specific configurations
|
|
BLAZAR_IDENTITY_SERVICE_NAME=${BLAZAR_IDENTITY_SERVICE_NAME:-"identity"}
|
|
BLAZAR_FREEPOOL_NAME=${BLAZAR_FREEPOOL_NAME:-freepool}
|
|
|
|
# Tell Tempest this project is present
|
|
TEMPEST_SERVICES+=,blazar
|