aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2017-03-10 00:03:09 -0500
committerMatthewLi <matthew.lijun@huawei.com>2017-03-15 05:26:27 -0400
commit99f308dc9b11e8f99d928840de576af274229331 (patch)
tree6c7b7be0d06f8c5b451dac1bde8e902d59d1cad1 /functest/ci
parent11d59071a11fcec1ef9fcd323070c6d4f151c7cd (diff)
refstack client integration
JIRA: DOVETAIL-366 JIRA: FUNCTEST-758 usage: 1,functest testcase run refstack_defcore, will run the default testcases in defcore_201608.txt 2,cd <path>/functest/functest/opnfv_tests/openstack/refstack_client python refstack_client.py -c <tempest-conf-file-path> --testlist <testlist-path> this has been worked with openstack-refstack experts, etc. tested workedi. result see http://paste.openstack.org/show/602173/ Change-Id: I1aaffea01dec9dc8d1c572885bdf516614a16894 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'functest/ci')
-rwxr-xr-xfunctest/ci/config_functest.yaml7
-rwxr-xr-xfunctest/ci/testcases.yaml15
2 files changed, 22 insertions, 0 deletions
diff --git a/functest/ci/config_functest.yaml b/functest/ci/config_functest.yaml
index b358a332..064e8ea6 100755
--- a/functest/ci/config_functest.yaml
+++ b/functest/ci/config_functest.yaml
@@ -40,18 +40,21 @@ general:
ims_data: /home/opnfv/functest/data/ims/
rally_inst: /home/opnfv/.rally
repo_kingbird: /home/opnfv/repos/kingbird
+ refstack_client: /home/opnfv/repos/refstack-client
openstack:
creds: /home/opnfv/functest/conf/openstack.creds
snapshot_file: /home/opnfv/functest/conf/openstack_snapshot.yaml
image_name: Cirros-0.3.5
+ image_name_alt: Cirros-0.3.5-1
image_file_name: cirros-0.3.5-x86_64-disk.img
image_disk_format: qcow2
image_username: cirros
image_password: cubswin:)
flavor_name: opnfv_flavor
+ flavor_name_alt: opnfv_flavor_1
flavor_ram: 512
flavor_disk: 1
flavor_vcpus: 1
@@ -120,6 +123,10 @@ rally:
subnet_cidr: 192.168.140.0/24
router_name: rally-router
+refstack:
+ tempest_conf_path: openstack/refstack_client/tempest.conf
+ defcore_list: openstack/refstack_client/defcore_201608.txt
+
vnf:
aaa:
tenant_name: aaa
diff --git a/functest/ci/testcases.yaml b/functest/ci/testcases.yaml
index 41541223..bfbc3fdb 100755
--- a/functest/ci/testcases.yaml
+++ b/functest/ci/testcases.yaml
@@ -131,6 +131,21 @@ tiers:
class: 'RallySanity'
-
+ name: refstack_defcore
+ criteria: 'success_rate == 100%'
+ blocking: false
+ clean_flag: false
+ description: >-
+ This test case runs a sub group of tests of the OpenStack
+ Defcore testcases by using refstack client.
+ dependencies:
+ installer: ''
+ scenario: ''
+ run:
+ module: 'functest.opnfv_tests.openstack.refstack_client.refstack_client'
+ class: 'RefstackClient'
+
+ -
name: odl
criteria: 'success_rate == 100%'
blocking: true