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

Revision history [back]

click to hide/show revision 1
initial version

How to make my own module known to ODL?

Hey guys,

I'm pretty new to ODL development and can't figure out how to add my own module into the ODL environment.

I'm running Windows, Eclipse Mars and the Lithium Distribution and do the following steps:

  • Creating a new Maven Project in Eclipse using the Quickstart-Archetype
  • Building the project inside Eclipse (everything working so far)
  • Now I start Karaf

That's where I'm stuck. In all the development tutorials they are using preconfigured VMs where they just start Karaf after building their project in the shell and it magically finds their new hello- or example-Project but I don't know how to show Karaf where to find my new module and install it.

Can you explain to me how to do it?

Thanks in advance and have a great day!

How to make my own module known to ODL?

Hey guys,

I'm pretty new to ODL development and can't figure out how to add my own module into the ODL environment.

I'm running Windows, Eclipse Mars and the Lithium Distribution and do the following steps:

  • Creating a new Maven Project in Eclipse using the Quickstart-Archetype
  • Building the project inside Eclipse (everything working so far)
  • Now I start Karaf

That's where I'm stuck. In all the development tutorials they are using preconfigured VMs where they just start Karaf after building their project in the shell and it magically finds their new hello- or example-Project but I don't know how to show Karaf where to find my new module and install it.

EDIT (24.05.2016):

I discovered, that the startup-Archetype, which is mostly used in Dev-Tutorials, creates it's own internal karaf which is why the created module is automatically loaded.

EDIT ENDS

Can you explain to me how to do it?

Thanks in advance and have a great day!