...
Instructions are outdated. New instructions coming soon!
Create Database:
Whether running from source or binary. The database needs to be created first.
Create a mysql database with the name of webui
Under the root directory take the "webui.sql" file and do a :
Code Block |
---|
$ mysql -p -h $DBHOST webui < webui.sql |
Run From Source
Prerequisites :
- Eclipse 3.6.2
- Mysql 5.0
...
- CPAN (optional)
Import Beacon and OpenflowJ
Flowscale's engine is built on the Beacon. Follow the steps here to setup the Beacon controller and openflowj . controller. We need to download the source code for both the Beacon controller and OpenflowJ.
The latest Beacon release (1.0.2) can be found here
The latest OpenflowJ release (1.0.2) can be found here
- Extract those folders to any location on your computer. (For documentation purposes we'll call the locations <beacon-path> and <openflowj-path>)
- Fire up Eclipse and create a new workstation...* Import the Beacon Project to Eclipse (File -> Import -> General -> Existing Projects into workspace
- Browse to <beacon-path> select the folder
- Click Deselect all and select the following projects
- Beacon Libraries
- Beacon Main Target
- net.beaconcontroller.core
- net.beaconcontroller.logging.bridge
- net.beaconcontroller.logging.config
- net.beacontroller.packet
- Import OpenflowJ to Eclipse the same way. This time keep the select all
Import FlowScale
Get FlowSclae from github
Code Block |
---|
git clone git://github.com/InCNTRE/FlowScale.git
|
- Import FlowScale into Eclipse * Import -> General -> Existing Projects into workspace
- Browse to <path-to-FlowScale>/backend
- Select All projects and click 'OK'
Resolving Target Definitions
Setup Flowscale
1) Download Flowscale from github:
...