diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-08-30 17:06:59 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-08-30 17:06:59 +0800 |
commit | 118380064e8d36a0ed794012a7b7022ce2c70016 (patch) | |
tree | ab86e1de8ca4f2f4b35a008b0db2e2da82cf09de /functest/opnfv_tests/vnf | |
parent | 5b4ac607d4c1865ca3cba1c20f5d11444b1ee616 (diff) |
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 <yangyang1@zte.com.cn>
Diffstat (limited to 'functest/opnfv_tests/vnf')
-rw-r--r-- | functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py | 3 | ||||
-rw-r--r-- | functest/opnfv_tests/vnf/ims/orchestra_openims.py | 3 |
2 files changed, 4 insertions, 2 deletions
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); |