# Ubuntu 14.04 image for snaps_smoke
ubuntu14_image: 'ubuntu-14.04-server-cloudimg-amd64-disk1.img'
+# cloudify_ims image
+cloudify_image: 'cloudify-manager-premium-4.0.1.qcow2'
+
+# Trusty image
+trusty_image: 'trusty-server-cloudimg-amd64-disk1.img'
+
COMPLIANCE_PATH: compliance/
TESTCASE_PATH: testcase/
# testsuite supported, should adjust accordingly
- mandatory
- full
- smoke
+ - vnf
functest_testsuite:
- refstack_defcore
if type.lower() == 'functest':
prefix_path = dt_cfg.dovetail_config[type]['config']['dir']
- file_name = dt_cfg.dovetail_config['cirros_image']
- src_path = os.path.join(prefix_path, 'pre_config', file_name)
- dest_path = '/home/opnfv/functest/images'
- Container.pre_copy(container_id, src_path, dest_path)
- file_name = dt_cfg.dovetail_config['ubuntu14_image']
- src_path = os.path.join(prefix_path, 'pre_config', file_name)
- dest_path = '/home/opnfv/functest/images'
- Container.pre_copy(container_id, src_path, dest_path)
+ images = ['cirros_image', 'ubuntu14_image', 'cloudify_image',
+ 'trusty_image']
+ for image in images:
+ file_name = dt_cfg.dovetail_config[image]
+ src_path = os.path.join(prefix_path, 'pre_config', file_name)
+ dest_path = '/home/opnfv/functest/images'
+ Container.pre_copy(container_id, src_path, dest_path)
if type.lower() == 'yardstick':
cls.set_yardstick_conf_file(container_id)
--- /dev/null
+---
+dovetail.vnf.tc001:
+ name: dovetail.vnf.tc001
+ objective: testing for Cleawater IMS deployment using Cloudify orchestrator
+ validate:
+ type: functest
+ testcase: cloudify_ims
+ pre_condition:
+ - 'cp /home/opnfv/userconfig/pre_config/testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml'
+ report:
+ sub_testcase_list: