Author: richter Date: Mon Apr 4 15:11:09 2011 New Revision: 2508 Log: add stop action to virtual testbed Added: trunk/tools/testbed/pisa-testbed_vms/plugins/actions/stop/ trunk/tools/testbed/pisa-testbed_vms/plugins/actions/stop/node_hook Added: trunk/tools/testbed/pisa-testbed_vms/plugins/actions/stop/node_hook ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/tools/testbed/pisa-testbed_vms/plugins/actions/stop/node_hook Mon Apr 4 15:11:09 2011 (r2508) @@ -0,0 +1,10 @@ +#!/bin/sh + +echo "stopping $NODE " +for CLASS in $(cat $BUILD_PATH/${NODE}_classes); do + CLASS_PATH="$TESTBED_PATH/plugins/classes/$CLASS" + if [ -d "$CLASS_PATH" ]; then + [ -f "$CLASS_PATH/stop" ] && . $CLASS_PATH/stop + fi +done +echo " ... done" -- This is the pisa developer mailing list. Please also subscribe to the main pisa list at: //www.freelists.org/list/pisa