diff --git a/lib/cinder b/lib/cinder index 9c818c6eb2..de67593f72 100644 --- a/lib/cinder +++ b/lib/cinder @@ -40,6 +40,7 @@ fi # set up default directories GITDIR["python-cinderclient"]=$DEST/python-cinderclient GITDIR["os-brick"]=$DEST/os-brick +GITDIR["python-brick-cinderclient-ext"]=$DEST/python-brick-cinderclient-ext CINDER_DIR=$DEST/cinder # Cinder virtual environment @@ -466,6 +467,11 @@ function install_cinder { # install_cinderclient() - Collect source and prepare function install_cinderclient { + if use_library_from_git "python-brick-cinderclient-ext"; then + git_clone_by_name "python-brick-cinderclient-ext" + setup_dev_lib "python-brick-cinderclient-ext" + fi + if use_library_from_git "python-cinderclient"; then git_clone_by_name "python-cinderclient" setup_dev_lib "python-cinderclient" diff --git a/stackrc b/stackrc index 8e1900dd94..969d77d95c 100644 --- a/stackrc +++ b/stackrc @@ -285,6 +285,10 @@ TEMPEST_BRANCH=${TEMPEST_BRANCH:-master} GITREPO["python-cinderclient"]=${CINDERCLIENT_REPO:-${GIT_BASE}/openstack/python-cinderclient.git} GITBRANCH["python-cinderclient"]=${CINDERCLIENT_BRANCH:-master} +# os-brick client for local volume attachement +GITREPO["python-brick-cinderclient-ext"]=${CINDERCLIENT_REPO:-${GIT_BASE}/openstack/python-brick-cinderclient-ext.git} +GITBRANCH["python-brick-cinderclient-ext"]=${CINDERCLIENT_BRANCH:-master} + # python glance client library GITREPO["python-glanceclient"]=${GLANCECLIENT_REPO:-${GIT_BASE}/openstack/python-glanceclient.git} GITBRANCH["python-glanceclient"]=${GLANCECLIENT_BRANCH:-master} diff --git a/tests/test_libs_from_pypi.sh b/tests/test_libs_from_pypi.sh index a979c346b8..bb58088ef3 100755 --- a/tests/test_libs_from_pypi.sh +++ b/tests/test_libs_from_pypi.sh @@ -42,7 +42,7 @@ ALL_LIBS+=" python-neutronclient tooz ceilometermiddleware oslo.policy" ALL_LIBS+=" debtcollector os-brick automaton futurist oslo.service" ALL_LIBS+=" oslo.cache oslo.reports osprofiler" ALL_LIBS+=" keystoneauth ironic-lib neutron-lib oslo.privsep" -ALL_LIBS+=" diskimage-builder os-vif" +ALL_LIBS+=" diskimage-builder os-vif python-brick-cinderclient-ext" # Generate the above list with # echo ${!GITREPO[@]}