Skip to content

Commit

Permalink
log less in INFO, move instead to DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
qdeconinck committed Jul 13, 2020
1 parent b7fc5cb commit 3c9df58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/topo.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,11 +542,12 @@ def disable_tso(self):
"""
Disable TSO on all interfaces
"""
logging.info("Disable TSO on all interfaces of all nodes")
for node in [self.topo.get_host(n) for n in self.topo.topo_builder.net]:
for intf in self.topo.get_interface_names(node):
logging.info("Disable TSO on interface {}".format(intf))
cmd = "ethtool -K {} tso off".format(intf)
logging.info(cmd)
logging.debug(cmd)
self.topo.command_to(node, cmd)

def run_netem_at(self):
Expand Down

0 comments on commit 3c9df58

Please sign in to comment.