Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nxos_acls module: addrgroup as source and/or destination #929

Open
edaleand opened this issue Jan 22, 2025 · 0 comments
Open

nxos_acls module: addrgroup as source and/or destination #929

edaleand opened this issue Jan 22, 2025 · 0 comments
Labels
feature This issue/PR relates to a feature request.

Comments

@edaleand
Copy link

edaleand commented Jan 22, 2025

SUMMARY

Add support for addrgroup as option for source and destination addresses in nxos_acls module.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

cisco.nxos.nxos_acls module

ADDITIONAL INFORMATION

Using addrgroup is supported on nxos for logical grouping of hosts and prefixes to be used as source and/or destinations in access-lists. It would be great if the nxos_acls module supported it as well. addrgroup would be an optional key in the source/destination dictionary with a string as value representing the name of a pre existing addrgroup.

- name: Create ACL entry with addrgroup as source
  cisco.nxos.nxos_acls:
    state: merged
    config:
      - afi: ipv4
        acls:
          - name: myAcl
            aces:
              - sequence: 10
                grant: permit
                protocol: ip
                source:
                  addrgroup: myAddrgroup
                destination:
                  host: 10.0.0.1
@edaleand edaleand changed the title nxos_acls module addrgroup as source and/or destination nxos_acls module: addrgroup as source and/or destination Jan 22, 2025
@KB-perByte KB-perByte added the feature This issue/PR relates to a feature request. label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request.
Projects
None yet
Development

No branches or pull requests

2 participants