X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Finclude-raw-integration-configure-clustering.sh;h=fda080ddf10716cf8446a33f30fa4cb3577f1cee;hb=refs%2Fchanges%2F17%2F38317%2F2;hp=0950622f247c4f18cbc0c65d209cf996c2fd418b;hpb=2012ae85ff85182869c8ae316ce6b6c081bdd5f3;p=releng%2Fbuilder.git diff --git a/jjb/integration/include-raw-integration-configure-clustering.sh b/jjb/integration/include-raw-integration-configure-clustering.sh index 0950622f2..fda080ddf 100644 --- a/jjb/integration/include-raw-integration-configure-clustering.sh +++ b/jjb/integration/include-raw-integration-configure-clustering.sh @@ -58,13 +58,14 @@ echo "Changing to /tmp" cd /tmp echo "Downloading the distribution from ${ACTUALBUNDLEURL}" -wget --no-verbose '${ACTUALBUNDLEURL}' +wget --progress=dot:mega '${ACTUALBUNDLEURL}' echo "Extracting the new controller..." unzip -q ${BUNDLE} echo "Configuring the startup features..." FEATURESCONF=/tmp/${BUNDLEFOLDER}/etc/org.apache.karaf.features.cfg +CUSTOMPROP=/tmp/${BUNDLEFOLDER}/etc/custom.properties sed -ie "s/featuresBoot=.*/featuresBoot=config,standard,region,package,kar,ssh,management,${ACTUALFEATURES}/g" \${FEATURESCONF} sed -ie "s%mvn:org.opendaylight.integration/features-integration-index/${BUNDLEVERSION}/xml/features%mvn:org.opendaylight.integration/features-integration-index/${BUNDLEVERSION}/xml/features,mvn:org.opendaylight.integration/features-integration-test/${BUNDLEVERSION}/xml/features%g" \${FEATURESCONF} cat \${FEATURESCONF} @@ -76,6 +77,12 @@ sed -ie 's/log4j.appender.out.maxBackupIndex=10/log4j.appender.out.maxBackupInde sed -ie 's/log4j.appender.out.maxFileSize=1MB/log4j.appender.out.maxFileSize=100GB/g' \${LOGCONF} cat \${LOGCONF} +if [ "${ODL_ENABLE_L3_FWD}" == "yes" ]; then + echo "Enable the l3.fwd in custom.properties.." + echo "ovsdb.l3.fwd.enabled=yes" >> \${CUSTOMPROP} + cat \${CUSTOMPROP} +fi + echo "Configure java home and max memory..." MEMCONF=/tmp/${BUNDLEFOLDER}/bin/setenv sed -ie 's%^# export JAVA_HOME%export JAVA_HOME="\${JAVA_HOME:-${JAVA_HOME}}"%g' \${MEMCONF} @@ -113,6 +120,11 @@ cat ${MODULESCONF} echo "Dump module-shards.conf" cat ${MODULESHARDSCONF} +EOF + +# Create the startup script to be run on controllers. +cat > ${WORKSPACE}/startup-script.sh <