kytos-ng / mef_eline

Kytos NApp to create and manage point-to-point L2 circuits
https://kytos-ng.github.io/api/mef_eline.html
MIT License
0 stars 8 forks source link

Removing a path could lead to leftover flows. #476

Open Alopalao opened 3 months ago

Alopalao commented 3 months ago

While exploring from issue #45:

i. Allocate and deallocate many individual vlans on an interface

The issue in failover_path (current_path is similar):

Things to keep in mind:

Possible solutions:

Update

Alopalao commented 3 months ago

Created a not ideal solution. I solves duplicated flows for this case only. Presents another issue with VLANs. VLANs are used before sending flows, with flow mods additions and deletions errors, these VLANs are not freed but they should be.

viniarck commented 3 months ago

@Alopalao good finding, let's keep this in the backlog, since the service unavailable was due to a very high rate of requests that we don't expect in prod atm. As mef_eline consistency check gets implemented/enhanced it can also aid this case, and this one is already in progress, so let's avoid any other adjacent implementation in the meantime here. In the future, we can reassess if we'll augment the error handling part here and consider other adjacent efforts too like replacing requests or not.

viniarck commented 3 months ago

Now regarding the rest of the stress tests, I'll recommend that you try to use the methods without a request to conclude that task since you've already found out this one here, so basically calling the vlan allocation deallocation method from a NApp.

viniarck commented 3 weeks ago

@Alopalao can this be closed or was there something remaining to still be mapped and addressed?

Alopalao commented 3 weeks ago

This issue can still be present. The solution for this issue is ensure flow installation without errors or allocate/deallocate VLANS by confirmed flow installation/deletion only.

viniarck commented 3 weeks ago

This issue can still be present. The solution for this issue is ensure flow installation without errors or allocate/deallocate VLANS by confirmed flow installation/deletion only.

Right. When you have the chance, let's clarify and map the remaining potential errors that you mean here. Are they the ones related to this issue here https://github.com/kytos-ng/mef_eline/issues/495? If there's anything else let's document in the issue body just so we get back to it later when gets prioritized

Alopalao commented 3 weeks ago

Added Possible solutions so it is documented when to close this issue.