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

aoscx_config fails silently removing in use role, policy or class #77

Open
zenchaos opened this issue Jul 7, 2023 · 0 comments
Open

Comments

@zenchaos
Copy link

zenchaos commented Jul 7, 2023

If a port-access class or a port-access role, policy or class are in use elsewhere in the config and an attempt is made to remove it, the command fails silently.

If a role containing the PhoneDestAllow policy exists, both of these will fail but Ansible will return OK.

  • name: Add Phone Dest class CX
    arubanetworks.aoscx.aoscx_config:
    lines:
    - comment permit phone switch blocks
    - class ip PhoneDest
    parents: class ip PhoneDestAllow
    before: no class ip PhoneDestAllow

  • name: Add Phone Dest class CX
    arubanetworks.aoscx.aoscx_config:
    lines:
    - comment identify phone switch blocks
    - match ip any 10.200.1.0/24
    - match ip any 10.200.8.0/24
    parents: class ip PhoneDest
    before: no class ip PhoneDest

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

No branches or pull requests

1 participant