> +     my $bridge_hash = {};
> +
> +     eval { $bridge_hash = read_openvswitch_config() };
> +
> +     die "$bridge is not an linux bridge or openvswitch switch" if
> !$bridge_hash->{$bridge};

I wonder if we really need that code - can't we query /etc/network/interfaces 
for 
that instead?

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to