Yes I did, with this command:

ovs-vsctl -- set Port s1-eth1 qos=@newqos --

--id=@newqos create QoS type=linux-htb other-config:max-rate=1000000000 
queues=0=@q0 --

--id=@q0 create Queue other-config:min-rate=4000000 
other-config:max-rate=4000000


and when I check with:

sudo ovs-vsctl list queue

appears the uuid of the queues and the configuration that I've chosen, but when 
I try to get the stats either with the:

ova-ofctl queue-stats or with the QueueStatsReceived method from POX nothing 
appears.

I don't know if I've configured the queue in the correct way, if you can tell 
me how should I configure the queue of a port switch to get the stats like 
tx_byte, tx_packet, tx_error I would appreciate.


________________________________
From: Ben Pfaff <b...@ovn.org>
Sent: Monday, July 25, 2016 4:24 PM
To: álvaro
Cc: discuss@openvswitch.org
Subject: Re: [ovs-discuss] Queue stats don't appear

On Mon, Jul 25, 2016 at 10:17:19AM +0000, álvaro wrote:
> Hi, I'm trying to get the queue stats of the network, I make a request to the 
> controller and use the QueueStatsReceived with a handler, but when I print 
> the stats nothing appears(even saturating switch ports), with the FlowStats 
> and PortStats works normally.
>
> Anyone knows why always appear "[]" without stats in?

Did you configure queues?
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to