[ovs-dev] [PATCH] FAQ: Add QoS section.

Justin Pettit jpettit at nicira.com
Tue Jan 22 18:06:12 UTC 2013

I hope you had this section queued up for review, and not that you whipped it up in the minute since you responded to that QoS question on ovs-discuss.  I already feel inadequate enough.

> +A: Suppose that you want to set up bridge br0 connected to physical
> +   Ethernet port eth0 (a 1 Gbps device) and virtual machine interface


> +   vif1.0 and vif2.0, and that you want to limit traffic from vif1.0
> +   to eth0 to 10 Mbps and from vif2.0 to eth0 to 20 Mbps.  Then, you
> +   could configure the bridge this way:
> +
> +       ovs-vsctl -- \
> +           add-br br0 -- \
> +	   add-port br0 eth0 -- \
> +	   add-port br0 vif1.0 -- set interface vif1.0 ofport_request=1 -- \
> +	   add-port br0 vif2.0 -- set interface vif2.0 ofport_request=2 -- \

I haven't run the commands either, but I think these ports you requested may have been given to br0 and eth0 already, since we try to allocate from 1.  (If you update these ones, there are a couple of places later on that also reference these OpenFlow port numbers.)



More information about the dev mailing list