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.2.0-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.6.0-SNAPSHOT/xml/features</repository>
21 <repository>mvn:org.opendaylight.yangtools/features-yangtools/0.8.0-SNAPSHOT/xml/features</repository>
22 <repository>mvn:org.opendaylight.controller/features-mdsal/1.3.0-SNAPSHOT/xml/features</repository>
23 <repository>mvn:org.opendaylight.openflowplugin/features-openflowplugin/${openflowplugin.version}/xml/features</repository>
25 <feature name='odl-packetcable-policy-server-all' version='${project.version}' description='OpenDaylight :: packetcable :: policy :: All'>
26 <feature version='${project.version}'>odl-packetcable-policy-server</feature>
27 <feature version='${project.version}'>odl-packetcable-policy-model</feature>
28 <feature version='${project.version}'>odl-packetcable-driver</feature>
32 Define your features. It is useful to list then in order of dependency. So if A depends on B, list A first.
33 It's also nice to list inside a feature, first the features it needs, then the bundles it needs, then the configfiles.
34 <feature version='0.2.0-SNAPSHOT'>odl-openflowplugin-flow-services</feature>
35 <bundle>mvn:com.google.common.collect/collect/14.0</bundle>
38 <!--- * Basic MD-SAL Consumer -->
39 <!--- * Basic MD-SAL Model feature -->
40 <feature name='odl-packetcable-policy-model' version='${project.version}' description='OpenDaylight :: packetcable :: policy :: Model'>
41 <feature version='0.8.0-SNAPSHOT'>odl-yangtools-binding</feature>
42 <feature version='0.8.0-SNAPSHOT'>odl-yangtools-models</feature>
43 <bundle>mvn:org.opendaylight.packetcable/packetcable-policy-model/${project.version}</bundle>
46 <!--- * Basic MD-SAL Provider -->
47 <feature name='odl-packetcable-policy-server' version='${project.version}' description='OpenDaylight :: packetcable :: policy :: Provider'>
48 <feature version='1.3.0-SNAPSHOT'>odl-mdsal-broker</feature>
49 <bundle>mvn:org.opendaylight.packetcable/packetcable-policy-server/${project.version}</bundle>
50 <bundle>mvn:org.opendaylight.packetcable/packetcable-driver/${project.version}</bundle>
51 <feature version='${project.version}'>odl-packetcable-policy-model</feature>
52 <feature version='${project.version}'>odl-packetcable-driver</feature>
53 <configfile finalname="etc/opendaylight/karaf/80-packetcable.xml">mvn:org.opendaylight.packetcable/packetcable-policy-config/${project.version}/xml/config</configfile>
57 <feature name='odl-packetcable-driver' version='${project.version}' description='OpenDaylight :: packetcable :: Driver'>
58 <feature version='1.3.0-SNAPSHOT'>odl-mdsal-broker</feature>