Interface NetworkFilter

  • All Superinterfaces:
    Identified
    All Known Implementing Classes:
    NetworkFilterContainer

    public interface NetworkFilter
    extends Identified
    Network filters filter packets sent to and from the virtual machine's NIC according to defined rules. There are several types of network filters supported based on libvirt. For more details about the different network filters see https://libvirt.org/firewall.html[here]. In addition to libvirt's network filters, there are two additional network filters: The first is called `vdsm-no-mac-spoofing` and is composed of `no-mac-spoofing` and `no-arp-mac-spoofing`. The second is called `ovirt-no-filter` and is used when no network filter is to be defined for the virtual machine's NIC. The `ovirt-no-filter` network filter is only used for internal implementation, and does not exist on the NICs. This is a example of the XML representation: [source,xml] ---- example-filter 4 0 -1 -1 ---- If any part of the version is not present, it is represented by -1.
    • Method Detail

      • versionPresent

        boolean versionPresent()