[p4] If non matching ndp -> escalate to controller
This commit is contained in:
parent
ed27a8e77c
commit
0ea9e708de
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue