acl-test:
Added json based config assignment
mechanism for ACL tests
"aclTest.json" file is merged.
Change-Id: I45814e4803eb378d66d8d1ebb7582cb77492a1ad
diff --git a/src/test/acl/aclTest.json b/src/test/acl/aclTest.json
new file mode 100644
index 0000000..be46387
--- /dev/null
+++ b/src/test/acl/aclTest.json
@@ -0,0 +1,17 @@
+{
+ "GATEWAY": "192.168.10.50",
+ "INGRESS_PORT" :"1",
+ "EGRESS_PORT" : "2",
+ "ingress_iface" :"1",
+ "egress_iface" : "2",
+ "MAX_PORTS":"100",
+ "CURRENT_PORT_NUM" :"egress_iface",
+ "ACL_SRC_IP":"192.168.20.3/32",
+ "ACL_DST_IP":"192.168.30.2/32",
+ "ACL_SRC_IP_RULE_2":"192.168.40.3/32",
+ "ACL_DST_IP_RULE_2":"192.168.50.2/32",
+ "ACL_SRC_IP_PREFIX_24":"192.168.20.3/24",
+ "ACL_DST_IP_PREFIX_24":"192.168.30.2/24",
+ "HOST_DST_IP":"192.168.30.0/24",
+ "HOST_DST_IP_RULE_2":"192.168.50.0/24"
+}
diff --git a/src/test/acl/aclTest.py b/src/test/acl/aclTest.py
index c0c88fe..87257c3 100644
--- a/src/test/acl/aclTest.py
+++ b/src/test/acl/aclTest.py
@@ -24,6 +24,7 @@
from portmaps import g_subscriber_port_map
from CordTestServer import cord_test_onos_restart
from ACL import ACLTest
+from CordTestConfig import setup_module
import threading
import time
import os