Converter from OVF to Ganeti config file.
|
|
|
|
|
Parse(self)
Parses the data and creates a structure containing all required info. |
source code
|
|
string
|
|
string
|
|
dict
|
|
dict
|
|
dict
|
|
string
|
|
dict
|
|
dict
|
|
dict
|
|
|
Save(self)
Saves all the gathered information in a constant.EXPORT_CONF_FILE
file. |
source code
|
|
Inherited from Converter :
Cleanup ,
__init__
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
string
|
input_dir
directory in which the .ovf file resides
|
string
|
input_path
complete path to the .ovf file
|
string
|
output_dir
directory to which the results of conversion shall be written
|
OVFReader
|
ovf_reader
OVF reader instance collects data from .ovf file
|
dict
|
results_backend
backend information gathered from .ovf file or command line arguments
|
dict
|
results_disk
disk information gathered from .ovf file or command line arguments
|
dict
|
results_hypervisor
hypervisor information gathered from .ovf file or command line
arguments
|
string
|
results_name
name of imported instance
|
dict
|
results_network
network information gathered from .ovf file or command line arguments
|
dict
|
results_os
operating system information gathered from .ovf file or command line
arguments
|
string
|
results_tags
string containing instance-specific tags
|
string
|
results_template
disk template read from .ovf file or command line arguments
|
string
|
results_version
version as required by Ganeti import
|
Inherited from Converter :
options ,
temp_dir ,
temp_file_manager
|