Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


MD-SAL Application development

asked 2014-12-12 05:12:31 -0700

skrasheed.blr gravatar image

updated 2015-01-12 02:43:32 -0700

Tony Tkacik gravatar image

I am building a simple MD-SAL application for understanding the process. I created a model and compiled using the Yangtools. After that, I need to copy the model jar file to the OpenDayLight controller. The instructions I followed for this are listed at:

As per this, I need to copy the jar to the following location, which seems to be not valid for the Karaf ODL version. Can anybody let me know where I need to copy this yang model jar file?

cp ./target/model-ping-1.1-SNAPSHOT.jar ../../../distribution/opendaylight/target/ \
    distribution.opendaylight-osgipackage/opendaylight/plugins/ \

Thanks & Regards, Abdul Rasheed

edit retag flag offensive close merge delete


We need to update that wiki. I've [reached out]( to the community in the hope of finding someone to own that TODO. Contributions welcome!

dfarrell07 ( 2014-12-12 06:52:18 -0700 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2014-12-12 08:02:49 -0700

updated 2014-12-12 08:03:42 -0700

That wiki needs to be updated. I don't have the cycles at the moment, but I reached out to the community for someone to own that TODO.

In the meantime, Inocybe very recently released a nice, relevant tutorial. It describes how to build an application on ODL Karaf (Helium) using MD-SAL.

edit flag offensive delete publish link more

answered 2014-12-12 09:04:06 -0700

skrasheed.blr gravatar image

Thanks. Hope that wiki page gets updated soon.

edit flag offensive delete publish link more


Note that you've posted what should really be a comment as an "answer" to your question. This is a Q&A site, not a forum.

dfarrell07 ( 2014-12-12 09:36:18 -0700 )edit

Sorry about that, I will make a note of this

skrasheed.blr ( 2014-12-16 02:49:26 -0700 )edit

answered 2014-12-12 09:18:47 -0700

anu.nair gravatar image

once you do a mvn clean install on your application folder, copy the xxSNAPSHOT.jar to plugins folder . If you want to do in a more generic way, then add a distribution folder , then add base for osgi and karaf for karaf . You will get sample examples in odl itself. look for distribution folder, features folder.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools



Asked: 2014-12-12 05:12:31 -0700

Seen: 202 times

Last updated: Dec 12 '14