1Sys::VirtConvert::ConneUcsteironC:o:nLtirbiSVbyiusrt:te:TdVairPrgeterCtlo(n3Dv)oecrutm:e:nCtoantnieocntion::LibVirtTarget(3)
2
3
4

NAME

6       Sys::VirtConvert::Connection::LibVirtTarget - Output to libvirt
7

SYNOPSIS

9        use Sys::VirtConvert::Connection::LibVirtTarget;
10
11        my $target = new Sys::VirtConvert::Connection::LibVirtTarget($uri, $poolname);
12

DESCRIPTION

14       Sys::VirtConvert::Connection::LibVirtTarget creates a new libvirt
15       domain using the given target URI. New storage will be created in the
16       target pool.
17

METHODS

19       Sys::VirtConvert::Connection::LibVirtTarget->new(uri, poolname)
20           Create a new LibVirtTarget object.
21
22           uri A libvirt connection URI
23
24           poolname
25               The name of a storage pool managed by the target libvirt
26               daemon.
27
28       create_volume(name, format, size, sparse)
29           Create a new volume in the pool whose name was passed to new().
30
31           name
32               The name of the volume which is being created.
33
34           format
35               The file format of the new volume.
36
37           size
38               The size of the volume which is being created in bytes.
39
40           sparse
41               1 if the output should be sparse if possible, 0 otherwise.
42
43           create_volume() returns a Sys::VirtConvert::Connection::Volume
44           object.
45
46       volume_exists (name)
47           Check if volume name exists in the target pool.
48
49           Returns 1 if it exists, 0 otherwise.
50
51       get_volume (name)
52           Get a reference to an existing volume. get_volume returns a
53           Sys::VirtConvert::Connection::Volume object.
54
55       guest_exists(name)
56           Return 1 if a guest with name already exists, 0 otherwise.
57
58       create_guest(g, root, meta, config, guestcaps, output_name)
59           Create the guest in the target
60
62       Copyright (C) 2010-2011 Red Hat Inc.
63

LICENSE

65       Please see the file COPYING for the full license.
66
67
68
69perl v5.10.1                    Sy2s0:1:3V-i1r2t-C0o3nvert::Connection::LibVirtTarget(3)
Impressum