Skip to content

Instantly share code, notes, and snippets.

@icarocamelo
Created November 20, 2015 21:39
Show Gist options
  • Save icarocamelo/ede6672912fc20b455e1 to your computer and use it in GitHub Desktop.
Save icarocamelo/ede6672912fc20b455e1 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!--
(c) Copyright 2015 Hewlett-Packard Development Company, L.P. and others. All rights reserved.
This program is made available under the terms of the
Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html
-->
<features name="odl-nic-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
<!-- https://wiki.opendaylight.org/view/Runtime:Karaf_Features_Guidelines#Feature_Best_Practices -->
<repository>mvn:org.opendaylight.yangtools/features-yangtools/{{VERSION}}/xml/features</repository>
<repository>mvn:org.opendaylight.controller/features-mdsal/{{VERSION}}/xml/features</repository>
<repository>mvn:org.opendaylight.netconf/features-restconf/{{VERSION}}/xml/features</repository>
<repository>mvn:org.opendaylight.openflowplugin/features-openflowplugin-li/{{VERSION}}/xml/features</repository>
<repository>mvn:org.opendaylight.vtn/features-vtn-manager/{{VERSION}}/xml/features</repository>
<repository> mvn:org.opendaylight.groupbasedpolicy/features-groupbasedpolicy/{{VERSION}}/xml/features</repository>
<repository>mvn:org.opendaylight.nemo/nemo-features/{{VERSION}}/xml/features</repository>
<repository>mvn:org.apache.karaf.cellar/apache-karaf-cellar/{{VERSION}}/xml/features</repository>
<!-- Mapping Service feature -->
<feature name="odl-nic-core-service" version="${project.version}" description='OpenDaylight :: Network Intent Composition :: Mapping service'>
<bundle>mvn:org.opendaylight.nic/intent-mapping-interface/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.nic/intent-mapping/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/87-intent-mapping.xml">
mvn:org.opendaylight.nic/intent-mapping/{{VERSION}}/xml/config
</configfile>
</feature>
<!-- Mapping Service feature for MDSAL -->
<feature name="odl-nic-core-service-mdsal" version="${project.version}" description='OpenDaylight :: Network Intent Composition :: MDSAL based mapping service'>
<bundle>mvn:org.opendaylight.nic/intent-mapping-interface/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.nic/intent-mapping-mdsal/{{VERSION}}</bundle>
<bundle>mvn:org.apache.karaf.cellar/apache-karaf-cellar/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/87-intent-mapping-mdsal.xml">
mvn:org.opendaylight.nic/intent-mapping-mdsal/{{VERSION}}/xml/config
</configfile>
</feature>
<!-- Core feature -->
<feature name='odl-nic-core' version='${project.version}'
description='OpenDaylight :: Network Intent Composition :: Core'>
<feature version="${mdsal.version}">odl-restconf</feature>
<feature version="${mdsal.version}">odl-mdsal-apidocs</feature>
<feature version="${mdsal.version}">odl-mdsal-broker</feature>
<bundle>mvn:org.opendaylight.nic/intent-api/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.nic/intent-impl/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.nic/intent-mapping-interface/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.nic/intent-compiler/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.nic/utils/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/88-intent-impl.xml">
mvn:org.opendaylight.nic/intent-impl/{{VERSION}}/xml/config
</configfile>
</feature>
<!-- CLI feature -->
<feature name='odl-nic-console' version='${project.version}'
description='OpenDaylight :: Network Intent Composition :: CLI'>
<feature version="${project.version}">odl-nic-core</feature>
<bundle>mvn:org.opendaylight.nic/intent-mapping-interface/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.nic/intent-cli/{{VERSION}}</bundle>
</feature>
<feature name='odl-nic-renderer-vtn' version='${project.version}'
description='OpenDaylight :: Network Intent Composition :: VTN Renderer'>
<feature version="${project.version}">odl-nic-core</feature>
<!-- TODO: Add the following dependents after the wiring issue around sun.reflect is fixed -->
<!-- <feature version="${feature.vtn-manager.version}">odl-vtn-manager</feature> -->
<!-- <bundle>mvn:org.opendaylight.nic/vtn-renderer/{{VERSION}}</bundle> -->
<!-- <configfile finalname="etc/opendaylight/karaf/89-vtn-renderer.xml">mvn:org.opendaylight.nic/vtn-renderer/{{VERSION}}/xml/config</configfile> -->
</feature>
<!-- GBP Renderer -->
<feature name='odl-nic-renderer-gbp' version='${project.version}'
description='OpenDaylight :: Network Intent Composition :: Group Based Policy Renderer'>
<feature version="${project.version}">odl-nic-core</feature>
<feature version="${groupbasedpolicy.version}">odl-groupbasedpolicy-ofoverlay</feature>
<bundle>mvn:org.opendaylight.nic/gbp-renderer/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/90-bgp-renderer.xml">
mvn:org.opendaylight.nic/gbp-renderer/{{VERSION}}/xml/config
</configfile>
</feature>
<!-- Pipeline Manager -->
<feature name='odl-nic-pipeline-manager' version='${project.version}'
description='OpenDaylight :: Network Intent Composition :: OpenFlow Pipeline Manager'>
<feature version="${openflowplugin.version}">odl-openflowplugin-southbound-li</feature>
<bundle>mvn:org.opendaylight.nic/pipeline-manager/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/91-pipeline-manager.xml">
mvn:org.opendaylight.nic/pipeline-manager/{{VERSION}}/xml/config
</configfile>
</feature>
<!-- OF Renderer -->
<feature name='odl-nic-renderer-of' version='${project.version}'
description='OpenDaylight :: Network Intent Composition :: OpenFlow Renderer'>
<feature version="${project.version}">odl-nic-core</feature>
<feature version="${project.version}">odl-nic-pipeline-manager</feature>
<bundle>mvn:org.opendaylight.nic/of-renderer/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/91-of-renderer.xml">
mvn:org.opendaylight.nic/of-renderer/{{VERSION}}/xml/config
</configfile>
</feature>
<!-- NEMO Renderer -->
<feature name='odl-nic-renderer-nemo' version='${project.version}'
description='OpenDaylight :: Network Intent Composition :: NEMO Renderer'>
<feature version="${project.version}">odl-nic-core</feature>
<feature version="${nemo.version}">odl-nemo-engine</feature>
<bundle>mvn:org.opendaylight.nic/nemo-renderer/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/92-nemo-renderer.xml">
mvn:org.opendaylight.nic/nemo-renderer/{{VERSION}}/xml/config
</configfile>
</feature>
<!-- Intent Listeners -->
<feature name='odl-nic-listeners' version='${project.version}'
description='OpenDaylight :: Network Intent Composition :: Listeners'>
<feature version="${project.version}">odl-nic-renderer-of</feature>
<bundle>mvn:org.opendaylight.nic/intent-listeners/{{VERSION}}</bundle>
<configfile finalname="etc/opendaylight/karaf/92-intent-listeners.xml">
mvn:org.opendaylight.nic/intent-listeners/{{VERSION}}/xml/config
</configfile>
</feature>
</features>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment