Ask Your Question
0

How to start controller with karaf distribution?

asked 2014-06-24 22:41:24 -0700

vmithbao gravatar image

How to start controller with karaf distribution, I see that after extracting zip file, there is bin folder which has start, stop scripts. Should we use those to start, stop? How do we acces admin after that? Is there a wiki with the details?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-08-17 23:48:08 -0700

JYOTI111111 gravatar image

a)The controller project's container is located under opendaylight/distribution/opendaylight-karaf. b)mvn clean install of the above folder will create a distribution.zip file which can be unzipped. c)Run the karaf container from within the distribution. folder bin/karaf. d)bin/karaf will launch the karaf container.

edit flag offensive delete publish link more

Comments

After this you can install any feature which you want to install . For example If you want to have GUI of ODL then you have to put following command on Karaf console Feature:install odl-dlux-install for l2swith feature:install odl-l2switch-all Enjoy

devverma ( 2014-11-11 06:08:17 -0700 )edit

I followed all the steps that you mentioned above. Karaf is successfully running with controller. But, localhost:8080 is not working. Any idea?

lingling ( 2015-06-18 01:47:28 -0700 )edit

Sorry, I have another question. Some documents mentioned that features can run under Controller, some suggested to run under integrations project. Which one is the correct way?

lingling ( 2015-06-18 01:49:13 -0700 )edit
1

answered 2015-11-21 21:34:28 -0700

jamoluhrsen gravatar image

Unless you are modifying some project you can just use the released versions from here.

The quick start would be to unzip what you have downloaded, go to the bin/ directory and run the ./karaf command. From there you should get a karaf console, where you can start whatever features you want (e.g. odl-dlux-all).

If you are modifying some project in some way, you'll want to build that project locally first. then you can build the integration/distribution project which will create the entire ODL distribution which will include the modified project you have just built locally.

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

Question Tools

Follow
2 followers

Stats

Asked: 2014-06-24 22:41:24 -0700

Seen: 1,025 times

Last updated: Nov 21 '15