NAME

Sys::Async::Virt::NetworkPort - Client side proxy to remote LibVirt network port

VERSION

v0.2.4

SYNOPSIS

DESCRIPTION

EVENTS

CONSTRUCTOR

new

METHODS

network

$net = $port->network;

Returns the Sys::Async::Virt::Network instance which this port is part of.

uuid

$uuid = $port->uuid;

Returns a 16-byte string containing the (binary) UUID.

uuid_string

$str = $port->uuid_string;

Returns the string representation of the UUID (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

delete

await $port->delete( $flags = 0 );
# -> (* no data *)

See documentation of virNetworkPortDelete.

get_parameters

$params = await $port->get_parameters( $flags = 0 );

See documentation of virNetworkPortGetParameters.

get_xml_desc

$xml = await $port->get_xml_desc( $flags = 0 );

See documentation of virNetworkPortGetXMLDesc.

set_parameters

await $port->set_parameters( $params, $flags = 0 );
# -> (* no data *)

See documentation of virNetworkPortSetParameters.

INTERNAL METHODS

CONSTANTS

my $value = Sys::Async::Virt::NetworkPort->BANDWIDTH_IN_AVERAGE;

# - or -

my $value = $port->BANDWIDTH_IN_AVERAGE;
BANDWIDTH_IN_AVERAGE
BANDWIDTH_IN_PEAK
BANDWIDTH_IN_BURST
BANDWIDTH_IN_FLOOR
BANDWIDTH_OUT_AVERAGE
BANDWIDTH_OUT_PEAK
BANDWIDTH_OUT_BURST

SEE ALSO

LibVirt, Sys::Virt

LICENSE AND COPYRIGHT

Copyright (C) 2024-2026 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.