[pve-devel] random openvz veth name question ?
Alexandre DERUMIER
aderumier at odiso.com
Fri May 16 07:51:58 CEST 2014
Hi,
I would like to known if we want to support firewall for random openvz veth name ?
(by the way, why do we allow to setup random name ?)
Currently, my openvz patchs hang on tap_plug (cleanup_firewall_bridge)/unplug (create_firewall_bridge_linux), because of
parse_tap_devive_name{
if ($iface =~ m/^tap(\d+)i(\d+)$/) {
$vmid = $1;
$devid = $2;
} elsif ($iface =~ m/^veth(\d+)\.(\d+)$/) {
$vmid = $1;
$devid = $2;
} else {
die "wrong interface name $iface";
}
}
I think I can easily fix it for unfirewalled tap. (so it'll not break current setup).
but do we want to allow firewall for random name ?
create "fwln|fwbr".randomname ? (I'm afraid of too big random name too)
More information about the pve-devel
mailing list