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