Opendaylight Hydrogen installation on Ubuntu

Opendaylight Controller — Simple Version

Opendaylight is an Openflow Controller originally forked from David Erickson’s Beacon controller. Many network component vendors are now contributing to this controller.

Opendaylight Installation

To install Opendaylight (version Hydrogen) on Ubuntu (and other Linux flavors) you need to get the source from http://git.opendaylight.org/gerrit/p/controller.git .

You need marven to built the controller, and Java to run the controller – yes it is written in java. Git is used to access the source code. Before starting the build process, you should set the following environment variable. Do not forget to place this into your .bashrc

export MAVEN_OPTS="-Xmx4096m -XX:MaxPermSize=1024m"
#
# B U I L T   T H E   C O N T R O L L E R
# get the dependencies
# 
apt-get install maven git openjdk-7-jre openjdk-7-jdk 
#
# get the source code
#
git clone http://git.opendaylight.org/gerrit/p/controller.git
#
# built the controller
# both mvn commands are downloading a lot of additional stuff
# from the marven and opendaylight site
#
cd controller/opendaylight/distribution/opendaylight/
mvn clean
mvn install 
#  optional: -DskipTests
cd target/distribution.opendaylight-osgipackage/opendaylight
#
# copy the software to a target directory ( in the example here /home/opendaylight/ )
#
cp -dpRv * /home/opendaylight/

Then open a console and start the controller with the commands – do no run the controller as root !

cd /home/opendaylight/
bash ./run.sh

Now the controller is running. The controller is listening on many TCP ports (8383, 33343, 12001, 60601, 6633, 47914, 7800, 6633) and the port 8080 — to be used to connect to the opendaylight controller using a web browser. Connect to http://127.0.0.1:8080/ . user=admin and password=admin . Port 6633 ist the port for network components running then Openflow protocol.

Opendaylight-Login-window

Opendaylight-Login-window

 

 

 

 

Updated: 17/01/2021 — 13:18