8000 Creating standard acl in eos using replaced state by chanfoong2002 · Pull Request #581 · ansible-collections/arista.eos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Creating standard acl in eos using replaced state #581

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”, yo 8000 u 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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

chanfoong2002
Copy link

SUMMARY
"replaced" state is not taking "standard" as parameters in ansible playbook. As a result only extended acl will be crated.
This fix will allow "standard: True" taken as input.

Fix #378

ISSUE TYPE
Bugfix Pull Request

COMPONENT NAME
arista.eos.eos_acls

ADDITIONAL INFORMATION
Tested working in my environment.

for update acls.py, _state_replaced function doesn't take parameter "standard" to create standard acl. As a result, only extended acl is created.  Updated the code to fix this issue.
Fixed the indent
Update indentation
@roverflow
81CB
Copy link
Member

@chanfoong2002 can you please add tests to validate you change and also add a changelog, you can refer previous merged PR as an Example!

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.

Standard ACL not being treated as Standard ACL
2 participants
0