Sys::V...WFilter(3pm)
π NAME
ok so bestie, welcome to Sys::Virt::NWFilter β it represents & manages a libvirt virtual network. That's the whole vibe. This is a Perl module (the (3pm) situation, you already know), and it lives in the User Contributed Perl Documentation corner of the manual universe. π¦
β¨ DESCRIPTION β¨
Sys::Virt::NWFilter is a module that represents a virtual network managed by the virtual machine monitor. Literally that's it. It's the little handle you get to poke at a network filter with. Give it main character energy, because it is the main character of this page. π
πΈ METHODS πΈ
okay so here's everything you can actually do with a filter object β the whole toolkit, no cap:
my $uuid = $filter->get_uuid()β hands you a 16 byte long string containing the raw globally unique identifier (UUID) for the network. Raw. Unfiltered. Iconic. πmy $uuid = $filter->get_uuid_string()β same UUID but printable, bestie π β returns a string representation of the raw UUID, formatted exactly like'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'.my $name = $filter->get_name()β returns a string with a locally unique name of the network. Local legend behavior.my $xml = $filter->get_xml_description()β returns an XML document containing a complete description of the network's configuration. The whole thing. Not a summary. π$filter->undefine()β removes the configuration associated with a network filter that was previously defined with thedefine_nwfiltermethod in Sys::Virt. So like, it's the delete button but with consequences, so be sure you meant it. π
β CONSTANTS β
This section documents constants that are used with various APIs described above. Yes, constants. They're little named values and they matter, don't skip them, iykyk. π
π§ NWFILTER DEFINE
The following constants can be used to control the behaviour of network filter define operations:
Sys::Virt::NWFilter::DEFINE_VALIDATEβ validate the XML document against the XML schema. That's it. That's the constant. Checks your XML is legit. β¨
π«Ά AUTHORS
Daniel P. Berrange <berrange@redhat.com> β absolute legend, we stan. π
π COPYRIGHT
Copyright (C) 2006 Red Hat Copyright (C) 2006-2007 Daniel P. Berrange
π LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of either of these two situations:
- 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.
Pick one, slay either way. πΈ
π SEE ALSO
Sys::VirtSys::Virt::Error"http://libvirt.org"
ok that's the whole page, go forth and manage your network filters bestie π¦β¨
and finally, the cute little sign-off: this page is from perl v5.40.2, dated 2026-06-08 π periodt.
π¦ where this page comes from
- epel 10: perl-Sys-Virt 12.4.0-1.el10_3 Β· GPL-2.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms