str(router)
This commit is contained in:
parent
db1e19f841
commit
aff342898e
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ class L2Controller(object):
|
||||||
dev = "{}-eth0".format(host)
|
dev = "{}-eth0".format(host)
|
||||||
net = v4route['net']
|
net = v4route['net']
|
||||||
ipaddr = "{}/{}".format(net[1],net.prefixlen)
|
ipaddr = "{}/{}".format(net[1],net.prefixlen)
|
||||||
router = self.ipv4_router(net)
|
router = str(self.ipv4_router(net))
|
||||||
|
|
||||||
self.config_v4_host(host, str(net), str(ipaddr), dev, router)
|
self.config_v4_host(host, str(net), str(ipaddr), dev, router)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue