™.. Sys::Virt::Interface - Online Linux Manual PageSection : 3
Updated : 2012-09-26
Source : perl v5.10.1
Note : User Contributed Perl Documentation

NAMESys::Virt::Interface − Represent & manage a libvirt host network interface

DESCRIPTIONThe \*(C`Sys::Virt::Interface\*(C'\fR module represents a host network interface allowing configuration of IP addresses, bonding, vlans and bridges.

METHODSmy $name = $iface>get_name() Returns a string with a locally unique name of the network $iface>is_active() Returns a true value if the interface is currently running my $name = $iface>get_mac() Returns a string with the hardware MAC address of the interface my $xml = $iface>get_xml_description() Returns an XML document containing a complete description of the network's configuration $iface>create() Start a network whose configuration was previously defined using the ​\*(C`define_network\*(C'\fR method in Sys::Virt. $iface>undefine() Remove the configuration associated with a network previously defined with the \*(C`define_network\*(C'\fR method in Sys::Virt. If the network is running, you probably want to use the \*(C`shutdown\*(C'\fR or \f(CW\*(C`destroy\*(C'\fR methods instead. $iface>destroy() Immediately terminate the machine, and remove it from the virtual machine monitor. The $iface handle is invalid after this call completes and should not be used again.

CONSTANTS

CONSTANTSThis section documents constants that are used with various APIs described above

LIST FILTERINGThe following constants are used to filter object lists Sys::Virt::Interface::LIST_ACTIVE Include interfaces that are active Sys::Virt::Interface::LIST_INACTIVE Include interfaces that are not active

XML CONSTANTSThe following constants are used when querying XML Sys::Virt::Interface::XML_INACTIVE Request the inactive XML, instead of the current possibly live config.

AUTHORSDaniel P. Berrange <berrange@redhat.com>

COPYRIGHTCopyright (C) 2006−2009 Red Hat Copyright (C) 2006−2007 Daniel P. Berrange

LICENSEThis 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.

SEE ALSOSys::Virt, Sys::Virt::Error, \*(C`http://libvirt.org\*(C'\fR
0
Johanes Gumabo
Data Size   :   11,002 byte
man-Sys::Virt::Interface.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 238,988
Visitor ID   :     :  
Visitor IP   :   3.148.105.152   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Sys::Virt::Interface.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Sys::Virt::Interface.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Sys::Virt::Interface.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|Sys::Virt::Interface.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|Sys::Virt::Interface.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|Sys::Virt::Interface.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|Sys::Virt::Interface.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|Sys::Virt::Interface.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|Sys::Virt::Interface.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|Sys::Virt::Interface.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|Sys::Virt::Interface.3pm|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|Sys::Virt::Interface.3pm|136|\*(C`Sys::Virt::Interface\*(C'\fR module represents a host network interface |The \f(CW\*(C`Sys::Virt::Interface\*(C'\fR module represents a host network interface )         (rof_escape_sequence|91|Sys::Virt::Interface.3pm|161|\*(C`define_network\*(C'\fR method in Sys::Virt. |\&\f(CW\*(C`define_network\*(C'\fR method in Sys::Virt. )         (rof_escape_sequence|91|Sys::Virt::Interface.3pm|166|\*(C`define_network\*(C'\fR method in Sys::Virt. If the network is |with the \f(CW\*(C`define_network\*(C'\fR method in Sys::Virt. If the network is )         (rof_escape_sequence|91|Sys::Virt::Interface.3pm|167|\*(C`shutdown\*(C'\fR or \f(CW\*(C`destroy\*(C'\fR |running, you probably want to use the \f(CW\*(C`shutdown\*(C'\fR or \f(CW\*(C`destroy\*(C'\fR )         (rof_escape_sequence|91|Sys::Virt::Interface.3pm|212|\*(C`http://libvirt.org\*(C'\fR |Sys::Virt, Sys::Virt::Error, \f(CW\*(C`http://libvirt.org\*(C'\fR )