module documentation
Converter tools between ovf and ganeti config file
Class |
|
This is just a wrapper on ConfigParser, that uses default values |
Class |
|
Converter class for OVF packages. |
Class |
|
Converter from Ganeti config file to OVF |
Class |
|
Converter from OVF to Ganeti config file. |
Class |
|
Reader class for OVF files. |
Class |
|
Writer class for OVF files. |
Function |
|
Make sure that qemu-img is present before performing operations. |
Function |
|
Create link with a given prefix and suffix. |
Function |
|
This is just a wrapper on ET.SubElement that always has text content. |
Constant | ALLOCATION |
Undocumented |
Constant | ALLOWED |
Undocumented |
Constant | ALLOWED |
Undocumented |
Constant | AUTO |
Undocumented |
Constant | CERT |
Undocumented |
Constant | COMPRESS |
Undocumented |
Constant | COMPRESSION |
Undocumented |
Constant | COMPRESSION |
Undocumented |
Constant | CONVERT |
Undocumented |
Constant | COW |
Undocumented |
Constant | DECOMPRESS |
Undocumented |
Constant | DISK |
Undocumented |
Constant | DISK |
Undocumented |
Constant | FILE |
Undocumented |
Constant | GANETI |
Undocumented |
Constant | HYPERV |
Undocumented |
Constant | INSTANCE |
Undocumented |
Constant | MEMORY |
Undocumented |
Constant | MF |
Undocumented |
Constant | NAME |
Undocumented |
Constant | NO |
Undocumented |
Constant | OS |
Undocumented |
Constant | OVA |
Undocumented |
Constant | OVF |
Undocumented |
Constant | OVF |
Undocumented |
Constant | RASD |
Undocumented |
Constant | RASD |
Undocumented |
Constant | RAW |
Undocumented |
Constant | SCSI |
Undocumented |
Constant | TAGS |
Undocumented |
Constant | VCPUS |
Undocumented |
Constant | VERSION |
Undocumented |
Constant | VMDK |
Undocumented |
Constant | VS |
Undocumented |
Constant | VSSD |
Undocumented |
Constant | XML |
Undocumented |
Make sure that qemu-img is present before performing operations.
Raises | |
errors.OpPrereqError | when qemu-img was not found in the system |
Create link with a given prefix and suffix.
This is a wrapper over os.link. It tries to create a hard link for given file, but instead of rising error when file exists, the function changes the name a little bit.
Parameters | |
old | path to the file that is to be linked |
prefix:string | prefix of filename for the link |
suffix:string | suffix of the filename for the link |
directory:string | directory of the link |
Raises | |
errors.OpPrereqError | when error on linking is different than "File exists" |
Undocumented
Value |
|
CONVERT_UNITS_TO_MB =
¶
Undocumented
Value |
|
Undocumented
Value |
|
Undocumented
Value |
|