Re: [PATCH 14/26] Add test for converting network XML to iptables rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/08/2014 05:38 PM, Daniel P. Berrange wrote:
> Using the virCommand dry run capability, capture iptables rules
> created by various network XML documents.
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---


> diff --git a/tests/networkxml2firewalldata/nat-default-linux.args b/tests/networkxml2firewalldata/nat-default-linux.args
> new file mode 100644
> index 0000000..0ec2807
> --- /dev/null
> +++ b/tests/networkxml2firewalldata/nat-default-linux.args
> @@ -0,0 +1,30 @@
> +/usr/sbin/iptables --table filter --insert INPUT --in-interface virbr0 --protocol tcp \
> +--destination-port 67 --jump ACCEPT

This test fails on systems having iptables in /sbin

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]