glance.async.flows package¶
Submodules¶
glance.async.flows.base_import module¶
glance.async.flows.convert module¶
glance.async.flows.introspect module¶
glance.async.flows.ovf_process module¶
-
class
glance.async.flows.ovf_process.
OVAImageExtractor
[source]¶ Bases:
object
Extracts and parses the uploaded OVA package
A class that extracts the disk image and OVF file from an OVA tar archive. Parses the OVF file for metadata of interest.
-
extract
(ova)[source]¶ Extracts disk image and OVF file from OVA package
Extracts a single disk image and OVF from OVA tar archive and calls OVF parser method.
Parameters: ova – a file object containing the OVA file Returns: a tuple of extracted disk file object and dictionary of properties parsed from the OVF file Raises: RuntimeError for malformed OVA and OVF files
-