diff --git a/tests/testgroup50.py b/tests/testgroup50.py index 396c0376b..f3c5db051 100644 --- a/tests/testgroup50.py +++ b/tests/testgroup50.py @@ -1296,8 +1296,78 @@ def runTest(self): logging.info("Verifying whether the switch implements the actions specified in the highest priority flow entry") receive_pkt_check(self.dataplane,pkt,[yes_ports],no_ports,self) +class Grp50No200(base_tests.SimpleDataPlane): + """Verify that fragmented packet Match with highest priority overrides the low priority Match """ + def runTest(self): + logging = get_logger() + logging.info("Running Grp50No200 Fragmented Match High Priority test") + + of_ports = config["port_map"].keys() + of_ports.sort() + self.assertTrue(len(of_ports) > 1, "Not enough ports for test") + + logging.info("Verify if switch supports the action -- reassemble IP fragments, if not skip the test") + sup_acts = sw_supported_actions(self) + if not(sup_acts & 1<