File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -318,6 +318,7 @@ source $TOP_DIR/lib/tempest
318318
319319# Set the destination directories for OpenStack projects
320320HORIZON_DIR=$DEST /horizon
321+ OPENSTACKCLIENT_DIR=$DEST /python-openstackclient
321322NOVNC_DIR=$DEST /noVNC
322323SWIFT_DIR=$DEST /swift
323324SWIFT3_DIR=$DEST /swift3
@@ -794,6 +795,9 @@ install_keystoneclient
794795install_glanceclient
795796install_novaclient
796797
798+ # Check out the client libs that are used most
799+ git_clone $OPENSTACKCLIENT_REPO $OPENSTACKCLIENT_DIR $OPENSTACKCLIENT_BRANCH
800+
797801# glance, swift middleware and nova api needs keystone middleware
798802if is_service_enabled key g-api n-api swift; then
799803 # unified auth system (manages accounts/tokens)
@@ -859,6 +863,7 @@ echo_summary "Configuring OpenStack projects"
859863# allowing ``import nova`` or ``import glance.client``
860864configure_keystoneclient
861865configure_novaclient
866+ setup_develop $OPENSTACKCLIENT_DIR
862867if is_service_enabled key g-api n-api swift; then
863868 configure_keystone
864869fi
Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ HORIZON_BRANCH=master
7676NOVACLIENT_REPO=${GIT_BASE}/openstack/python-novaclient.git
7777NOVACLIENT_BRANCH=master
7878
79+ # consolidated openstack python client
80+ OPENSTACKCLIENT_REPO=${GIT_BASE}/openstack/python-openstackclient.git
81+ OPENSTACKCLIENT_BRANCH=master
82+
7983# python keystone client library to nova that horizon uses
8084KEYSTONECLIENT_REPO=${GIT_BASE}/openstack/python-keystoneclient
8185KEYSTONECLIENT_BRANCH=master
You can’t perform that action at this time.
0 commit comments