diff --git a/lib/ceilometer b/lib/ceilometer index c449ad243d..f509788ab7 100644 --- a/lib/ceilometer +++ b/lib/ceilometer @@ -57,6 +57,7 @@ set +o xtrace # Set up default directories GITDIR["python-ceilometerclient"]=$DEST/python-ceilometerclient +GITDIR["ceilometermiddleware"]=$DEST/ceilometermiddleware CEILOMETER_DIR=$DEST/ceilometer CEILOMETER_CONF_DIR=/etc/ceilometer @@ -303,6 +304,14 @@ function install_ceilometerclient { fi } +# install_ceilometermiddleware() - Collect source and prepare +function install_ceilometermiddleware { + if use_library_from_git "ceilometermiddleware"; then + git_clone_by_name "ceilometermiddleware" + setup_dev_lib "ceilometermiddleware" + fi +} + # start_ceilometer() - Start running processes, including screen function start_ceilometer { run_process ceilometer-acentral "ceilometer-agent-central --config-file $CEILOMETER_CONF" diff --git a/stackrc b/stackrc index 7bbde9941a..386c5d53e3 100644 --- a/stackrc +++ b/stackrc @@ -164,7 +164,7 @@ GIT_BASE=${GIT_BASE:-git://git.openstack.org} # ############## -# metering service +# telemetry service CEILOMETER_REPO=${CEILOMETER_REPO:-${GIT_BASE}/openstack/ceilometer.git} CEILOMETER_BRANCH=${CEILOMETER_BRANCH:-master} @@ -407,6 +407,10 @@ GITBRANCH["keystonemiddleware"]=${KEYSTONEMIDDLEWARE_BRANCH:-master} SWIFT3_REPO=${SWIFT3_REPO:-${GIT_BASE}/stackforge/swift3.git} SWIFT3_BRANCH=${SWIFT3_BRANCH:-master} +# ceilometer middleware +GITREPO["ceilometermiddleware"]=${CEILOMETERMIDDLEWARE_REPO:-${GIT_BASE}/openstack/ceilometermiddleware.git} +GITBRANCH["ceilometermiddleware"]=${CEILOMETERMIDDLEWARE_BRANCH:-master} + ################## # diff --git a/tests/test_libs_from_pypi.sh b/tests/test_libs_from_pypi.sh index 6e1b515efd..cce020399c 100755 --- a/tests/test_libs_from_pypi.sh +++ b/tests/test_libs_from_pypi.sh @@ -29,7 +29,7 @@ for i in $TOP/lib/*; do fi done -ALL_LIBS="python-novaclient oslo.config pbr oslo.context python-troveclient python-keystoneclient taskflow oslo.middleware pycadf python-glanceclient python-ironicclient tempest-lib oslo.messaging oslo.log cliff python-heatclient stevedore python-cinderclient glance_store oslo.concurrency oslo.db oslo.vmware keystonemiddleware oslo.serialization python-saharaclient django_openstack_auth python-openstackclient oslo.rootwrap oslo.i18n python-ceilometerclient oslo.utils python-swiftclient python-neutronclient tooz" +ALL_LIBS="python-novaclient oslo.config pbr oslo.context python-troveclient python-keystoneclient taskflow oslo.middleware pycadf python-glanceclient python-ironicclient tempest-lib oslo.messaging oslo.log cliff python-heatclient stevedore python-cinderclient glance_store oslo.concurrency oslo.db oslo.vmware keystonemiddleware oslo.serialization python-saharaclient django_openstack_auth python-openstackclient oslo.rootwrap oslo.i18n python-ceilometerclient oslo.utils python-swiftclient python-neutronclient tooz ceilometermiddleware" # Generate the above list with # echo ${!GITREPO[@]}