[controller] ipv4 network switch fix
This commit is contained in:
parent
4251379bc6
commit
2cafdc5e12
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class L2Controller(object):
|
|||
self.controller.table_clear("v4_routing")
|
||||
for v4route in self.v4_routes[self.mode]:
|
||||
net = self.prefix_to_net(v4route['net'], self.v4_mask)
|
||||
self.controller.table_add("v4_routing", "set_egress_port", [v4route['net']], [v4route['port']])
|
||||
self.controller.table_add("v4_routing", "set_egress_port", [net], [v4route['port']])
|
||||
|
||||
def config_hosts(self):
|
||||
""" Assumptions:
|
||||
|
|
Loading…
Reference in a new issue