b696f70b21
- Test cases are being installed on /opt/stack/tobiko as the folder is used for DevStack plugin - DevStack plugin generate /etc/tobiko/tobiko.conf file - Tobiko roles use zuul user on test host - Test cases get conf from both configuration files: * /etc/tobiko/tobiko.conf (generated by DevStack plugin) * /opt/stack/tobiko/tobiko.conf (generated by tobiko-configure role) - Tobiko roles are now in charge of managing files recollection therefore log file is no more required to be written into DevStack logs folder Change-Id: If9bc702c3b97764a7ed81e074b407e2f336a6fbf
44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
define_plugin tobiko
|
|
plugin_requires tobiko heat
|
|
|
|
# --- General settings ----
|
|
TOBIKO_REPO=${TOBIKO_REPO:-${GIT_BASE}/x/tobiko.git}
|
|
GITREPO["tobiko"]=${TOBIKO_REPO}
|
|
TOBIKO_VERSION=${TOBIKO_BRANCH:-master}
|
|
GITBRANCH["tobiko"]=${TOBIKO_VERSION}
|
|
TOBIKO_DIR=${TOBIKO_DIR:-${DEST}/tobiko}
|
|
GITDIR["tobiko"]=${TOBIKO_DIR}
|
|
|
|
TOBIKO_CONF_FILE=${TOBIKO_CONF_FILE:-/etc/tobiko/tobiko.conf}
|
|
TOBIKO_DEBUG=${TOBIKO_DEBUG:-True}
|
|
TOBIKO_LOG_FILE=${TOBIKO_LOG_FILE:-${LOGDIR}/tobiko.log}
|
|
|
|
TOBIKO_BINDEP=${BINDEP_CMD:+-bindep}
|
|
|
|
# --- Glance settings ---
|
|
TOBIKO_GLANCE_IMAGE_DIR=${TOBIKO_GLANCE_IMAGE_DIR:-}
|
|
|
|
# --- Cirros image settings ---
|
|
TOBIKO_CIRROS_IMAGE_NAME=${TOBIKO_CIRROS_IMAGE_NAME:-}
|
|
TOBIKO_CIRROS_IMAGE_URL=${TOBIKO_CIRROS_IMAGE_URL:-}
|
|
TOBIKO_CIRROS_IMAGE_FILE=${TOBIKO_CIRROS_IMAGE_FILE:-}
|
|
TOBIKO_CIRROS_USERNAME=${TOBIKO_CIRROS_USERNAME:-}
|
|
TOBIKO_CIRROS_PASSWORD=${TOBIKO_CIRROS_PASSWORD:-}
|
|
|
|
# --- Keystone settings ---
|
|
# See ``lib/keystone`` where these users and tenants are set up
|
|
TOBIKO_KEYSTONE_CLOUD_NAME=${TOBIKO_KEYSTONE_CLOUD_NAME:-devstack-admin}
|
|
TOBIKO_KEYSTONE_USERNAME=${TOBIKO_KEYSTONE_USERNAME:-${ADMIN_USERNAME:-admin}}
|
|
TOBIKO_KEYSTONE_PASSWORD=${TOBIKO_KEYSTONE_PASSWORD:-${ADMIN_PASSWORD:-secret}}
|
|
TOBIKO_KEYSTONE_PROJECT_NAME=${TOBIKO_KEYSTONE_PROJECT_NAME:-${ADMIN_TENANT_NAME:-admin}}
|
|
TOBIKO_KEYSTONE_USER_DOMAIN_NAME=${TOBIKO_KEYSTONE_USER_DOMAIN_NAME:-${ADMIN_DOMAIN_NAME:-Default}}
|
|
TOBIKO_KEYSTONE_PROJECT_DOMAIN_NAME=${TOBIKO_KEYSTONE_PROJECT_DOMAIN_NAME:-${ADMIN_DOMAIN_NAME:-Default}}
|
|
TOBIKO_KEYSTONE_TRUST_ID=${TOBIKO_KEYSTONE_TRUST_ID:-}
|
|
TOBIKO_KEYSTONE_USER_ROLE=${TOBIKO_KEYSTONE_USER_ROLE:-admin}
|
|
|
|
# --- Nova settings ---
|
|
TOBIKO_NOVA_KEY_FILE=${TOBIKO_NOVA_KEY_FILE:-}
|
|
|
|
# --- Neutron settings ---
|
|
TOBIKO_NEUTRON_FLOATING_NETWORK=${TOBIKO_NEUTRON_FLOATING_NETWORK:-${PUBLIC_NETWORK_NAME}}
|