]> git.proxmox.com Git - pve-common.git/blobdiff - test/etc_network_interfaces/t.list-interfaces.pl
inotify/interfaces: ensure cidr, address and netmask are set correctly
[pve-common.git] / test / etc_network_interfaces / t.list-interfaces.pl
index ff44fd159bd74f86d091e55ed882827cee57932c..f8f414ece1cded62f56112eaebc950a1f7bc60ed 100644 (file)
@@ -17,12 +17,18 @@ eth100:
 
 my %wanted = (
     vmbr0 => {
-       address => '192.168.1.2/24',
+       address => '192.168.1.2',
+       netmask => '24',
+       cidr => '192.168.1.2/24',
        gateway => '192.168.1.1',
-       address6 => 'fc05::1:1/112',
+       address6 => 'fc05::1:1',
+       netmask6 => '112',
+       cidr6 => 'fc05::1:1/112',
     },
     vmbr1 => {
-       address => '10.0.0.5/24',
+       address => '10.0.0.5',
+       netmask => '24',
+       cidr => '10.0.0.5/24',
     },
 );