• L
    util: new virFirewallD APIs + docs · 3bba4825
    Laine Stump 提交于
    virFirewallDGetBackend() reports whether firewalld is currently using
    an iptables or an nftables backend.
    
    virFirewallDGetVersion() learns the version of the firewalld running
    on this system and returns it as 1000000*major + 1000*minor + micro.
    
    virFirewallDGetZones() gets a list of all currently active firewalld
    zones.
    
    virFirewallDInterfaceSetZone() sets the firewalld zone of the given
    interface.
    
    virFirewallDZoneExists() can be used to learn whether or not a
    particular zone is present and active in firewalld.
    Signed-off-by: NLaine Stump <laine@laine.org>
    Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
    3bba4825
virfirewalld.c 10.8 KB