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

Generic Hash HLD #1101

Merged
merged 4 commits into from
Jan 29, 2023
Merged

Generic Hash HLD #1101

merged 4 commits into from
Jan 29, 2023

Conversation

nazariig
Copy link
Collaborator

@nazariig nazariig commented Oct 24, 2022

Signed-off-by: Nazarii Hnydyn [email protected]

This document provides general information about GH implementation in SONiC
This scope of this HLD is:

  • In scope:
    ECMP/LAG switch hash configuration

  • Out of scope:
    ECMP/LAG switch hash seed configuration
    ECMP/LAG switch hash algorithm configuration

PR title state context
GH YANG Model GitHub issue/pull request detail GitHub pull request check contexts
GH DB Schema GitHub issue/pull request detail GitHub pull request check contexts
GH VS Library GitHub issue/pull request detail GitHub pull request check contexts
GH Switch OA GitHub issue/pull request detail GitHub pull request check contexts
GH CLI GitHub issue/pull request detail GitHub pull request check contexts
GH Test Plan GitHub issue/pull request detail GitHub pull request check contexts
GH Test GitHub issue/pull request detail GitHub pull request check contexts

Signed-off-by: Nazarii Hnydyn <[email protected]>
Signed-off-by: Nazarii Hnydyn <[email protected]>
doc/hash/hash-design.md Outdated Show resolved Hide resolved
@rlhui
Copy link
Contributor

rlhui commented Oct 25, 2022

Does the hash field configuration apply for original incoming packets of the switch or final modified packets of the switch?

@rlhui
Copy link
Contributor

rlhui commented Oct 25, 2022

please look into how we can add api to expose what fields are actually being used in the hash by the switch.

@liat-grozovik
Copy link
Collaborator

@prsunny @rlhui kindly reminder to review. the follow up HLD review with the community is set for 12/06.
Appreciate if you can review it following the prev review feedback

@nazariig
Copy link
Collaborator Author

nazariig commented Dec 5, 2022

Does the hash field configuration apply for original incoming packets of the switch or final modified packets of the switch?

@rlhui to the original packets only - configuration is tunnel agnostic according to the SAI behavioral model

@nazariig
Copy link
Collaborator Author

nazariig commented Dec 5, 2022

please look into how we can add api to expose what fields are actually being used in the hash by the switch.

@rlhui done

@nazariig nazariig requested a review from rlhui December 5, 2022 14:29
Signed-off-by: Nazarii Hnydyn <[email protected]>
@zhangyanzhao
Copy link
Collaborator

reviewed in Sonic community meeting.

@liat-grozovik
Copy link
Collaborator

liat-grozovik commented Dec 13, 2022

@rlhui and @prsunny
Following the community review it was agreed to move forward with this HLD and have a second phase with new SAI API.
As of that, if any additional feedback to this HLD is available please send the sooner the better. Otherwise we will assume all is agreed and we will merge this HLD in the next few days.

@liat-grozovik
Copy link
Collaborator

@zhangyanzhao the HLD was reviewed and then we had a follow up. Code PRs are ready.
We should move forward with approval and merge as no feedback provided since the last review which was about month ago.

@liat-grozovik
Copy link
Collaborator

The feature and its current content is expected to be in 202305 and under discussion if to take into 202211 as originally aimed.

@liat-grozovik liat-grozovik merged commit d25b4ed into sonic-net:master Jan 29, 2023
prsunny pushed a commit to sonic-net/sonic-swss that referenced this pull request Jun 26, 2023
* [hash]: Implement GH backend as per HLD: sonic-net/SONiC#1101
liat-grozovik pushed a commit to sonic-net/sonic-utilities that referenced this pull request Jul 10, 2023
HLD sonic-net/SONiC#1101

- What I did
Implemented CLI for Generic Hash feature

- How I did it
Integrated Generic Hash interface into config and show CLI root

- How to verify it
Run Generic Hash CLI UTs

Signed-off-by: Nazarii Hnydyn <[email protected]>
theasianpianist pushed a commit to theasianpianist/sonic-swss that referenced this pull request Jul 20, 2023
pdhruv-marvell pushed a commit to pdhruv-marvell/sonic-utilities that referenced this pull request Aug 23, 2023
HLD sonic-net/SONiC#1101

- What I did
Implemented CLI for Generic Hash feature

- How I did it
Integrated Generic Hash interface into config and show CLI root

- How to verify it
Run Generic Hash CLI UTs

Signed-off-by: Nazarii Hnydyn <[email protected]>
liat-grozovik pushed a commit to sonic-net/sonic-mgmt that referenced this pull request Oct 10, 2023
Test plan for the new feature Generic Hash.
The HLD of Generic Hash: sonic-net/SONiC#1101
The test implementation is not included in this PR, will open another PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants