gnt-* use the correct opcode slot to build opcodes
authorGuido Trotter <ultrotter@google.com>
Tue, 13 Oct 2009 12:26:49 +0000 (13:26 +0100)
committerGuido Trotter <ultrotter@google.com>
Tue, 13 Oct 2009 13:02:46 +0000 (14:02 +0100)
commit4d98c5658a6d01a7be3bb08c6c7328bb6d9678ae
treeacbcc730cbcb0007ffc3bf8d77bcced35a68d1ca
parentf940cf6195755e1a150d54b64d5e51e7c82feab4
gnt-* use the correct opcode slot to build opcodes

gnt-* scripts were building wrong opcodes for commands which had the
shutdown_timeout slot (due to missing testing after renaming). Fixing.

Also change SHUTDOWN_TIMEOUT_OPT dest field name to "shutdown_timeout":
it was set to "timeout". It would still work that way, but possibly be
confusing.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/cli.py
scripts/gnt-backup
scripts/gnt-instance