manually release controller and dataplane references
The GC wasn't collecting these objects in a timely manner, which caused the
process to run out of file descriptors.
diff --git a/src/python/oftest/dataplane.py b/src/python/oftest/dataplane.py
index ee3d7b1..a410aaf 100644
--- a/src/python/oftest/dataplane.py
+++ b/src/python/oftest/dataplane.py
@@ -508,6 +508,8 @@
self.logger.debug("Joining " + str(port_number))
self.port_list[port_number].join()
+ self.port_list = None
+
self.logger.info("DataPlane shutdown")
def show(self, prefix=''):