++
This commit is contained in:
parent
c60b5f2d9e
commit
da7fda57bf
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class L2Controller(object):
|
||||||
host = "h{}".format(v6route['port'])
|
host = "h{}".format(v6route['port'])
|
||||||
dev = "{}-eth0".format(host)
|
dev = "{}-eth0".format(host)
|
||||||
net = v6route['net']
|
net = v6route['net']
|
||||||
ipaddr = "{}/{}".format(net[1],net.prefix_len)
|
ipaddr = "{}/{}".format(net[1],net.prefixlen)
|
||||||
|
|
||||||
self.add_host_ips(host, str(net), str(ipaddr), dev)
|
self.add_host_ips(host, str(net), str(ipaddr), dev)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue