Switch the blockdev_remove rpc to (status, data)
authorIustin Pop <iustin@google.com>
Tue, 10 Feb 2009 14:44:30 +0000 (14:44 +0000)
committerIustin Pop <iustin@google.com>
Tue, 10 Feb 2009 14:44:30 +0000 (14:44 +0000)
commite1bc0878fcfeb85973f6701830a641ca4e905934
tree6e010d1f9dcf5a5478c6c1f51c1d647aebdc52a3
parent746f7476f3f28da87dc757f686b64ebd3de4f87f
Switch the blockdev_remove rpc to (status, data)

This converts the backend and cmdlib modules to a (status, data)
implementation of the blockdev_remove rpc call. bdev.py is not yet
converted, so we don't actually have error information.

We also fix a bug in _RemoveDisks by not reusing a variable.

Reviewed-by: ultrotter
lib/backend.py
lib/cmdlib.py