aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhuangxiangyu <huangxiangyu5@huawei.com>2017-04-12 16:15:45 +0800
committerhuangxiangyu <huangxiangyu5@huawei.com>2017-04-12 16:15:45 +0800
commit5578c5fe6f96220e5f38b0f285d6dbbe61b525f3 (patch)
treeaf8585e5ce07fc3a27cbde341acb8d5029d1a2c5
parent645898cb63b05c96f7fc15aa3934af12d988cd33 (diff)
Set openstack related clients to fixed versions
Change-Id: Iec8ed803fe5567d2d148a518046264fd0bc1ca21 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
-rwxr-xr-xjuju/juju_setup.sh2
-rw-r--r--requirements.txt14
2 files changed, 15 insertions, 1 deletions
diff --git a/juju/juju_setup.sh b/juju/juju_setup.sh
index 5d69c72..7a8cafa 100755
--- a/juju/juju_setup.sh
+++ b/juju/juju_setup.sh
@@ -21,7 +21,7 @@ function juju_env_prepare()
virtualenv ${WORK_DIR}/venv
source ${WORK_DIR}/venv/bin/activate
- pip install --upgrade python-openstackclient python-neutronclient
+ pip install -r ${OPERA_DIR}/requirements.txt
}
function juju_download_img()
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..514ccf4
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,14 @@
+##############################################################################
+# Copyright (c) 2016-2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+python-cinderclient==2.0.1
+python-glanceclient==2.6.0
+python-keystoneclient==3.10.0
+python-neutronclient==6.1.0
+python-novaclient==7.1.0
+python-openstackclient==3.9.0