++ info for ipv4 host

This commit is contained in:
Nico Schottelius 2019-03-31 10:55:33 +02:00
parent c5a3be5ccf
commit 4ac6a49688

View file

@ -327,7 +327,7 @@ class L2Controller(object):
@staticmethod
def config_v4_host(host, net, ipaddr, dev, router=None):
log.debug("Config v4 host: {} {}->{} on {}".format(host, net, ipaddr, dev))
log.debug("Config v4 host: {} {}->{} on {} via {}".format(host, net, ipaddr, dev, router))
subprocess.call(["mx", host, "ip", "addr", "flush", "dev", dev])
subprocess.call(["mx", host, "ip", "route", "del", "default"])