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

[aclorch] Add support for creating ingress and egress MIRROR tables concurrently #1286

Merged
merged 7 commits into from
May 27, 2020

Conversation

daall
Copy link
Contributor

@daall daall commented May 4, 2020

Signed-off-by: Danny Allen [email protected]

What I did
I made it so that users can create MIRROR tables with ingress ACLs and MIRROR tables with egress ACLs at the same time (and similarly for MIRRORv6 tables).

Why I did it
Currently only one mirror table of each type is allowed in order to support the logic for reconciling combined v4/v6 mirror tables. However, we can differentiate based on ACL stage, keeping the reconciliation logic intact while allowing users to mirror with ingress and egress ACLs simultaneously (on devices that support this).

How I verified it
WIP. I've provided a new VS test case to check the behavior, I'm in the process of testing the changes on a DUT just to be safe.

Details if related

@daall
Copy link
Contributor Author

daall commented May 4, 2020

retest this please

@lgtm-com
Copy link

lgtm-com bot commented May 6, 2020

This pull request introduces 1 alert when merging 2875d8c into e1a5e9a - view on LGTM.com

new alerts:

  • 1 for Unused local variable

@daall daall marked this pull request as ready for review May 6, 2020 01:01
@daall
Copy link
Contributor Author

daall commented May 6, 2020

retest this please

@prsunny
Copy link
Collaborator

prsunny commented May 6, 2020

lgtm

@daall
Copy link
Contributor Author

daall commented May 12, 2020

@prsunny @lguohan @abdosi please help review. :)

Copy link
Collaborator

@prsunny prsunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, please check other open comments

orchagent/aclorch.cpp Show resolved Hide resolved
@daall daall merged commit a9dbc83 into sonic-net:master May 27, 2020
@daall daall deleted the two_mirror_tables branch May 27, 2020 21:27
abdosi pushed a commit that referenced this pull request May 28, 2020
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
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.

3 participants