Modify cli.JobExecutor to use SubmitManyJobs
authorIustin Pop <iustin@google.com>
Fri, 22 May 2009 10:25:31 +0000 (12:25 +0200)
committerIustin Pop <iustin@google.com>
Fri, 22 May 2009 12:58:12 +0000 (14:58 +0200)
commit23b4b983afc9b9e81d558f06e4e0cde53703e575
treed84a9167815d4eb03e74516f36c6882fb8e17ddd
parent64bfbc08feb59590a40c8d4e345a0cd34d6486ce
Modify cli.JobExecutor to use SubmitManyJobs

This patch changes the generic "multiple job executor" to use the many
jobs submit model, which automatically makes all its users use the new
model.

This makes, for example, startup/shutdown of a full cluster much more
logical (all the submitted job IDs are visible fast, and then waiting
for them proceeds normally).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/cli.py