wiki:Internal/OpenFlow/FloodlightFVPort/Overview

Version 1 (modified by akoshibe, 9 years ago) ( diff )

Overview

Floodlight is a modularized OpenFlow controller, in that its functional components can be split into two major parts, a core event dispatcher and the various event handlers, or modules, that process these events. The key point here is that Floodlight's modular structure allows for:

  1. Extensibility, in that new functionalities can be added as new modules, and
  2. Multiple functionalities to coexist as modules on the same controller.

Currently, 2) is only partially true, as modules that have conflicting functions may not coexist on a running Floodlight instance. As an example, the learning switch and forwarding modules will conflict, as they both send a PACKET_OUT to a switch - The switch will respond with a buffer error when it receives the second PACKET_OUT, as it had already sent the packet out.

In the case that the conflicting modules are running on separate instances of Floodlight on the same network, this situation can be averted by network slicing. A slice can be thought of as an OpenFlow controller and the network resources allocated to it by a hypervisor-like entity such as FlowVisor. With proper resource allocation, which guarantees isolation, multiple controllers can coexist on the network without interfering with each other.

This project draws an analog between the individual modules and controllers, and attempts to implement an isolation scheme within Floodlight to isolate conflicting modules, allowing them to run properly on the same controller.

Goals

The main goals of this project are the following:

  • Implement a slicing scheme that prevents unwanted interaction between modules
  • Allow control of slice behavior through a configuration file
  • Avoid modification of existing Floodlight source code
  • Provide an easy way to switch between normal Floodlight and "FlowVisor" modes of operation

In addition, the following assumptions were made as a consideration of the amount of time provided by GSoC :

  • All modules to be run are loaded at startup, and remain subscribed to events as long as Floodlight is running
  • Several modules such as link discovery and device manager need a global view of the network and so should not be restricted
  • modules that depend on one another must be in the same slice
  • The configurations are not persistent
Note: See TracWiki for help on using the wiki.