[controller] stringify all parts for the table
This commit is contained in:
parent
38995d913c
commit
ed27a8e77c
1 changed files with 2 additions and 5 deletions
|
@ -107,11 +107,8 @@ class L2Controller(object):
|
|||
|
||||
|
||||
self.controller.table_clear("ndp")
|
||||
for port in ["4"]:
|
||||
self.controller.table_add("ndp", "multicast_pkg", [ndp_prefix, port], ["1"])
|
||||
self.controller.table_add("ndp", "multicast_pkg", [ndp_prefix, port], [1])
|
||||
self.controller.table_add("ndp", "multicast_pkg", [ndp_prefix, port], [port])
|
||||
self.controller.table_add("ndp", "multicast_pkg", ["ff02::1:ff00:0/104", "3"], ["3"])
|
||||
for port in all_ports:
|
||||
self.controller.table_add("ndp", "multicast_pkg", [ndp_prefix, str(port)], [str(port)])
|
||||
|
||||
|
||||
def init_boilerplate(self, sw_name):
|
||||
|
|
Loading…
Reference in a new issue