[pox-dev] [POX]Help!! How to get the number of buffer packets from the port??
Murphy McCauley
murphy.mccauley at gmail.com
Sun Jul 14 18:00:39 PDT 2013
I'm not sure what you mean by "buffer" in this context, but I *think* you're talking about trying to get a measure of how full a queue associated with a port is. If that's the case... I don't think there is anything specified in OpenFlow to help you.
-- Murphy
On Jul 14, 2013, at 5:56 PM, 朱超 wrote:
> 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 <murphy.mccauley at gmail.com>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130714/20c95e8d/attachment-0002.htm>
More information about the pox-dev
mailing list