better log ping commands

This commit is contained in:
Quentin De Coninck 2020-07-01 16:12:56 +02:00
parent 3bd620a53b
commit 345e7a0c57

View File

@ -365,6 +365,7 @@ class Experiment(object):
for i in range(0, self.topo_config.client_interface_count()): for i in range(0, self.topo_config.client_interface_count()):
cmd = self.ping_command(self.topo_config.get_client_ip(i), cmd = self.ping_command(self.topo_config.get_client_ip(i),
self.topo_config.get_server_ip(), n=count) self.topo_config.get_server_ip(), n=count)
logging.info(cmd)
self.topo.command_to(self.topo_config.client, cmd) self.topo.command_to(self.topo_config.client, cmd)
def ping_command(self, from_ip, to_ip, n=5): def ping_command(self, from_ip, to_ip, n=5):