[pve-devel] [PATCH] use linko+ name for ovs fwbrint interfaces

Alexandre Derumier aderumier at odiso.com
Tue May 13 07:57:44 CEST 2014


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

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 data/PVE/Network.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm
index bacca24..613612e 100644
--- a/data/PVE/Network.pm
+++ b/data/PVE/Network.pm
@@ -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 = "linko${vmid}i${devid}";
 
     return ($fwbr, $vethfw, $vethfwpeer, $ovsintport);
 };
-- 
1.7.10.4




More information about the pve-devel mailing list