From: Luis Gomez Date: Thu, 19 Oct 2017 07:10:43 +0000 (-0700) Subject: Add AKKA debug in OF cluster test X-Git-Tag: pre-potassium~1123 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=2fda3c658f040405ff7c154ecb0fcbe92f51bff4;p=integration%2Ftest.git Add AKKA debug in OF cluster test Change-Id: I1c8657564785bcc3a156cd06d3167009f09eff2f Signed-off-by: Luis Gomez --- diff --git a/csit/configplans/openflowplugin-clustering.txt b/csit/configplans/openflowplugin-clustering.txt new file mode 100644 index 0000000000..3d27c2f57e --- /dev/null +++ b/csit/configplans/openflowplugin-clustering.txt @@ -0,0 +1,2 @@ +# Place the suites in run order: +integration/test/csit/scripts/set_akka_debug.sh diff --git a/csit/scripts/set_akka_debug.sh b/csit/scripts/set_akka_debug.sh new file mode 100644 index 0000000000..e65b351b74 --- /dev/null +++ b/csit/scripts/set_akka_debug.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +cat > ${WORKSPACE}/set_akka_debug.sh <> ${LOGCONF} + echo "Dump ${LOGCONF}" + cat ${LOGCONF} + +EOF + +echo "Copying config files to ODL Controller folder" +for i in `seq 1 ${NUM_ODL_SYSTEM}` +do + CONTROLLERIP=ODL_SYSTEM_${i}_IP + + echo "Set AKKA debug on ${!CONTROLLERIP}" + scp ${WORKSPACE}/set_akka_debug.sh ${!CONTROLLERIP}:/tmp/ + ssh ${!CONTROLLERIP} "bash /tmp/set_akka_debug.sh $i" +done +