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

install self-developed features/bundles on Karaf

Dear experts,

The ping example does not work for Helium Karaf, and the wiki pages about Karaf (Step by Step, How to create a config file, etc.) confuse me because I am almost a dummy for Karaf and OpenDaylight. Could you experts share your experiences to let me know how to install self-developed features/bundles on Karaf? For example, how to make the self-developed feature show while feature:list is entered and then enter feature:install to install it? Could you let me know any references to present an example like the ping wiki page?

My current situation is that, I have developed an AD-SAL bundle which can run on Hydrogen and the base edition of Helium; however, while I put it under the deploy folder, my bundle can not be started.

> bundle:list | grep my_bundle
286 | Installed |  80 | 1.0.0                                     | my_bundle
> bundle:install 286
Error executing command: Error executing command on bundles: Unable to execute command on bundle 286: The bundle "com.trendmicro.ntdtg.darknet_1.0.0 [286]" could not be resolved. Reason: Missing Constraint: Import-Package: org.opendaylight.controller.sal.utils; version="[0.8.0,1.0.0)"

which implies that I need to import org.opendaylight.controller.sal.utils with version = 0.8 - 1.0; however, the MANIFET.MF of my bundle shows that

Import-Package: org.opendaylight.controller.sal.utils;version="[0.8,1)"

which is the same as the error message.

Could you kindly me give me some hints or directions to successfully install my bundle to Helium Karaf? Thanks for your big help. I really appreciate.

Sincerely,

Yi-Jung

install self-developed features/bundles on Karaf

Dear experts,

The ping example does not work for Helium Karaf, and the wiki pages about Karaf (Step by Step, How to create a config file, etc.) confuse me because I am almost a dummy for Karaf and OpenDaylight. Could you experts share your experiences to let me know how to install self-developed features/bundles on Karaf? For example, how to make the self-developed feature show while feature:list is entered and then enter feature:install to install it? Could you let me know any references to present an example like the ping wiki page?

My current situation is that, I have developed an AD-SAL bundle which can run on Hydrogen and the base edition of Helium; however, while I put it under the deploy folder, my bundle can not be started.

> bundle:list | grep my_bundle
286 | Installed |  80 | 1.0.0                                     | my_bundle
> bundle:install bundle:start 286
Error executing command: Error executing command on bundles: Unable to execute command on bundle 286: The bundle "com.trendmicro.ntdtg.darknet_1.0.0 [286]" could not be resolved. Reason: Missing Constraint: Import-Package: org.opendaylight.controller.sal.utils; version="[0.8.0,1.0.0)"

which implies that I need to import org.opendaylight.controller.sal.utils with version = 0.8 - 1.0; however, the MANIFET.MF of my bundle shows that

Import-Package: org.opendaylight.controller.sal.utils;version="[0.8,1)"

which is the same as the error message.

Could you kindly me give me some hints or directions to successfully install my bundle to Helium Karaf? Thanks for your big help. I really appreciate.

Sincerely,

Yi-Jung

install self-developed features/bundles on Karaf

Dear experts,

The ping example does not work for Helium Karaf, and the wiki pages about Karaf (Step by Step, How to create a config file, etc.) confuse me because I am almost a dummy for Karaf and OpenDaylight. Could you experts share your experiences to let me know how to install self-developed features/bundles on Karaf? For example, how to make the self-developed feature show while feature:list is entered and then enter feature:install to install it? Could you let me know any references to present an example like the ping wiki page?

My current situation is that, I have developed an AD-SAL bundle which can run on Hydrogen and the base edition of Helium; however, while I put it under the deploy folder, my bundle can not be started.

> bundle:list | grep my_bundle
286 | Installed |  80 | 1.0.0                                     | my_bundle
> bundle:start 286
Error executing command: Error executing command on bundles: Unable to execute command on bundle 286: The bundle "com.trendmicro.ntdtg.darknet_1.0.0 "org.opendaylight.controller.myapp_1.0.0 [286]" could not be resolved. Reason: Missing Constraint: Import-Package: org.opendaylight.controller.sal.utils; version="[0.8.0,1.0.0)"

which implies that I need to import org.opendaylight.controller.sal.utils with version = 0.8 - 1.0; however, the MANIFET.MF of my bundle shows that

Import-Package: org.opendaylight.controller.sal.utils;version="[0.8,1)"

which is the same as the error message.

Could you kindly me give me some hints or directions to successfully install my bundle to Helium Karaf? Thanks for your big help. I really appreciate.

Sincerely,

Yi-Jung