Ask Your Question

How to use karaf with Opendaylight project.

asked 2014-08-12 05:09:10 -0700

JYOTI111111 gravatar image

As I am totally new to karaf, I am having doubts on how to integrate karaf with Opendaylight controller.I know there is opendaylight-karaf directory inside opendaylight/distribution where we have deploy directory,inside this directory we will generate kar file which will contain feature.xml and bundle jars.So,my question is which jars we have to embed inside kar file?And how to deploy the application?

Kindly reply as soon as possible.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-08-12 20:45:43 -0700

Madhu gravatar image

updated 2014-08-12 22:46:12 -0700

We are working on a detailed how-to instructions on using Karaf with OpenDaylight.

In the meantime, you can refer to the 08/04/14 TWS call where we demonstrated the Karaf usage in OpenDaylight : Meeting minutes :

Webex Recording :

Also, we wrote a simple how-to instructions for the ovsdb project that might answer some of your questions as well (refer to Option 2 under HOW TO BUILD & RUN section) :;a=blob;f=README;h=2356030fbe5431aadb9b682f05631fbc35f05d69;hb=refs/heads/master

edit flag offensive delete publish link more


Hello Madhu, Really thanks for your response.I have already gone through how-to instructions for the ovsdb project.Right now I am refering to the 08/04/14 TWS call where you have demonstrated the Karaf usage in OpenDaylight.I think it will help me a lot.In case of any doubt i will contact you soon.

JYOTI111111 ( 2014-08-12 22:02:08 -0700 )edit

Sure. I am on opendaylight IRC channel (#opendaylight and #opendaylight-ovsdb in You can reach me there directly.

Madhu ( 2014-08-12 22:47:34 -0700 )edit

Thanks a lot.Link provided by you which demonstrates the Karaf usage in OpenDaylight helps me a lot in understanding overview of Karaf.But i have one doubt.Bydefault we have karaf container inside our opendaylight controller and we have to make changes in pom.xml and feature.xml but there are many feature.xml and pom.xml file,I am not getting where we have to do these changes. -Do we have to make changes in pom.xml which is residing under controller/features/pom.xml or controller/features/controller/pom.xml -Do we have to make changes in feature.xml which is residing under controller/features/controller/src/main/resources ?

JYOTI111111 ( 2014-08-12 23:51:10 -0700 )edit

First of all, I expect the Karaf Base container will move from Controller project to Integration project before the Helium release. Secondly, the pom.xml is related to Maven. while features.xml is related to Karaf. So, modifying these files are completely based on the type of changes you are making

Madhu ( 2014-08-12 23:58:28 -0700 )edit

HI Madhu, I really appreciate you for giving the link of that informative webex. Some webpages has been changed totally like , Now there is no pom.xml in . Can you please tell me, From where I can get that Pom.xml. Thanks

devverma ( 2014-11-11 06:05:32 -0700 )edit

Your Answer

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

Add Answer

[hide preview]


Asked: 2014-08-12 05:09:10 -0700

Seen: 678 times

Last updated: Aug 12 '14