Run the following command from the oftest folder

sudo ./oft -V1.3 --test-dir=ofdpa onos -i 33@ethX -i 34@ethY

Where 33 is the Openflow port you want to test, and ethX identifies the interface connected to it.

The onos filename was chosen because these tests are being made to guarantee conformance with ONOS southbound API.

The following test cases are implemented:

The following tests are being done here

  • PacketIn UDP
  • PacketIn ARP
  1. PacketIn from IP table
  2. L2FloodQinQ
  3. L2 Unicast Tagged
  4. MTU 1500
  5. /32 L3 Unicast
  6. /32 L3 VPN initiation
  7. /32 L3 ECMP + VPN
  8. /32 L3 ECMP forwarding + L3 unicast
  9. /24 L3 Unicast
  10. /24 L3 VPN initiation
  11. /24 L3 ECMP + VPN
  12. /24 L3 ECMP forwarding + L3 unicast
  13. Multicast same VLAN
  14. Multicast different VLANS
  15. MPLS forwarding
  16. MPLS termination
  17. /0 Unicast
  18. Unfiltered group (Incomplete)
  19. Multicast to VPN initiation
  20. PacketInSrcMacMiss