Implement job submission for scripts
authorIustin Pop <iustin@google.com>
Mon, 4 Aug 2008 09:47:08 +0000 (09:47 +0000)
committerIustin Pop <iustin@google.com>
Mon, 4 Aug 2008 09:47:08 +0000 (09:47 +0000)
commit94428652d25416db5df5c289877c46df486c36a5
treecd61140d0dc7fe1e04c01c9ffe6d64b3e881b97d
parent17dc2da0d3f91fa3b2ad4e101e98adfc60b86d8e
Implement job submission for scripts

This patch adds the infrastructure for executing a job in background,
instead of foreground, via a new “--submit” option. The behaviour is
that the job ID is printed and the script will immediately exit.

The patch also converts gnt-node list to this model (yes, this will be a
query in the future).

Reviewed-by: imsnah
lib/cli.py
scripts/gnt-node