[ovs-discuss] Queue-stats not working with ofctl

edward wilson edward.wilson2601 at gmail.com
Mon Jan 23 05:51:38 PST 2012


Hi,

I am using following but not able to get queue stats from ofctl.
can anyone tell is this command works for queue-stats.

 ovs-vsctl -- set Port br0 qos=@11  -- --id=@11 create QoS type=min-rate
other-config:min-rate=1000000 queues:1=@12 -- --id=@12 create queue
other-config:min-rate=1000000
46fb42fa-447b-4419-ac1f-8d7af07fe1bd
2bce74d5-1dc7-43db-b103-7f91265dfa3d

[root at localhost ~]# ovs-vsctl list queue
_uuid               : 38022ab4-d8b9-4efe-ab9f-b89024e0b100
external_ids        : {}
other_config        : {min-rate="100"}
_uuid               : 2bce74d5-1dc7-43db-b103-7f91265dfa3d
external_ids        : {}
other_config        : {min-rate="1000000"}

[root at localhost ~]# ovs-ofctl queue-stats br0
OFPST_QUEUE reply (xid=0x1): 0 queues


I tried following also with tcp connection:-
=============================

[root at localhost ~]# ovs-vsctl set-controller br0 ptcp:6633

[root at localhost ~]# ovs-ofctl show tcp:127.0.0.1:6633
OFPT_FEATURES_REPLY (xid=0x1): ver:0x1, dpid:00002c27d71d087d
n_tables:1, n_buffers:256
features: capabilities:0x87, actions:0xfff
 2(vnet0): addr:fe:54:00:60:54:17
     config:     0
     state:      0
     current:    10MB-FD COPPER
 3(vnet1): addr:fe:54:00:29:a4:ea
     config:     0
     state:      0
     current:    10MB-FD COPPER
 5(em1): addr:2c:27:d7:1d:08:7d
     config:     0
     state:      0
     current:    100MB-FD COPPER AUTO_NEG
     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
 LOCAL(br0): addr:2c:27:d7:1d:08:7d
     config:     0
     state:      0
OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0
[root at localhost ~]#
[root at localhost ~]# ovs-ofctl queue-stats tcp:127.0.0.1:6633
OFPST_QUEUE reply (xid=0x1): 0 queues
[root at localhost ~]#

Regards,
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20120123/c6564833/attachment-0001.htm>


More information about the discuss mailing list