aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
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 08:03:35 +0000
commitdcdcbc5f5939ebe9b7df226af1bb2daec4435479 (patch)
tree91c0ef1b65c85469ffb123b3cdc03f69a5fe0655 /resources/tools
parent9220fbb446cc1d6a9f8d323b8b15ad9158aa526e (diff)
Trending: Fix TRex graphs, remove VTS
Change-Id: I4c1ed83054d12b83f1a9a6a2d0081e7d037be2df Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit a505b3d02cb3dcba44096859287ee2df4ce878ab)
Diffstat (limited to 'resources/tools')
-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,