1Sys::Virt::NodeDevice(3U)ser Contributed Perl DocumentatiSoyns::Virt::NodeDevice(3)
2
3
4

NAME

6       Sys::Virt::NodeDevice - Represent & manage a libvirt storage pool
7

DESCRIPTION

9       The "Sys::Virt::NodeDevice" module represents a storage pool managed by
10       libvirt. There are a variety of storage pool implementations for LVM,
11       Local directories/filesystems, network filesystems, disk partitioning,
12       iSCSI, and SCSI.
13

METHODS

15       my $name = $dev->get_name()
16           Returns a string with a locally unique name of the device
17
18       my $parentname = $dev->get_parent()
19           Returns a string with a locally unique name of the parent of the
20           device, or undef if there is no parent
21
22       my $xml = $dev->get_xml_description()
23           Returns an XML document containing a complete description of the
24           storage dev's configuration
25
26       $dev->reattach()
27           Rebind the node device to the host OS device drivers.
28
29       $dev->dettach()
30           Unbind the node device from the host OS device driver
31
32       $dev->reset()
33           Reset the node device. The device must be unbound from the host OS
34           drivers for this to work
35
36       $dev->destroy()
37           Destroy the virtual device releasing any OS resources associated
38           with it.
39
40       my @caps = $dev->list_capabilities()
41           Return a list of all capabilities in the device.
42

AUTHORS

44       Daniel P. Berrange <berrange@redhat.com>
45
47       Copyright (C) 2006-2009 Red Hat Copyright (C) 2006-2009 Daniel P.
48       Berrange
49

LICENSE

51       This program is free software; you can redistribute it and/or modify it
52       under the terms of either the GNU General Public License as published
53       by the Free Software Foundation (either version 2 of the License, or at
54       your option any later version), or, the Artistic License, as specified
55       in the Perl README file.
56

SEE ALSO

58       Sys::Virt, Sys::Virt::Error, "http://libvirt.org"
59
60
61
62perl v5.12.3                      2010-05-19          Sys::Virt::NodeDevice(3)
Impressum