From 83ae27d6d788195de70717271a428914242559ca Mon Sep 17 00:00:00 2001 From: Yita Chiang Date: Thu, 2 Oct 2014 11:16:09 +0800 Subject: [PATCH 1/2] add case 50.200 --- tests/testgroup50.py | 71 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/tests/testgroup50.py b/tests/testgroup50.py index 396c0376b..9c69b7087 100644 --- a/tests/testgroup50.py +++ b/tests/testgroup50.py @@ -1296,8 +1296,79 @@ 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 """ + @wireshark_capture + 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< Date: Thu, 12 Feb 2015 10:45:24 +0800 Subject: [PATCH 2/2] remove @wireshark_capture --- tests/testgroup50.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/testgroup50.py b/tests/testgroup50.py index 9c69b7087..f3c5db051 100644 --- a/tests/testgroup50.py +++ b/tests/testgroup50.py @@ -1299,7 +1299,6 @@ def runTest(self): class Grp50No200(base_tests.SimpleDataPlane): """Verify that fragmented packet Match with highest priority overrides the low priority Match """ - @wireshark_capture def runTest(self): logging = get_logger() logging.info("Running Grp50No200 Fragmented Match High Priority test")