[controller] remove // in ip address concat
This commit is contained in:
parent
7928866b3b
commit
bd49e36544
1 changed files with 2 additions and 2 deletions
|
@ -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'] = []
|
||||||
|
|
Loading…
Reference in a new issue