Skip to content

Allow users to import ACL from a CSV File #8858

Closed

Description

@btzq
ISSUE TYPE
  • Improvement Request
COMPONENT NAME
Improvement Request (UI, Functionality)
CLOUDSTACK VERSION
4.19
CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY

Note: This ticket is broken down as requested from the origianl post, #8841

Allow users to import ACL from a CSV File

  • As an admin, id like the ability to plan my ACL lists offline first in an excel.
  • Once ive finalised my list, i would like to be able to import it to cloudstack via CSV
  • This would greatly help my workflow (i can also keep the excel as a backup)
STEPS TO REPRODUCE

N/A

N/A
EXPECTED RESULTS
To be able to manage ACL Rules more easily for large scale projects
ACTUAL RESULTS
Challenging to use ACL rules for large scale projects.

Activity

  1. DaanHoogland commented on Apr 11, 2024

    @DaanHoogland
    Contributor

    valid request @btzq ,

    I think this can be partly implemented in the UI. There is an example for roles already (for whomever plans to implement this), ImportRole. In the AclList case we need to add an API ImportAclList and that can than be called by a processor that could for instance read an csv file. The UI could be such a processor but a CLI tool would do as well.

  2. btzq commented on Apr 12, 2024

    @btzq
    Author

    I just thought of something. If the 'Import CSV' is going to be supported, it may also be necessary to support 'Override Existing ACL Rules'. Just so that it doesnt create duplicate rules.

  3. DaanHoogland commented on Apr 12, 2024

    @DaanHoogland
    Contributor

    I just thought of something. If the 'Import CSV' is going to be supported, it may also be necessary to support 'Override Existing ACL Rules'. Just so that it doesnt create duplicate rules.

    I think it is not needed as we could import rules in a new list and apply that one to the network. I can think of more use-cases to complicate this; add replace flags per rule, but what would be the match (source-cidr+port, source+des-cidr, in/egress, a user defined combination ?) . Let's keep this as simple as possible. Just add to a list and let the operator be responsible of clearing the list first if needed.

  4. btzq commented on Apr 12, 2024

    @btzq
    Author

    Sure, we can go with that.

    We can create a new ACL List and upload the rules via XLSX, then swap the ACL List (and delete the old list).

    Still works for us.

  5. added this to the 4.20.0.0 milestone on Apr 30, 2024
  6. 10 remaining items

  7. moved this from Todo to Dev In Progress in Apache CloudStack BugFest - Issueson Nov 10, 2025
  8. moved this from Dev In Progress to ready for Review in Apache CloudStack BugFest - Issueson Nov 12, 2025
  9. linked a pull request that will close this issueimport network acl rules using csv #12013on Jan 7, 2026
  10. moved this from Todo to In Progress in Apache CloudStack 4.22.1on Jan 7, 2026
  11. DaanHoogland commented on Jan 29, 2026

    @DaanHoogland
    Contributor

    implemented in #12013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions