summaryrefslogtreecommitdiffstats
path: root/dovetail/api/app/constants.py
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2019-07-10 21:59:21 -0400
committerDan Xu <xudan16@huawei.com>2019-08-23 09:28:42 +0000
commit14a9a43bf675469486a6991976bef24f3540217b (patch)
treea1acbba077ae0e6100970153a4951c96f3eaf027 /dovetail/api/app/constants.py
parenta85d35f86170a2a2f2455fa157c12be823060522 (diff)
Add run tests API
Change-Id: I456d5d1459faa20d9dd8afd0c235a4bb6cbfbcce Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'dovetail/api/app/constants.py')
-rw-r--r--dovetail/api/app/constants.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/dovetail/api/app/constants.py b/dovetail/api/app/constants.py
index 14d9145e..f6ffd1ba 100644
--- a/dovetail/api/app/constants.py
+++ b/dovetail/api/app/constants.py
@@ -1,2 +1,15 @@
NFVI_PROJECT = ['bottlenecks', 'functest', 'yardstick']
VNF_PROJECT = ['onap-vtp', 'onap-vvp']
+RUN_TEST_ITEMS = {
+ 'arguments': {
+ 'no_multiple': ['testsuite', 'deploy_scenario'],
+ 'multiple': ['testarea', 'testcase']
+ },
+ 'options': ['mandatory', 'no_api_validation', 'no_clean', 'stop', 'debug',
+ 'opnfv_ci', 'report', 'offline', 'optional']
+}
+CONFIG_YAML_FILES = {
+ 'hosts': 'hosts.yaml',
+ 'pods': 'pod.yaml',
+ 'tempest_conf': 'tempest_conf.yaml'
+}