DataPlane() now accepts the configuration.
diff --git a/tests/basic.py b/tests/basic.py
index 4063335..e7b525e 100644
--- a/tests/basic.py
+++ b/tests/basic.py
@@ -138,7 +138,7 @@
"""
def setUp(self):
SimpleProtocol.setUp(self)
- self.dataplane = dataplane.DataPlane()
+ self.dataplane = dataplane.DataPlane(self.config)
for of_port, ifname in basic_port_map.items():
self.dataplane.port_add(ifname, of_port)
@@ -181,7 +181,7 @@
self.config = basic_config
signal.signal(signal.SIGINT, self.sig_handler)
basic_logger.info("** START DataPlaneOnly CASE " + str(self))
- self.dataplane = dataplane.DataPlane()
+ self.dataplane = dataplane.DataPlane(self.config)
for of_port, ifname in basic_port_map.items():
self.dataplane.port_add(ifname, of_port)
@@ -271,6 +271,7 @@
'Response packet does not match send packet' +
' for port ' + str(of_port))
+
class PacketInBroadcastCheck(SimpleDataPlane):
"""
Check if bcast pkts leak when no flows are present