better log ping commands
This commit is contained in:
parent
3bd620a53b
commit
345e7a0c57
@ -364,7 +364,8 @@ class Experiment(object):
|
|||||||
count = self.experiment_parameter.get(ExperimentParameter.PING_COUNT)
|
count = self.experiment_parameter.get(ExperimentParameter.PING_COUNT)
|
||||||
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user