Skip to content

[acl_loader]:Fix show mirror_session error#580

Merged
stcheng merged 2 commits intosonic-net:masterfrom
JaredLius:master
Jul 16, 2019
Merged

[acl_loader]:Fix show mirror_session error#580
stcheng merged 2 commits intosonic-net:masterfrom
JaredLius:master

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