2015-06-29 06:47:31 +00:00
|
|
|
# Git information
|
2015-10-18 10:28:02 +00:00
|
|
|
TRICIRCLE_REPO=${TRICIRCLE_REPO:-https://git.openstack.org/cgit/openstack/tricircle/}
|
2015-06-29 06:47:31 +00:00
|
|
|
TRICIRCLE_DIR=$DEST/tricircle
|
|
|
|
TRICIRCLE_BRANCH=${TRICIRCLE_BRANCH:-master}
|
|
|
|
|
2015-07-13 15:22:55 +00:00
|
|
|
# common variables
|
2016-09-05 01:23:36 +00:00
|
|
|
CENTRAL_REGION_NAME=${CENTRAL_REGION_NAME:-CentralRegion}
|
2016-01-14 04:06:20 +00:00
|
|
|
TRICIRCLE_NEUTRON_PORT=${TRICIRCLE_NEUTRON_PORT:-20001}
|
2016-12-26 07:22:56 +00:00
|
|
|
TRICIRCLE_START_SERVICES=${TRICIRCLE_START_SERVICES:-True}
|
2017-03-02 07:39:34 +00:00
|
|
|
TRICIRCLE_DEPLOY_WITH_WSGI=${TRICIRCLE_DEPLOY_WITH_WSGI:-True}
|
2017-05-24 06:58:45 +00:00
|
|
|
TRICIRCLE_DEPLOY_WITH_CELL=${TRICIRCLE_DEPLOY_WITH_CELL:-False}
|
2016-12-26 07:22:56 +00:00
|
|
|
|
2017-07-05 02:53:01 +00:00
|
|
|
# extensions working with tricircle
|
|
|
|
TRICIRCLE_ENABLE_TRUNK=${TRICIRCLE_ENABLE_TRUNK:-False}
|
2017-07-13 06:46:56 +00:00
|
|
|
TRICIRCLE_ENABLE_SFC=${TRICIRCLE_ENABLE_SFC:-False}
|
2017-11-06 03:09:16 +00:00
|
|
|
TRICIRCLE_ENABLE_QOS=${TRICIRCLE_ENABLE_QOS:-False}
|
2017-07-05 02:53:01 +00:00
|
|
|
|
2016-12-26 07:22:56 +00:00
|
|
|
# these default settings are used for devstack based gate/check jobs
|
|
|
|
TRICIRCLE_DEFAULT_VLAN_BRIDGE=${TRICIRCLE_DEFAULT_VLAN_BRIDGE:-br-vlan}
|
|
|
|
TRICIRCLE_DEFAULT_VLAN_RANGE=${TRICIRCLE_DEFAULT_VLAN_RANGE:-101:150}
|
|
|
|
TRICIRCLE_DEFAULT_EXT_BRIDGE=${TRICIRCLE_DEFAULT_EXT_BRIDGE:-br-ext}
|
|
|
|
TRICIRCLE_DEFAULT_EXT_RANGE=${TRICIRCLE_DEFAULT_EXT_RANGE:-151:200}
|
|
|
|
TRICIRCLE_ADD_DEFAULT_BRIDGES=${TRICIRCLE_ADD_DEFAULT_BRIDGES:-False}
|
2016-12-24 03:21:44 +00:00
|
|
|
TRICIRCLE_DEFAULT_VXLAN_RANGE=${TRICIRCLE_DEFAULT_VXLAN_RANGE:-1001:2000}
|
2017-03-27 02:55:58 +00:00
|
|
|
TRICIRCLE_DEFAULT_FLAT_NETWORKS=${TRICIRCLE_DEFAULT_FLAT_NETWORKS:-bridge,extern}
|
2016-12-26 07:22:56 +00:00
|
|
|
|
2015-07-13 15:22:55 +00:00
|
|
|
TRICIRCLE_CONF_DIR=${TRICIRCLE_CONF_DIR:-/etc/tricircle}
|
2016-01-14 04:06:20 +00:00
|
|
|
TRICIRCLE_STATE_PATH=${TRICIRCLE_STATE_PATH:-/var/lib/tricircle}
|
2015-07-13 15:22:55 +00:00
|
|
|
|
2016-01-14 04:06:20 +00:00
|
|
|
# tricircle rest admin api
|
2017-03-02 07:39:34 +00:00
|
|
|
TRICIRCLE_API=$TRICIRCLE_DIR/tricircle/cmd/api.py
|
2015-11-28 09:52:04 +00:00
|
|
|
TRICIRCLE_API_CONF=$TRICIRCLE_CONF_DIR/api.conf
|
2017-03-02 07:39:34 +00:00
|
|
|
TRICIRCLE_API_APACHE_TEMPLATE=$TRICIRCLE_DIR/devstack/apache-tricircle-api.template
|
2015-11-28 09:52:04 +00:00
|
|
|
|
|
|
|
TRICIRCLE_API_LISTEN_ADDRESS=${TRICIRCLE_API_LISTEN_ADDRESS:-0.0.0.0}
|
|
|
|
TRICIRCLE_API_HOST=${TRICIRCLE_API_HOST:-$SERVICE_HOST}
|
|
|
|
TRICIRCLE_API_PORT=${TRICIRCLE_API_PORT:-19999}
|
|
|
|
TRICIRCLE_API_PROTOCOL=${TRICIRCLE_API_PROTOCOL:-$SERVICE_PROTOCOL}
|
2015-08-21 01:29:34 +00:00
|
|
|
|
2016-01-14 04:06:20 +00:00
|
|
|
# tricircle xjob
|
|
|
|
TRICIRCLE_XJOB_CONF=$TRICIRCLE_CONF_DIR/xjob.conf
|
|
|
|
|
2015-08-21 01:29:34 +00:00
|
|
|
TRICIRCLE_AUTH_CACHE_DIR=${TRICIRCLE_AUTH_CACHE_DIR:-/var/cache/tricircle}
|
|
|
|
|
2015-06-29 06:47:31 +00:00
|
|
|
export PYTHONPATH=$PYTHONPATH:$TRICIRCLE_DIR
|
2017-02-22 22:15:34 +00:00
|
|
|
|
|
|
|
# Set up default directories for client
|
|
|
|
GITREPO["python-tricircleclient"]=${TRICIRCLE_PYTHONCLIENT_REPO:-${GIT_BASE}/openstack/python-tricircleclient.git}
|
|
|
|
GITBRANCH["python-tricircleclient"]=${TRICIRCLE_PYTHONCLIENT_BRANCH:-master}
|
|
|
|
GITDIR["python-tricircleclient"]=$DEST/python-tricircleclient
|