From ee06b0094439443a288f9b6f37473b69c1451c9c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 20 May 2014 07:36:44 +0200 Subject: [PATCH] fwtester: set cluster network to 172.16.1.0/24, host_ip to 172.16.1.2 So that we can add test for default rules --- test/fwtester.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/fwtester.pl b/test/fwtester.pl index 8faee3f..17b883d 100755 --- a/test/fwtester.pl +++ b/test/fwtester.pl @@ -500,7 +500,7 @@ sub simulate_firewall { my $start_state; - my $host_ip = '10.11.12.13'; + my $host_ip = '172.16.1.2'; if ($from eq 'host') { $from_info->{type} = 'host'; @@ -595,6 +595,8 @@ sub run_tests { $vmdata->{testdir} = $testdir; + PVE::Firewall::cluster_network('172.16.1.0/24'); + my ($ruleset, $ipset_ruleset) = PVE::Firewall::compile(undef, undef, $vmdata); -- 2.39.2