gnt-job cancel: Confirmation and selection of jobs
authorMichael Hanselmann <hansmi@google.com>
Fri, 12 Oct 2012 09:10:13 +0000 (11:10 +0200)
committerMichael Hanselmann <hansmi@google.com>
Wed, 17 Oct 2012 11:12:07 +0000 (13:12 +0200)
commite1c701e78e7dcb5e567abcde60c448524ff084fb
tree6512cc846baf04774862325cb940aa4b775b55f4
parenta57b2bb759b9ae7024c0a96cec981b67791419ef
gnt-job cancel: Confirmation and selection of jobs

New parameters, “--pending”, “--queued” and “--waiting”, are added to
select all jobs in the respective state. If one of those options is used
and “--force” is not given, the user is asked to confirm the operation.
Unit tests are included.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Makefile.am
lib/client/gnt_job.py
man/gnt-job.rst
test/ganeti.client.gnt_job_unittest.py [new file with mode: 0755]