[pve-devel] [PATCH] Bug-fix 617: change command arrangement

Wolfgang Link w.link at proxmox.com
Tue Apr 7 14:01:13 CEST 2015

the ovs-vsctl del-port flush the tc settings.
So we have to change the arrangement of setting up the network.

Signed-off-by: Wolfgang Link <w.link at proxmox.com>
 pve-bridge |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pve-bridge b/pve-bridge
index 1b9801d..a924a7f 100755
--- a/pve-bridge
+++ b/pve-bridge
@@ -32,8 +32,9 @@ die "unable to parse network config '$netid'\n" if !$net;
 PVE::Network::tap_create($iface, $net->{bridge});
-PVE::Network::tap_rate_limit($iface, $net->{rate}) if $net->{rate};
+#if ovs is under this bridge all traffic control settings will be flushed.
 PVE::Network::tap_plug($iface, $net->{bridge}, $net->{tag}, $net->{firewall});
+PVE::Network::tap_rate_limit($iface, $net->{rate}) if $net->{rate};
 exit 0;

More information about the pve-devel mailing list