diff options
author | demx8as6 <martin.skorupski@highstreet-technologies.com> | 2018-07-10 18:07:44 +0200 |
---|---|---|
committer | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-07-11 16:30:28 -0400 |
commit | 27fb2d06608fbb070ae2c15a5580a4f5b2423d15 (patch) | |
tree | ccd717991b4e556b67f1fd2cacb345b4d174b41f /sdnr/wireless-transport/code-Carbon-SR1/features | |
parent | 60315525ab5e7c12a9f47c409092e8dba6ad656d (diff) |
Add seed code for sdnr app based on ONF Centennial
At this point in time all the Carbon code from ONF Centennial is added to ONAP.
Later it needs to be refactored and modified for ODL Oxygen.
Change-Id: Iff85dd940c05c3827f1c4e6f9542ecd060c58a46
Issue-ID: SDNC-374
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wireless-transport/code-Carbon-SR1/features')
-rw-r--r-- | sdnr/wireless-transport/code-Carbon-SR1/features/pom.xml | 138 | ||||
-rw-r--r-- | sdnr/wireless-transport/code-Carbon-SR1/features/src/main/features/features.xml | 131 |
2 files changed, 269 insertions, 0 deletions
diff --git a/sdnr/wireless-transport/code-Carbon-SR1/features/pom.xml b/sdnr/wireless-transport/code-Carbon-SR1/features/pom.xml new file mode 100644 index 00000000..5d54fd11 --- /dev/null +++ b/sdnr/wireless-transport/code-Carbon-SR1/features/pom.xml @@ -0,0 +1,138 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.opendaylight.odlparent</groupId> + <artifactId>features-parent</artifactId> + <version>1.8.1-Carbon</version> + <relativePath /> + </parent> + + <groupId>org.opendaylight.mwtn</groupId> + <artifactId>mwtn-parent</artifactId> + <version>0.5.1-SNAPSHOT</version> + <name>ONF :: Wireless :: ${project.artifactId}</name> + + <prerequisites> + <maven>3.3.3</maven> + </prerequisites> + + <properties> + <dlux.version>0.5.1-Carbon</dlux.version> + <decanter.version>1.1.0</decanter.version> + <elasticsearch.version>2.2.0</elasticsearch.version> + <mdsal.version>1.5.1-Carbon</mdsal.version> + <mdsal.model.version>0.10.1-Carbon</mdsal.model.version> + <restconf.version>1.5.1-Carbon</restconf.version> + <yangtools.version>1.1.1-Carbon</yangtools.version> + <openflow.plugin.version>0.4.1-Carbon</openflow.plugin.version> + <configfile.directory>etc/opendaylight/karaf</configfile.directory> + <netconf.version>1.2.1-Carbon</netconf.version> + <jackson.version>2.4.2</jackson.version> + <jersey.version>1.17</jersey.version> + <xerces.version>2.11.0</xerces.version> + </properties> + + <dependencies> + <dependency> + <groupId>xerces</groupId> + <artifactId>xercesImpl</artifactId> + <version>${xerces.version}</version> + </dependency> + + <dependency> + <groupId>org.opendaylight.yangtools</groupId> + <artifactId>features-yangtools</artifactId> + <classifier>features</classifier> + <type>xml</type> + <scope>runtime</scope> + <version>${yangtools.version}</version> + </dependency> + <dependency> + <groupId>org.opendaylight.controller</groupId> + <artifactId>features-mdsal</artifactId> + <classifier>features</classifier> + <version>${mdsal.version}</version> + <type>xml</type> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.opendaylight.netconf</groupId> + <artifactId>features-restconf</artifactId> + <classifier>features</classifier> + <version>${mdsal.version}</version> + <type>xml</type> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.opendaylight.netconf</groupId> + <artifactId>features-netconf-connector</artifactId> + <classifier>features</classifier> + <version>${netconf.version}</version> + <scope>runtime</scope> + <type>xml</type> + </dependency> + <dependency> + <groupId>org.opendaylight.openflowplugin</groupId> + <artifactId>features-openflowplugin</artifactId> + <classifier>features</classifier> + <version>${openflow.plugin.version}</version> + <type>xml</type> + </dependency> + + <!-- Mwt Dependencies --> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>configuration</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>devicemodel</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>websocketmanager-api</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>websocketmanager-impl</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>websocketmanager-impl</artifactId> + <version>${project.version}</version> + <type>xml</type> + <classifier>config</classifier> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>devicemanager-api</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>devicemanager-impl</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>devicemanager-impl</artifactId> + <version>${project.version}</version> + <type>xml</type> + <classifier>config</classifier> + </dependency> + + <!-- <dependency> <groupId>${project.groupId}</groupId> <artifactId>nediscovery-api</artifactId> + <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> + <artifactId>nediscovery-impl</artifactId> <version>${project.version}</version> + </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>nediscovery-impl</artifactId> + <version>${project.version}</version> <type>xml</type> <classifier>config</classifier> + </dependency> --> + </dependencies> + + +</project> diff --git a/sdnr/wireless-transport/code-Carbon-SR1/features/src/main/features/features.xml b/sdnr/wireless-transport/code-Carbon-SR1/features/src/main/features/features.xml new file mode 100644 index 00000000..10b06b9b --- /dev/null +++ b/sdnr/wireless-transport/code-Carbon-SR1/features/src/main/features/features.xml @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Top level feature bundling of network apps. Only in this file the APPS and UX/DLUX components are bundled. + * Due to startup timing problems the base packages are installed manually or by script as pre-requisite + * The features already loaded before loading of network apps are (loading again within feature is OK): + ./karafcmd.sh "feature:install odl-netconf-topology" + ./karafcmd.sh "feature:install odl-restconf-all" + ./karafcmd.sh "feature:install odl-mdsal-apidocs" + ./karafcmd.sh "feature:install odl-dlux-all" + ./karafcmd.sh "feature:repo-add mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.1.0/xml/features" + ./karafcmd.sh "feature:install elasticsearch" + --> + +<features name="odl-mwtn-${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"> + +<!-- Other repositories --> + <repository>mvn:com.highstreet.technologies.odl.dlux/mwtnFeatures/${project.version}/xml/features</repository> + <repository>mvn:com.highstreet.technologies.apigateway/apigateway-features/${project.version}/xml/features</repository> + <repository>mvn:com.highstreet.technologies.info/info-features/${project.version}/xml/features</repository> + <repository>mvn:com.highstreet.technologies.helpserver/helpserver-features/${project.version}/xml/features</repository> + <repository>mvn:com.highstreet.technologies.odl.app/route-features/${project.version}/xml/features</repository> + <repository>mvn:org.opendaylight.dlux/features-dlux/${dlux.version}/xml/features</repository> + <repository>mvn:org.opendaylight.dluxapps/features-dluxapps/${dlux.version}/xml/features</repository> + +<!-- + Section 1: Customer and test features of highstreet network applications + --> + + <feature name="sdnr-wt-all" version="${project.version}" description="ONAP :: OpenDaylight :: SDN-R :: All"> + <feature version="${mdsal.version}">odl-mdsal-clustering</feature> + <feature version="${netconf.version}">odl-netconf-clustered-topology</feature> + <feature version="${restconf.version}">odl-restconf-all</feature> + <feature version="${mdsal.version}">odl-mdsal-apidocs</feature> + + <feature version="${project.version}">sdnr-wt-apps-all</feature> + <feature version="${project.version}">sdnr-wt-ux-all</feature> + </feature> + + <feature name="onap-sdnr-all" version="${project.version}" description="ONAP :: OpenDaylight :: SDN-R :: All"> + <feature version="${project.version}">odl-mwtn-apps-all</feature> + <feature version="${project.version}">onap-sdnr-ux-all</feature> + <!-- <feature version="${project.version}">sdnr-ran-all</feature> --> + </feature> + + <feature name="sdnr-wt-apps-all" version="${project.version}" description="ONAP :: SDN-R :: WT :: All apps"> + <feature version="${project.version}">odl-mwt-models</feature> + <feature version="${project.version}">odl-mwt-websocketmanager</feature> + <feature version="${project.version}">odl-mwt-devicemanager</feature> + <!-- <feature version="${project.version}">odl-mwt-event</feature> --> + </feature> + +<!-- PoC Specific feature for "poc180628" delivery --> + <feature name="odl-mwtn-poc180628" version="${project.version}" description="MicrowaveTransportNetwork :: 180628"> + <feature>odl-dlux-preparation</feature> + <feature version="${project.version}">odl-mwtn-apps-all</feature> + <feature version="${project.version}">ht-mwtn-ux-poc180628</feature> + </feature> + + <!-- Used by install script. + Prereq: ODL basis for cluster or single. + Starts: All MWTN apps, and all UX GUIs --> + <feature name="odl-dev-all" version="${project.version}" description="MicrowaveTransportNetwork :: All"> + <feature>odl-dlux-preparation</feature> + <feature version="${project.version}">odl-mwtn-apps-all</feature> + <feature version="${project.version}">odl-mwtn-ux-all</feature> + </feature> + +<!-- + Section 2: Intermediate bundles + --> + + <!-- Startup basis for cluster, without DLUX. Have to be started before MWTN --> + <feature name="odl-mwtn-cluster-preparation" version="${project.version}" description="ONAP :: OpenDaylight :: SDN-R :: Cluster-All"> + <feature version="${mdsal.version}">odl-mdsal-clustering</feature> + <feature version="${netconf.version}">odl-netconf-clustered-topology</feature> + <feature version="${restconf.version}">odl-restconf-all</feature> + <feature version="${mdsal.version}">odl-mdsal-apidocs</feature> + </feature> + + <!-- Startup basis for single node, without DLUX. Have to be started before MWTN --> + <feature name="odl-mwtn-single-preparation" version="${project.version}" description="ONAP :: OpenDaylight :: SDN-R :: Single-All"> + <feature version="${netconf.version}">odl-netconf-topology</feature> + <feature version="${netconf.version}">odl-netconf-connector</feature> + <feature version="${restconf.version}">odl-restconf-all</feature> + <feature version="${mdsal.version}">odl-mdsal-apidocs</feature> + </feature> + + <!-- DLUX Core packages. Have to be started before MWTN --> + <feature name="odl-dlux-preparation" description="MicrowaveTransportNetwork :: Dlux preparation"> + <feature>odl-dlux-core</feature> + <feature>odl-dluxapps-nodes</feature> + </feature> + + <!-- All apps, but no UX GUI. --> + <feature name="odl-mwtn-apps-all" version="${project.version}" description="MicrowaveTransportNetwork :: All apps"> + <feature version="${project.version}">odl-ht-apigateway</feature> + <feature version="${project.version}">odl-mwt-models</feature> + <feature version="${project.version}">odl-mwt-websocketmanager</feature> + <feature version="${project.version}">odl-mwt-devicemanager</feature> + <feature version="${project.version}">odl-ht-helpserver</feature> + <feature version="${project.version}">odl-ht-info</feature> + </feature> + +<!-- + Section 3: Per app feature + --> + + <feature name="odl-mwt-models" version="${project.version}" description="MicrowaveTransportNetwork :: Device model"> + <bundle>mvn:org.opendaylight.mwtn/devicemodel/${project.version}</bundle> + </feature> + + <feature name="odl-mwt-websocketmanager" version="${project.version}" description="MicrowaveTransportNetwork :: Websocket manager"> + <bundle>mvn:org.opendaylight.mwtn/websocketmanager-api/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.mwtn/websocketmanager-impl/{{VERSION}}</bundle> + <configfile finalname="${configfile.directory}/websocketmgr.xml">mvn:org.opendaylight.mwtn/websocketmanager-impl/${project.version}/xml/config</configfile> + </feature> + + <feature name="odl-mwt-devicemanager" version="${project.version}" description="MicrowaveTransportNetwork :: Device manager"> + <feature version="${mdsal.version}">odl-mdsal-broker</feature> + <feature version="${project.version}">odl-mwt-models</feature> + <feature version="${project.version}">odl-mwt-websocketmanager</feature> + <bundle>mvn:org.opendaylight.mwtn/devicemanager-api/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.mwtn/devicemanager-impl/{{VERSION}}</bundle> + <configfile finalname="${configfile.directory}/devicemanager.xml">mvn:org.opendaylight.mwtn/devicemanager-impl/${project.version}/xml/config</configfile> + </feature> + +</features> + |