---
name: "Sys::Virt::NWFilterBinding"
section: "3pm"
platform: "linux"
package: "perl-sys-virt"
version: "12.7.0-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Sys::Virt::NWFilterBinding"
---

# Sys::Virt::NWFilterBinding(3pm)

Represent & manage a network filter binding

## 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"`
