add bsn_controller_connections test
Not much we can test besides making sure the reply was sent and is well formed.
diff --git a/tests-1.3/bsn_controller_connections.py b/tests-1.3/bsn_controller_connections.py
new file mode 100644
index 0000000..ba58596
--- /dev/null
+++ b/tests-1.3/bsn_controller_connections.py
@@ -0,0 +1,24 @@
+"""
+Test the BSN controller connections request
+"""
+import struct
+import unittest
+import logging
+
+import oftest
+from oftest import config
+import oftest.controller as controller
+import ofp
+import oftest.base_tests as base_tests
+
+from oftest.testutils import *
+
+class BsnControllerConnectionsRequest(base_tests.SimpleProtocol):
+ """
+ Verify that the switch sends a bsn_controller_connections_reply in response
+ to the request
+ """
+ def runTest(self):
+ request = ofp.message.bsn_controller_connections_request()
+ response, _ = self.controller.transact(request)
+ self.assertIsInstance(response, ofp.message.bsn_controller_connections_reply)