Ask Your Question

Can't connect Karaf distribution of controller project (helium/stable) with mininet

asked 2015-05-25 10:50:52 -0700

hungld90 gravatar image

updated 2015-05-25 10:52:20 -0700

Hi, I'm trying to debug controller project, I downloaded the stable version of controller project Helium via Git. Then, I went to /controller/opendaylight/distribution/opendaylight-karaf/target/assembly/bin/ and run ./karaf Then I started the Mininet but it shows the error: "Unable to connect controller at" I think that it is necessary to install feature "L2switch.Hostracker" to connect the Mininet. I try to install the JAR file of this feature from the L2Switch project by using command "bundle:install ..." and "bundle:start..." in Karaf, but I can't start because it comes from another project. Someone can explain this problem. How to debug the controller project? Thanks.

edit retag flag offensive close merge delete


As per my limited knowledge you have to include/ install the openflowplugin feature. I am also looking for the way to include the openflowplugin feature to any project.

subhash ( 2015-05-25 11:26:22 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-25 11:47:06 -0700

jamoluhrsen gravatar image

It sounds like you are possibly building the controller project and running that karaf instance. If that's the case, you should first build the controller project so the artifacts will exist locally. Next, clone the integration repo and do a build from it's root directory (mvn clean install). That will include all of the projects (e.g, openflowplugin, l2switch, etc) and create a full distribution .zip inside integration/distributions/karaf/target/ Unzip that file and start karaf from bin/

Hope I understood your problem and that it helps.

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

Question Tools

1 follower


Asked: 2015-05-25 10:50:52 -0700

Seen: 216 times

Last updated: May 25 '15