kytos-ng / flow_manager

Kytos NApp that manages OpenFlow 1.3 entries
https://kytos-ng.github.io/api/flow_manager.html
MIT License
0 stars 7 forks source link

Pace alien flow deletion #200

Closed Ktmi closed 2 months ago

Ktmi commented 2 months ago

Closes #197

Summary

Add in owner for alien flows so they can be paced separately.

Local Tests

Tested this by creating a bunch of evcs, and then restarting kytos with the DB cleared so all the created flows appeared as alien flows. The deletion of the flows was paced under the alien owner as expected.

End-to-End Tests

Need to run these, though I'm not certain we even have E2E tests involving alien flows.

Ktmi commented 2 months ago

@viniarck This one should be good to go. I tested it with my laptop, and 500 per second is doable, though a little spotty on the laptop. alien_flow_deletion It's going to be a lot better on dedicated hardware.

viniarck commented 2 months ago

img