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.l...@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;
-- 
1.7.10.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to