Changes between Version 7 and Version 8 of Internal/OpenFlow/Controllers/FloodLight


Ignore:
Timestamp:
May 30, 2012, 9:52:56 PM (12 years ago)
Author:
akoshibe
Comment:

Legend:

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

    v7 v8  
    2424}}}
    2525
    26 3. launching the controller - there are two ways to do this - through eclipse, or directly through java (both in the floodlight/ directory):
     26== Running Floodlight ==
     27
     28There are two ways to do this, both from the floodlight/ directory.
     291. directly through `java`:
    2730{{{
    2831java -jar target/floodlight.jar
    2932}}}
    30 or as an Eclipse project - first set up Eclipse:
     33
     34If parameters e.g. !OpenFlow port need to be modified, create a config file and point floodlight to it with the `-cf` flag:
     35{{{
     36cp src/main/resources/floodlightdefault.properties path_to_conffile/config.properties
     37<edit config.properties>
     38java -jar target/floodlight.jar -cf path_to_conffile/config.properties
     39}}}
     40
     41For example, if you want floodlight to listen on port 6636 instead of 6633, modify '6633' to '6636' in the following line of your properties file:
     42{{{
     43net.floodlightcontroller.core.FloodlightProvider.openflowport = 6633
     44}}}
     45
     462. as an Eclipse project - first set up Eclipse:
    3147{{{
    3248ant eclipse;