From 118380064e8d36a0ed794012a7b7022ce2c70016 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Wed, 30 Aug 2017 17:06:59 +0800 Subject: Make the vnf images public Openims and clearwaterims use the same ubuntu image. If the image was createed by the openims without 'public', clearwaterims won't create it again but cannot use the image and report 'Not Found' error [1]. Change-Id: Ib691af2992b1de2a13f54bfa46754afba6152fd9 Signed-off-by: Alex Yang --- functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py | 3 ++- functest/opnfv_tests/vnf/ims/orchestra_openims.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'functest') diff --git a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py index a5405996..5154dea2 100644 --- a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py +++ b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py @@ -234,7 +234,8 @@ class ClearwaterImsVnf(vnf.VnfOnBoarding): ImageSettings(name=image_name, image_user='cloud', img_format='qcow2', - image_file=image_file)) + image_file=image_file, + public=True)) image.create() # self.created_resources.append(image); diff --git a/functest/opnfv_tests/vnf/ims/orchestra_openims.py b/functest/opnfv_tests/vnf/ims/orchestra_openims.py index f8acada4..45440704 100644 --- a/functest/opnfv_tests/vnf/ims/orchestra_openims.py +++ b/functest/opnfv_tests/vnf/ims/orchestra_openims.py @@ -231,7 +231,8 @@ class OpenImsVnf(vnf.VnfOnBoarding): ImageSettings(name=image_name, image_user='cloud', img_format='qcow2', - image_file=image_file)) + image_file=image_file, + public=True)) image.create() # self.created_resources.append(image); -- cgit 1.2.3-korg