Hi,
I have been testing the port QoS feature which was recently (this June?)
added to Open vSwitch.
As I understand it, QoS parameters are assigned to a port.
And it is then up to the controller to assign ports to queues.
I am using vs-ofctl to manually set up some flows for testing purposes,
but this doesn't seem at all practical for non-testing.
Ideally I'd like for the controller to be able to
use the out_port as part of the flow key. Actually,
what I'm really interested in is being able to say,
anything from port1 is assigned to a 100Mbit/s class.
But it would also be fine for the class to be per-outgoing-port.
So my question is, does using ovs-vsctl make sense for this?
If so, does it need extending? If not, can someone offer
a recommendation for an alternate controller?
My question
For reference My current setting looks like this:
sudo ovs-vsctl set port eth1 q...@newqos \
-- --...@newqos create qos type=linux-htb \
other-config:max-rate=200000000 queues...@q0,1...@q1 \
-- --...@q0 create queue \
other-config:min-rate=100000000 \
other-config:max-rate=100000000 \
-- --...@q1 create queue \
other-config:min-rate=50000000 \
other-config:max-rate=50000000
vs-ofctl add-flow br0 \
"in_port=3 ip nw_dst=172.17.50.253 idle_timeout=0 actions=enqueue:1:0"
ovs-ofctl add-flow br0 \
"in_port=3 ip nw_dst=172.17.50.253 idle_timeout=0 actions=enqueue:1:1"
Happily it works as expected :-)
References
http://www.mail-archive.com/[email protected]/msg00625.html
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss_openvswitch.org