From c308b9a718b8b4fc5e781f8d2a6dbe714e381834 Mon Sep 17 00:00:00 2001 From: Georg Kunz Date: Sat, 3 Feb 2018 23:09:21 +0100 Subject: 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 --- dovetail/compliance/proposed_tests.yml | 2 ++ dovetail/testcase/sdnvpn.tc000.yml | 14 ++++++++++++++ dovetail/userconfig/sdnvpn_config_tc000.yaml | 7 +++++++ 3 files changed, 23 insertions(+) create mode 100644 dovetail/testcase/sdnvpn.tc000.yml create mode 100644 dovetail/userconfig/sdnvpn_config_tc000.yaml 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 -- cgit 1.2.3-korg