Merge "Add periodic csit job for performance testing BGP"
[releng/builder.git] / jjb / integration / include-raw-integration-deploy-controller.sh
index cad6993c2ed1cb357e0b5414cf002c2ab17149dd..5a0e8debb05ebada1f54e263e50ccbafa74df8c9 100644 (file)
@@ -38,14 +38,17 @@ MEMCONF=/tmp/${BUNDLEFOLDER}/bin/setenv
 sed -ie 's/JAVA_MAX_MEM="2048m"/JAVA_MAX_MEM="${CONTROLLERMEM}"/g' \${MEMCONF}
 cat \${MEMCONF}
 
+echo "Listing all open ports on controller system"
+netstat -natu
+
 EOF
 
-CONTROLLERIPS=(${CONTROLLER0} ${CONTROLLER1} ${CONTROLLER2})
-for i in "${!CONTROLLERIPS[@]}"
+ODL_SYSTEM_IPS=(${ODL_SYSTEM_1_IP} ${ODL_SYSTEM_2_IP} ${ODL_SYSTEM_3_IP})
+for i in "${!ODL_SYSTEM_IPS[@]}"
 do
-    echo "Installing distribution in member-$((i+1)) with IP address ${CONTROLLERIPS[$i]}"
-    scp ${WORKSPACE}/deploy-controller-script.sh ${CONTROLLERIPS[$i]}:/tmp
-    ssh ${CONTROLLERIPS[$i]} 'bash /tmp/deploy-controller-script.sh'
+    echo "Installing distribution in member-$((i+1)) with IP address ${ODL_SYSTEM_IPS[$i]}"
+    scp ${WORKSPACE}/deploy-controller-script.sh ${ODL_SYSTEM_IPS[$i]}:/tmp
+    ssh ${ODL_SYSTEM_IPS[$i]} 'bash /tmp/deploy-controller-script.sh'
 done
 
 # vim: ts=4 sw=4 sts=4 et ft=sh :