]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Convert bridge driver over to use new firewall APIs
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 6 Mar 2014 17:01:13 +0000 (17:01 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 25 Apr 2014 14:44:09 +0000 (15:44 +0100)
commita66fc27d895cface9d41aae0de2dd99bc04ad9b5
tree4b77643c550552e167e9a503e2e6daa349873d64
parent3a0ca7de51030ba4999c9ae19ab82ebf41f4e2ab
Convert bridge driver over to use new firewall APIs

Update the iptablesXXXX methods so that instead of directly
executing iptables commands, they populate rules in an
instance of virFirewallPtr. The bridge driver can thus
construct the ruleset and then invoke it in one operation
having rollback handled automatically.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/network/bridge_driver_linux.c
src/util/viriptables.c
src/util/viriptables.h