[controller] remove // in ip address concat

This commit is contained in:
Nico Schottelius 2019-02-23 18:20:07 +01:00
parent 7928866b3b
commit bd49e36544

View file

@ -28,7 +28,7 @@ class L2Controller(object):
self.modes = ['base'] self.modes = ['base']
# Network / egress # Network / egress
self.v6_mask = "/64" self.v6_mask = "64"
self.v6_routes = {} self.v6_routes = {}
self.v6_routes[None] = [] self.v6_routes[None] = []
@ -36,7 +36,7 @@ class L2Controller(object):
self.v6_routes['base'].append({ "net": "2001:db8:61::", "port": "1"}) self.v6_routes['base'].append({ "net": "2001:db8:61::", "port": "1"})
self.v6_routes['base'].append({ "net": "2001:db8:62::", "port": "2"}) self.v6_routes['base'].append({ "net": "2001:db8:62::", "port": "2"})
self.v4_mask = "/24" self.v4_mask = "24"
self.v4_routes = {} self.v4_routes = {}
self.v4_routes[None] = [] self.v4_routes[None] = []
self.v4_routes['base'] = [] self.v4_routes['base'] = []