Re: [ovs-dev] How to set QoS for VM egress traffic on tunnel mode

2017-11-28 Thread Ben Pfaff
On Wed, Nov 22, 2017 at 09:50:54AM +, 王志克 wrote:
> Hi All,
> 
> I want to set QoS with guide from below link “egress traffic shaping”, but do 
> not know how for tunnel mode.
> http://docs.openvswitch.org/en/latest/faq/qos/
> 
> My scenario:
> 
> I have several VM ports, and several VxLan ports in br0, and there is one 
> seprate eth0 port (not in br0), which is the underlay port of Vxlan port.
> Currently I add rule to match VM traffic to certain Vxlan port, and all these 
> vxlan ports would go out through eth0.
> 
> Now I want to enable egress traffic shaping, eg:
> VM1 goes out with min_rate=10M, max_rate=100M.
> VM2 goes out with min_rate=50M, max_rate=200M.
> 
> In the given example in http://docs.openvswitch.org/en/latest/faq/qos/ 
> chapter “egress traffic shaping”, it directly uses the physical port. But in 
> tunnel case, I can NOT specify the physical port directly.
> So how to configrue egress traffic shaping in tunnel case? Appreciate some 
> example configruation. Thanks.

You would want to configure shaping on the physical output port in this
case.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] How to set QoS for VM egress traffic on tunnel mode

2017-11-22 Thread 王志克
Hi,

The topo can be same as below example.
http://docs.openvswitch.org/en/latest/howto/tunneling/?highlight=tunnel

I just wonder in such configuration how the egress shaping can be configured 
for different VM. Or the QoS does not work for tunnel case?

Appreciate help.

BR,
Wang Zhike

From: 王志克
Sent: Wednesday, November 22, 2017 5:51 PM
To: ovs-dev@openvswitch.org; ovs-disc...@openvswitch.org
Subject: How to set QoS for VM egress traffic on tunnel mode

Hi All,

I want to set QoS with guide from below link “egress traffic shaping”, but do 
not know how for tunnel mode.
http://docs.openvswitch.org/en/latest/faq/qos/

My scenario:

I have several VM ports, and several VxLan ports in br0, and there is one 
seprate eth0 port (not in br0), which is the underlay port of Vxlan port.
Currently I add rule to match VM traffic to certain Vxlan port, and all these 
vxlan ports would go out through eth0.

Now I want to enable egress traffic shaping, eg:
VM1 goes out with min_rate=10M, max_rate=100M.
VM2 goes out with min_rate=50M, max_rate=200M.

In the given example in http://docs.openvswitch.org/en/latest/faq/qos/ chapter 
“egress traffic shaping”, it directly uses the physical port. But in tunnel 
case, I can NOT specify the physical port directly.
So how to configrue egress traffic shaping in tunnel case? Appreciate some 
example configruation. Thanks.


Br,
Wang Zhike
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] How to set QoS for VM egress traffic on tunnel mode

2017-11-22 Thread 王志克
Hi All,

I want to set QoS with guide from below link “egress traffic shaping”, but do 
not know how for tunnel mode.
http://docs.openvswitch.org/en/latest/faq/qos/

My scenario:

I have several VM ports, and several VxLan ports in br0, and there is one 
seprate eth0 port (not in br0), which is the underlay port of Vxlan port.
Currently I add rule to match VM traffic to certain Vxlan port, and all these 
vxlan ports would go out through eth0.

Now I want to enable egress traffic shaping, eg:
VM1 goes out with min_rate=10M, max_rate=100M.
VM2 goes out with min_rate=50M, max_rate=200M.

In the given example in http://docs.openvswitch.org/en/latest/faq/qos/ chapter 
“egress traffic shaping”, it directly uses the physical port. But in tunnel 
case, I can NOT specify the physical port directly.
So how to configrue egress traffic shaping in tunnel case? Appreciate some 
example configruation. Thanks.


Br,
Wang Zhike
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev