summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/report/report.jinja3
-rw-r--r--tools/report/report_rst.jinja4
2 files changed, 6 insertions, 1 deletions
diff --git a/tools/report/report.jinja b/tools/report/report.jinja
index 884cb20e..8354835c 100644
--- a/tools/report/report.jinja
+++ b/tools/report/report.jinja
@@ -112,6 +112,9 @@ Below are test details:
- Traffic type: {{ "%s"|format(test.result['type']) }}
- Packet size: {{ "%s"|format(test.result['packet_size']) }}
- Bidirectional : {{ "%s"|format(test.conf['biDirectional']) }}
+{%- if test.result['tunnel_type'] %}
+- Tunnel type: {{ "%s"|format(test.result['tunnel_type']) }}
+{%- endif %}
{% endfor %}
<a name="DetailedTestResults"></a>
diff --git a/tools/report/report_rst.jinja b/tools/report/report_rst.jinja
index 9daa009a..545dd493 100644
--- a/tools/report/report_rst.jinja
+++ b/tools/report/report_rst.jinja
@@ -35,7 +35,9 @@ Below are test details:
* Deployment: {{ "%s"|format(tests[0].deployment) }}
* Traffic type: {{ "%s"|format(tests[0].result['type']) }}
* Bidirectional : {{ "%s"|format(tests[0].conf['biDirectional']) }}
-
+{%- if tests[0].result['tunnel_type'] %}
+* Tunnel type: {{ "%s"|format(tests[0].result['tunnel_type']) }}
+{%- endif %}
{% for test in tests %}
Test results for packet size: {{ "%s"|format(test.result['packet_size']) }}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~