Closed italovalcy closed 3 years ago
Hi folks,
This issue is related to #124, more specifically because flow_manager is not aware of the actually installed flows when the switch connects and the send a FLOW_MOD to install all flows according to the stored_flows.
Kytos log will have some like:
2021-04-22 18:19:27,483 - INFO [kytos.napps.kytos/flow_manager] (Thread-29) Flows resent to Switch 00:00:00:00:00:00:00:01
One suggestion to solve this issue is to refactor the way Kytos deal with the recently connected switch and pushes the flows. As suggested in #124, the resend_stored_flows() should only request a new flow_stats and then run the consistency check instead of forcing the FLOW_MOD install command (no matter what is in the switch's flow table).
Hi,
When the Kytos controller disconnects from the switch and then reconnects, all the flows are removed and recreated, causing a traffic disruption. When the switch is reconnected to the controller, the consistency check should work only in the inconsistencies and not remove all to create.
The following end-to-end test is failing:
This issue can also be related to steps taken from Kytos when the switch connects. Many openflow controllers used to delete all flows when the switch has a ConnectionUP (not sure if this is the case for kytos)