aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common/constants.py
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2016-12-15 06:02:50 +0000
committerchenjiankun <chenjiankun1@huawei.com>2016-12-22 11:33:38 +0000
commite88d02c9d87c18dbaaf849d8b10167e6dadf485a (patch)
tree2d18c94d63599dedeaf48c2ddf2ad4f5bd00de3b /yardstick/common/constants.py
parent70d25b87c167bc13e883da2963980cce56410f98 (diff)
Bugfix: the load_image.sh script will load a image with the same name
JIRA: YARDSTICK-471 Currently, if we execute the load_image.sh and the openstack already have this image in the cloud,this script will load another image with the same name. This will make yardstick run error. So I clean this related images before loading. Change-Id: If5b985ef9b2e890aa10453810fac36867d320a06 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'yardstick/common/constants.py')
-rw-r--r--yardstick/common/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yardstick/common/constants.py b/yardstick/common/constants.py
index 443b3e810..6993c41b9 100644
--- a/yardstick/common/constants.py
+++ b/yardstick/common/constants.py
@@ -31,6 +31,8 @@ RELENG_DIR = '/home/opnfv/repos/releng'
OS_FETCH_SCRIPT = 'utils/fetch_os_creds.sh'
+CLEAN_IMAGES_SCRIPT = 'tests/ci/clean_images.sh'
+
LOAD_IMAGES_SCRIPT = 'tests/ci/load_images.sh'
OPENSTACK_RC_FILE = os.path.join(YARDSTICK_CONFIG_DIR, 'openstack.creds')