[p4, controller] hack NDP reply
This commit is contained in:
parent
2081d30136
commit
b29cf1a296
5 changed files with 229 additions and 12 deletions
|
|
@ -110,6 +110,9 @@ class L2Controller(object):
|
|||
self.controller.table_add("ndp", "multicast_pkg", [ndp_prefix, str(port)], [str(port)])
|
||||
|
||||
|
||||
# Special rule for switch entries
|
||||
self.controller.table_add("ndp_answer", "icmp6_neighbor_solicitation", ["ff02::1:ff00:42", "135"], ["2001:db8:61::42"])
|
||||
|
||||
def init_boilerplate(self, sw_name):
|
||||
self.topo = Topology(db="topology.db")
|
||||
self.sw_name = sw_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue