Adding SDNVPN tempest test cases to proposed_tests suite 25/51625/8
authorGeorg Kunz <georg.kunz@ericsson.com>
Sat, 3 Feb 2018 22:09:21 +0000 (23:09 +0100)
committerGeorg Kunz <georg.kunz@ericsson.com>
Fri, 2 Mar 2018 12:14:44 +0000 (13:14 +0100)
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>
dovetail/compliance/proposed_tests.yml
dovetail/testcase/sdnvpn.tc000.yml [new file with mode: 0644]
dovetail/userconfig/sdnvpn_config_tc000.yaml [new file with mode: 0644]

index 0f04aca..692ffed 100644 (file)
@@ -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 (file)
index 0000000..6294e1e
--- /dev/null
@@ -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 (file)
index 0000000..1cb4c63
--- /dev/null
@@ -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