ovs-vsctl -- set port wlan0 qos=@newqos -- --id=@newqos create qos type=linux-htb queues:1=@newqueue queues:2=@newqueue2 -- --id=@newqueue create queue other-config:min-rate=3000000 other-config:max-rate=3000000 -- --id=@newqueue2 create queue other-config:min-rate=8000000 other-config:max-rate=8000000
2. Check the Queues have been created
ovs-ofctl queue-get-config ovsbr wlan0 -O OpenFlow13
3. Create a flow that uses Queue 1 for HTTPS traffic
ovs-ofctl add-flow ovsbr priority=1,dl_type=0x800,nw_proto=6,tp_src=443,in_port="eth0.2",actions=set_queue:1,output:"wlan0" -O OpenFlow13
4. Check the flow has been created and packets are processed by it
ovs-ofctl dump-flows ovsbr -O OpenFlow13
5. Check if traffic is going through Queue 1 (unfortunately not)
ovs-ofctl queue-stats ovsbr -O OpenFlow13
Calvin
_______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss