From e2ed95f577bce5a690a948043a1edbfbfca8fee1 Mon Sep 17 00:00:00 2001 From: Mathieu Lemay Date: Wed, 11 Jun 2014 17:11:34 -0400 Subject: [PATCH] Created Network Service Functions Features As discussed, The ADSAL NSFs have a bad inter-dependencies amongst each other and the current set of Feature splits will not work. We can consider all the interdependent (bidirectional dependencies) bundles as a whole and install them as odl-nsf-managers and not expose individual features. Once we redesign the NSFs to become proper components, we can define individual features. Also fixed the pom hierarchy. Sample : opendaylight-user@root>feature:list | grep odl odl-nsf-all | 1.4.2-SNAPSHOT | x | nsf-1.4.2-SNAPSHOT | OpenDaylight :: NSF :: All Network Service Functio odl-nsf-managers | 1.4.2-SNAPSHOT | x | nsf-1.4.2-SNAPSHOT | OpenDaylight :: AD-SAL :: Network Service Function odl-adsal-northbound | 1.4.2-SNAPSHOT | x | nsf-1.4.2-SNAPSHOT | OpenDaylight :: AD-SAL :: Northbound APIs Change-Id: Id58223686d2dd345c9bfcdf4162ad105a621b616 Signed-off-by: Mathieu Lemay Signed-off-by: Ed Warnicke Signed-off-by: Madhu Venugopal --- features/nsf/pom.xml | 62 ++++++++++++++++ features/nsf/src/main/resources/features.xml | 73 +++++++++++++++++++ features/pom.xml | 5 ++ .../distribution/opendaylight-karaf/pom.xml | 12 +++ pom.xml | 4 - 5 files changed, 152 insertions(+), 4 deletions(-) create mode 100644 features/nsf/pom.xml create mode 100644 features/nsf/src/main/resources/features.xml diff --git a/features/nsf/pom.xml b/features/nsf/pom.xml new file mode 100644 index 0000000000..224aef1dac --- /dev/null +++ b/features/nsf/pom.xml @@ -0,0 +1,62 @@ + + + 4.0.0 + + org.opendaylight.controller + commons.opendaylight + 1.4.2-SNAPSHOT + ../../opendaylight/commons/opendaylight + + features-nsf + pom + OpenDaylight :: Features :: Network Service Functions + Feature for Network Service Functions + + features.xml + + + + + true + src/main/resources + + + + + org.apache.maven.plugins + maven-resources-plugin + + + filter + + resources + + generate-resources + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-artifacts + + attach-artifact + + package + + + + ${project.build.directory}/classes/${features.file} + xml + features + + + + + + + + + diff --git a/features/nsf/src/main/resources/features.xml b/features/nsf/src/main/resources/features.xml new file mode 100644 index 0000000000..fb61f33fb3 --- /dev/null +++ b/features/nsf/src/main/resources/features.xml @@ -0,0 +1,73 @@ + + + + odl-adsal-all + odl-nsf-managers + odl-adsal-northbound + + + + + base-all + odl-adsal-all + mvn:org.opendaylight.controller/usermanager/${usermanager.version} + mvn:org.opendaylight.controller/usermanager.implementation/${usermanager.version} + + mvn:org.opendaylight.controller/appauth/${appauth.version} + + mvn:org.opendaylight.controller/connectionmanager/${connectionmanager.version} + mvn:org.opendaylight.controller/connectionmanager.implementation/${connectionmanager.version} + + mvn:org.opendaylight.controller/containermanager/${containermanager.version} + mvn:org.opendaylight.controller/containermanager.implementation/${containermanager.version} + + mvn:org.opendaylight.controller/statisticsmanager/${statisticsmanager.version} + mvn:org.opendaylight.controller/statisticsmanager.implementation/${statisticsmanager.implementation.version} + + mvn:org.opendaylight.controller/switchmanager/${switchmanager.api.version} + mvn:org.opendaylight.controller/switchmanager.implementation/${switchmanager.implementation.version} + + mvn:org.opendaylight.controller/forwardingrulesmanager/${forwardingrulesmanager.version} + mvn:org.opendaylight.controller/forwardingrulesmanager.implementation/${forwardingrulesmanager.implementation.version} + + mvn:org.opendaylight.controller/topologymanager/${topologymanager.version} + + mvn:org.opendaylight.controller/networkconfig.neutron/${networkconfig.neutron.version} + mvn:org.opendaylight.controller/networkconfig.neutron.implementation/${networkconfig.neutron.implementation.version} + + mvn:org.opendaylight.controller/hosttracker/${hosttracker.api.version} + mvn:org.opendaylight.controller/hosttracker.implementation/${hosttracker.implementation.version} + + mvn:org.opendaylight.controller/forwarding.staticrouting + + mvn:org.opendaylight.controller.thirdparty/net.sf.jung2/2.0.1 + mvn:org.opendaylight.controller/routing.dijkstra_implementation + + + + base-all + odl-nsf-managers + mvn:org.ow2.asm/asm-all/${asm.version} + + mvn:org.opendaylight.controller/bundlescanner/${bundlescanner.api.version} + mvn:org.opendaylight.controller/bundlescanner.implementation/${bundlescanner.implementation.version} + mvn:org.opendaylight.controller/commons.northbound/${northbound.commons.version} + mvn:org.opendaylight.controller/flowprogrammer.northbound/${flowprogrammer.northbound.version} + mvn:org.opendaylight.controller/hosttracker.northbound/${hosttracker.northbound.version} + mvn:org.opendaylight.controller/networkconfig.bridgedomain.northbound/${networkconfig.bridgedomain.northbound.version} + mvn:org.opendaylight.controller/networkconfig.neutron.northbound/${networkconfig.neutron.northbound.version} + mvn:org.opendaylight.controller/forwarding.staticrouting.northbound/${forwarding.staticrouting.northbound.version} + mvn:org.opendaylight.controller/statistics.northbound/${statistics.northbound.version} + mvn:org.opendaylight.controller/subnets.northbound/${subnets.northbound.version} + mvn:org.opendaylight.controller/switchmanager.northbound/${switchmanager.northbound.version} + mvn:org.opendaylight.controller/topology.northbound/${topology.northbound.version} + mvn:org.opendaylight.controller/usermanager.northbound/${usermanager.northbound.version} + + \ No newline at end of file diff --git a/features/pom.xml b/features/pom.xml index fb40fa93b1..f69190cebd 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -13,6 +13,11 @@ 3.0 + base + controller + adsal + nsf + extras config config-persister config-netty diff --git a/opendaylight/distribution/opendaylight-karaf/pom.xml b/opendaylight/distribution/opendaylight-karaf/pom.xml index 06e0a92fa6..977fab1334 100644 --- a/opendaylight/distribution/opendaylight-karaf/pom.xml +++ b/opendaylight/distribution/opendaylight-karaf/pom.xml @@ -69,6 +69,8 @@ xml runtime + + org.opendaylight.controller features-adsal @@ -77,6 +79,16 @@ xml runtime + + org.opendaylight.controller + features-nsf + ${project.version} + features + xml + runtime + + + org.opendaylight.controller mdsal-features diff --git a/pom.xml b/pom.xml index 242ab8eb89..8bebd2aa61 100644 --- a/pom.xml +++ b/pom.xml @@ -126,10 +126,6 @@ opendaylight/commons/filter-valve - features/base - features/controller - features/adsal - features/extras opendaylight/dummy-console opendaylight/karaf-branding opendaylight/distribution/opendaylight-karaf -- 2.36.6