aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-10-21 10:01:24 +0200
committerTibor Frank <tifrank@cisco.com>2021-10-21 10:01:24 +0200
commita505b3d02cb3dcba44096859287ee2df4ce878ab (patch)
treed97bd63d3e31828c694b9e6404b1facd14a74bfd /resources
parent1f33e8ea73036e1790668b042d731b62de8aa1c3 (diff)
Trending: Fix TRex graphs, remove VTS
Change-Id: I4c1ed83054d12b83f1a9a6a2d0081e7d037be2df Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/generator_cpta.py19
1 files changed, 15 insertions, 4 deletions
diff --git a/resources/tools/presentation/generator_cpta.py b/resources/tools/presentation/generator_cpta.py
index 5cc56fd965..0320b9eec1 100644
--- a/resources/tools/presentation/generator_cpta.py
+++ b/resources/tools/presentation/generator_cpta.py
@@ -223,7 +223,18 @@ def _generate_trending_traces(in_data, job_name, build_info,
if u"-cps" in name:
hover_str = hover_str.replace(u"[Mpps]", u"[Mcps]").\
replace(u"throughput", u"connection rate")
- if u"dpdk" in job_name:
+ if u"vpp" in job_name:
+ hover_str = hover_str.format(
+ date=date,
+ property=u"average" if incl_tests == u"mrr" else u"throughput",
+ value=data_y_mpps[index],
+ sut=u"vpp",
+ build=build_info[job_name][str_key][1].rsplit(u'~', 1)[0],
+ test=incl_tests,
+ period=u"daily" if incl_tests == u"mrr" else u"weekly",
+ build_nr=str_key,
+ testbed=build_info[job_name][str_key][2])
+ elif u"dpdk" in job_name:
hover_str = hover_str.format(
date=date,
property=u"average" if incl_tests == u"mrr" else u"throughput",
@@ -234,13 +245,13 @@ def _generate_trending_traces(in_data, job_name, build_info,
period=u"weekly",
build_nr=str_key,
testbed=build_info[job_name][str_key][2])
- elif u"vpp" in job_name:
+ elif u"trex" in job_name:
hover_str = hover_str.format(
date=date,
property=u"average" if incl_tests == u"mrr" else u"throughput",
value=data_y_mpps[index],
- sut=u"vpp",
- build=build_info[job_name][str_key][1].rsplit(u'~', 1)[0],
+ sut=u"trex",
+ build=u"",
test=incl_tests,
period=u"daily" if incl_tests == u"mrr" else u"weekly",
build_nr=str_key,