Move postcopy migration logic to cmdlib (#1263)
authorCalum Calder <calumcalder@users.noreply.github.com>
Wed, 16 Aug 2017 12:57:28 +0000 (13:57 +0100)
committerMorg <morg@google.com>
Wed, 16 Aug 2017 12:57:27 +0000 (13:57 +0100)
commit1aecc0c275e530d2d473b3371600134bdac5362d
treeff7fd63f4323b44dacccde702375075a196b85c0
parentea0ef6bd56fc0097b17fd6aac6844ab7bc0e595e
Move postcopy migration logic to cmdlib (#1263)

Exposed hypervisor postcopy functions via RPC, and implemented logic to execute them in the MigrateInstance tasklet.

Signed-off-by: Calum Calder <calumcalder@google.com>
Reviewed-by: Federico Morg Pareschi <morg@google.com>
lib/backend.py
lib/cmdlib/instance_migration.py
lib/hypervisor/hv_base.py
lib/hypervisor/hv_kvm/__init__.py
lib/objects.py
lib/rpc_defs.py
lib/server/noded.py
src/Ganeti/Constants.hs
test/py/cmdlib/instance_migration_unittest.py
test/py/ganeti.hypervisor.hv_kvm_unittest.py