Request port statistics when requesting for flow statistics.
When the reply is received, an event is created with the list of port stats received.
For OpenFlow 1.3, there was a dictionary of xid's, to keep track of the multipart replies.
The dictionary contents were like {dpid: xid}. Now, it is necessary to keep track of
two xid's for each switch, so the dicitonary contents are: {dpid: {'flows': xid1, 'ports': xid2}}
Request port statistics when requesting for flow statistics. When the reply is received, an event is created with the list of port stats received.
For OpenFlow 1.3, there was a dictionary of xid's, to keep track of the multipart replies. The dictionary contents were like
{dpid: xid}
. Now, it is necessary to keep track of two xid's for each switch, so the dicitonary contents are:{dpid: {'flows': xid1, 'ports': xid2}}