1Sys::Virt::NWFilter(3)User Contributed Perl DocumentationSys::Virt::NWFilter(3)
2
3
4
6 Sys::Virt::NWFilter - Represent & manage a libvirt virtual network
7
9 The "Sys::Virt::NWFilter" module represents a virtual network managed
10 by the virtual machine monitor.
11
13 my $uuid = $filter->get_uuid()
14 Returns a 16 byte long string containing the raw globally unique
15 identifier (UUID) for the network.
16
17 my $uuid = $filter->get_uuid_string()
18 Returns a printable string representation of the raw UUID, in the
19 format 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'.
20
21 my $name = $filter->get_name()
22 Returns a string with a locally unique name of the network
23
24 my $xml = $filter->get_xml_description()
25 Returns an XML document containing a complete description of the
26 network's configuration
27
28 $filter->undefine()
29 Remove the configuration associated with a network filter
30 previously defined with the "define_nwfilter" method in Sys::Virt.
31
33 This section documents constants that are used with various APIs
34 described above
35
36 NWFILTER DEFINE
37 The following constants can be used to control the behaviour of network
38 filter define operations
39
40 Sys::Virt::NWFilter::DEFINE_VALIDATE
41 Validate the XML document against the XML schema
42
44 Daniel P. Berrange <berrange@redhat.com>
45
47 Copyright (C) 2006 Red Hat Copyright (C) 2006-2007 Daniel P. Berrange
48
50 This program is free software; you can redistribute it and/or modify it
51 under the terms of either the GNU General Public License as published
52 by the Free Software Foundation (either version 2 of the License, or at
53 your option any later version), or, the Artistic License, as specified
54 in the Perl README file.
55
57 Sys::Virt, Sys::Virt::Error, "http://libvirt.org"
58
59
60
61perl v5.36.0 2023-01-30 Sys::Virt::NWFilter(3)