Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Forwarding module utilizes OFDPAUtils to detect an OF-DPA switch and install simple forwarding rules (as forwarding is designed to for any switch). OFDPAUtils helps abstract the complex OF-DPA pipeline from Forwarding. Forwarding need only provide some simple match and output action information to have all applicable flows installed in each required table of the OF-DPA switch to achieve the desired packet forwarding operation.

Forwarding makes use of OFDPAUtils here to initialize the switch pipeline, here OFDPAUtils here to flush existing flows and groups upon initial connectionhere to initialize the switch pipeline, and here to install flows/groups. Note that these exact line numbers might change as Forwarding evolves in the future, so you might have to search around the classes for "OFDPAUtils" to find the exact places it's used.