my ($ruleset, $ipset_ruleset) =
PVE::Firewall::compile(undef, undef, $vmdata, 1);
- print PVE::FirewallSimulator::get_trace() . "\n" if !$debug;
-
my $filename = "$testdir/$testfile";
my $fh = IO::File->new($filename) ||
die "unable to open '$filename' - $!\n";
qemu => {
100 => {
net0 => "e1000=0E:0B:38:B8:B3:21,bridge=vmbr0,firewall=1",
+ net1 => "e1000=0E:0B:38:B9:B4:21,bridge=vmbr1,firewall=1",
+ net2 => "e1000=0E:0B:38:BA:B4:21,bridge=vmbr2,firewall=1",
},
101 => {
net0 => "e1000=0E:0B:38:B8:B3:22,bridge=vmbr0,firewall=1",
net0 => "e1000=0E:0B:38:B8:B4:21,bridge=vmbr1,firewall=1",
},
},
- openvz => {
+ lxc => {
200 => {
- ip_address => { value => '10.0.200.1' },
+ net0 => "name=eth0,hwaddr=0E:18:24:41:2C:43,bridge=vmbr0,firewall=1,ip=10.0.200.1/24",
},
201 => {
- ip_address => { value => '10.0.200.2' },
+ net0 => "name=eth0,hwaddr=0E:18:24:41:2C:44,bridge=vmbr0,firewall=1,ip=10.0.200.2/24",
},
},
};