Changes between Version 4 and Version 5 of GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/DesignSetup
- Timestamp:
- 10/30/16 00:06:58 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/OpenFlowOVS-Floodlight/DesignSetup
v4 v5 81 81 There 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: 82 82 {{{ 83 Download Floodlight from GitHub84 83 git clone http://github.com/floodlight/floodlight 85 84 }}} 86 85 87 86 We need to install other dependencies since Floodlight was recently updated to support Java 8. Enter the following commands: 88 { 87 {{{ 89 88 sudo apt-get update 90 89 sudo apt-get install software-properties-common python-software-properties … … 92 91 sudo apt-get update 93 92 sudo apt-get install oracle-java8-installer 94 } 93 }}} 95 94 96 95 Confirm the java version by typing the command: 97 { 96 {{{ 98 97 java -version 99 } 98 }}} 100 99 101 100 Now 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 {{{ 103 102 sudo apt-get install ant 104 } 103 }}} 105 104 106 105 To 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 {{{ 108 107 sudo apt-get install curl 109 } 108 }}} 110 109 111 110 Now we can compile the controller. Enter the following commands: 112 { 111 {{{ 113 112 cd floodlight 114 113 ant 115 } 114 }}} 116 115 117 116 You can start the Floodlight Controller using the command: 118 { 117 {{{ 119 118 java -jar target/floodlight.jar 120 } 119 }}} 121 120 122 121