Return link_name in blockdev_assemble rpc
authorDimitris Aragiorgis <dimara@grnet.gr>
Wed, 9 Oct 2013 14:45:34 +0000 (17:45 +0300)
committerThomas Thrainer <thomasth@google.com>
Thu, 24 Oct 2013 09:27:31 +0000 (11:27 +0200)
commitff5def9ba0776ccbd256930e261fffc153831dce
tree5f8b0811a7ab4d06640fb126f7305b66fc5b7e3e
parentc570893184d4569d4e589b6ffddf6f8e80dbf1fb
Return link_name in blockdev_assemble rpc

Until now this RPC returned only dev_path. Since we use it in
hotplug we have to know the simlink of the device so that we
pass it to the corresponding hypervisor command and include it
in block_devices entry in runtime files.

Fix unittest to be aware of changed rpc

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
lib/backend.py
test/py/cmdlib/instance_migration_unittest.py
test/py/cmdlib/instance_unittest.py