Updated profile processing
Profiles _must_ be placed in the profiles directory now. They
should be referred to as --profile=foo where the file profiles/foo.py
exists.
Added profiles/noing.py for the "no IN_PORT output action supported".
Added .gitignore.
diff --git a/tests/profiles/__init__.py b/tests/profiles/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/profiles/__init__.py
diff --git a/tests/profiles/example.py b/tests/profiles/example.py
new file mode 100644
index 0000000..938a6f2
--- /dev/null
+++ b/tests/profiles/example.py
@@ -0,0 +1,36 @@
+"""
+Sample profile
+
+A profile determines run specific behavior. It is meant to capture
+variations between different switch targets.
+
+A profile defines two target specific variables.
+
+1. A set of tests to skip
+
+TO BE IMPLEMENTED:
+
+2. A set of tests to run (overriding the default "skip" priority)
+optionally specifying a test parameters specific to the test run
+
+This file should be imported "as profile" so references to the
+module will properly map.
+
+@todo Allow a test to be run multiple times with different params
+"""
+
+#@var skip_test_list The list of tests to skip for this run
+skip_test_list = []
+
+# TO BE IMPLEMENTED
+# A list of test cases with parameters(?)
+# TBD
+#@var run_test_list List of tests to run which would normally be skipped
+run_test_list = dict(
+ # Example
+ # SomeTestCase = [dict(<params1>), dict(<params2>),...],
+)
+
+# for test_dict in profile.run_test_list:
+# for test_name, test_params in test_dict.items():
+# ...
diff --git a/tests/profiles/noing.py b/tests/profiles/noing.py
new file mode 100644
index 0000000..c9abc63
--- /dev/null
+++ b/tests/profiles/noing.py
@@ -0,0 +1,19 @@
+"""
+No-ingress action profile
+
+Profile for switch that does not support the IN_PORT port
+in the output action.
+
+We also don't run the port config modify test for this profile.
+"""
+
+#@var skip_test_list The list of tests to skip for this run
+skip_test_list = [
+ "PortConfigMod",
+ "FloodMinusPort",
+ "ModifyL2DstIngressMC",
+ "ModifyL2DstIngress",
+ "DirectMC",
+ "AllPlusIngress",
+ "FloodPlusIngress"
+]