Ask Your Question
0

Unable to access mininet with karaf.

asked 2014-12-26 03:16:32 -0700

bhavesh07 gravatar image

updated 2014-12-28 06:23:45 -0700

I am using ODL controller master version and running karaf. Its working fine, I tried to install the required feature to use the dashboard as below: feature:install odl-restconf odl-l2switch-switch odl-mdsal-apidocs odl-dlux-core But it throws an error as: "Error executing command: No feature named 'odl-l2switch-switch' with version '0.0.0' available"

Running Dashboard on, http://localhost:8181/dlux/index.html

And I am unable to access its dashboard as well as the mininet is also throwing an error as mentioned below: "Unable to contact the remote controller at 192.168.1.4:6633"

I have already crossed checked the IP of running controller, it is correct. I have also checked for the port 6633, there is no service active on the mentioned port.

Can anyone help me with this...

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-26 04:07:58 -0700

Moderators

updated 2014-12-29 15:47:01 -0700

If you are just building the controller project only, then this doesn't come with OpenFlow, L2Switch, Dlux. This project bring only the core functions of ODL such as the clusting, MD-SAL/AD-SAL, and some NSF

There a few ways you can do things.

  • Just download the latest released controller from OpenDaylight controller page

    This is good if you just want to get ODL up and running to play with the API's on a released

  • Download the latest pre-build ODL releases from maser branch [Pre-built master branch release] ( https://wiki.opendaylight.org/view/CrossProject:IntegrationGroup:ControllerArtifacts#LithiumLatestDistribution_Artifacts) Same as the above just using the latest code(new features/bugs) that maybe not in an official release

  • Use a distribution built by a project (OpenFlow, L2Switch, Dlux, Integration) Useful if you wish to work on the code on a project only downsize that distribution may not have the need project in it IE OpenFlow won't have L2Switch in it you can build from Integration project which will build the same distribution you see in the release.

Example.

If you wish to make changes to DLUX, OpenFlow and Controller project then you would

1. Get the repo of each project 2. Edit the code where you want to make the changes 3. Build each project local in order of the dependency Dependency Diagram 4. Then build the integration project last (it has dependency of all other projects)

What this does is once you build a project, the needed JAR's are stored in your local Maven repo (on Mac and Linux ~/.m2/repository) When you build the integration project it will check your local Maven repo if the JAR isn't found then it download the need JAR from the OpenDaylight nexus. Hopefully this explains it.

edit flag offensive delete publish link more

Comments

Could you please send me the steps to use distribution project which can have l2switch and dlux as well.

bhavesh07 ( 2014-12-28 06:17:19 -0700 )edit

Integration project will pull in both the Dlux and L2Switch, If you haven't build these project locally then it will get the needed jar's from the public Nexus.

Chris O'Shea ( 2014-12-28 15:11:29 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-12-26 03:16:32 -0700

Seen: 406 times

Last updated: Dec 29 '14