« Previous | Next » 

Revision fcafd191

IDfcafd1917ef328243d51d2812660a1570e1ed409

Added by Jose A. Lopes about 10 years ago

Add helper to handle CLIs that optionally spawn several jobs

This helper function detects whether an opcode returned a list of jobs
(i.e., a result of the type ht.TJobIdListOnly) and in this case it
uses 'ganeti.cli.JobExecutor' to wait for the jobs and determine the
return code which is based on the return codes of all jobs.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Helga Velroyen <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences