Browse code

Merge "Revert "Remove python-openstackclient.""

Jenkins authored on 2012/11/28 03:33:40
Showing 2 changed files
... ...
@@ -318,6 +318,7 @@ source $TOP_DIR/lib/tempest
318 318
 
319 319
 # Set the destination directories for OpenStack projects
320 320
 HORIZON_DIR=$DEST/horizon
321
+OPENSTACKCLIENT_DIR=$DEST/python-openstackclient
321 322
 NOVNC_DIR=$DEST/noVNC
322 323
 SWIFT_DIR=$DEST/swift
323 324
 SWIFT3_DIR=$DEST/swift3
... ...
@@ -794,6 +795,9 @@ install_keystoneclient
794 794
 install_glanceclient
795 795
 install_novaclient
796 796
 
797
+# Check out the client libs that are used most
798
+git_clone $OPENSTACKCLIENT_REPO $OPENSTACKCLIENT_DIR $OPENSTACKCLIENT_BRANCH
799
+
797 800
 # glance, swift middleware and nova api needs keystone middleware
798 801
 if is_service_enabled key g-api n-api swift; then
799 802
     # unified auth system (manages accounts/tokens)
... ...
@@ -859,6 +863,7 @@ echo_summary "Configuring OpenStack projects"
859 859
 # allowing ``import nova`` or ``import glance.client``
860 860
 configure_keystoneclient
861 861
 configure_novaclient
862
+setup_develop $OPENSTACKCLIENT_DIR
862 863
 if is_service_enabled key g-api n-api swift; then
863 864
     configure_keystone
864 865
 fi
... ...
@@ -76,6 +76,10 @@ HORIZON_BRANCH=master
76 76
 NOVACLIENT_REPO=${GIT_BASE}/openstack/python-novaclient.git
77 77
 NOVACLIENT_BRANCH=master
78 78
 
79
+# consolidated openstack python client
80
+OPENSTACKCLIENT_REPO=${GIT_BASE}/openstack/python-openstackclient.git
81
+OPENSTACKCLIENT_BRANCH=master
82
+
79 83
 # python keystone client library to nova that horizon uses
80 84
 KEYSTONECLIENT_REPO=${GIT_BASE}/openstack/python-keystoneclient
81 85
 KEYSTONECLIENT_BRANCH=master