The cinder.volume.drivers.vmware.vmware_images Module

Utility functions for Image transfer.

fetch_image(context, timeout_secs, image_service, image_id, **kwargs)

Download image from the glance image server.

start_transfer(context, timeout_secs, read_file_handle, data_size, write_file_handle=None, image_service=None, image_id=None, image_meta=None)

Start the data transfer from the reader to the writer.

Reader writes to the pipe and the writer reads from the pipe. This means that the total transfer time boils down to the slower of the read/write and not the addition of the two times.

upload_image(context, timeout_secs, image_service, image_id, owner_id, **kwargs)

Upload the snapshot vm disk file to Glance image server.

Previous topic

The cinder.volume.drivers.vmware.vmdk Module

Next topic

The cinder.volume.drivers.vmware.volumeops Module

This Page