str(router)

This commit is contained in:
Nico Schottelius 2019-03-31 15:52:11 +02:00
parent db1e19f841
commit aff342898e

View file

@ -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)