Ask Your Question
0

What does pre-karaf helium version mean?

asked 2015-07-01 01:33:44 -0700

theScratchLad gravatar image

I am trying to develop the toaster plugin on ODL. Beginner to say. I am using the instructions from this page https://wiki.opendaylight.org/view/OpenDaylightController:MD-SAL:ToasterStep-By-Step.

There it says in the top, "This was last updated for the Helium pre-Karaf release and needs to be updated. Please bear that in mind when reading the content and feel free to help update it."

I am using Karaf Helium Opendaylight I guess as I use ./karaf to run the controller.

So am I cool to go ahead or should I avoid using the above article on toaster plugin development?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-06 19:40:47 -0700

Hi,

It means the toaster tutorial doesn't explain how to deploy the toaster into the karaf container using a feature file. The rest of the tutorial is okay. I would recommend looking at examples to learn how you can write a feature file and reference it from the karaf pom file:

First example

Sample feature bundle:

https://github.com/opendaylight/coretutorials/tree/master/hello/hello-features

How to reference it within the karaf pom file:

https://github.com/opendaylight/coretutorials/blob/master/hello/hello-karaf/pom.xml#L48

Second example

Sample feature bundle:

https://github.com/sniggel/odl-mdsal-cup-example/tree/master/cup-features

How to reference it within the karaf pom file:

https://github.com/sniggel/odl-mdsal-cup-example/blob/master/cup-distribution/cup-karaf/pom.xml#L73

Usage

Once you got these done, you will be able to install your feature with the following command:

feature:install your-feature

Cheers

edit flag offensive delete publish link more

Comments

Thanks @grmontpetit. I will try these and update you here.

theScratchLad ( 2015-07-07 21:37:05 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2015-07-01 01:33:44 -0700

Seen: 135 times

Last updated: Jul 06 '15