From 9f61d29e66433eac5c657f6d3a3903b35ecfb7d1 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Mon, 26 Nov 2012 18:56:20 +0000 Subject: [PATCH] Revert "Remove python-openstackclient." This reverts commit 6e3330967c5c7be73a8ffee3779c214768683c56 This is in fact useful to an admittedly small population. And if I had not been on vacation I'd have -2'd it... --- stack.sh | 5 +++++ stackrc | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/stack.sh b/stack.sh index 8df0395302..ec10b110d1 100755 --- a/stack.sh +++ b/stack.sh @@ -317,6 +317,7 @@ source $TOP_DIR/lib/tempest # Set the destination directories for OpenStack projects HORIZON_DIR=$DEST/horizon +OPENSTACKCLIENT_DIR=$DEST/python-openstackclient NOVNC_DIR=$DEST/noVNC SWIFT_DIR=$DEST/swift SWIFT3_DIR=$DEST/swift3 @@ -812,6 +813,9 @@ install_keystoneclient install_glanceclient install_novaclient +# Check out the client libs that are used most +git_clone $OPENSTACKCLIENT_REPO $OPENSTACKCLIENT_DIR $OPENSTACKCLIENT_BRANCH + # glance, swift middleware and nova api needs keystone middleware if is_service_enabled key g-api n-api swift; then # unified auth system (manages accounts/tokens) @@ -877,6 +881,7 @@ echo_summary "Configuring OpenStack projects" # allowing ``import nova`` or ``import glance.client`` configure_keystoneclient configure_novaclient +setup_develop $OPENSTACKCLIENT_DIR if is_service_enabled key g-api n-api swift; then configure_keystone fi diff --git a/stackrc b/stackrc index e0c69cabfb..01e955611a 100644 --- a/stackrc +++ b/stackrc @@ -76,6 +76,10 @@ HORIZON_BRANCH=master NOVACLIENT_REPO=${GIT_BASE}/openstack/python-novaclient.git NOVACLIENT_BRANCH=master +# consolidated openstack python client +OPENSTACKCLIENT_REPO=${GIT_BASE}/openstack/python-openstackclient.git +OPENSTACKCLIENT_BRANCH=master + # python keystone client library to nova that horizon uses KEYSTONECLIENT_REPO=${GIT_BASE}/openstack/python-keystoneclient KEYSTONECLIENT_BRANCH=master