Sys::V...rkPort(3pm)
π NAME π
okay so welcome to Sys::V...rkPort(3pm) β the manual page for Sys::Virt::NetworkPort, aka the module here to represent & manage a libvirt virtual network port. periodt. π
β¨ DESCRIPTION β¨
The Sys::Virt::NetworkPort module represents a port in a virtual network. That's the whole vibe. π«Ά
π METHODS π
my $uuid = $port->get_uuid()β returns a 16 byte long string containing the raw globally unique identifier (UUID) for the network port. no cap.my $uuid = $port->get_uuid_string()β returns a printable string representation of the raw UUID, in the format'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'. iconic. β¨my $xml = $port->get_xml_description()β returns an XML document containing a complete description of the network port's configuration. it's giving full lore. π$port->delete()β delete the network port from the managed network. bye bestie πmy $params = $port->get_parameters($flags=0);β get tunable parameters associated with the network port. The$flagsparameter is currently unused and defaults to zero. The returned$paramsis a hash reference whose keys are one or more of the following constants:Sys::Virt::NetworkPort::BANDWIDTH_IN_AVERAGEβ the average inbound bandwidth.Sys::Virt::NetworkPort::BANDWIDTH_IN_BURSTβ the burstable inbound bandwidth.Sys::Virt::NetworkPort::BANDWIDTH_IN_FLOORβ the minimum inbound bandwidth.Sys::Virt::NetworkPort::BANDWIDTH_IN_PEAKβ the peak inbound bandwidth.Sys::Virt::NetworkPort::BANDWIDTH_OUT_AVERAGEβ the average outbound bandwidth.Sys::Virt::NetworkPort::BANDWIDTH_OUT_BURSTβ the burstable outbound bandwidth.Sys::Virt::NetworkPort::BANDWIDTH_OUT_PEAKβ the peak outbound bandwidth.
$port->set_parameters($params, $flags=0);β set tunable parameters associated with the network port. The$flagsparameter is currently unused and defaults to zero. The$paramsparameter is a hash reference whose keys are one or more of the constants listed forget_parameters.
πΈ NETWORK PORT CREATION CONSTANTS πΈ
When creating network ports, zero or more of the following constants may be used. choose ur faves. π
Sys::Virt::NetworkPort::CREATE_RECLAIMβ providing configuration reclaiming a pre-existing network port.Sys::Virt::NetworkPort::CREATE_VALIDATEβ validate the XML document against the XML schema.
π«Ά AUTHORS π«Ά
Daniel P. Berrange <berrange@redhat.com> β shoutout to the icon who wrote this. π
π COPYRIGHT π
Copyright (C) 2019 Red Hat β periodt.
π LICENSE π
This program is free software; you can redistribute it and/or modify it under the terms of either the GNU General Public License as published by the Free Software Foundation (either version 2 of the License, or at your option any later version), or, the Artistic License, as specified in the Perl README file. slay. π
π SEE ALSO π
Sys::VirtSys::Virt::NetworkSys::Virt::Error"http://libvirt.org"
go read these next, iykyk. π
This page is serving User Contributed Perl Documentation energy from perl v5.40.2, dated 2026-06-08 β Sys::V...rkPort(3pm) out. catch u later bestie π«Άβ¨
π¦ where this page comes from
- epel 10: perl-Sys-Virt 12.4.0-1.el10_3 Β· GPL-2.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms