HyperV: Add todo to remove HyperVLiveMigrateData object
With HyperV driver going away, HyperVLiveMigrateData is not needed but we will keep it for a couple of cycle. Adding note about removing it in later releases. Change-Id: I3574488faffb5a6f5993097496be4de146d61d5c
This commit is contained in:
@@ -827,8 +827,8 @@ class DiskFormat(BaseNovaEnum):
|
||||
ALL = (RBD, LVM, QCOW2, RAW, PLOOP, VHD, VMDK, VDI, ISO)
|
||||
|
||||
|
||||
# TODO(stephenfin): Remove the xenapi value when we bump the 'Diagnostics'
|
||||
# object (the only user of this enum) to 2.0
|
||||
# TODO(stephenfin): Remove the xenapi and hyperv value when we bump the
|
||||
# 'Diagnostics' object (the only user of this enum) to 2.0
|
||||
class HypervisorDriver(BaseNovaEnum):
|
||||
LIBVIRT = "libvirt"
|
||||
XENAPI = "xenapi"
|
||||
|
||||
@@ -327,6 +327,9 @@ class LibvirtLiveMigrateData(LiveMigrateData):
|
||||
return self.is_shared_block_storage or self.is_shared_instance_path
|
||||
|
||||
|
||||
# TODO(gmann): HyperV virt driver has been removed in Nova 29.0.0 (OpenStack
|
||||
# 2024.1) release but we kept this object for a couple of cycle. This can be
|
||||
# removed too in Nova 31.0.0 (OpenStack 2025.1) or later.
|
||||
@obj_base.NovaObjectRegistry.register
|
||||
class HyperVLiveMigrateData(LiveMigrateData):
|
||||
# Version 1.0: Initial version
|
||||
|
||||
Reference in New Issue
Block a user