]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Add test for converting network XML to iptables rules
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 20 Mar 2014 10:30:44 +0000 (10:30 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 25 Apr 2014 14:44:09 +0000 (15:44 +0100)
commit20512b8436fb602f3d9048ef5f4b686c542b2369
treec40940d2ea5c8aca8fe36220e82e4bc0c2aebcfa
parentc13a952f69ae2009600f210685e9f307589e7757
Add test for converting network XML to iptables rules

Using the virCommand dry run capability, capture iptables rules
created by various network XML documents.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
16 files changed:
tests/Makefile.am
tests/networkxml2firewalldata/nat-default-linux.args [new file with mode: 0644]
tests/networkxml2firewalldata/nat-default.xml [new file with mode: 0644]
tests/networkxml2firewalldata/nat-ipv6-linux.args [new file with mode: 0644]
tests/networkxml2firewalldata/nat-ipv6.xml [new file with mode: 0644]
tests/networkxml2firewalldata/nat-many-ips-linux.args [new file with mode: 0644]
tests/networkxml2firewalldata/nat-many-ips.xml [new file with mode: 0644]
tests/networkxml2firewalldata/nat-no-dhcp-linux.args [new file with mode: 0644]
tests/networkxml2firewalldata/nat-no-dhcp.xml [new file with mode: 0644]
tests/networkxml2firewalldata/nat-tftp-linux.args [new file with mode: 0644]
tests/networkxml2firewalldata/nat-tftp.xml [new file with mode: 0644]
tests/networkxml2firewalldata/route-default-linux.args [new file with mode: 0644]
tests/networkxml2firewalldata/route-default.xml [new file with mode: 0644]
tests/networkxml2firewalltest.c [new file with mode: 0644]
tests/testutils.c
tests/testutils.h