Skip to content

Use number of fip also for internal network#428

Merged
jose-caballero merged 3 commits intomainfrom
use_number_of_fip_also_for_internal_network
Feb 10, 2026
Merged

Use number of fip also for internal network#428
jose-caballero merged 3 commits intomainfrom
use_number_of_fip_also_for_internal_network

Conversation

@jose-caballero
Copy link
Contributor

Description:

Special Notes:


Submitter:

Have you (where applicable):

  • Added unit tests?
  • Checked the latest commit runs on Dev?
  • Updated the example config file(s) and README?

Reviewer

Does this PR:

  • Place non-StackStorm code into the lib directory?
  • Have unit tests for the action/sensor and lib layers?
  • Have clear and obvious action parameter names and descriptions?

@jose-caballero jose-caballero marked this pull request as draft February 5, 2026 17:33
@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.81%. Comparing base (15d598e) to head (3ffaa4f).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #428   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files         109      109           
  Lines        2640     2643    +3     
  Branches      331      331           
=======================================
+ Hits         2635     2638    +3     
  Misses          4        4           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jose-caballero jose-caballero force-pushed the use_number_of_fip_also_for_internal_network branch from 76e7b83 to 4af85dd Compare February 5, 2026 17:39
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 process has been moved before checking which
type of network is involved.
@jose-caballero jose-caballero force-pushed the use_number_of_fip_also_for_internal_network branch from 4af85dd to 90181dd Compare February 9, 2026 09:58
khalford
khalford previously approved these changes Feb 9, 2026
We unconditionally allocate all the FIPs, whether they are going to be
used or not. That's a waste of resources.

Users can allocate the FIPs themselves when they are actually needed.
@jose-caballero jose-caballero force-pushed the use_number_of_fip_also_for_internal_network branch from 90181dd to 3ffaa4f Compare February 9, 2026 11:17
@jose-caballero jose-caballero marked this pull request as ready for review February 9, 2026 13:40
@RyanH-STFC RyanH-STFC self-requested a review February 9, 2026 15:36
Copy link
Contributor

@RyanH-STFC RyanH-STFC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jose-caballero jose-caballero dismissed gmatthews20’s stale review February 10, 2026 07:47

ghost request for changes is blocking merge

@jose-caballero jose-caballero merged commit 78d3e74 into main Feb 10, 2026
14 checks passed
@jose-caballero jose-caballero deleted the use_number_of_fip_also_for_internal_network branch February 10, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants