BUG-7558: BGP SingleFeatureTest Failure 39/50539/2
authorClaudio D. Gasparini <cgaspari@cisco.com>
Tue, 17 Jan 2017 11:55:05 +0000 (12:55 +0100)
committerClaudio D. Gasparini <cgaspari@cisco.com>
Tue, 17 Jan 2017 12:00:05 +0000 (13:00 +0100)
BGP SingleFeatureTest Failure fix by
create an specific feature for all
config-file and added as a dependency
for Config-loader feature.

Change-Id: Ifb79c898ea8cba4e68fdd257c2d8c3498ebb559b
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
features/bgp/src/main/features/features.xml

index d5f5dae757e7ee0dc232fc62eeb60b6364dd1215..0ac6b0b0a2286515900879ed374e5138b61a49e2 100644 (file)
         <feature version='${project.version}'>odl-bgpcep-bgp-path-selection-mode</feature>
         <feature version='${project.version}'>odl-bgpcep-bgp-topology</feature>
         <feature version='${project.version}'>odl-bgpcep-bgp-cli</feature>
+        <feature version='${project.version}'>odl-bgpcep-config-files</feature>
         <configfile finalname="etc/opendaylight/karaf/31-bgp.xml">mvn:org.opendaylight.bgpcep/bgp-controller-config/{{VERSION}}/xml/config</configfile>
+    </feature>
+
+    <feature name="odl-bgpcep-config-files" version='${project.version}'>
         <configfile finalname="etc/opendaylight/bgp/protocols-config.xml">mvn:org.opendaylight.bgpcep/bgp-controller-config/{{VERSION}}/xml/bgp-initial-config</configfile>
         <configfile finalname="etc/opendaylight/bgp/network-topology-config.xml">mvn:org.opendaylight.bgpcep/bgp-controller-config/{{VERSION}}/xml/network-topology-initial-config</configfile>
     </feature>
     </feature>
 
     <feature name="odl-bgpcep-bgp-config-loader" version='${project.version}'>
+        <feature version='${project.version}'>odl-bgpcep-config-files</feature>
         <feature version='${mdsal.common.version}'>odl-mdsal-binding-runtime</feature>
         <bundle>mvn:org.opendaylight.bgpcep/bgp-config-loader-spi/{{VERSION}}</bundle>
         <bundle>mvn:org.opendaylight.bgpcep/bgp-config-loader-impl/{{VERSION}}</bundle>