Version 3 (modified by 12 years ago) ( diff ) | ,
---|
Enabling FlowVisor-like Slicing in Floodlight
This GSoC 2012 project aims to incorporate FlowVisor's network resource slicing features into Floodlight.
Motivation and 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:
- Extensibility, in that new functionalities can be added as new modules, and
- 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.
Design Goals
The goals of this project can be summarized as follows:
- 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
How it works
The logical structure is heavily inspired by FlowVisor.
- Incoming connections - each new connection from a switch is allocated a FVClassifier, which, in turn, initializes one FVSlicer per slice that the DPID is associated with.
- Module Isolation - each message that must be processed by a module is associated with a slice. This association is made according to the source DPID if controller-bound, and source module, if switch-bound. An FVClassifier will determine the destination slice with the aid of the FlowMap, and send the message to the appropriate FVSlicer.
Internal Links
External Links
- http://floodlight.openflowhub.org/ Floodlight Home Page
- https://openflow.stanford.edu/display/DOCS/Flowvisor FlowVisor Wiki