X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=test%2Fetc_network_interfaces%2Ft.ovs_bridge_allow.pl;fp=test%2Fetc_network_interfaces%2Ft.ovs_bridge_allow.pl;h=159b7d4d07449992878801357ac85c2bb7db235d;hp=45fad2e494f3078e4fa3e8d81f73be869bdf537a;hb=378c6656c9aba1d57786f916717c2622a3059fb6;hpb=5bd1e56b7ab7100dcd8d3e75394e1508306ba69d diff --git a/test/etc_network_interfaces/t.ovs_bridge_allow.pl b/test/etc_network_interfaces/t.ovs_bridge_allow.pl index 45fad2e..159b7d4 100644 --- a/test/etc_network_interfaces/t.ovs_bridge_allow.pl +++ b/test/etc_network_interfaces/t.ovs_bridge_allow.pl @@ -1,7 +1,6 @@ use strict; -my $ip = '192.168.0.100'; -my $nm = '255.255.255.0'; +my $ip = '192.168.0.100/24'; my $gw = '192.168.0.1'; # replace proc_net_dev with one with a bunch of interfaces @@ -17,7 +16,6 @@ r(''); new_iface('vmbr0', 'OVSBridge', [ { family => 'inet', address => $ip, - netmask => $nm, gateway => $gw } ], autostart => 1); @@ -42,7 +40,6 @@ iface eth3 inet manual allow-ovs vmbr0 iface vmbr0 inet static address $ip - netmask $nm gateway $gw ovs_type OVSBridge @@ -70,7 +67,6 @@ iface eth3 inet manual allow-ovs vmbr0 iface vmbr0 inet static address $ip - netmask $nm gateway $gw ovs_type OVSBridge ovs_ports eth1 eth2 @@ -105,7 +101,6 @@ iface eth2 inet manual allow-ovs vmbr0 iface vmbr0 inet static address $ip - netmask $nm gateway $gw ovs_type OVSBridge ovs_ports eth1