Changes between Version 4 and Version 5 of GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/DesignSetup


Ignore:
Timestamp:
10/30/16 00:06:58 (3 years ago)
Author:
pjayanth@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/DesignSetup

    v4 v5  
    8181There are a few things that we need to install, the first being Floodlight! It’s located on GitHub, so we’ll just grab that using the following command:
    8282{{{
    83 Download Floodlight from GitHub
    8483git clone http://github.com/floodlight/floodlight
    8584}}}
    8685
    8786We need to install other dependencies since Floodlight was recently updated to support Java 8. Enter the following commands:
    88 {
     87{{{
    8988sudo apt-get update
    9089sudo apt-get install software-properties-common python-software-properties
     
    9291sudo apt-get update
    9392sudo apt-get install oracle-java8-installer
    94 }
     93}}}
    9594
    9695Confirm the java version by typing the command:
    97 {
     96{{{
    9897java -version
    99 }
     98}}}
    10099
    101100Now we need to compile the controller. We are going to do that by using the tool '''ant'''. Enter the following command to install '''ant''':
    102 {
     101{{{
    103102sudo apt-get install ant
    104 }
     103}}}
    105104
    106105To communicate with the Floodlight Controller using the built-in REST API's, we need to install the tool '''curl'''. Enter the following command:
    107 {
     106{{{
    108107sudo apt-get install curl
    109 }
     108}}}
    110109
    111110Now we can compile the controller. Enter the following commands:
    112 {
     111{{{
    113112cd floodlight
    114113ant
    115 }
     114}}}
    116115
    117116You can start the Floodlight Controller using the command:
    118 {
     117{{{
    119118java -jar target/floodlight.jar
    120 }
     119}}}
    121120
    122121