14:32:11 <edwarnicke> #startmeeting Karaf Happy Hour 14:32:11 <odl_meetbot> Meeting started Tue Sep 2 14:32:11 2014 UTC. The chair is edwarnicke. Information about MeetBot at http://ci.openstack.org/meetbot.html. 14:32:11 <odl_meetbot> Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:32:11 <odl_meetbot> The meeting name has been set to 'karaf_happy_hour' 14:32:21 <edwarnicke> #topic Roll Call 14:32:26 <edwarnicke> Please #info in 14:32:29 <edwarnicke> #info edwarnicke 14:33:00 <edwarnicke> Welcome JYOTI_13 14:33:02 <edwarnicke> :) 14:33:13 <JYOTI_13> hello sir 14:33:25 <edwarnicke> JYOTI_13: Could you #info in ? 14:33:29 <xsited> #info thomas (packetcable) 14:34:39 <JYOTI_13> sorry i am not getting 14:34:48 <edwarnicke> Welcome xsited 14:34:56 <xsited> morning 14:35:09 <edwarnicke> JYOTI_13: If you look at how xsited #infoed in above... so his attendance shows up in the meeting minutes 14:36:36 <JYOTI_13> #info jyoti (plugin2oc) 14:36:48 <JYOTI_13> is it ok? 14:37:06 <JYOTI_13> I am working on karaf integration with plugin2oc having commons and neutron module. Now, pom.xml of neutron have some dependencies listed in it(which are ODL modules or dependency jars). Do I need to add all these dependencies as individual bundle within feature.xml under feature tag? 14:37:12 <edwarnicke> JYOTI_13: Perfect :) 14:37:16 <edwarnicke> #topic Status 14:39:47 <edwarnicke> JYOTI_13: There is an element of your choice there on your part 14:42:57 <JYOTI_13_> Actually when I am trying to install feature within karaf it is giving error: Error executing command: Could not start bundle mvn:org.opendaylight.plugin2oc/plugin2oc.neutron/0.1 in feature(s) odl-features-plugin2oc-0.1: The bundle "org.opendaylight.plugin2oc.neutron_0.1.0 [50]" could not be resolved. Reason: Missing Constraint: Import-Package: org.apache.felix.dm; version="[3.0.0,4.0.0)". When I add respective bundle 14:43:34 <JYOTI_13_> again on installing feature in karaf it gives another error of Missing Constraint: Import-Package. 14:43:43 <edwarnicke> JYOTI_13_: Looks like you have a dependency on something Felix-DM related 14:44:15 <edwarnicke> JYOTI_13_: Hang on... there may be a feature to get you unwedge there 14:45:19 <edwarnicke> JYOTI_13_: Try this, in your features.xml file add a repo: 14:45:20 <edwarnicke> <repository>mvn:org.opendaylight.controller/features-base/${commons.opendaylight.version}/xml/features</repository> 14:45:24 <edwarnicke> And to your feature add: 14:45:37 <edwarnicke> <feature>odl-base-felix-dm</feature> 14:45:40 <edwarnicke> And see if that helps 14:45:57 <JYOTI_13_> ok 14:46:09 <abhijitkumbhare> #info abhijitkumbhare 14:46:17 <edwarnicke> You will also need to add the proper dependency to your pom.xml file as well 14:46:21 <edwarnicke> abhijitkumbhare: Welcome :) 14:46:40 <abhijitkumbhare> was lurking - while in the other meeting edwarnicke :) 14:46:40 <JYOTI_13_> ok will try this 14:47:22 <edwarnicke> JYOTI_13_: Cool, let me know how it goes 14:47:34 <edwarnicke> JYOTI_13_: I would expect it to clear that error so you can get to the next one :) 14:48:41 <JYOTI_13_> sure 14:53:42 <edwarnicke> Anyone else here for Karaf Happy Hour? 14:58:13 <JYOTI_13_> It would be useful if you can point me to a sample project which explains how the features.xml should be configured. 15:01:43 <edwarnicke> JYOTI_13_: What all is your project doing? 15:01:50 <edwarnicke> JYOTI_13_: And what does it depend on? 15:02:01 <edwarnicke> JYOTI_13_: For MD-SAL there are lots of sample projects and its pretty simple 15:02:43 <PriyankaChopra> ed we are working on Karaf integration for plugin2oc 15:03:06 <edwarnicke> JYOTI_13_: PriyankaChopra Cool :) Could you tell me what you guys depend on though? 15:04:37 <edwarnicke> JYOTI_13_: PriyankaChopra I am not familiar with your code base 15:04:55 <edwarnicke> JYOTI_13_: PriyankaChopra But if you tell me what you depend on, I may be able to help with some examples :) 15:08:01 <PriyankaChopra_> only issue we are facing is in configuring features.xml - the features and bundles 15:09:14 <edwarnicke> PriyankaChopra_: Yes :) 15:09:19 <PriyankaChopra_> any sample that explains what needs to go in features and what in bundles.. 15:09:31 <edwarnicke> PriyankaChopra_: But that's the hard part 15:09:35 <PriyankaChopra_> would be of great help.. :) 15:09:46 <edwarnicke> PriyankaChopra_: Are you looking at just any example to look at, or one that is close to yours? 15:10:25 <PriyankaChopra_> anything from where I can understand the configuration part 15:11:31 <edwarnicke> OK... let me find something simple to start, and see if that helps :) 15:12:08 <PriyankaChopra_> That would be great.. Thanks in advance :) 15:13:03 <edwarnicke> PriyankaChopra_: This is the one for Openflowplugin: https://git.opendaylight.org/gerrit/gitweb?p=openflowplugin.git;a=blob;f=features/src/main/resources/features.xml;h=f5796535fc18fe56f3421ee9886d455b1cb93a7f;hb=HEAD 15:14:00 <edwarnicke> alagalah: Welcome :) 15:14:47 <edwarnicke> PriyankaChopra_: L2switch as a bit more going on: https://git.opendaylight.org/gerrit/gitweb?p=l2switch.git;a=blob;f=features/src/main/resources/features.xml;h=527af5c92529cd5abc26bddb6cd938609b9486de;hb=HEAD 15:15:58 <tbachman> Did I miss happy hour? 15:15:59 <tbachman> :) 15:16:07 <PriyankaChopra_> Thanks a lot Ed.. Seems I will be able to go through! 15:39:41 <edwarnicke> tbachman: How can I help you? 15:39:49 <tbachman> hey edwarnicke :) 15:39:59 <tbachman> I realized that I hadn’t packaged my config file in my feature 15:40:12 <tbachman> I looked at openflow, and noticed that they packaged it separately 15:40:20 <tbachman> in any case — realized that I needed to get this in there 15:40:28 <tbachman> we talked last week about packaging it separately 15:40:40 <tbachman> Tho I still am not sure I understand the purpose of keeping it separate 15:40:45 <tbachman> (i.e. it’s own “feature") 15:40:59 <tbachman> In any case - I was looking into wrapping this into the existing feature 15:41:13 <tbachman> I haven’t worked on it yet, so won’t ask anything here today 15:41:26 <tbachman> but will likely do so at tomorrow’s happy-happy-joy-joy hour :) 15:41:44 <edwarnicke> tbachman: 15:41:48 <edwarnicke> I have updated the docs 15:41:54 <edwarnicke> And have a handy new archtype :) 15:41:55 <tbachman> ah :) 15:42:40 <edwarnicke> https://wiki.opendaylight.org/view/Karaf:Step_by_Step_Guide#Edit_the_features.2Fpom.xml 15:42:40 <tbachman> the same wiki page? 15:42:43 <edwarnicke> #link https://wiki.opendaylight.org/view/Karaf:Step_by_Step_Guide#Edit_the_features.2Fpom.xml 15:42:43 <tbachman> thx 15:42:54 <edwarnicke> tbachman: Its actually a subpage, as it broke up the flow a bit 15:44:19 <tbachman> edwarnicke: so, should I start from scratch with the new archetype? 15:44:28 <tbachman> (keeping in mind the changes I need to get there) 15:44:45 <tbachman> (i.e. has the archetype itself changed since last week) 15:46:53 <edwarnicke> tbachman: Let me check something 15:47:31 <edwarnicke> OK 15:47:36 <edwarnicke> tbachman: What do you have so far? 15:49:49 <tbachman> https://git.opendaylight.org/gerrit/#/c/10494/ 15:49:52 <tbachman> edwarnicke: ^^^^ 15:50:02 <edwarnicke> tbachman: I mean for your config file? 15:53:03 <tbachman> edwarnicke: oh, sorry :) 15:53:14 <tbachman> you mean the changes for the config file? 15:53:15 <edwarnicke> No worries :) 15:53:19 <edwarnicke> LOL 15:53:36 <tbachman> currently, the source file is under the distribution dir 15:53:44 * tbachman is contemplating moving it somewhere else 16:03:52 <odl_meetbot> devinavery: Error: Can't start another meeting, one is in progress. Use #endmeeting first. 16:04:02 <colindixon> what meeting is going on? 16:04:12 <colindixon> edwarnicke: can we steal this for the the MD-SAL interest call? 16:06:09 <colindixon> ok 16:06:12 <colindixon> #endmeeting