kytos-ng / of_core

Kytos Main OpenFlow Network Application (NApp)
MIT License
0 stars 5 forks source link

feature: Receive table stats #119

Closed gretelliz closed 1 year ago

gretelliz commented 1 year ago

Closes #113

Summary

Add update_table_list to start receiving MultipartType.OFPMP_TABLE. Add a new class: TableStats for the data received from MultipartType.OFPMP_TABLE Add _handle_multipart_table_stats to get the data and publish a new event: kytos/of_core.table_stats.received

Local Tests

I made sure to get messages with table stats by putting a temporary log:

2023-05-13 00:11:45,166 - INFO [kytos.napps.kytos/of_core] (MainThread) Table stats received: 254 tables

End-to-End Tests

Progress..