Use object for blockdev_find RPC call result
authorMichael Hanselmann <hansmi@google.com>
Tue, 4 Aug 2009 16:21:13 +0000 (18:21 +0200)
committerMichael Hanselmann <hansmi@google.com>
Wed, 5 Aug 2009 09:12:49 +0000 (11:12 +0200)
commit96acbc09b70c82051e2156744bf1ae6752004cb7
tree369d54db8a393c5928fd879e92221d06d41f0800
parent5354879847c30c4a3d3a71afe518d8e44e55a189
Use object for blockdev_find RPC call result

This patch changes the return type for backend.BlockdevFind to an object
(objects.BlockDevStatus). Before a tuple was used. Adding more values to
this tuple causes a lot of work.  Converting the result to an object with
properties will make this a bit simpler.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
daemons/ganeti-noded
lib/backend.py
lib/bdev.py
lib/cmdlib.py
lib/objects.py
lib/rpc.py