From 2d63b7f8c7710a3d4498f6517815b1bf11744536 Mon Sep 17 00:00:00 2001 From: Quentin De Coninck Date: Tue, 7 Jul 2020 17:13:03 +0200 Subject: [PATCH] also generate router pcap --- experiments/iperf_scenario.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/experiments/iperf_scenario.py b/experiments/iperf_scenario.py index 1dfeebd..f5485aa 100644 --- a/experiments/iperf_scenario.py +++ b/experiments/iperf_scenario.py @@ -54,6 +54,8 @@ class IPerfScenario(Experiment): super(IPerfScenario, self).clean() def run(self): + self.topo.command_to(self.router, "tcpdump -i any -w router.pcap &") + # First run servers for l, s in enumerate(self.topo_config.servers): self.topo.command_to(s, self.get_server_cmd(server_id=l))