db679ef7cb
1. What is the problem? Tricircle now don't support QoS service, we should add QoS servicesupporting. 2. What is the solution to the problem? We implement Tricircle QoS service by inherit neutron QoS plugin. For QoS automation deployment in local, we should implement QoS xjob jobs. Change-Id: Ifbf453b57f7e18919318e1dae2ca2849e149a29b Signed-off-by: xiaohan zhang <zhangxiaohan@szzt.com.cn>
51 lines
2.3 KiB
Plaintext
51 lines
2.3 KiB
Plaintext
# Git information
|
|
TRICIRCLE_REPO=${TRICIRCLE_REPO:-https://git.openstack.org/cgit/openstack/tricircle/}
|
|
TRICIRCLE_DIR=$DEST/tricircle
|
|
TRICIRCLE_BRANCH=${TRICIRCLE_BRANCH:-master}
|
|
|
|
# common variables
|
|
CENTRAL_REGION_NAME=${CENTRAL_REGION_NAME:-CentralRegion}
|
|
TRICIRCLE_NEUTRON_PORT=${TRICIRCLE_NEUTRON_PORT:-20001}
|
|
TRICIRCLE_START_SERVICES=${TRICIRCLE_START_SERVICES:-True}
|
|
TRICIRCLE_DEPLOY_WITH_WSGI=${TRICIRCLE_DEPLOY_WITH_WSGI:-True}
|
|
TRICIRCLE_DEPLOY_WITH_CELL=${TRICIRCLE_DEPLOY_WITH_CELL:-False}
|
|
|
|
# extensions working with tricircle
|
|
TRICIRCLE_ENABLE_TRUNK=${TRICIRCLE_ENABLE_TRUNK:-False}
|
|
TRICIRCLE_ENABLE_SFC=${TRICIRCLE_ENABLE_SFC:-False}
|
|
TRICIRCLE_ENABLE_QOS=${TRICIRCLE_ENABLE_QOS:-False}
|
|
|
|
# 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}
|
|
TRICIRCLE_DEFAULT_VXLAN_RANGE=${TRICIRCLE_DEFAULT_VXLAN_RANGE:-1001:2000}
|
|
TRICIRCLE_DEFAULT_FLAT_NETWORKS=${TRICIRCLE_DEFAULT_FLAT_NETWORKS:-bridge,extern}
|
|
|
|
TRICIRCLE_CONF_DIR=${TRICIRCLE_CONF_DIR:-/etc/tricircle}
|
|
TRICIRCLE_STATE_PATH=${TRICIRCLE_STATE_PATH:-/var/lib/tricircle}
|
|
|
|
# tricircle rest admin api
|
|
TRICIRCLE_API=$TRICIRCLE_DIR/tricircle/cmd/api.py
|
|
TRICIRCLE_API_CONF=$TRICIRCLE_CONF_DIR/api.conf
|
|
TRICIRCLE_API_APACHE_TEMPLATE=$TRICIRCLE_DIR/devstack/apache-tricircle-api.template
|
|
|
|
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}
|
|
|
|
# tricircle xjob
|
|
TRICIRCLE_XJOB_CONF=$TRICIRCLE_CONF_DIR/xjob.conf
|
|
|
|
TRICIRCLE_AUTH_CACHE_DIR=${TRICIRCLE_AUTH_CACHE_DIR:-/var/cache/tricircle}
|
|
|
|
export PYTHONPATH=$PYTHONPATH:$TRICIRCLE_DIR
|
|
|
|
# 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
|