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

[acl_loader]:Fix show mirror_session error #580

Merged
merged 2 commits into from
Jul 16, 2019

Conversation

JaredLius
Copy link
Contributor

Signed-off-by: Jared.Liu [email protected]

- What I did
when execute command "show mirror_session", the status display error.
admin@sonic:~$ show mirror_session
Name Status SRC IP DST IP GRE DSCP TTL Queue


everflow0 error 14.14.14.149 192.192.2.2 0x6558 50 64
there is some code error in acl_loader/main.py.
- How I did it
when get mirror session information from state_db, use MIRROR_SESSION_TABLE instead of MIRROR_SESSION
- How to verify it
After fix, the status display correct.
admin@sonic:~$ show mirror_session
Name Status SRC IP DST IP GRE DSCP TTL Queue Policer


everflow0 active 14.14.14.149 192.192.2.2 0x6558 50 64
- 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)

-->

@stcheng stcheng self-requested a review July 16, 2019 15:58
@stcheng stcheng added the Bug label Jul 16, 2019
@stcheng stcheng merged commit c718cab into sonic-net:master Jul 16, 2019
@stcheng
Copy link
Contributor

stcheng commented Jul 16, 2019

Thanks for the fixing!

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.

4 participants