summaryrefslogtreecommitdiffstats
path: root/nfvbench/summarizer.py
diff options
context:
space:
mode:
authorfmenguy <francoisregis.menguy@orange.com>2020-04-21 18:26:41 +0200
committerfmenguy <francoisregis.menguy@orange.com>2021-03-30 09:12:15 +0200
commit8755c892f6cfbfb8ca4f3405675dfe770c769605 (patch)
treee54372ba440ea7f9c1815a31936b3d3d97fe25d4 /nfvbench/summarizer.py
parentc3e9d0fc0076f0a2930f13366255b0e8e65fb814 (diff)
NFVBENCH-163: Add gratuitous ARP in case of L3 router mode
Change-Id: Iec2b186176285f723eb2685319c55e6cd6d33a8a Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'nfvbench/summarizer.py')
-rw-r--r--nfvbench/summarizer.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nfvbench/summarizer.py b/nfvbench/summarizer.py
index b30ef23..a4b02a6 100644
--- a/nfvbench/summarizer.py
+++ b/nfvbench/summarizer.py
@@ -266,6 +266,11 @@ class NFVBenchSummarizer(Summarizer):
# 'append' expects a single parameter => double parentheses
self.ndr_pdr_header.append((str(percentile) + ' %ile lat.', Formatter.standard))
self.single_run_header.append((str(percentile) + ' %ile lat.', Formatter.standard))
+
+ if self.config.periodic_gratuitous_arp:
+ self.direction_keys.insert(2, 'garp-direction-total')
+ self.direction_names.insert(2, 'Gratuitous ARP')
+
# if sender is available initialize record
if self.sender:
self.__record_init()