aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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