180f68eac8
1. What is the problem? Networking related code is still in the repository of the Trio2o project. 2. What is the solution to the problem? According to the blueprint for the Trio2o cleaning: https://blueprints.launchpad.net/trio2o/+spec/trio2o-code-cleaning Networking related code which is forked from the Tricircle repository should be removed from the Trio2o repository. After the cleanning, the Trio2o should be able to run independently. There are lots of things to clean and update, and have to do it in one huge patch, otherwise the code in Trio2o will not be able to run and tested properply: 1). Remove netwoking operaion from server controller 2). Update devstack script 3). Update installation guide 4). Update README 5). Remove network folder and network related unit tests 6). Rename Tricircle to Trio2o in all source code THE MEANING OF FILE OPERATION: D: delete a file R: rename a file to another name A: add a new file C: copy a file 3. What the features need to be implemented to the Tricircle to realize the solution? No new features. Change-Id: I0b48ee38280e25ba6294ca3d5b7a0673cb368ed4 Signed-off-by: joehuang <joehuang@huawei.com>
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
# Git information
|
|
TRIO2O_REPO=${TRIO2O_REPO:-https://git.openstack.org/cgit/openstack/trio2o/}
|
|
TRIO2O_DIR=$DEST/trio2o
|
|
TRIO2O_BRANCH=${TRIO2O_BRANCH:-master}
|
|
|
|
# common variables
|
|
POD_REGION_NAME=${POD_REGION_NAME:-Pod1}
|
|
TRIO2O_CONF_DIR=${TRIO2O_CONF_DIR:-/etc/trio2o}
|
|
TRIO2O_STATE_PATH=${TRIO2O_STATE_PATH:-/var/lib/trio2o}
|
|
|
|
# trio2o rest admin api
|
|
TRIO2O_API=$TRIO2O_DIR/cmd/api.py
|
|
TRIO2O_API_CONF=$TRIO2O_CONF_DIR/api.conf
|
|
|
|
TRIO2O_API_LISTEN_ADDRESS=${TRIO2O_API_LISTEN_ADDRESS:-0.0.0.0}
|
|
TRIO2O_API_HOST=${TRIO2O_API_HOST:-$SERVICE_HOST}
|
|
TRIO2O_API_PORT=${TRIO2O_API_PORT:-19999}
|
|
TRIO2O_API_PROTOCOL=${TRIO2O_API_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
|
|
# trio2o nova_apigw
|
|
TRIO2O_NOVA_APIGW=$TRIO2O_DIR/cmd/nova_apigw.py
|
|
TRIO2O_NOVA_APIGW_CONF=$TRIO2O_CONF_DIR/nova_apigw.conf
|
|
|
|
TRIO2O_NOVA_APIGW_LISTEN_ADDRESS=${TRIO2O_NOVA_APIGW_LISTEN_ADDRESS:-0.0.0.0}
|
|
TRIO2O_NOVA_APIGW_HOST=${TRIO2O_NOVA_APIGW_HOST:-$SERVICE_HOST}
|
|
TRIO2O_NOVA_APIGW_PORT=${TRIO2O_NOVA_APIGW_PORT:-19998}
|
|
TRIO2O_NOVA_APIGW_PROTOCOL=${TRIO2O_NOVA_APIGW_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
|
|
# trio2o cinder_apigw
|
|
TRIO2O_CINDER_APIGW=$TRIO2O_DIR/cmd/cinder_apigw.py
|
|
TRIO2O_CINDER_APIGW_CONF=$TRIO2O_CONF_DIR/cinder_apigw.conf
|
|
|
|
TRIO2O_CINDER_APIGW_LISTEN_ADDRESS=${TRIO2O_CINDER_APIGW_LISTEN_ADDRESS:-0.0.0.0}
|
|
TRIO2O_CINDER_APIGW_HOST=${TRIO2O_CINDER_APIGW_HOST:-$SERVICE_HOST}
|
|
TRIO2O_CINDER_APIGW_PORT=${TRIO2O_CINDER_APIGW_PORT:-19997}
|
|
TRIO2O_CINDER_APIGW_PROTOCOL=${TRIO2O_CINDER_APIGW_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
|
|
# trio2o xjob
|
|
TRIO2O_XJOB=$TRIO2O_DIR/cmd/xjob.py
|
|
TRIO2O_XJOB_CONF=$TRIO2O_CONF_DIR/xjob.conf
|
|
|
|
TRIO2O_AUTH_CACHE_DIR=${TRIO2O_AUTH_CACHE_DIR:-/var/cache/trio2o}
|
|
|
|
export PYTHONPATH=$PYTHONPATH:$TRIO2O_DIR
|