™.. Sys::VirtConvert::Config - Online Linux Manual PageSection : 3
Updated : 2013-12-03
Source : perl v5.10.1
Note : User Contributed Perl Documentation

NAMESys::VirtConvert::Config − Manage virt−v2v's configuration file

SYNOPSIS​ use Sys::VirtConvert::Config; ​ ​ $eh = Sys::VirtConvert::Config−>new(@config_paths); ​ ​ my $isopath = $config−>get_transfer_iso(); ​ my ($path, $deps) = $config−>match_app($g, $root, $name, $arch); ​ my ($name, $type) = $config−>map_network($oldname, $oldtype);

DESCRIPTIONSys::VirtConvert::Config parses and queries virt−v2v configuration files.

METHODSnew(paths) Create a new Sys::VirtConvert::Config object to operate on the configuration files paths. get_transfer_iso Return the path to an iso image containing all software defined in the config file. Returns undef if no transfer iso is required. get_transfer_path(path) Return the path to path as accessible by the libguestfs appliance. This function will also ensure that the transfer iso is mounted. mount_transfer(g) Mount the transfer iso if it is not already mounted, and return the path where it was mounted. unmount_transfer(g) Unmount the transfer iso if it is currently mounted. match_app Return a matching app entry from the virt−v2v configuration. The entry is returned as a list containing 2 values. The first contains the path to the application itself. The second contains an arrayref containing the paths of all the app's listed dependencies. match_capability Match a capability from the configuration. Returned as a hashref containing dependencies, where each dependency is a hashref containing: {capability}>{name}> : package name ​ {minversion} : minimum required version ​ {ifinstalled} : 1 if the package should be upgraded if necessary, but ​ not installed if it is not already, 0 otherwise Returns undef if the capability was not found. map_network(oldname, oldtype) Return a new network name/type for oldname and oldtype from the config. Returns a list of 2 values: (name, type) set_default_net_mapping(name, type) Set the default network name and type which will be used if no specific mapping can be found in a config file. use_profile(name) Use the profile name defined in the configuration file. Output method and storage will be read from this profile, and any network mappings defined in it will be used in preference to those defined at the top level of the configuration file. get_method Return the output method specified in the selected profile. use_profile must have been called previously. get_storage Return the output storage location and a hashref of storage options from the selected profile. use_profile must have been called previously. get_storage_opts Return a hashref of storage options from the selected profile. use_profile must have been called previously. list_profiles Return a list of defined profile names

COPYRIGHTCopyright (C) 2009−2012 Red Hat Inc.

LICENSEPlease see the file COPYING.LIB for the full license.

SEE ALSOvirt−v2v(1), <http://libguestfs.org/>.
0
Johanes Gumabo
Data Size   :   10,664 byte
man-Sys::VirtConvert::Config.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 189,539
Visitor ID   :     :  
Visitor IP   :   3.145.152.146   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Sys::VirtConvert::Config.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Sys::VirtConvert::Config.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Sys::VirtConvert::Config.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|Sys::VirtConvert::Config.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|Sys::VirtConvert::Config.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|Sys::VirtConvert::Config.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|Sys::VirtConvert::Config.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|Sys::VirtConvert::Config.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|Sys::VirtConvert::Config.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|Sys::VirtConvert::Config.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|Sys::VirtConvert::Config.3pm|57|.══─}─══ |.══─}─══ )