« Previous | Next » 

Revision 4cff5d70

Parent f582cd0e
Child db1f6f47

Added by Daniel Molina over 8 years ago

Extend vmm_dummy functionality. Success/failure result can be defined per action

By default all actions will succeed

Action results can be specified in the DUMMY_ACTIONS_DIRS (/tmp/opennebula_dummy_actions) * Example, Next deploy will fail
echo "failure" > $DUMMY_ACTIONS_DIR/deploy
If this file is not removed next deploy actions will fail
echo "success" > $DUMMY_ACTIONS_DIR/deploy * Example, Defining multiple results per action
echo "success\nfailure" > $DUMMY_ACTIONS_DIR/deploy
The 1st deploy will succeed and the 2nd will fail. This
behavior will be repeated, i.e 3th success, 4th failure


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences