-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[yang] sonic-mirror-session.yang does not align with ConfigDb #12397
Comments
@praveen-li @Junchao-Mellanox Could you help investigate this issue? It is similar to port lanes attribute. |
I suppose this is by design. Redis hash type does not support https://stackoverflow.com/questions/29203717/redis-storing-list-inside-hash |
@rupesh-k will fix this issue |
Working on this issue. ETA 11/01 |
@rupesh-k any update? |
@adyeung can you please help to find someone in BRCM to take a look? Thanks. |
@zhangyanzhao I will followup on the fix |
@adyeung any progress on this PR? Thanks. |
Expecting a fix from rupesh-k by 1/26 |
…13578) Fixes Mirror Yang model src_port to match CONFIG_DB #### Why I did it Fixes issue #12397 (comment)
PR is merged and close this issue. |
Description
sonic-mirror-session.yang uses leaf-list for for src_port:
https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-mirror-session.yang#L157
But src_port is not a list in ConfigDB:
admin@vlab-01:~$ sudo config mirror_session erspan add mrr_port 1.2.3.4 20.21.22.23 8 100 1234 0 Ethernet0
admin@vlab-01:~$ redis-cli -n 4 hgetall "MIRROR_SESSION|mrr_port"
Steps to reproduce the issue:
Describe the results you received:
sonic-mirror-session.yang does not align with ConfigDb
Describe the results you expected:
SONiC Yang should align with ConfigDB
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: