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

Fix: Freeing a reserved subnet equal to a network pool #564

Merged
merged 1 commit into from
Apr 15, 2021

Conversation

davidefalcone1
Copy link
Contributor

Description

This PR fixes a bug that arises when freeing a reserved network equal to a network pool. Currently the Ipam removes completely the network pool and no cluster can ask/be mapped to that pool.

This PR also improves Ipam behavior if a cluster asks for an entire network pool. Currently it just looks for a mapping. If none is found, then returns an error. Thanks to this correction, if a mapping has not been found, the entire network pool is assigned to the cluster.

@davidefalcone1
Copy link
Contributor Author

/ok-to-test

@adamjensenbot
Copy link
Collaborator

Hi @davidefalcone1. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch
  • /merge: Merge this PR into the master branch
  • /ok-to-test Enable testing for PRs with base on forks

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • kind/breaking: 💥 Breaking Change
  • kind/feature: 🚀 New Feature
  • kind/bug: 🐛 Bug Fix
  • kind/cleanup: 🧹 Code Refactoring
  • kind/docs: 📝 Documentation

@adamjensenbot
Copy link
Collaborator

Hi @davidefalcone1. Thanks for your PR!

I'm waiting for a Liqo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

@palexster
Copy link
Member

/rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants