[controller] stringify router
This commit is contained in:
parent
6497db857c
commit
25405a6ae1
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ class L2Controller(object):
|
||||||
dev = "{}-eth0".format(host)
|
dev = "{}-eth0".format(host)
|
||||||
net = v6route['net']
|
net = v6route['net']
|
||||||
ipaddr = "{}/{}".format(net[1],net.prefixlen)
|
ipaddr = "{}/{}".format(net[1],net.prefixlen)
|
||||||
router = net[self.info['switch_suffix']]
|
router = str(net[self.info['switch_suffix']])
|
||||||
|
|
||||||
self.config_v6_host(host, str(net), str(ipaddr), dev, router)
|
self.config_v6_host(host, str(net), str(ipaddr), dev, router)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue