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 $flags parameter is currently unused and defaults to zero. The returned $params is 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 $flags parameter is currently unused and defaults to zero. The $params parameter is a hash reference whose keys are one or more of the constants listed for get_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 (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 πŸ‘€

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