projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70ab443
)
we need to match link+ rule from iptables rules, and need to have a name different
author
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 13 May 2014 12:33:49 +0000
(14:33 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 13 May 2014 12:33:49 +0000
(14:33 +0200)
than link(\d+)i(\d+), for distinguished bridge/ovs interface unplug
Based on patch from Alexandre, but I prefer "link${vmid}o${devid}"
data/PVE/Network.pm
patch
|
blob
|
history
diff --git
a/data/PVE/Network.pm
b/data/PVE/Network.pm
index
bacca24
..
dffa764
100644
(file)
--- 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 = "
link${vmid}o
${devid}";
return ($fwbr, $vethfw, $vethfwpeer, $ovsintport);
};