OFTestOFTest is a framework and test suite to test compliance to the OpenFlow specification. It tests basic functionality of OpenFlow 1.0 and 1.1, and support for 1.2 is currently in development.

Below is the system diagram for OFTest. The test fixture (the OFTest server) connects to both the control plane and the data plane of the switch under test. It coordinates OpenFlow commands with data plane stimulus and monitoring.

  • OFTests starts with the very basics of OpenFlow, but provides a framework for development of more complicated tests.
  • It was used as the primary vehicle for validating OpenFlow 1.1 (see the oft-1.1 branch in the git repository)
  • A prototype implementation of an OpenFlow 1.1 switch, OFPS, was implemented in the same framework as OFTest. (Also in the oft-1.1 branch)
  • Parts of OFTest are being adapted and used for standards based compliance testing

OFTest Diagram

Get OFTest

Get the code from GitHub here and documentation here.