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] remove error messages in AclRuleMirror::validateAddMatch #984

Closed
wants to merge 1 commit into from

Conversation

stepanblyschak
Copy link
Contributor

Signed-off-by: Stepan Blyschak [email protected]

What I did

Removed error messages in AclRuleMirror::validateAddMatch.

Passing invalid parameter to validateAddMatch is completely valid flow according to design of AclRule*::validateAdd* methods.

Otherwise during everflow testing loganalyzer matches strange errors:

Jul 18 22:02:15.496050 dev-r-vrt-232-007 ERR swss#orchagent: :- validateAddMatch: MIRROR_ACTION match is not supported for the table of type MIRROR_DSCP

Why I did it

How I verified it

Details if related

Copy link
Contributor

@stcheng stcheng left a comment

Choose a reason for hiding this comment

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

Are you sure you're running the latest code?
aclMatchLookup.find(attr_name) != aclMatchLookup.end() &&
this line is to prevent the error message you encountered during the test.

@stepanblyschak
Copy link
Contributor Author

Oh I see. Can you update swss submodule if it's not included in Sonic buildimage?

@stcheng
Copy link
Contributor

stcheng commented Jul 19, 2019

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