Use number of fip also for internal network#428
Draft
jose-caballero wants to merge 2 commits intomainfrom
Draft
Conversation
Use the number of FIPs specified in the user form for both the Externals and the Internals Networks, and always override the default value. For that, the FIP creation and allocation process has been moved to its own dedicated function. This new function is called even before checking which type of network is involved in order to decide the correct function to use to set it up.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #428 +/- ##
=======================================
Coverage 99.81% 99.81%
=======================================
Files 109 109
Lines 2640 2648 +8
Branches 331 331
=======================================
+ Hits 2635 2643 +8
Misses 4 4
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
76e7b83 to
4af85dd
Compare
gmatthews20
requested changes
Feb 6, 2026
| ) | ||
| allocate_floating_ips( | ||
| conn, | ||
| network_identifier=network.value, |
Collaborator
There was a problem hiding this comment.
I think this will attempt to allocate floating IPs from the Internal network which we don't want, only from External or Jasmin
| conn, | ||
| network_identifier=network.value, | ||
| project_identifier=project.id, | ||
| number_to_create=number_of_floating_ips, |
Collaborator
There was a problem hiding this comment.
This will max out their quota when the project is created?
Member
There was a problem hiding this comment.
Yes we should not do this. Let users allocate their own FIPs. Otherwise we are wasting FIPs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Special Notes:
Submitter:
Have you (where applicable):
Reviewer
Does this PR:
libdirectory?liblayers?