close Warning: Can't synchronize with repository "(default)" ("(default)" is not readable or not a Git repository.). Look in the Trac log for more information.

Running Floodlight with MobilityFirst

The CLICK router project page has details on configurations in which the software router can be used. The file sender and file receiver configurations can be used as end hosts. A node running the router configuration can be used for the storage of chunks.

Before starting the controller, it has to be configured to load the MobilityFirst modules on start up and to listen for PACKET_IN messages.

Open the file src/main/resources/ and add the following lines before the lines that mention the ports for floodlight and the REST API.


The file should look like

floodlight.modules = net.floodlightcontroller.staticflowentry.StaticFlowEntryPusher,\
net.floodlightcontroller.restserver.RestApiServer.port = 8080
net.floodlightcontroller.core.FloodlightProvider.openflowport = 6633

Add the following two lines to src/main/resources/META_INF/services/net.floodlightcontroller.core.moduele.IFloodlightModule


The last step is to edit src/main/java/net/floodlightcontroller/forwarding/ to not process MF packets, i.e, to include the condition

if (match.getDataLayerType == 0x27c0)
        return Command.CONTINUE;

Compile and run with,

java -jar target/floodlight.jar

Running the SDN MobilityFirst Prototype with Floodlight in SB9

The MobilityFirst SDN Prototype on SB9 can be set up using the following instructions:

  1. Two images have to be loaded for the controller and source/destination nodes :
    1. Image aravind-mf1.ndz for the source and destination to be loaded on nodes node1-1 & node1-2
    2. Image floodlight-controller.ndz for the controller to be loaded on node1-11
    3. On nodes with source & destination, run the scripts under the directory /usr/local/mobilityfirst/scripts/click : and respectively.
    4. On the node with the controller, cd floodlight_mf and java -jar target/floodlight.jar for running the controller.

The configuration for the switch need not be changed except to make sure that the ports with the source and destination are OpenFlow enabled and set to version 1.0 and the controller contr-serv is (This is already the setup in the switch except that OF 1.3 is enabled instead of 1.0).

Last modified 7 years ago Last modified on Dec 3, 2014, 4:24:12 PM
Note: See TracWiki for help on using the wiki.