we need to match link+ rule from iptables rules, and need to have a name different

than link(\d+)i(\d+), for distinguished bridge/ovs interface unplug

Based on patch from Alexandre, but I prefer "link${vmid}o${devid}"
This commit is contained in:
Dietmar Maurer 2014-05-13 14:33:49 +02:00
parent 70ab4434cd
commit 47c710a624

View File

@ -89,7 +89,7 @@ my $compute_fwbr_names = sub {
my $fwbr = "fwbr${vmid}i${devid}";
my $vethfw = "link${vmid}i${devid}";
my $vethfwpeer = "link${vmid}p${devid}";
my $ovsintport = "fwint${vmid}i${devid}";
my $ovsintport = "link${vmid}o${devid}";
return ($fwbr, $vethfw, $vethfwpeer, $ovsintport);
};