Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase resiliency of critical execution paths against temporary, or permanent network outages #188

Merged
merged 4 commits into from
Mar 11, 2020

Conversation

Levovar
Copy link
Collaborator

@Levovar Levovar commented Mar 6, 2020

Umbrella ticket to fully solve #166 and #165, and partially #167.

In the new structure DanmEps will never be cleaned when its related IPs could not be freed in the network for any reason. In these scenarios it will become either user, or Cleaner's responsibility to handle the dangling resources.

…nd permanent outages

New API added to DanmNet to free IPs in the same scoe s deleting a DanmEp
This should solve the problem of DanmEps ever disappearing without clearing
Dangling resources can still happen, but user now has a chance to clean them up manually, or leave it to Cleaner utility
…a RAII manner

This is now universally happening during both IPVLAN, and delegated operations.
The result is a vastly simplified execution path greatly decreasing the chances of IPs getting leaked inthe future.
@Levovar Levovar changed the title [WIP] Increase resiliency of critical execution paths against temporary, or permanent network outages Increase resiliency of critical execution paths against temporary, or permanent network outages Mar 10, 2020
Levovar added 2 commits March 10, 2020 18:09
…tored DanmEp creation

Changing to DanmEp based read from interface based works for both default, and normal networks
@Levovar Levovar merged commit 2705b5d into master Mar 11, 2020
@Levovar Levovar deleted the outage branch March 11, 2020 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant