summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Kunz <georg.kunz@ericsson.com>2018-02-03 23:09:21 +0100
committerGeorg Kunz <georg.kunz@ericsson.com>2018-03-02 13:14:44 +0100
commitc308b9a718b8b4fc5e781f8d2a6dbe714e381834 (patch)
tree6cb4ab12c3c819582e1d38f98b2bd93994834bfa
parentbcfc516053569199b87cb6e2a92456fcac50b1a2 (diff)
Adding SDNVPN tempest test cases to proposed_tests suite
Adding the SDNVPN Tempest API test cases of the SDNVPN project to the proposed_tests suite to allow for running these tests in the CI pipeline for validating their suitability for inclusion in the OVP Euphrates release. JIRA: DOVETAIL-608 Change-Id: Ic12db1584a2540a14979094c65fc128c6020ecea Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
-rw-r--r--dovetail/compliance/proposed_tests.yml2
-rw-r--r--dovetail/testcase/sdnvpn.tc000.yml14
-rw-r--r--dovetail/userconfig/sdnvpn_config_tc000.yaml7
3 files changed, 23 insertions, 0 deletions
diff --git a/dovetail/compliance/proposed_tests.yml b/dovetail/compliance/proposed_tests.yml
index 0f04acaa..692ffed8 100644
--- a/dovetail/compliance/proposed_tests.yml
+++ b/dovetail/compliance/proposed_tests.yml
@@ -14,3 +14,5 @@ proposed_tests:
- dovetail.vnf.tc001
# stress
- dovetail.stress.tc001
+ # sdnvpn
+ - dovetail.sdnvpn.tc000
diff --git a/dovetail/testcase/sdnvpn.tc000.yml b/dovetail/testcase/sdnvpn.tc000.yml
new file mode 100644
index 00000000..6294e1e4
--- /dev/null
+++ b/dovetail/testcase/sdnvpn.tc000.yml
@@ -0,0 +1,14 @@
+---
+dovetail.sdnvpn.tc000:
+ name: dovetail.sdnvpn.tc000
+ objective: validate BGPVPN API CRUD operations by means of Tempest tests from networking-bgpvpn repository
+ validate:
+ type: functest
+ testcase: bgpvpn
+ pre_condition:
+ - "sed -i 's/networking_bgpvpn_tempest/networking_bgpvpn_tempest-r networking_bgpvpn_tempest.tests.api.test_bgpvpn.BgpvpnTest*/' /usr/lib/python2.7/site-packages/sdnvpn/test/functest/tempest.py"
+ pre_copy:
+ exist_src_file: sdnvpn_config_tc000.yaml
+ dest_path: /usr/lib/python2.7/site-packages/sdnvpn/test/functest/config.yaml
+ report:
+ sub_testcase_list:
diff --git a/dovetail/userconfig/sdnvpn_config_tc000.yaml b/dovetail/userconfig/sdnvpn_config_tc000.yaml
new file mode 100644
index 00000000..1cb4c63f
--- /dev/null
+++ b/dovetail/userconfig/sdnvpn_config_tc000.yaml
@@ -0,0 +1,7 @@
+defaults:
+ flavor: m1.tiny # adapt to your environment
+
+testcases:
+ sdnvpn.test.functest.tempest:
+ enabled: true
+ description: Neutron BGPVPN tests in tempest