sorry, my English is so poor, i have saw the port stats. from the reply, we
can know the number of transmitted/received packets(bytes) and the number
of packets dropped by RX(TX). if i want to know the buffer size of the
packets in the port, (rx_bytes- tx_bytes) is right? or (rx_packets -
tx_packets - tx_dropped - rx_dropped) is right? can you tell me the
relationship between rx_packets, tx_packets, rx_dropped and tx_dropped?
Thank you very much !!!


2013/7/15 Murphy McCauley <[email protected]>

> On Jul 14, 2013, at 9:15 AM, 朱超 wrote:
>
> > Hello everyone, I got puzzled when I use POX. I want to read the buffer
> size for the packet goes through the port periodly. How can I realize it in
> POX?
>
> If I'm understanding you correctly, you just want to send a port stats
> request to the switch periodically and then examine the reply.  The stats
> sections and the "Statistics Collector Example" on the POX wiki should be
> helpful:
> https://openflow.stanford.edu/display/ONL/POX+Wiki
>
> -- Murphy

Reply via email to