[p4 debug] how to add the port
This commit is contained in:
parent
a92a9b82ea
commit
38995d913c
1 changed files with 4 additions and 1 deletions
|
@ -107,8 +107,11 @@ class L2Controller(object):
|
||||||
|
|
||||||
|
|
||||||
self.controller.table_clear("ndp")
|
self.controller.table_clear("ndp")
|
||||||
for port in all_ports:
|
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", [ndp_prefix, port], [port])
|
||||||
|
self.controller.table_add("ndp", "multicast_pkg", ["ff02::1:ff00:0/104", "3"], ["3"])
|
||||||
|
|
||||||
|
|
||||||
def init_boilerplate(self, sw_name):
|
def init_boilerplate(self, sw_name):
|
||||||
|
|
Loading…
Reference in a new issue