[ovs-discuss] ovs-vsctl created queue is not shown when using ovs-ofctl queue-stats <br_name>
Zhe Zhang
zhangzhe.hust at gmail.com
Fri Feb 21 17:24:31 UTC 2014
Hi,
I use ovs-vsctl to create qos on the physical port eth0 of the openvswitch like following:
sudo ovs-vsctl set port eth0 qos=@newqos -- --id=@newqos create qos type=linux−htb other-config:max-rate=10000000 \
queues:0=@q0 -- --id=@q0 create queue other-config:min-rate=10000000 other-config:max-rate=10000000
when I use ovs-vsctl list qos, the output shows the records:
_uuid : 4de62a7a-0c74-4bd6-b7cf-b68989d7b046
external_ids : {}
other_config : {max-rate="10000000"}
queues : {0=384508f9-74a3-43b9-8eb3-6f4ae84d0697}
type : "linux−htb"
when I use ovs-vsctl list queue, the output shows the records:
_uuid : 384508f9-74a3-43b9-8eb3-6f4ae84d0697
dscp : []
external_ids : {}
other_config : {max-rate="10000000", min-rate="10000000"}
but when I use openflow controller to try to direct spcific traffic flow to this queue, nothing happens, the traffic rate is not limited to
the value I set in the QoS configuration.
Then I tried to check the queue stat by using ovs-ofctl queue-stats <br_name>, the output is:
OFPST_QUEUE reply (xid=0x2): 0 queues
I believe the queue actually is not created based on this output, but I don't know why this is not working. Any suggestions on this?
Thanks for your time.
Zhe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140221/e7b9df91/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3416 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140221/e7b9df91/attachment.p7s>
More information about the discuss
mailing list