Switch the instance_shutdown rpc to (status, data)
authorIustin Pop <iustin@google.com>
Thu, 12 Feb 2009 07:30:44 +0000 (07:30 +0000)
committerIustin Pop <iustin@google.com>
Thu, 12 Feb 2009 07:30:44 +0000 (07:30 +0000)
commit1fae010f2b0bd66e1e3ccb5b33f981b2f7f4d9d3
treefa8d4705c7303fe9eadfe1cfa54ffcb3a597cc82
parent489fcbe9d69b4d1d32a82d644d914039d7dfeff0
Switch the instance_shutdown rpc to (status, data)

This patch changes the return type from this RPC call to include status
information and renames the backend method to match the RPC call name.

The patch is a little bigger than the reboot one, since this call is
used in more than one place. However, all the points of call have the
same usage pattern, so the patch is trivial.

Reviewed-by: ultrotter
daemons/ganeti-noded
lib/backend.py
lib/cmdlib.py