.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Sys::Virt::NWFilterBinding 3pm" .TH Sys::Virt::NWFilterBinding 3pm 2024-04-21 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Sys::Virt::NWFilterBinding \- Represent & manage a network filter binding .SH DESCRIPTION .IX Header "DESCRIPTION" The \f(CW\*(C`Sys::Virt::NWFilterBinding\*(C'\fR module represents a binding between a network filter and a network port device. .SH METHODS .IX Header "METHODS" .ie n .IP "my $name = $binding\->\fBget_port_dev()\fR" 4 .el .IP "my \f(CW$name\fR = \f(CW$binding\fR\->\fBget_port_dev()\fR" 4 .IX Item "my $name = $binding->get_port_dev()" Returns a string with the name of the network port device that is bound to .ie n .IP "my $name = $binding\->\fBget_filter_name()\fR" 4 .el .IP "my \f(CW$name\fR = \f(CW$binding\fR\->\fBget_filter_name()\fR" 4 .IX Item "my $name = $binding->get_filter_name()" Returns a string with the name of the network filter that is bound to .ie n .IP "my $xml = $binding\->\fBget_xml_description()\fR" 4 .el .IP "my \f(CW$xml\fR = \f(CW$binding\fR\->\fBget_xml_description()\fR" 4 .IX Item "my $xml = $binding->get_xml_description()" Returns an XML document containing a complete description of the network's configuration .ie n .IP $binding\->\fBdelete()\fR 4 .el .IP \f(CW$binding\fR\->\fBdelete()\fR 4 .IX Item "$binding->delete()" Unbind the network port device from the filter .SS "NETWORK FILTER BINDING CREATION CONSTANTS" .IX Subsection "NETWORK FILTER BINDING CREATION CONSTANTS" When creating network filter bindings zero or more of the following constants may be used .IP Sys::Virt::NWFilterBinding::CREATE_VALIDATE 4 .IX Item "Sys::Virt::NWFilterBinding::CREATE_VALIDATE" Validate the XML document against the XML schema .SH AUTHORS .IX Header "AUTHORS" Daniel P. Berrange .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2018 Red Hat .SH LICENSE .IX Header "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. .SH "SEE ALSO" .IX Header "SEE ALSO" Sys::Virt, Sys::Virt::Error, \f(CW\*(C`http://libvirt.org\*(C'\fR