Classes to handle image files. Collection of classes to handle image upload/download to/from Image service (like Glance image storage and retrieval service) from/to VMware server.
Bases: object
Glance file read handler class.
A dummy close just to maintain consistency.
Get the next item from the image iterator.
Read an item from the queue.
The chunk size is ignored for the Client ImageBodyIterator uses its own CHUNKSIZE.
Bases: object
Base class for VMDK file access over HTTP.
Close the file handle.
Find the URL corresponding to a vmdk disk in lease info.
Get size of the file to be read.
return IPv4/v6 compatible url constructed for host.
Read a chunk of data.
Write data to the file.
Bases: cinder.volume.drivers.vmware.read_write_util.VMwareHTTPFile
read VMDK over HTTP using VMware HttpNfcLease.
End the lease and close the connection.
Read a chunk from file.
Updates progress to lease.
This call back to the lease is essential to keep the lease alive across long running read operations.
Bases: cinder.volume.drivers.vmware.read_write_util.VMwareHTTPFile
VMware file write handler class.
Get the response and close the connection.
Write to the file.
Bases: cinder.volume.drivers.vmware.read_write_util.VMwareHTTPFile
Write VMDK over HTTP using VMware HttpNfcLease.
End the lease and close the connection.
Updates progress to lease.
This call back to the lease is essential to keep the lease alive across long running write operations.
Write to the file.