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


How to run code in opendaylight

asked 2016-02-08 18:07:17 -0700

ashvanth48 gravatar image

I'm trying to understand the L2switch code and make some changes to it. I have downloaded the code through git and imported to eclipse. Now I want to make some changes to the code and see the output.

I know that I have to run mvn install to compile the code. But I dunno how to wire this to karaf when it is run.

edit retag flag offensive close merge delete


Which l2switch's version you changed? Then In stable/lithium ODL Integration it is mentioned 0.2.2 of L2switch.But I couldnt find the source code of 0.2.2 L2switch in github. l2switch version mentioned in ODL pom, should be match with the version of l2switch source code what we are editing right??

karthik330 ( 2016-03-02 22:38:42 -0700 )edit

Hi, I read the post where you have asked the same question and I think I understood your question now. I'm running the modified code by using the ODL distribution and not integration.

ashvanth48 ( 2016-03-03 16:49:41 -0700 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2016-02-09 15:45:08 -0700

saisujithreddy gravatar image

When i make small changes - I usually build the the project where i make changes and then go to the distributions of the main project and run the karaf again.

Please let me know if you are looking out for something else.

edit flag offensive delete publish link more


Thank you so much it works!!!

ashvanth48 ( 2016-02-10 05:37:19 -0700 )edit

answered 2016-02-09 21:08:38 -0700

balaodl gravatar image

updated 2016-02-09 21:16:00 -0700

HI saisujithreddy,

i was trying to build a sample md-sal application, and tried to do the steps that you have mentioned above. but the distributions of the main project(ODL integration project) is not picking up my project.

can you please help me with your suggestion. i have given the detailed problem in below URL.(please see the last answer in the below URL)

Thanks. Bala

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

Question Tools

1 follower


Asked: 2016-02-08 18:07:17 -0700

Seen: 54 times

Last updated: Feb 09 '16