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

0

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

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

hungld90 gravatar image

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

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 127.0.0.1/6633" 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

Comments

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 -0800 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

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

Follow
1 follower

Stats

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

Seen: 234 times

Last updated: May 25 '15