SDNC oam installer netconf clustering 24/84124/1
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Wed, 3 Apr 2019 16:56:36 +0000 (18:56 +0200)
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Wed, 3 Apr 2019 16:57:35 +0000 (18:57 +0200)
startODL enable odl cluster to install netconf clustering

Change-Id: I436106e4a1b963f2ca985eb41f8ab760a577079b
Issue-ID: SDNC-719
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Former-commit-id: b5e19cf4c857fc1d5aba5043fc792550cc8835de

installation/sdnc/src/main/docker/Dockerfile
installation/sdnc/src/main/scripts/startODL.sh

index 99bfa3a..d8ab5c3 100755 (executable)
@@ -37,7 +37,7 @@ RUN rsync -a /tmp/system $ODL_HOME && rm -rf /tmp/system
 RUN cp $ODL_HOME/etc/org.apache.karaf.features.cfg $ODL_HOME/etc/org.apache.karaf.features.cfg.orig
 RUN sed -i -e "\|featuresRepositories|s|$|,${SDNC_NORTHBOUND_REPO}|"  $ODL_HOME/etc/org.apache.karaf.features.cfg
 RUN sed -i -e "\|featuresBoot[^a-zA-Z]|s|$|,sdnc-northbound-all|"  $ODL_HOME/etc/org.apache.karaf.features.cfg
-RUN sed -i "s/odl-restconf-all/odl-restconf-all,odl-netconf-clustered-topology/g"  $ODL_HOME/etc/org.apache.karaf.features.cfg
+RUN sed -i "s/odl-restconf-all/odl-restconf-all,odl-netconf-topology/g"  $ODL_HOME/etc/org.apache.karaf.features.cfg
 
 RUN chown -R odl /opt
 USER odl
index d15fe2a..ccddd94 100755 (executable)
@@ -58,6 +58,7 @@ function enable_odl_cluster(){
   fi
 
   echo "Installing Opendaylight cluster features"
+  replaceFeatureBoot odl-netconf-topology odl-netconf-clustered-topology
   replaceFeatureBoot odl-mdsal-all odl-mdsal-all,odl-mdsal-clustering
   addToFeatureBoot odl-jolokia
   #${ODL_HOME}/bin/client feature:install odl-mdsal-clustering