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

[201911][acl] Use a list instead of a comma-separated string for ACL port list #1576

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

daall
Copy link
Contributor

@daall daall commented Apr 22, 2021

Signed-off-by: Danny Allen daall@microsoft.com

How I did it
I discovered that using the @ syntax to insert the port list as a comma-separated list/array actually causes the port list to be deleted when the same table is config add-ed multiple times. Using a list works. (We still need to determine the root cause for why the @ syntax fails).

How to verify it
Updated the tests and ran the command locally to verify the fix. Still working on adding a new regression test case for this.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

…port list

Signed-off-by: Danny Allen <daall@microsoft.com>

foo
@qiluo-msft qiluo-msft merged commit a364614 into sonic-net:201911 Apr 22, 2021
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
a364614 2021-04-22 | [201911][acl] Use a list instead of a comma-separated string for ACL port list (sonic-net#1576) [Danny Allen]
391e524 2021-04-15 | [201911] Fix Multi-ASIC show specific resursive route (sonic-net#1563) [gechiang]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants