fir3net

How to Install OpenDaylight

Contents[Hide]

OpenDaylight is an SDN controller provided by the Linux Foundation. In this article we will show you the steps required to perform a simple installation upon Ubuntu.

Install Binaries

box@odl:~$ sudo apt-get update
box@odl:~$ sudo apt-get install software-properties-common
box@odl:~$ sudo apt-get install maven git unzip

Install Java 1.8

box@odl:~$ sudo add-apt-repository ppa:webupd8team/java
box@odl:~$ sudo apt install oracle-java8-installer
box@odl:~$ export JAVA_HOME=/usr/lib/jvm/java-8-oracle/

Download Package

Copy the link for the latest release within https://www.opendaylight.org/downloads. Select the 'Pre-Built Zip' link. Once you have the link download.

box@odl:~$ wget https://nexus.opendaylight.org/content/repositories/public/org/opendaylight/integration/distribution-karaf/0.5.3-Boron-SR3/distribution-karaf-0.5.3-Boron-SR3.zip

Run

box@odl:~$ cd distribution-karaf-0.5.3-Boron-SR3/
box@odl:~$ ./bin/karaf

Install Features

opendaylight-user@root>feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core
opendaylight-user@root>feature:install odl-dlux-all

Connect to UI

Connect to http://<IP>:8181/index.html#/login, using the credentials of admin/admin.

Tags: SDN, NFV, SDNController, ODL, LinuxFoundation

About the Author

RDonato

R Donato

Ricky Donato is the Founder and Chief Editor of Fir3net.com. He currently works as a Principal Network Security Engineer and has a keen interest in automation and the cloud.

You can find Ricky on Twitter @f3lix001