« Previous | Next » 

Revision fcafd191


Added by Jose A. Lopes about 7 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 <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences