| 1 |
# Defaults |
| 2 |
# -------- |
| 3 |
|
| 4 |
#enable manager service |
| 5 |
enable_service blazar-m |
| 6 |
|
| 7 |
#enable api service |
| 8 |
enable_service blazar-a |
| 9 |
|
| 10 |
BLAZAR_DEBUG=${BLAZAR_DEBUG:-True} |
| 11 |
BLAZAR_USER_NAME=${BLAZAR_USER_NAME:-blazar} |
| 12 |
|
| 13 |
# Set up default repos |
| 14 |
BLAZAR_REPO=${BLAZAR_REPO:-${GIT_BASE}/openstack/blazar.git} |
| 15 |
BLAZAR_BRANCH=${BLAZAR_BRANCH:-master} |
| 16 |
BLAZARCLIENT_REPO=${BLAZARCLIENT_REPO:-${GIT_BASE}/openstack/python-blazarclient.git} |
| 17 |
BLAZARCLIENT_BRANCH=${BLAZARCLIENT_BRANCH:-master} |
| 18 |
BLAZARNOVA_REPO=${BLAZARNOVA_REPO:-${GIT_BASE}/openstack/blazar-nova.git} |
| 19 |
BLAZARNOVA_BRANCH=${BLAZARNOVA_BRANCH:-master} |
| 20 |
BLAZAR_DASHBOARD_REPO=${BLAZAR_DASHBOARD_REPO:-${GIT_BASE}/openstack/blazar-dashboard.git} |
| 21 |
BLAZAR_DASHBOARD_BRANCH=${BLAZAR_DASHBOARD_BRANCH:-master} |
| 22 |
|
| 23 |
# Set up default directories |
| 24 |
BLAZAR_DIR=$DEST/blazar |
| 25 |
BLAZAR_CONF_DIR=${BLAZAR_CONF_DIR:-/etc/blazar} |
| 26 |
BLAZAR_CONF_FILE=$BLAZAR_CONF_DIR/blazar.conf |
| 27 |
BLAZARCLIENT_DIR=$DEST/python-blazarclient |
| 28 |
BLAZARNOVA_DIR=$DEST/blazar-nova |
| 29 |
BLAZAR_DASHBOARD_DIR=$DEST/blazar-dashboard |
| 30 |
|
| 31 |
# wsgi deployment |
| 32 |
BLAZAR_USE_MOD_WSGI=${BLAZAR_USE_MOD_WSGI:-True} |
| 33 |
BLAZAR_BIN_DIR=$(get_python_exec_prefix) |
| 34 |
BLAZAR_UWSGI=blazar.wsgi.api:application |
| 35 |
BLAZAR_UWSGI_CONF=$BLAZAR_CONF_DIR/blazar-api-uwsgi.ini |
| 36 |
|
| 37 |
BLAZAR_SERVICE_HOST=${BLAZAR_SERVICE_HOST:-$SERVICE_HOST} |
| 38 |
BLAZAR_SERVICE_PORT=${BLAZAR_SERVICE_PORT:-1234} |
| 39 |
BLAZAR_SERVICE_PROTOCOL=${BLAZAR_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL} |
| 40 |
|
| 41 |
# Blazar specific configurations |
| 42 |
BLAZAR_IDENTITY_SERVICE_NAME=${BLAZAR_IDENTITY_SERVICE_NAME:-"identity"} |
| 43 |
BLAZAR_FREEPOOL_NAME=${BLAZAR_FREEPOOL_NAME:-freepool} |