The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Sys::Virt::NWFilterBinding - Represent & manage a network filter binding

DESCRIPTION

The Sys::Virt::NWFilterBinding module represents a binding between a network filter and a network port device.

METHODS

my $name = $binding->get_port_dev()

Returns a string with the name of the network port device that is bound to

my $name = $binding->get_filter_name()

Returns a string with the name of the network filter that is bound to

my $xml = $binding->get_xml_description()

Returns an XML document containing a complete description of the network's configuration

$binding->delete()

Unbind the network port device from the filter

NETWORK FILTER BINDING CREATION CONSTANTS

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

Sys::Virt::NWFilterBinding::CREATE_VALIDATE

Validate the XML document against the XML schema

AUTHORS

Daniel P. Berrange <berrange@redhat.com>

COPYRIGHT

Copyright (C) 2018 Red Hat

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.

SEE ALSO

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