diff --git a/p4app/controller.py b/p4app/controller.py index 37067f7..ba053ee 100644 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -91,7 +91,6 @@ class L2Controller(object): # https://en.wikipedia.org/wiki/Solicited-node_multicast_address ndp_prefix = "ff02::1:ff00:0/104" - ndp_prefix = "ffff:ffff:ffff:ffff:ffff:ffff:ff00:0/104" all_ports = range(1,5) # create multicast nodes diff --git a/p4src/static-mapping.p4 b/p4src/static-mapping.p4 index 97096a3..2f0f35d 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -38,7 +38,8 @@ control MyIngress(inout headers hdr, NoAction; } size = NDP_TABLE_SIZE; - default_action = NoAction; +// default_action = NoAction; + default_action = send_to_controller; } @@ -71,7 +72,8 @@ control MyIngress(inout headers hdr, NoAction; } size = ADDRESS_TABLE_SIZE; - default_action = send_to_controller; +// default_action = send_to_controller; + default_action = NoAction; }