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

Enhance acl test case for multi-asic platforms #3156

Merged
merged 8 commits into from
Mar 29, 2021

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Mar 16, 2021

What/Why I did:
This PR is continuation of #2514 where infra changes were done to support acl counters library for multi-asic platforms. Following changes are done here:

  • Enhance ACL test itself to run on multi-asic platforms. acl_table_ports will have port binding for each namespace.
  • Updated mg_facts() library to associate External Port-Channel to namespace
  • Updated interface_facts() to return data from all namespace/asic's on multi-asic platforms.
  • Update port_toggle() utility to work for multi-asic/namespace.

How I verify:
Verified both Single and Multi-asic platforms.

@abdosi abdosi requested a review from a team as a code owner March 16, 2021 23:09
@lgtm-com
Copy link

lgtm-com bot commented Mar 16, 2021

This pull request introduces 1 alert when merging 02d90a5 into b1c4f28 - view on LGTM.com

new alerts:

  • 1 for Unused argument in a formatting call

Signed-off-by: Abhishek Dosi <[email protected]>
@abdosi abdosi requested review from daall and wangxin March 17, 2021 02:51
@abdosi
Copy link
Contributor Author

abdosi commented Mar 24, 2021

@daall and @wangxin can you please help review this.

tests/acl/test_acl.py Show resolved Hide resolved
tests/acl/test_acl.py Show resolved Hide resolved
@abdosi abdosi merged commit b9c558c into sonic-net:master Mar 29, 2021
@abdosi abdosi deleted the multiasic_acl branch March 29, 2021 15:30
vmittal-msft pushed a commit to vmittal-msft/sonic-mgmt that referenced this pull request Sep 28, 2021
Enhance ACL test itself to run on multi-asic platforms. acl_table_ports will have port binding for each namespace.
Updated mg_facts() library to associate External Port-Channel to namespace
Updated interface_facts() to return data from all namespace/asic's on multi-asic platforms.
Update port_toggle() utility to work for multi-asic/namespace.
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.

2 participants