From 5578c5fe6f96220e5f38b0f285d6dbbe61b525f3 Mon Sep 17 00:00:00 2001 From: huangxiangyu Date: Wed, 12 Apr 2017 16:15:45 +0800 Subject: Set openstack related clients to fixed versions Change-Id: Iec8ed803fe5567d2d148a518046264fd0bc1ca21 Signed-off-by: huangxiangyu --- juju/juju_setup.sh | 2 +- requirements.txt | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 requirements.txt 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 -- cgit 1.2.3-korg