Use correct switch suffix
This commit is contained in:
parent
3acbf88242
commit
69e483caf7
1 changed files with 2 additions and 2 deletions
|
@ -90,12 +90,12 @@ class L2Controller(object):
|
||||||
self.v6_addresses = {}
|
self.v6_addresses = {}
|
||||||
self.v6_addresses[None] = []
|
self.v6_addresses[None] = []
|
||||||
self.v6_addresses['base'] = []
|
self.v6_addresses['base'] = []
|
||||||
self.v6_addresses['router'] = [ net['net'][42] for net in self.v6_routes['router'] ]
|
self.v6_addresses['router'] = [ net['net'][self.info['switch_suffix']] for net in self.v6_routes['router'] ]
|
||||||
|
|
||||||
self.v4_addresses = {}
|
self.v4_addresses = {}
|
||||||
self.v4_addresses[None] = []
|
self.v4_addresses[None] = []
|
||||||
self.v4_addresses['base'] = []
|
self.v4_addresses['base'] = []
|
||||||
self.v4_addresses['router'] = [ net['net'][42] for net in self.v4_routes['router'] ]
|
self.v4_addresses['router'] = [ net['net'][self.info['switch_suffix']] for net in self.v4_routes['router'] ]
|
||||||
|
|
||||||
self.init_boilerplate(sw_name)
|
self.init_boilerplate(sw_name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue