Rechercher une page de manuel
Sys::VirtV2V::Target::LibVirt.3pm
Langue: en
Version: 2010-07-01 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Sys::VirtV2V::Target::LibVirt - Output to libvirtSYNOPSIS
use Sys::VirtV2V::Target::LibVirt; my $target = new Sys::VirtV2V::Target::LibVirt($uri, $poolname);
DESCRIPTION
Sys::VirtV2V::Target::LibVirt creates a new libvirt domain using the given target URI. New storage will be created in the target pool.METHODS
- Sys::VirtV2V::Target::LibVirt->new(uri, poolname)
- Create a new Sys::VirtV2V::Target::LibVirt object.
-
- uri
- A libvirt connection URI
- poolname
- The name of a storage pool managed by the target libvirt daemon.
-
- create_volume(name, size)
- Create a new volume in the pool whose name was passed to new().
-
- name
- The name of the volume which is being created.
- size
- The size of the volume which is being created in bytes.
create_volume() returns a Sys::VirtV2V::Target::LibVirt::Vol object.
-
- volume_exists (name)
- Check if volume name exists in the target pool.
Returns 1 if it exists, 0 otherwise.
- get_volume (name)
- Get a reference to an existing volume. See create_volume for return value.
- create_guest(dom)
- Create the guest in the target
COPYRIGHT
Copyright (C) 2010 Red Hat Inc.LICENSE
Please see the file COPYING for the full license.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre