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.

Changes between Version 8 and Version 9 of Proto/cModules/e0SDN/a0OpenFlow/a0Floodlight/a0SoftwareDesign


Ignore:
Timestamp:
Apr 8, 2013, 7:28:18 AM (11 years ago)
Author:
aravind
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proto/cModules/e0SDN/a0OpenFlow/a0Floodlight/a0SoftwareDesign

    v8 v9  
    3636Floodlight's installation guide can be found [http://www.openflowhub.org/display/floodlightcontroller/Installation+Guide here]
    3737
    38 The MobilityFirst modules for Floodlight can be downloaded from
     38The MobilityFirst modules for Floodlight can be downloaded using
    3939
    4040{{{
     41svn co https://svn.orbit-lab.org/mobilityfirst/branch/mfproto-0.9/openflow/floodlight_modules/
    4142}}}
     43Place the contents of floodlight_modules inside the src/main/java/net/floodlightcontroller/ folder.
     44
    4245
    4346== 3. Running Floodlight with MobilityFirst ==
    4447
    4548The [https://mobilityfirst.orbit-lab.org/wiki/SystemPrototyping/Projects/ClickRouter 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.
     49
     50Before starting the controller, it has to be configured to load the MobilityFirst modules on start up and to listen for PACKET_IN messages.
     51
     52Open the file src/main/resources/floodlightdefault.properties and add the following lines before the lines that mention the ports for floodlight and the REST API.
     53
     54{{{
     55net.floodlightcontroller.guidtomacmapper.GUIDtoMACMapper,\
     56net.floodlightcontroller.mffunctions.MFFunctions
     57}}}
     58
     59The file should look like
     60{{{
     61floodlight.modules = net.floodlightcontroller.staticflowentry.StaticFlowEntryPusher,\
     62net.floodlightcontroller.forwarding.Forwarding,\
     63net.floodlightcontroller.jython.JythonDebugInterface,\
     64net.floodlightcontroller.counter.CounterStore,\
     65net.floodlightcontroller.perfmon.PktInProcessingTime,\
     66net.floodlightcontroller.guidtomacmapper.GUIDtoMACMapper,\
     67net.floodlightcontroller.mffunctions.MFFunctions
     68net.floodlightcontroller.restserver.RestApiServer.port = 8080
     69net.floodlightcontroller.core.FloodlightProvider.openflowport = 6633
     70}}}
     71
     72Add the following two lines to src/main/resources/META_INF/services/net.floodlightcontroller.core.moduele.IFloodlightModule
     73{{{
     74net.floodlightcontroller.guidtomacmapper.GUIDtoMACMapper
     75net.floodlightcontroller.mffunctions.MFFunctions
     76}}}
     77
     78The last step is to edit src/main/java/net/floodlightcontroller/forwarding/Forwarding.java to not process MF packets, i.e, to include the condition
     79{{{
     80if (match.getDataLayerType == 0x27c0)
     81        return Command.CONTINUE;
     82}}}
    4683
    4784To run Floodlight from the base directory of floodlight, use