summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-08-30 17:06:59 +0800
committerAlex Yang <yangyang1@zte.com.cn>2017-08-30 17:06:59 +0800
commit118380064e8d36a0ed794012a7b7022ce2c70016 (patch)
treeab86e1de8ca4f2f4b35a008b0db2e2da82cf09de
parent5b4ac607d4c1865ca3cba1c20f5d11444b1ee616 (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>
-rw-r--r--functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py3
-rw-r--r--functest/opnfv_tests/vnf/ims/orchestra_openims.py3
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 a54059966..5154dea20 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 f8acada44..45440704e 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);