Trees | Indices | Help |
|
---|
|
Reader class for OVF files.
|
|||
|
|||
list |
|
||
ET.ElementTree or None |
|
||
ET.ElementTree or None |
|
||
|
|||
string |
|
||
string or None |
|
||
dict |
|
||
dict |
|
||
dict |
|
||
string or None |
|
||
string |
|
||
dict |
|
||
list |
|
||
Inherited from |
|
|||
dict |
|
|
|||
Inherited from |
|
Initialiaze the reader - load the .ovf file to XML parser. It is assumed that names of manifesto (.mf), certificate (.cert) and ovf files are the same. In order to account any other files as part of the ovf package, they have to be explicitly mentioned in the Resources section of the .ovf file.
|
Get specified attribute from all nodes accessible using given path. Function follows the path from root node to the desired tags using path, then reads the apropriate attribute values.
|
Searches for element on a path that matches certain attribute value. Function follows the path from root node to the desired tags using path, then searches for the first one matching the attribute value.
|
Searches for element on a path that matches certain text value. Function follows the path from root node to the desired tags using path, then searches for the first one matching the text value.
|
Reads text in all children and creates the dictionary from the contents.
|
Verifies manifest for the OVF package, if one is given.
|
Provides information about instance name.
|
Returns disk template from .ovf file
|
Provides hypervisor information - hypervisor name and options.
|
Provides operating system information - os name and options.
|
Provides backend information - vcpus, memory, auto balancing options.
|
Provides tags information for instance.
|
Provides version number read from .ovf file
|
Provides data about the network in the OVF instance. The method gathers the data about networks used by OVF instance. It assumes that 'name' tag means something - in essence, if it contains one of the words 'bridged' or 'routed' then that will be the mode of this network in Ganeti. The information about the network can be either in GanetiSection or VirtualHardwareSection.
|
Provides list of file names for the disks used by the instance.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 4 13:44:03 2016 | http://epydoc.sourceforge.net |