generate example zone and interfaces file
[pve-firewall.git] / fwtest.pl
index 4e3a637..f04b67e 100755 (executable)
--- a/fwtest.pl
+++ b/fwtest.pl
@@ -12,6 +12,15 @@ my $vmdata = {
        101 => {
            net0 => 'rtl8139=0E:9D:ED:CC:9B:ED,bridge=vmbr0',
        },
+       102 => {
+           zone => 'z1',
+           net0 => 'rtl8139=0E:9D:ED:CC:AA:ED,bridge=vmbr0',
+       },
+       103 => {
+           zone => 'z1',
+           net0 => 'rtl8139=0E:9D:ED:CC:BC:ED,bridge=vmbr0',
+           net1 => 'rtl8139=0E:9D:ED:CC:BC:AA,tag=5,bridge=vmbr0',
+       },
     },
 };