Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Floodlight is simple to download from Github and build. Please follow the following steps to either download and install a new copy of Floodlight or update an existing installation of Floodlight:

Installing Floodlight from Scratch

The "git clone" step below uses the master version of Floodlight. To use a specific version, specify the version branch in the "git clone" step by appending "-b <branch-name>", e.g. "-b v1.2".

info
Code Block
xml
xml
$ git clone git://github.com/floodlight/floodlight.git
$ cd floodlight
$ git submodule init
$ git submodule update
$ ant

$ sudo mkdir /var/lib/floodlight
$ sudo chmod 777 /var/lib/floodlight
The above "git clone" uses the master version of Floodlight. To use a specific version, specify the version branch in the git step by appending -b <branch-name>.

...

Updating an Existing Floodlight Installation

The following steps show how to update Floodlight to master. Substitute "master" in the "git pull" step with your desired version's branch, e.g. "v1.1", "v1.2", etc. if you would like to switch to a different version.

...

If you are upgrading from Floodlight v1.2 or below to a newer version or the master branch, you should update to Java 8 at this point. Others should already have Java 8 installed or do not require it (if downgrading to v1.2 or below). Once you have Java 8satisfied this requirement, proceed with re-building the controller:

...