Added function for removing ACL table in sub-ports TC#5543
Merged
ZhaohuiS merged 1 commit intosonic-net:masterfrom Jul 7, 2022
Merged
Conversation
wangxin
reviewed
Apr 30, 2022
Collaborator
There was a problem hiding this comment.
Does this configuration change need to be restored after testing is done?
Contributor
Author
There was a problem hiding this comment.
Hi @wangxin. This configuration is restored per test case:
https://github.com/Azure/sonic-mgmt/blob/master/tests/sub_port_interfaces/conftest.py#L537
Also, there is reload of the configuration after the test suite:
https://github.com/Azure/sonic-mgmt/blob/master/tests/sub_port_interfaces/conftest.py#L568-L577
|
@wangxin could you please take a look? @OleksandrKozodoi left comments |
5 tasks
47f5e7f to
ad9d970
Compare
Signed-off-by: Oleksandr Kozodoi <[email protected]>
Contributor
Author
|
@wangxin Can this be merged? Thank you in advance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Oleksandr Kozodoi [email protected]
Description of PR
Summary:
#2165 PR of sonic-swss repo caused errors in sub-port interfaces on LAG TC. Before moving ports to LAG, user should disable active ACL binding. So was added approach for unbinding those ports from ACL tables.
Type of change
Back port request
Approach
What is the motivation for this PR?
Update sub_port_interfaces TC according to changes from #2165 PR of sonic-swss
How did you do it?
Added function for removing ACL table when ingress/egress ACL binding is configured on LAG members.
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation