import network acl rules using csv#12013
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.22 #12013 +/- ##
============================================
- Coverage 17.59% 17.58% -0.01%
Complexity 15595 15595
============================================
Files 5910 5912 +2
Lines 529606 529844 +238
Branches 64705 64741 +36
============================================
Hits 93178 93178
- Misses 425940 426178 +238
Partials 10488 10488
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@sudo87 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. |
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm so far, let me test when you are ready @sudo87
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15706 |
|
@blueorangutan test keepEnv |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@sudo87 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. |
|
[SF] Trillian test result (tid-14811)
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 15736 |
|
[SF] Trillian test result (tid-14868)
|
| // no rules got imported | ||
| if (createdRules.isEmpty() && !errors.isEmpty()) { | ||
| logger.error("Failed to import any ACL rules. Errors: {}", String.join("; ", errors)); | ||
| throw new CloudRuntimeException("Failed to import any ACL rules."); |
There was a problem hiding this comment.
this is very confusing to a user. the reason is probably because a rule already existed and it is counterintuitive to not allow it. We might add a flag allowing overwriting it.
There was a problem hiding this comment.
As per the discussion on original issue, user can create new ACL and import the csv and assign it to network. Allowing overwriting rules will lead to loss of simplicity.
|
api/src/main/java/org/apache/cloudstack/api/command/user/network/ImportNetworkACLCmd.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/api/command/user/network/ImportNetworkACLCmd.java
Outdated
Show resolved
Hide resolved
|
Thank you @sureshanaparti for your review comments. |
|
[SF] Trillian test result (tid-14957)
|
|
[SF] Trillian test result (tid-14966)
|
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
@blueorangutan package |
|
@sudo87 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. |
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 16216 |
|
@blueorangutan test |
|
@sudo87 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
@blueorangutan test |
|
@sudo87 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@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. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16575 |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-15319)
|
Description
This PR fixes #8858
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
Screen.Recording.2025-11-12.at.5.32.34.PM.mov
How Has This Been Tested?
Test file:
AclRules-test-acls-e27d1e32-09b6-4cb9-acde-2a748d857678.csv
How did you try to break this feature and the system with this change?