aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-11-05 16:54:46 +0100
committerTibor Frank <tifrank@cisco.com>2018-11-05 15:56:23 +0000
commit9993c12a69f3ebf989817c4b0b9934422ca90a8f (patch)
treec4b22f2120271d60a199d2d7ac8249d1852a7521 /resources/tools/presentation
parente9ba5d06fd330ea6e4946563abef5aecfa003bbf (diff)
CSIT-1342: Edit the static content for CSIT-1810 report
Change-Id: I1b838deed822159d78728805c8269cf8a6592d2c Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit d77d62178fa257cf84099811b9177b9e224a2dd8) (cherry picked from commit 0c206faf2b515fbe1c25587ec3928cf473968170)
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_plots.py13
-rw-r--r--resources/tools/presentation/specification.yaml2
2 files changed, 11 insertions, 4 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index a488bdf845..51b29407c3 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -437,7 +437,11 @@ def plot_throughput_speedup_analysis(plot, input_data):
vals[name]["diff"] = \
[(y_val_1 - y_1c_max[test_name]) * 100 / y_val_1, None, None]
- val_max = max(max(vals[name]["val"], vals[name]["ideal"]))
+ try:
+ val_max = max(max(vals[name]["val"], vals[name]["ideal"]))
+ except ValueError as err:
+ logging.error(err)
+ continue
if val_max:
y_max.append(int((val_max / 10) + 1) * 10)
@@ -502,8 +506,11 @@ def plot_throughput_speedup_analysis(plot, input_data):
x_vals = [1, 2, 4]
# Limits:
- threshold = 1.1 * max(y_max) # 10%
-
+ try:
+ threshold = 1.1 * max(y_max) # 10%
+ except ValueError as err:
+ logging.error(err)
+ return
nic_limit /= 1000000.0
if nic_limit < threshold:
traces.append(plgo.Scatter(
diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml
index b0f65a3af1..43170fb569 100644
--- a/resources/tools/presentation/specification.yaml
+++ b/resources/tools/presentation/specification.yaml
@@ -9738,7 +9738,7 @@
'78B' and
('IP6BASE' or 'FIB_20K' or 'FIB_200K' or 'FIB_2M') and
'NDRPDR' and
- '4T12' and
+ '4T2C' and
'IP6FWD' and
not 'SRv6' and
not 'IPSEC' and