aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_plots.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-11-02 06:31:04 +0100
committerTibor Frank <tifrank@cisco.com>2020-11-02 06:31:04 +0100
commit380ed1f7a22d960ecf4b6a34c15cf3c69a32b800 (patch)
tree800996b592c4a7dec8e5af7cc898c52313535479 /resources/tools/presentation/generator_plots.py
parent2cc09e0ca9c00135144a3774443937eaba3be56c (diff)
Report: Add data
Change-Id: I99836894960f74f9dc283b812e1106ac512db3ae Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_plots.py')
-rw-r--r--resources/tools/presentation/generator_plots.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index 42f450e688..d31ccb1ed8 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -546,7 +546,7 @@ def plot_tsa_name(plot, input_data):
u"4": list()
}
try:
- if test[u"type"] not in (u"NDRPDR",):
+ if test[u"type"] not in (u"NDRPDR", u"CPS"):
continue
if u"-pdr" in plot_title:
@@ -682,7 +682,7 @@ def plot_tsa_name(plot, input_data):
x_vals = [1, 2, 4]
# Limits:
- if u"-gbps" not in plot_title:
+ if u"-gbps" not in plot_title and u"-cps-" not in plot_title:
nic_limit /= 1e6
lnk_limit /= 1e6
pci_limit /= 1e6