Ask Your Question
0

Which karaf to run? in ODL Controller -Stable lithium

asked 2016-02-07 22:37:20 -0700

karthik330 gravatar image

updated 2016-02-07 23:19:13 -0700

Hi , I am using stable-lithium Controller version . I found two karafs inside the project.

  • one is under

    ~/controller/karaf/opendaylight-karaf/target/assembly/bin/.karaf$

  • another one is , when we unzip the file distribution.opendaylight-karaf-1.5.4-SNAPSHOT.zip we will get

    :~/controller/karaf/opendaylight-karaf/target/distribution.opendaylight-karaf-1.5.4-SNAPSHOT/bin/.karaf So I confused which one to use . what is the difference?

  • I tried to install l2switch , But I got Error executing command: No feature matching odl-l2switch-all/0.0.0 if i need to connect Mininet with ODL,what should i do ?

  • I tried to run both the karaf .I was not able to connect with mininet .Do i need to do repo:add of l2switch project??

Please help me. Thanks in Advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-08 12:18:56 -0700

jamoluhrsen gravatar image

both of those karaf will be effectively the same. It looks like you are only using the controller project which is a core project to OpenDaylight but does not include all things, like l2switch, etc.

if you want a distribution that contains all projects then you can clone the Integration/Distribution project and build that. The resulting .zip from there can be used to start karaf and then you can install things like l2switch.

edit flag offensive delete publish link more

Comments

Hi thnx fr ur rply.Without L2switch how can i connect mininet with ODL-controller Project? Will it work if i am using repo:add command to add l2switch in Controller? As i tried, Its not working.. Need Help @jamoluhrsen .

karthik330 ( 2016-02-08 21:06:11 -0700 )edit

I suggest taking the full distribution: https://www.opendaylight.org/downloads then, unzip, and run karaf from the bin folder. Then you can install l2switch as it's packaged with the distribution.

jamoluhrsen ( 2016-02-08 21:24:43 -0700 )edit

I am working with both Distribution and Controller as well.I understood that Distribution is coming with whole package.Now I am trying to ADD my project and l2switch to Controller Project. Thats where i got struck.Why i am trying Controller is I need to change the controller's code

karthik330 ( 2016-02-08 21:35:00 -0700 )edit

ok. do this: clone, modify and build controller code clone and build distribution project. if you have local copies of any projects that distribution needs, it will use those. So, it will end up giving you the "whole package" but using the modified controller code you have built locally.

jamoluhrsen ( 2016-02-09 08:16:04 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-02-07 22:37:20 -0700

Seen: 202 times

Last updated: Feb 08 '16