Add test dependencies in Functest config files 75/4075/3
authorMorgan Richomme <morgan.richomme@orange.com>
Tue, 8 Dec 2015 15:29:36 +0000 (16:29 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Wed, 9 Dec 2015 09:40:48 +0000 (10:40 +0100)
to know if the tescase/test suite can be run (or not)

JIRA: RELENG-69

Change-Id: I54e92a0a0b89fe64f6cd07f05b66859278ed84a8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
testcases/config_functest.yaml

index 4603357..5307df6 100644 (file)
@@ -125,3 +125,61 @@ ONOS:
         OCN2: '189.42.8.105'
 results:
     test_db_url: http://213.77.62.197
+
+########################################################################
+# This part lists the dependencies of the tests
+#
+# it is used to managed the complexity of the possible combination
+#
+# 17 projects have been declared for Brahmaputra (D Milestone)
+# 89 testcases are associated with these 17 projects
+#
+# in B-Release, Functest deals with 6 companion projects:
+# - congress
+# - doctor
+# - ovno
+# - policyTest
+# - promise
+# - sdnvpn
+#
+# constraints may be declared at the testcase or the test project level
+#
+# By default we consider that all the tests can be run on any configuration
+#
+# we defined 3 constraints
+# - installer (e.g. my test can be run only with installer Compass)
+# possible values: apex, compass, fuel, joid
+#
+# - controller (e.g. my test can be done only with controller OpenContrail)
+# possible values: none, odl, onos, opencontrail
+#
+# - options (ovs, kvm, QEMU, proc) (my test is only possible with OVS 2.3.2)
+# possible values:
+# ovs: ovs2.4, ovsX
+# kvm:
+# qemu:
+#
+#######################################################################
+test-dependencies:
+    #congress:
+    #doctor:
+    functest:
+        odl:
+            controller: 'odl'
+        onos:
+            controller: 'onos'
+        onos-ovsdb:
+            controller: 'onos'
+    #promise:
+    ovno:
+        controller: 'opencontrail'
+    policy-test:
+        controller: 'odl'
+    sdnvpn:
+        options: 'ovs2.4'
+        opnfv-yardstick-tc026-sdnvpn:
+            controller: 'none'
+        odl-vpn_service-tests:
+            controller: 'odl'
+        openstack-neutron-bgpvpn-api-extension-tests:
+            controller: 'none'