Changes between Version 3 and Version 4 of Internal/OpenFlow/Controllers/FloodLight


Ignore:
Timestamp:
May 3, 2012, 2:53:32 AM (13 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/Controllers/FloodLight

    v3 v4  
    11= The !FloodLight Controller. =
    2 !FloodLight is an open-source, Java-based controller distributed by Big Switch Networks.
     2!FloodLight is an open-source, Java-based controller maintained by !OpenFlowHub.
    33== I. Installation. ==
    44The following describes the installation of !FloodLight on an Ubuntu 11.04 (natty) system. Installation is described on their [http://floodlight.openflowhub.org/getting-started/ website], but will be repeated here. If you are using SSH, You may want X11 forwarding to be able to launch Eclipse later on.[[BR]]
     
    3232 * Click Finish.
    3333Once imported, the controller may be run by right-clicking on Controller.java (net.floodlightcontroller.core.internal.Controller.java, found under src/main/java) and choosing Run As -> Java Application.
     34[[BR]][[BR]]
     35The learning switch is loaded by default. The controller listens on 0.0.0.0:6633 (host, all interfaces with an IP address).
     36
    3437== II. Adding functionality. ==
    3538A base tutorial can be found [http://floodlight.openflowhub.org/developing-floodlight/ here]. The rough steps are the following:
    36  1. Create a new class under src/main/java, basing it off of a template, if it exists, and
    37  2. Modify Controller.java to include your class. Note - to search for the init() function it is better to look for its whole declaration, `protected void init()`.
     39 1. Create a new class under src/main/java, basing it off of a template, if it exists
     40 2. Register the module so that it is loaded at startup. This involves adding the fully qualified module name to two files:
     41  * ''' net.floodlight.core.module.IFloodlightModule ''' - list of modules recognized by the loader
     42  * ''' floodlightdefault.properties ''' - list of modules to be loaded at startup.
     43
     44
    3845
    3946= The Floodlight VM =