Changes between Version 3 and Version 4 of Internal/OpenFlow/Controllers/FloodLight
- Timestamp:
- May 3, 2012, 2:53:32 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/Controllers/FloodLight
v3 v4 1 1 = 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. 3 3 == I. Installation. == 4 4 The 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]] … … 32 32 * Click Finish. 33 33 Once 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]] 35 The learning switch is loaded by default. The controller listens on 0.0.0.0:6633 (host, all interfaces with an IP address). 36 34 37 == II. Adding functionality. == 35 38 A 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 38 45 39 46 = The Floodlight VM =