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


Call functions in karaf (like from the osgi console)

asked 2014-12-18 04:52:10 -0700

Lorunification gravatar image

updated 2014-12-18 04:52:24 -0700

Hello again,

I got my self developed bundle installed and started in Helium SR1. Now that bundle contains some methods that i used to call from the osgi-console.


void start() {"Started");

public void _listFlows(CommandInterpreter ci) {

With this i was able to call the function listflows from the osgi console.

Is this still possible through karaf? If not, is there another way to call methods implemented in my bundle?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-05-26 08:57:32 -0700

jgoodyear gravatar image

Please refer to Karaf 3.0.x's documentation for developing custom console commands:

edit flag offensive delete publish link more

answered 2016-05-29 06:00:17 -0700

medox gravatar image

you can use debugger OSGI bundles in Karaf

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

Question Tools

1 follower


Asked: 2014-12-18 04:52:10 -0700

Seen: 759 times

Last updated: May 29 '16