++ info for ipv4 host
This commit is contained in:
parent
c5a3be5ccf
commit
4ac6a49688
1 changed files with 1 additions and 1 deletions
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue