Hi Lucas, Thanks a lot for your valuable suggestion, I have collected port stats from all ports of all switches and stored the stats in the following way:
if sw_name not in portstats: portstats = {'switch_name' : {'port_number' : 'tx_bytes'}, 'h2' : {}...............} But I am not getting exactly how do I calculate increments by taking difference between previous and current tx_bytes on ports. As I read somewhere that by calculating increment in tx_bytes, link load can be calculated. Could you please guide me in this regard. Thanking you in advance. Kind Regards, On Tue, May 5, 2015 at 5:25 PM, Lucas Brasilino <lr...@cin.ufpe.br> wrote: > Hi David, > > To collect port data, such as number of bytes, take a look at OF > 'Port-status" message, which in Pox it is implemented by the ' > 'ofp_stats_request' class. At wiki > there is a example about it. > > -- > Att > Lucas Brasilino > MSc Student @ Federal University of Pernambuco (UFPE) / Brazil > twitter: @lucas_brasilino >