kytos / of_core

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

of_core sends stats_request for flow and ports even if the switch is disabled #129

Open italovalcy opened 3 years ago

italovalcy commented 3 years ago

Currently, of_core is sending a stats_request for flow and port statistics independently if the switch is enabled or not:

https://github.com/kytos/of_core/blob/master/main.py#L43-L57

we should send stats_request only if the switch is enabled.