Skip to content

Conversation

@Ruchip16
Copy link
Member

SUMMARY

Replace the existing compare_configs() function with the improved implementation which:

  • build_acl_map() ensures sequence lines are matched to the correct ACL header, so sequences from other ACLs cannot be accidentally matched/removed.
  • compares only entries within the same ACL

This PR also fixes the previous port/protocol handling by coercing the val to string before calling string methods and handle non-digit values correctly.

issue: https://issues.redhat.com/browse/AAP-52373

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

acls.py

ADDITIONAL INFORMATION

@Ruchip16 Ruchip16 changed the title Fix the config handling logic for ACLs [DNM] Fix the config handling logic for ACLs Sep 17, 2025
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.

1 participant