Hi,

If you are using the destiny branch (which is a good idea), you can take a
look at netapps/monitoring.py to see how it requests and handles queue
stats requests

( the function that creates the request is called
send_queue_stats_request() , around line 388)

On Tue, Mar 27, 2012 at 10:40 AM, 星言 墨虚 <[email protected]> wrote:

> Dear all,
>
> Sorry to bother you.
>
> I have another question about how to collect the information of queue in
> openvswitch. I am trying to monitor the status of ports of openvswitch. So
> I used the queues configured at each port of openvswitch to queue packets
> for different applications.
>
> I use the ovs-vsctl tool for configuring the queues as:
>
> *sudo ovs-vsctl -- set port eth1 qos=@newqos \**-- --id=@newqos create qos 
> type=linux-htb** other-config:min-rate=0 queues=0=@q0,\** -- --id=@q0 create 
> queue other-config:min-rate=0*
>
> Now, my question is I don't know which command should be used to connect the 
> openvswitch and collect the status of queue just like the length of queue, 
> the packets which received and sent and so on. And which event should be used 
> to deal with the reply of openvswitch about queue status?
>
> Thanks!
>
>

Reply via email to