OpenDaylight Lab in 15 Minutes or Less

Turtles on Rocks!

After spending half the night up reading and watching various videos around SDN and the varied options out there, I stumbled on this great post by Brent Salisbury on working with Mininet and OpenDaylight. It was however a bit manual for spinning up more than a handful of times, so I threw together some bash scripts and a Vagrant file… well, from 0 to OpenDaylight in <15minutes happened:

OpenDaylightLab$ time vagrant up
... lots of output ...

Install done, run the following:
--------------------------------
ssh -XY 172.16.0.200
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64
bash /home/vagrant/opendaylight/run.sh

mn --controller=remote,ip=172.16.0.200 --topo=linear,2 --listenport=6633
sudo wireshark
--------------------------------
You can also browse to http://172.16.0.200:8080

real    10m16.588s
user    1m0.988s
sys     0m15.827s

The assciociated Vagrant things can be found here:

https://github.com/bunchc/OpenDaylightLab

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.