Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 1.43 KB

File metadata and controls

67 lines (45 loc) · 1.43 KB

Initial setup guide for OpenDaylight

Instructions

1. Install Ubuntu

We recommend Ubuntu 14.04.

You can check your installed version via this command: (FYI: CTRL+ALT+t is a keyboard shortcut to open a terminal)

$ lsb_release -r
Release:    14.04

2. Install build environments

You can install via our script

$ bash < <(wget -qO- https://raw.githubusercontent.com/t-sdn/setup/master/install.sh)
# Or use shorted URL
$ bash < <(wget -qO- tinyurl.com/t-sdn-install)

Finally, Reload environment or rerun a terminal for configuring the ODL build environment.

$ source ~/.bashrc

3. Test with example project

You can clone our example project to test the build environment.

$ git clone https://github.com/t-sdn/example
$ cd example
$ mvn clean install
# If you want to skip test code, append "-DskipTests"
$ mvn clean install -DskipTests

3.1 Test with OpenDaylight controller

Now, try to build Opendaylight controller.

Caution: OpenDaylight is a huge project. So you need very long time to build it. It consumes almost 2 hours on my machine at the first time.

# First, clone OpenDaylight repository
$ git clone https://github.com/opendaylight/controller opendaylight-controller
$ cd !$
# Build with same method
$ mvn clean install -DskipTests