also generate router pcap

This commit is contained in:
Quentin De Coninck 2020-07-07 17:13:03 +02:00
parent 25d1dd52a9
commit 2d63b7f8c7

View File

@ -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))