kytos / of_core

Kytos Main OpenFlow Network Application (NApp)
MIT License
1 stars 19 forks source link

Periodically request for port statistics #92

Closed ajoaoff closed 3 years ago

ajoaoff commented 4 years ago

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}}