-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[hash] Update yang model with IPV6_FLOW_LABEL (for ECMP or LAG) #21522
base: master
Are you sure you want to change the base?
[hash] Update yang model with IPV6_FLOW_LABEL (for ECMP or LAG) #21522
Conversation
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
abf0caf
to
bdad4fa
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
bdad4fa
to
0592bba
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
0592bba
to
c2339a2
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -40,6 +40,7 @@ module sonic-hash { | |||
enum INNER_SRC_IP; | |||
enum INNER_L4_DST_PORT; | |||
enum INNER_L4_SRC_PORT; | |||
enum IPV6_FLOW_LABEL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update unit test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
e1218c3
to
de22cdc
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
de22cdc
to
c2a906e
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Andriy Yurkiv <[email protected]>
Signed-off-by: Andriy Yurkiv <[email protected]>
c2a906e
to
314a8ee
Compare
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
Related PRs:
sonic-net/sonic-utilities#3730
sonic-net/sonic-sairedis#1508
sonic-net/sonic-swss#3481
Why I did it
Need to add SAI_NATIVE_HASH_FIELD_IPV6_FLOW_LABEL for hash calculation. Need to align Yang model.
Work item tracking
How I did it
Added IPV6_FLOW_LABEL to Generic Hash Yang model (both
ecmp_hash
andlag_hash
). path:SWITCH_HASH/GLOBAL
Updated existing UT.
Updated Configuration.md
How to verify it
1)make configure PLATFORM=mellanox
2)make target/sonic-mellanox.bin
3)check model
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)