++doc ++clean table

This commit is contained in:
Nico Schottelius 2019-03-31 16:04:05 +02:00
commit 80d2d34ccb
2 changed files with 16 additions and 3 deletions

View file

@ -249,6 +249,7 @@ class L2Controller(object):
self.controller.table_add("v6_networks", "set_egress_port", [str(v6route['net'])], [str(v6route['port'])])
self.controller.table_clear("v4_networks")
self.controller.table_clear("v4_arp")
for v4route in self.v4_routes[self.mode]:
self.controller.table_add("v4_networks", "set_egress_port", [str(v4route['net'])], [str(v4route['port'])])