Ask Your Question
1

how to add custom feature to opendaylight integration version?

asked 2015-07-30 23:58:22 -0700

karthik330 gravatar image

updated 2016-02-10 06:45:46 -0700

Hi , I developed a simple project .I want to add that to my ODL-Integration version. 1 .my simple Project (Path) is like hello , Its runnning successfully when i launch karaf,I can get output from restconf 2. i need to add this to ODL-integration Project .When i used repo-add i got the error.image description

3.My Path application project located at m2 is image description

4.As from the error i checked the /integration/distribution/karaf/target/assembly/system image description

5 .Please help me to solve this issue. I want to add my path project to ODL-integration

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
3

answered 2015-08-05 13:09:48 -0700

Hello,

I believe what you are looking for is creating a feature descriptor of your hello world project and use it in karaf to install your feature.

  1. Example features file

  2. Example on how to use with karaf

Cheers

edit flag offensive delete publish link more

Comments

1 . i built my simple MD-SAL application(Path),its like hello project .Its running successfully alone 2. I tried to add my simple application to Integration, using repo-add command I got error.please look at my edited question.

karthik330 ( 2015-08-11 02:55:58 -0700 )edit

I just updated the project. Forgive me, I updated the artifacts to master and didn't try it up. Now it should work.

grmontpetit ( 2016-02-10 13:16:11 -0700 )edit

Can you please solve my question?

karthik330 ( 2016-02-11 01:47:17 -0700 )edit

Thx fr ur reply,I got the solution.1.There were version mismatch in my Project vs ODL-integration . So its resolved now

karthik330 ( 2016-02-11 03:55:40 -0700 )edit

hi @grmontpetit now i am able to compile the cup project and execute successfully. is it possible to integrate cup project in to any of the integration ODL project through feature:repo-add command? will it work? what version of ODL integration project we must use to integrate our cup project?

balaodl ( 2016-02-12 03:17:01 -0700 )edit
0

answered 2015-09-17 03:44:22 -0700

balaodl gravatar image

updated 2016-02-08 04:44:46 -0700

HI Grmontpetit,

I was exploring your CUP md-sal example. I got a doubt in it.

  1. I am able to mvn install the project successfully.
  2. When I launch the karaf and in the list I am able to see the odl-cup pre installed.
  3. So I tried to install it, it is throwing errors like.
  4. Then I tried to compile the controller project separately (also the karaf,config projects in it separately) but nothing helps. Please help me to solve this problem. please find the screen shot for the errors..

C:\fakepath\cup_error.png

note: I edited my previous question, since new comments are forbidden

edit flag offensive delete publish link more

Comments

Bala, there are two ways: **1.** Bundle with controller as accepted answer in this question answered by @grmontpetit **2.** As you asked, by 'build sample tutorial and add into controller karaf. For later see [install feature in karaf]( https://ask.opendaylight.org/question/3522/how-to-run-integration-project-with-modified-openflowplugin/?answer=5364#post-id-5364 )

Mandeep ( 2015-09-19 07:04:03 -0700 )edit

Thanks Mandeep!

balaodl ( 2015-09-20 22:00:34 -0700 )edit
0

answered 2016-02-11 02:03:45 -0700

Mandeep gravatar image

Already answered in other thread.. repeating again for anyone facing same problem: try

feature:repo-add mvn:org.opendaylight.path/features-path/1.0.0-SNAPSHOT/xml/features

Catch is: it should be features-path instead of path-features

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

Question Tools

Follow
2 followers

Stats

Asked: 2015-07-30 23:58:22 -0700

Seen: 696 times

Last updated: Feb 11 '16