Add feature for alto-hosttracker 29/36929/2
authorKai GAO <gaok12@mails.tsinghua.edu.cn>
Mon, 15 Feb 2016 02:15:47 +0000 (10:15 +0800)
committerKai GAO <gaok12@mails.tsinghua.edu.cn>
Thu, 31 Mar 2016 10:31:52 +0000 (18:31 +0800)
Patch set 2: added to SR1

Change-Id: I606735396e82b8bebf73a02aef7307efa1a5f80b
Signed-off-by: Kai GAO <gaok12@mails.tsinghua.edu.cn>
alto-release-features/pom.xml
alto-release-features/src/main/features/features.xml

index 90a37941b1f86040d6a39a321a6d0d86f1575038..df4f1e6759df9b0d6a4cc2cf2ea49f0163160f19 100644 (file)
@@ -26,6 +26,8 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
     <yangtools.version>1.0.0-SNAPSHOT</yangtools.version>
     <dlux.version>0.4.0-SNAPSHOT</dlux.version>
     <configfile.directory>etc/opendaylight/karaf</configfile.directory>
+    <l2switch.version>0.4.0-SNAPSHOT</l2switch.version>
+    <openflow.plugin.version>0.3.0-SNAPSHOT</openflow.plugin.version>
   </properties>
 
   <dependencyManagement>
@@ -185,6 +187,12 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
       <version>${project.version}</version>
     </dependency>
 
+    <dependency>
+      <groupId>org.opendaylight.alto.core</groupId>
+      <artifactId>alto-service-model-endpointproperty-api</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+
     <dependency>
       <groupId>org.opendaylight.alto.core</groupId>
       <artifactId>alto-service-model-costmap-api</artifactId>
@@ -210,5 +218,56 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
       <artifactId>alto-simple-ird-api</artifactId>
       <version>${project.version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.opendaylight.openflowplugin</groupId>
+      <artifactId>features-openflowplugin</artifactId>
+      <classifier>features</classifier>
+      <version>${openflow.plugin.version}</version>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.openflowplugin.model</groupId>
+      <artifactId>model-flow-statistics</artifactId>
+      <version>${openflow.plugin.version}</version>
+      <type>jar</type>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.l2switch</groupId>
+      <artifactId>features-l2switch</artifactId>
+      <classifier>features</classifier>
+      <version>${l2switch.version}</version>
+      <type>xml</type>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.l2switch.addresstracker</groupId>
+      <artifactId>addresstracker-model</artifactId>
+      <version>${l2switch.version}</version>
+      <type>jar</type>
+    </dependency>
+    <dependency>
+      <groupId>org.opendaylight.l2switch.hosttracker</groupId>
+      <artifactId>hosttracker-model</artifactId>
+      <version>${l2switch.version}</version>
+      <type>jar</type>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}.basic</groupId>
+      <artifactId>endpointcostservice-impl</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}.basic</groupId>
+      <artifactId>endpointcostservice-impl</artifactId>
+      <version>${project.version}</version>
+      <type>xml</type>
+      <classifier>config</classifier>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}.basic</groupId>
+      <artifactId>endpointcostservice-api</artifactId>
+      <version>${project.version}</version>
+    </dependency>
   </dependencies>
 </project>
index 875949ac1998296076abb8051e8411a13d138497..781a9aa470a1c95f75bf8488bdce23e9d6d6143c 100644 (file)
@@ -15,8 +15,8 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <repository>mvn:org.opendaylight.mdsal.model/features-mdsal-model/${mdsal.model.version}/xml/features</repository>
   <repository>mvn:org.opendaylight.netconf/features-restconf/${restconf.version}/xml/features</repository>
   <repository>mvn:org.opendaylight.yangtools/features-yangtools/${yangtools.version}/xml/features</repository>
-
-  <!-- TODO add features repository for alto-core and alto-basic -->
+  <repository>mvn:org.opendaylight.l2switch/features-l2switch/${l2switch.version}/xml/features</repository>
+  <repository>mvn:org.opendaylight.openflowplugin/features-openflowplugin/${openflow.plugin.version}/xml/features</repository>
 
   <feature name='odl-alto-release' version='${project.version}'
           description='OpenDaylight :: alto :: Release'>
@@ -94,10 +94,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <bundle>mvn:org.opendaylight.alto.core/alto-service-model-networkmap-api/${project.version}</bundle>
     <bundle>mvn:org.opendaylight.alto.core/alto-service-model-endpointcost-api/${project.version}</bundle>
     <bundle>mvn:org.opendaylight.alto.core/alto-service-model-costmap-api/${project.version}</bundle>
-
-    <!--
-      TODO :: service models for cost map and endpoint property
-    -->
+    <bundle>mvn:org.opendaylight.alto.core/alto-service-model-endpointproperty-api/${project.version}</bundle>
   </feature>
 
   <feature name='odl-alto-standard-northbound-route' version='${project.version}'
@@ -142,6 +139,19 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <feature name='odl-alto-hosttracker' version='${project.version}'
             description='OpenDaylight :: alto :: hosttracker'>
     <!-- TODO -->
+    <feature version='${mdsal.model.version}'>odl-mdsal-models</feature>
+    <feature version='${mdsal.version}'>odl-mdsal-broker</feature>
+    <feature version='${l2switch.version}'>odl-l2switch-hosttracker</feature>
+    <feature version='${l2switch.version}'>odl-l2switch-addresstracker</feature>
+    <feature version='${openflow.plugin.version}'>odl-openflowplugin-flow-services</feature>
+
+    <feature version='${project.version}'>odl-alto-core</feature>
+
+    <bundle>mvn:org.opendaylight.alto.basic/endpointcostservice-api/${project.version}</bundle>
+    <bundle>mvn:org.opendaylight.alto.basic/endpointcostservice-impl/${project.version}</bundle>
+    <configfile finalname="${configfile.directory}/alto-hosttracker.xml">
+        mvn:org.opendaylight.alto.basic/endpointcostservice-impl/${project.version}/xml/config
+    </configfile>
   </feature>
 
   <feature name='odl-alto-nonstandard-types' version='${project.version}'