[pisa-src] r2507 - in trunk/tools/testbed/pisa-testbed_vms/plugins/actions/start: . node_hook

  • From: Samuel Richter <samuel.richter@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 04 Apr 2011 15:10:30 +0200

Author: richter
Date: Mon Apr  4 15:10:29 2011
New Revision: 2507

Log:
add start action to virtual testbed

Added:
   trunk/tools/testbed/pisa-testbed_vms/plugins/actions/start/
   trunk/tools/testbed/pisa-testbed_vms/plugins/actions/start/node_hook

Added: trunk/tools/testbed/pisa-testbed_vms/plugins/actions/start/node_hook
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/tools/testbed/pisa-testbed_vms/plugins/actions/start/node_hook        
Mon Apr  4 15:10:29 2011        (r2507)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+echo "starting $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/start" ] && . $CLASS_PATH/start
+    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

Other related posts:

  • » [pisa-src] r2507 - in trunk/tools/testbed/pisa-testbed_vms/plugins/actions/start: . node_hook - Samuel Richter