Ask Your Question
0

How to backup installed feature and bundle list

asked 2015-09-04 10:39:59 -0700

Mandeep gravatar image

I am using ODL Controller from master branch and compiling from source code.

On top of that installed many features few from prebundled features like restconf, l2switch, few from repository like openflowplugin, and few from my own local features (including adding some repo).

Now, to play around, I modify some features and some code in controller. Every time I do this I need to rebuild controller obviously, which cleans up 'data' folder as well.

Now my question, Is it possible to save my repository, features and bundle list, which I added, installed via karaf command?

Or is there any startup feature list where I can specify what all need to be installed as soon as my karaf starts up?

I know little bit about bootloader feature list but not much. Any hint would help.

edit retag flag offensive close merge delete

Comments

I was also looking for the startup kinda thing. As per my understanding when we start karaf first time there are no feature installed. But once installed & we restart karaf without clean it loads already installed features. Hence i think there is no such facility available. It's just a guess, there can be such feature or xml present.

hjdeore ( 2015-09-14 01:47:20 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-13 11:10:43 -0700

updated 2015-09-13 11:15:25 -0700

Hi,

I think this might be what you are looking for:

Feature descriptor:

http://repo.maven.apache.org/maven2/org/apache/karaf/assemblies/features/standard/2.2.3/standard-2.2.3-features.xml

Feature dependency:

https://github.com/opendaylight/controller/blob/master/karaf/opendaylight-karaf/pom.xml#L39

Bootfeature:

https://github.com/opendaylight/controller/blob/master/karaf/opendaylight-karaf/pom.xml#L176

Cheers

edit flag offensive delete publish link more

Comments

Thanks @grmontpetit it really gives me correct answer... also just wanted to know that "Can we add repository (looking for local repo-add) as well?

Mandeep ( 2015-09-14 07:35:57 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-09-04 10:39:59 -0700

Seen: 130 times

Last updated: Sep 13 '15