run_plan "script"
-# Run script plan in case it exists
-if [ -f ${WORKSPACE}/test/csit/scriptplans/${TESTPLAN} ]; then
- echo "scriptplan exists!!!"
- echo "Reading the scriptplan:"
- cat ${WORKSPACE}/test/csit/scriptplans/${TESTPLAN} | sed "s:integration:${WORKSPACE}:" > scriptplan.txt
- cat scriptplan.txt
- for line in $( egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' scriptplan.txt ); do
- echo "Executing ${line}..."
- source ${line}
- done
-fi
-
# Create the configuration script to be run on controllers.
cat > ${WORKSPACE}/configuration-script.sh <<EOF
set -x
fi
cat ${FEATURESCONF}
-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
-
configure_karaf_log "${KARAF_VERSION}" "${CONTROLLERDEBUGMAP}"
set_java_vars "${JAVA_HOME}" "${CONTROLLERMEM}" "${MEMCONF}"