NAME
Sys::Async::Virt::NodeDevice - Client side proxy to remote LibVirt host device
VERSION
v0.0.13
SYNOPSIS
DESCRIPTION
EVENTS
CONSTRUCTOR
new
METHODS
create
await $dev->create( $flags = 0 );
# -> (* no data *)
See documentation of virNodeDeviceCreate.
create_xml
$dev = await $dev->create_xml( $flags = 0 );
See documentation of virNodeDeviceCreateXML.
define_xml
$dev = await $dev->define_xml( $flags = 0 );
See documentation of virNodeDeviceDefineXML.
destroy
await $dev->destroy;
# -> (* no data *)
See documentation of virNodeDeviceDestroy.
get_autostart
$autostart = await $dev->get_autostart;
See documentation of virNodeDeviceGetAutostart.
get_parent
$parentName = await $dev->get_parent;
See documentation of virNodeDeviceGetParent.
get_xml_desc
$xml = await $dev->get_xml_desc( $flags = 0 );
See documentation of virNodeDeviceGetXMLDesc.
is_active
$active = await $dev->is_active;
See documentation of virNodeDeviceIsActive.
is_persistent
$persistent = await $dev->is_persistent;
See documentation of virNodeDeviceIsPersistent.
list_caps
$names = await $dev->list_caps;
See documentation of virNodeDeviceListCaps.
lookup_by_name
$dev = await $dev->lookup_by_name;
See documentation of virNodeDeviceLookupByName.
lookup_scsi_host_by_wwn
$dev = await $dev->lookup_scsi_host_by_wwn( $wwpn, $flags = 0 );
See documentation of virNodeDeviceLookupSCSIHostByWWN.
num_of_caps
$num = await $dev->num_of_caps;
See documentation of virNodeDeviceNumOfCaps.
set_autostart
await $dev->set_autostart( $autostart );
# -> (* no data *)
See documentation of virNodeDeviceSetAutostart.
undefine
await $dev->undefine( $flags = 0 );
# -> (* no data *)
See documentation of virNodeDeviceUndefine.
update
await $dev->update( $xml_desc, $flags = 0 );
# -> (* no data *)
See documentation of virNodeDeviceUpdate.
INTERNAL METHODS
CONSTANTS
- XML_INACTIVE
- UPDATE_AFFECT_CURRENT
- UPDATE_AFFECT_LIVE
- UPDATE_AFFECT_CONFIG
- EVENT_CREATED
- EVENT_DELETED
- EVENT_DEFINED
- EVENT_UNDEFINED
SEE ALSO
LICENSE AND COPYRIGHT
Copyright (C) 2024 Erik Huelsmann
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.