diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-10-27 10:21:58 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2020-10-26 11:21:43 +0100 |
commit | 9a993750b451cd75d1acc247352e8850b760806b (patch) | |
tree | 472d5a953370e857e2305ce0c3e40b50ca96adab /resources/tools/presentation/generator_plots.py | |
parent | 8ae5e5fe0e15269356c639cb5bf2ac118d29638f (diff) |
PAL: Add processing of PPS and CPS tests
Change-Id: I7b15c69c923d47e83c2dc586cdc03ed4ebaeec74
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 7bcbdcb30d2eea8fe7e1fb60696e39abef897920)
Change-Id: I60ddc6a47a7cc07e9d68bd70d9f9d99b4678f913
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_plots.py')
-rw-r--r-- | resources/tools/presentation/generator_plots.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index cae334ade9..42f450e688 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -386,8 +386,8 @@ def plot_perf_box_name(plot, input_data): if y_vals.get(test[u"parent"], None) is None: y_vals[test[u"parent"]] = list() try: - if test[u"type"] in (u"NDRPDR", ): - test_type = u"NDRPDR" + if test[u"type"] in (u"NDRPDR", u"CPS"): + test_type = test[u"type"] if u"-pdr" in plot_title: ttype = u"PDR" @@ -477,7 +477,7 @@ def plot_perf_box_name(plot, input_data): # Create plot layout = deepcopy(plot[u"layout"]) if layout.get(u"title", None): - if test_type in (u"HOSTSTACK", ): + if test_type in (u"HOSTSTACK", u"CPS"): layout[u"title"] = f"<b>Bandwidth:</b> {layout[u'title']}" else: layout[u"title"] = f"<b>Throughput:</b> {layout[u'title']}" |