about gallery street 📸

Installing Open Day Light (ODL) SDN Controller


Open Day Light is one of many SDN Controller available as open source project (Java based). The other SDN Controllers are: NOX (C++ based), POX (Python based), etc. This project has several big names as industry sponsor like Ericsson, Cisco, Juniper and IBM.

OpenDaylight can be a core component within any SDN architecture. Building upon an open source SDN and NFV controller enables users to reduce operational complexity, extend the life of their existing infrastructure hardware and enable new services and capabilities only available with SDN. Whether your organization is an enterprise IT provider, a network service provider or a Cloud services provider, you can begin taking advantage of SDN and NFV using a community-driven, open source controller framework available today.

On your Ubuntu Mininet VM (see my previous posts), execute these commands to install it:

$ sudo apt-get update
$ sudo apt-get install maven git openjdk-7-jre openjdk-7-jdk
$ git clone
$ cd controller/opendaylight/distribution/opendaylight/
$ mvn clean install
$ cd target/distribution.opendaylight-0.1.0-SNAPSHOT-osgipackage/opendaylight

Once done, the script can be found at:


Before we run the ODL controller script, we have to make sure the JAVA_HOME variable set correctly. Add this line to your .bashrc configuration (under home directory).


Now execute the file

mininet@mininet-vm:~$ cd controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight
mininet@mininet-vm:~/controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight$ ls
configuration  lib  plugins  run.bat  version.propertiesmininet@mininet-vm:~/controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight$ ./

Once done, you will get this message:

2014-01-14 14:06:51.552 PST \[pool-24-thread-1\] INFO  o.o.c.m.s.c.i.service.TwoPhaseCommit - Transaction: BA-0 Finished successfully

And ODL controller GUI interface can be accessed via web browser: as pictured below (username admin, password admin for default).

Reading materials:

  3. SDN with OpenFlow