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


Application feature install

asked 2016-04-28 09:10:47 -0800

monicarajasekaran gravatar image


I have beryllium set up with a simple application following the developer’s guide.

When I try to do “feature:install odl-l2switch-switch” from my application (/ODL/helloapp/karaf/target/assembly/bin ./karaf), I keep getting the error

“Error executing command: No feature matching odl-l2switch-switch/0.0.0”

But when I try to do the same from the base folder (/ODL/bin ./karaf), it works. How do I fix this to run from my application as well ?


edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2016-04-28 10:09:24 -0800

karthik330 gravatar image

Hi You have to add the dependency of l2switch in your app 's , feature.XML and pom.XML that you could install L2switch features. For better understanding, refer ODL , feature -> features. XML , pom.XML to know how they added dependency of l2switch. If you face any syntax issue let me know. I ll check it out.. You might face version mismatch issue. Make sure your app and l2switch have same versions of ODL as dependency.

Thanks, -Karthik

edit flag offensive delete publish link more


But, I still get the following error: [ERROR] 'dependencies.dependency.version' for org.opendaylight.l2switch:features-l2switch:xml:features is missing. @ line 108, column 17

monicarajasekaran ( 2016-04-28 10:22:36 -0800 )edit

I don't have a "features" folder in my base directory ODL. The folders are: "bin,configuration,data,deploy,etc,externalapps,helloapp,,instances,journal,lib,LICENSE,lock,snapshots,system,"

monicarajasekaran ( 2016-04-28 10:23:47 -0800 )edit

Did you created the simple hello app separately? or you have simple app inside beryllium itself? check feature folder inside your App .

karthik330 ( 2016-04-28 19:58:15 -0800 )edit

answered 2016-04-28 12:43:53 -0800

azhark gravatar image

can you try odl-l2switch-all

edit flag offensive delete publish link more

answered 2016-04-29 09:01:33 -0800

monicarajasekaran gravatar image


This got resolved by adding the following to helloapp/karaf/pom.xml,

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

Question Tools

1 follower


Asked: 2016-04-28 09:10:47 -0800

Seen: 1,360 times

Last updated: Apr 29 '16