Uh oh!
There was an error while loading. Please reload this page.
Public IP quarantine feature - #7378
Conversation
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
SonarCloud Quality Gate failed. |
DaanHoogland
commented
Apr 28, 2023
@BryanMLima can you have a look at those code smells? most of those are not your doing but there are some easy wins there. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@## main #7378 +/- ##
============================================
- Coverage 29.20% 29.13% -0.07% - Complexity 30891 31034 +143
============================================
Files 5150 5192 +42 Lines 363420 366141 +2721 Branches 53230 53529 +299 ============================================
+ Hits 106144 106690 +546 - Misses 242730 244844 +2114 - Partials 14546 14607 +61
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
blueorangutan
commented
Oct 26, 2023
[SF] Trillian test result (tid-8097)
|
DaanHoogland
commented
Oct 27, 2023
@BryanMLima , can you resolve the conflicts? |
shwstppr
commented
Oct 27, 2023
@blueorangutan package |
blueorangutan
commented
Oct 27, 2023
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Oct 27, 2023
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7551 |
shwstppr
commented
Oct 28, 2023
@blueorangutan test |
blueorangutan
commented
Oct 28, 2023
@shwstppr a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Oct 29, 2023
[SF] Trillian test result (tid-8147)
|
shwstppr
commented
Oct 30, 2023
@BryanMLima can you please check the failing smoke test? |
shwstppr
commented
Nov 3, 2023
@BryanMLima any update on this? |
BryanMLima
commented
Nov 7, 2023
@shwstppr sorry for the delay, I will have time to work on this later this week. |
BryanMLima
commented
Nov 10, 2023
@blueorangutan package |
blueorangutan
commented
Nov 10, 2023
@BryanMLima a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 10, 2023
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7709 |
DaanHoogland
commented
Nov 13, 2023
@blueorangutan test |
blueorangutan
commented
Nov 13, 2023
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
BryanMLima
commented
Nov 14, 2023
@kiranchavala, I addressed this enhancement, now it is possible to inform the ID of the quarantine or the address of the public IP in quarantine. It will be useful for the UI implementation of this functionality in the future. |
DaanHoogland
commented
Nov 15, 2023
test results: Smoke tests completed. 116 look OK, 2 have errors, 0 did not run
I will manually run the hostha test to make sure it is not related to the changes here. |
DaanHoogland
commented
Nov 15, 2023
in a clean env: |








Description
This PR aims to add the concept of quarantine for public IPs. The feature is fully described in issue #7369. The main goal of this functionality is to block the allocation of a disassociated public IP address by a configurable duration,
public.ip.address.quarantine.duration. This can prevent the allocation of this recently disassociated IP to another user. More critically, this feature can prevent the allocation of an IP that has been blacklisted for inappropriate use by the previous owner.Fixes: #7369
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
I added some unit tests to validate the core logic of this feature. Moreover, I tested in a local lab the whole process of disassociation of a public IP address and trying to allocate different accounts with different roles. As designed, only the previous owner was able to allocate the quarantined IP. Furthermore, I tested if the previous behavior is maintained, as the default value for the global configuration
public.ip.address.quarantine.durationis0, no public IP address is added to quarantined, as expected.