1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html
8 <features name="odl-packetcable-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
9 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10 xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
12 Please read the features guidelines:
13 https://wiki.opendaylight.org/view/Runtime:Karaf_Features_Guidelines#Feature_Best_Practices
16 Add repo entries for the repositories of features you refer to in this feature file but do not define here.
17 <repository>mvn:org.opendaylight.openflowplugin/features-openflowplugin/0.0.3-SNAPSHOT/xml/features</repository>
18 <repository>mvn:org.opendaylight.controller/features-adsal/${feature.adsal.version}/xml/features</repository>
19 <repository>mvn:org.opendaylight.controller/features-adsal-compatibility/1.4.2-SNAPSHOT/xml/features</repository>
21 <repository>mvn:org.opendaylight.controller/features-flow/${mdsal.version}/xml/features</repository>
22 <repository>mvn:org.opendaylight.yangtools/features-yangtools/0.6.2-SNAPSHOT/xml/features</repository>
23 <repository>mvn:org.opendaylight.controller/features-mdsal/1.1-SNAPSHOT/xml/features</repository>
25 <feature name='odl-packetcable-all' version='${project.version}' description='OpenDaylight :: packetcable :: All'>
26 <feature version='${project.version}'>odl-packetcable-provider</feature>
27 <feature version='${project.version}'>odl-packetcable-model</feature>
28 <feature version='${project.version}'>odl-packetcable-consumer</feature>
29 <feature version='${project.version}'>odl-packetcable-driver</feature>
33 Define your features. It is useful to list then in order of dependency. So if A depends on B, list A first.
34 It's also nice to list inside a feature, first the features it needs, then the bundles it needs, then the configfiles.
35 <feature version='0.0.3-SNAPSHOT'>odl-openflowplugin-flow-services</feature>
36 <bundle>mvn:com.google.common.collect/collect/14.0</bundle>
39 <!--- * Basic MD-SAL Consumer -->
40 <feature name='odl-packetcable-consumer' version='${project.version}' description='OpenDaylight :: packetcable :: Consumer '>
41 <feature version='1.1-SNAPSHOT'>odl-mdsal-broker</feature>
42 <feature version='${project.version}'>odl-packetcable-model</feature>
43 <feature version='${project.version}'>odl-packetcable-driver</feature>
44 <bundle>mvn:org.opendaylight.packetcable/packetcable-driver/${project.version}</bundle>
45 <bundle>mvn:org.opendaylight.packetcable/packetcable-consumer/${project.version}</bundle>
46 <configfile finalname="etc/opendaylight/karaf/80-packetcable.xml">mvn:org.opendaylight.packetcable/packetcable-config/${project.version}/xml/config</configfile>
49 <!--- * Basic MD-SAL Model feature -->
50 <feature name='odl-packetcable-model' version='${project.version}' description='OpenDaylight :: packetcable :: Model'>
51 <feature version='0.6.2-SNAPSHOT'>odl-yangtools-binding</feature>
52 <feature version='0.6.2-SNAPSHOT'>odl-yangtools-models</feature>
53 <feature version='${project.version}'>odl-flow-model</feature>
54 <bundle>mvn:org.opendaylight.packetcable/packetcable-model/${project.version}</bundle>
57 <!--- * Basic MD-SAL Provider -->
58 <feature name='odl-packetcable-provider' version='${project.version}' description='OpenDaylight :: packetcable :: Provider'>
59 <feature version='1.1-SNAPSHOT'>odl-mdsal-broker</feature>
60 <bundle>mvn:org.opendaylight.packetcable/packetcable-provider/${project.version}</bundle>
61 <bundle>mvn:org.opendaylight.packetcable/packetcable-driver/${project.version}</bundle>
62 <feature version='${project.version}'>odl-flow-model</feature>
63 <feature version='${project.version}'>odl-packetcable-model</feature>
64 <feature version='${project.version}'>odl-packetcable-driver</feature>
65 <configfile finalname="etc/opendaylight/karaf/80-packetcable.xml">mvn:org.opendaylight.packetcable/packetcable-config/${project.version}/xml/config</configfile>
69 <feature name='odl-packetcable-driver' version='${project.version}' description='OpenDaylight :: packetcable :: Driver'>
70 <feature version='1.1-SNAPSHOT'>odl-mdsal-broker</feature>