The cinder.volume.drivers.windows.vhdutils
Module¶
Utility class for VHD related operations.
Official VHD format specs can be retrieved at: http://technet.microsoft.com/en-us/library/bb676673.aspx See “Download the Specifications Without Registering”
Official VHDX format specs can be retrieved at: http://www.microsoft.com/en-us/download/details.aspx?id=34750
VHD related Win32 API reference: http://msdn.microsoft.com/en-us/library/windows/desktop/dd323700.aspx
-
class
VHDUtils
¶ Bases:
object
-
convert_vhd
(src, dest, vhd_type=3)¶
-
create_differencing_vhd
(path, parent_path)¶
-
create_dynamic_vhd
(path, max_internal_size)¶
-
static
get_WIN32_VIRTUAL_STORAGE_TYPE_VENDOR_MSFT
()¶
-
get_vhd_info
(vhd_path, info_members=None)¶
-
get_vhd_parent_path
(vhd_path)¶
-
get_vhd_size
(vhd_path)¶ Return vhd size.
Returns a dict containing the virtual size, physical size, block size and sector size of the vhd.
-
merge_vhd
(vhd_path)¶
-
reconnect_parent
(child_path, parent_path)¶
-
resize_vhd
(vhd_path, new_max_size)¶
-