GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Sys::Virt::NetworkPort(3) User Contributed Perl Documentation Sys::Virt::NetworkPort(3)

Sys::Virt::NetworkPort - Represent & manage a libvirt virtual network port

The "Sys::Virt::NetworkPort" module represents a port in a virtual network.

Returns a 16 byte long string containing the raw globally unique identifier (UUID) for the network port.
Returns a printable string representation of the raw UUID, in the format 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'.
Returns an XML document containing a complete description of the network port's configuration
$port->delete()
Delete the network port from the managed network.
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:
The average inbound bandwidth
The burstable inbound bandwidth
The minimum inbound bandwidth
The peak inbound bandwidth
The average outbound bandwidth
The burstable outbound bandwidth
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".

When creating network ports zero or more of the following constants may be used

Providing configuration reclaiming a pre-existing network port.
Validate the XML document against the XML schema

Daniel P. Berrange <berrange@redhat.com>

Copyright (C) 2019 Red Hat

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.

Sys::Virt, Sys::Virt::Network, Sys::Virt::Error, "http://libvirt.org"

2025-07-17 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.