Ask Your Question
0

Setting up OpenDaylight

asked 2015-04-02 07:22:15 -0700

Alek992 gravatar image

updated 2015-04-02 07:27:54 -0700

Hi, I need help getting started with OpenDaylight.

How do I actually install OpenDaylight? I've downloaded the .zip file from the site (Helium) to my win7 host, and I've ran karaf.bat - now what? Where do I begin writing the code for the controller? How do I start up the controller? How do I find out the IP of the controller (so I can use it as a remove controller on my Mininet VM network), etc?

Yes - I've went through the installation guide on the site, but I have no idea if I need any extra components, and which ones. And I have no idea weather I have actually installed OpenDaylight or just modified my registry, or how to view the source code of the controller, modify it, etc, etc.

What is Maven? Do I need some plugin for Eclipse?

Please give me some guidance, thanks in advance!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-04-06 03:00:15 -0700

Janki gravatar image

updated 2015-04-06 03:08:25 -0700

After running karaf.bat, it will print "OpenDayLight" on the console and command prompt `opendaylight-user> will be prompted. This means your controller is up and running. This development guide would be a goog start.

To write the code for controller you will have to download its source file from github

IP of the controller is same as the IP of the machine on which you are running the controller. When connecting to Mininet, you can give IP of the machine or IP of the host-only interface connecting to mininet.

Google for maven and you will get good tutorials on that.

Running ODL with eclipse can be set up with the help of this wiki

edit flag offensive delete publish link more
0

answered 2015-04-08 00:15:14 -0700

Vishal Thapar gravatar image

When you run karaf.bat you should get the karaf console. You can now install features. Do a feature:list to get list of all availale features and then feature:install <feature-name> to install the feature.

To begin writing code, good place to start would be GettingStarted:DeveloperMain wiki page. If you're only looking to play around with code, you can skip gerrit setup, but need it if you want to contribute code. Key items would be in Getting Started Overall section 3 for setting up dev environment which covers everything, including maven and java, and 5 which covers how to setup eclipse. Then you can refer 8 and 9 on how to write your own app/project.

ODL listens on 0.0.0.0 by default, so your machine's IP will be ODL IP.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-02 07:22:15 -0700

Seen: 406 times

Last updated: Apr 08 '15