OpenDaylight Installation Document

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

OpenDaylight Installation

URL: https://www.youtube.com/watch?v=K5E6_eik23k

1. If you have windows Machine , then Download Virtual Box and install Ubuntu linux in virtual
box.

Virual Box Download :


https://www.virtualbox.org/wiki/Downloads

Ubuntu Desktop ISO image download


https://www.ubuntu.com/download/desktop

2. Install Mininet Image in Virtual Box

https://github.com/mininet/mininet/wiki/Mininet-VM-Images

3. Now after installing Ubuntu linux image , start installing opendaylight and below pre requisites :

3a. Download opendaylight


https://docs.opendaylight.org/en/latest/downloads.html

3b. Install Openjdk with below command

Sudo apt-get install openjdk-8-jdk

3c. Install maven with below command

Sudo apt-get install maven

3d. Install Network map for network scanner

Sudo apt-get install nmap

4. Now install opendaylight(ODL) with below commands

4a. Move opendaylight zip file from downloads to home directory and extract ODL zip folder

4b. Go to ODL bin directory and install apache karaf

:>> cd /home/ODL/bin

:>> ./karaf –of13

Now ODL start running with ODL command prompt having features ready to install
4c. Check ODL running by opening new command prompt window and run below command.
It shows one host
:>>nmap localhost
4d. Now in ODL command prompt run below command to list down features related command
:>>feature

4e. then install below mentioned ODL display, l2switch, l2switch-ui,l2switch-all,dlux-all feature
in ODL command prompt
:>>feature:install odl-Display

:>>feature:install odl-l2switch-switch

:>>feature:install odl-l2switch-switch-ui

:>>feature:install odl-l2switch-all

:>>feature:install odl-dlux-all

4f. Now in nmap command prompt run ifconfig command to get IP address

:>>ifconfig

4g. Then get ODL VM IPaddress with portno 8181 tocheck ODL home page in browser

http://localhost or ODL VM IP address:8181/index.html


username: admin
password: admin

5. Now start mininet in virtualbox with below credentials


username: mininet
password: mininet
and check ip of mininet system with below command
:>>ifconfig

6. Now connect from ODL VM nmap command prompt to mininet system using SSh command

:>>ssh –X mininet@MININET_VM_IP
Enter mininet password : mininet

7. Now from ssh mininet command prompt enter below command to create network

Eg: for tree topology


:>>sudo mn --controller=remote,ip=ODL_VM_IP(Eg.192.168.253.155) --topo=tree,4,2
for linear topology
:>>sudo mn --controller=remote,ip=ODL_VM_IP(Eg.192.168.253.155) --topo=linear,10

8. Now check tree topology scanned in ODL homepage Yang visualizer, check with different
methods in yang visualizer.

9. For mininet topology related information

http://mininet.org/walkthrough/

You might also like