summaryrefslogtreecommitdiffstats
path: root/result_collection_api/dashboard
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2015-12-09 18:25:00 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2015-12-09 18:25:00 +0100
commit198d1cb7f98c82337e3fa4727e638e2d81fbcc7f (patch)
tree7c875ad8bae8d967458f1738aa7fecf5651ee80d /result_collection_api/dashboard
parent14d65d51c757190084dfdbf2e0f49564d8b7e95d (diff)
Add status virtual case for Functest dashboard
use static value to start, KPI shall be processed according to real results.. JIRA: FUNCTEST-111 Change-Id: I3aa43be36815b99e3a92923e6df3154d83c09b19 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'result_collection_api/dashboard')
-rw-r--r--result_collection_api/dashboard/functest2Dashboard.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/result_collection_api/dashboard/functest2Dashboard.py b/result_collection_api/dashboard/functest2Dashboard.py
index bfb7c87..3e7eefe 100644
--- a/result_collection_api/dashboard/functest2Dashboard.py
+++ b/result_collection_api/dashboard/functest2Dashboard.py
@@ -63,10 +63,10 @@ def format_status_for_dashboard(results):
# TODO to be done and discussed
testcases = get_functest_cases()
test_data.append({'nb test suite(s) run': len(testcases)-1})
- # test_data.append({'nb test suite(s) failed':1})
- # test_data.append({'test suite run': ['vPing', 'tempest', 'vIMS' ]})
- # test_data.append({'average Openstack Tempest failure rate (%)': 10})
- # test_data.append({'average odl failure rate (%)': 10})
+ test_data.append({'vPing': '100%'})
+ test_data.append({'VIM status': '82%'})
+ test_data.append({'SDN Controllers': {'odl':'92%', 'onos':'95%', 'opencontrail':'93%'}})
+ test_data.append({'VNF deployment': '95%'})
return test_data