[ovs-discuss] Queue stats don't appear

Ben Pfaff blp at ovn.org
Mon Jul 25 20:18:56 UTC 2016


That looks OK to me.  You might check your OVS logs for related
warnings.

On Mon, Jul 25, 2016 at 07:06:42PM +0000, álvaro wrote:
> 
> 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 <blp at ovn.org>
> Sent: Monday, July 25, 2016 4:24 PM
> To: álvaro
> Cc: discuss at 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?



More information about the discuss mailing list