Separating renderers into features.
[groupbasedpolicy.git] / features / src / main / resources / features.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <features name="odl-groupbasedpolicy-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
11           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12           xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
13
14     <!-- Repos needed by all -->
15     <repository>mvn:org.opendaylight.yangtools/features-yangtools/${yangtools.version}/xml/features</repository>
16     <repository>mvn:org.opendaylight.controller/features-mdsal/${mdsal.version}/xml/features</repository>
17
18     <!-- Repos needed by the OpenFlow Overlay renderer -->
19     <repository>mvn:org.opendaylight.openflowplugin/features-openflowplugin/${openflowplugin.distribution.version}/xml/features</repository>
20     <repository>mvn:org.opendaylight.openflowplugin/features-openflowplugin-extension/${openflowplugin.distribution.version}/xml/features</repository>
21
22     <!-- The common GBP components -->
23     <feature name='odl-groupbasedpolicy-base' version='${project.version}' description='OpenDaylight :: groupbasedpolicy :: Base Copmonents'>
24         <feature version="${mdsal.version}">odl-mdsal-broker</feature>
25         <feature version='${yangtools.version}'>odl-yangtools-binding</feature>
26         <feature version='${yangtools.version}'>odl-yangtools-models</feature>
27         <bundle start="true">mvn:com.fasterxml.jackson.core/jackson-annotations/${jackson.version}</bundle>
28         <bundle start="true">mvn:com.fasterxml.jackson.core/jackson-core/${jackson.version}</bundle>
29         <bundle start="true">mvn:com.fasterxml.jackson.core/jackson-databind/${jackson.version}</bundle>
30         <bundle>mvn:org.opendaylight.groupbasedpolicy/groupbasedpolicy/${project.version}</bundle>
31     </feature>
32
33     <!--
34         The OpenFlow Overlay renderer.
35
36         This can be added to the base to enable a
37         Network Virtualization behavior using OpenFlow
38     -->
39     <feature name='odl-groupbasedpolicy-ofoverlay' version='${project.version}' description='OpenDaylight :: groupbasedpolicy :: OpenFlow Overlay Renderer'>
40         <!--
41         <feature version="${project.version}">odl-groupbasedpolicy-base</feature>
42         -->
43         <feature version="${openflowplugin.distribution.version}">odl-openflowplugin-flow-services</feature>
44         <feature version='${openflowplugin.distribution.version}'>odl-openflowplugin-nxm-extensions</feature>
45         <bundle>mvn:org.opendaylight.groupbasedpolicy/ofoverlay-renderer/${project.version}</bundle>
46         <configfile finalname="${config.configfile.directory}/${config.groupbasedpolicy.ofoverlayconfigfile}">mvn:org.opendaylight.groupbasedpolicy/groupbasedpolicy-ofoverlay-config/${project.version}/xml/config</configfile>
47     </feature>
48
49     <!--
50          The OpenStack Group Based Policy Northbound API.
51
52          This is actually built/packaged with the OpenFlow
53          Overlay renderer at the moment. All that's needed
54          for this package is just the config file that wires
55          things in.
56     -->
57     <feature name='odl-groupbasedpolicy-openstackgbp' version='${project.version}' description='OpenDaylight :: groupbasedpolicy :: Support OpenStack GBP Endpoints '>
58         <!--
59         <feature version="${project.version}">odl-groupbasedpolicy-ofoverlay</feature>
60         -->
61         <feature version="${mdsal.version}">odl-mdsal-broker</feature>
62         <configfile finalname="${config.configfile.directory}/${config.groupbasedpolicy.openstackendpointconfigfile}">mvn:org.opendaylight.groupbasedpolicy/groupbasedpolicy-openstackendpoint-config/${project.version}/xml/config</configfile>
63     </feature>
64
65     <!--
66          The OpenContrail renderer
67     -->
68     <feature name='odl-groupbasedpolicy-oc' version='${project.version}' description='OpenDaylight :: groupbasedpolicy :: Opencontrail'>
69         <feature version="${mdsal.version}">odl-mdsal-broker</feature>
70         <bundle>mvn:org.opendaylight.groupbasedpolicy/oc-renderer/${project.version}</bundle>
71         <configfile finalname="${config.configfile.directory}/${config.groupbasedpolicy.occonfigfile}">mvn:org.opendaylight.groupbasedpolicy/groupbasedpolicy-oc-config/${project.version}/xml/config
72        </configfile>
73     </feature>
74 </features>
75