Added L2 modify + MC tests and support
Added support to flow_match_test (and flow_match_test_port_pair)
to send generate flows/packets for multiple output port actions.
Added test cases for L2SrcModMC, L2DstModMC, L2SrcDstModMC which
modify and send to multiple output ports
Use egr_count to modify the number of output ports via test params.
Added warning to comments that test params need to be proper
Python identifiers.
diff --git a/tests/oft b/tests/oft
index bbbb0fa..48816a1 100755
--- a/tests/oft
+++ b/tests/oft
@@ -221,8 +221,8 @@
parser.add_option("-p", "--port", dest="controller_port",
type="int", help="Port number of the test controller")
test_list_help = """Indicate tests to run. Valid entries are "all" (the
- default) or a comma separated list of:
- module Run all tests in the named module
+ default) or a comma separated list of:\n
+ module Run all tests in the named module\n
testcase Run tests in all modules with the name testcase
module.testcase Run the specific test case
"""
@@ -246,7 +246,9 @@
parser.add_option("--param", type="int",
help="Parameter sent to test (for debugging)")
parser.add_option("-t", "--test-params",
- help="Set test parameters: key=val;... See --list")
+ help="""Set test parameters: key=val;...
+ NOTE: key MUST be a valid Python identifier, egr_count not egr-count
+ See --list""")
# Might need this if other parsers want command line
# parser.allow_interspersed_args = False
(options, args) = parser.parse_args()