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

Add hash seed for SpineRouter type. #3390

Merged
merged 1 commit into from
Aug 28, 2019

Conversation

zhenggen-xu
Copy link
Collaborator

@zhenggen-xu zhenggen-xu commented Aug 28, 2019

Add hash seed for SpineRouter type.

Signed-off-by: Zhenggen Xu [email protected]

- What I did
Add hash seed for SpineRouter type.

- How I did it
change the switch.json.j2 file to check SpineRouter type and provide a different hash seed.

- How to verify it
Change config_db.json for the type:
"DEVICE_METADATA": {
"localhost": {
...
"type": "SpineRouter"
}
},

We can see the the file /etc/swss/config.d/switch.json in swss docker has below config:

[
{
"SWITCH_TABLE:switch": {
"ecmp_hash_seed": "15",
"lag_hash_seed": "15",
"fdb_aging_time": "600"
},
"OP": "SET"
}
]

$ redis-cli hgetall SWITCH_TABLE:switch
1) "ecmp_hash_seed"
2) "15"
3) "fdb_aging_time"
4) "600"
5) "lag_hash_seed"
6) "15"

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@zhenggen-xu
Copy link
Collaborator Author

It would be great to merge to 201811 branch too.

@lguohan
Copy link
Collaborator

lguohan commented Aug 28, 2019

retest broadcom please

@lguohan
Copy link
Collaborator

lguohan commented Aug 28, 2019

retest mellanox please

Copy link
Contributor

@stcheng stcheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@stcheng stcheng merged commit f920560 into sonic-net:master Aug 28, 2019
yxieca pushed a commit that referenced this pull request Aug 28, 2019
wangshengjun pushed a commit to wangshengjun/sonic-buildimage that referenced this pull request Nov 16, 2020
mssonicbld added a commit that referenced this pull request Jul 6, 2024
…atically (#19419)

#### Why I did it
src/sonic-utilities
```
* fb2e5cda - (HEAD -> master, origin/master, origin/HEAD) Remove secret from golden_config_db.json and old_config files (#3390) (2 days ago) [Hua Liu]
* 414cf3bb - [DPB]Fix return code in case of failure (#3389) (4 days ago) [Sudharsan Dhamal Gopalarathnam]
* 06965df2 - Remove suppress-fib-pending CLI and make route_check.py check suppress-fib in BGP configuration (#3331) (5 days ago) [Stepan Blyshchak]
* 3a8f0be0 - [Mellanox] Add support for ACS-4280 (#3368) (8 days ago) [Vivek]
* 667a1509 - [pbh]: Fix show PBH counters when cache is partial (#3356) (8 days ago) [Nazarii Hnydyn]
```
#### How I did it
#### How to verify it
#### Description for the changelog
arun1355492 pushed a commit to arun1355492/sonic-buildimage that referenced this pull request Jul 26, 2024
…atically (sonic-net#19419)

#### Why I did it
src/sonic-utilities
```
* fb2e5cda - (HEAD -> master, origin/master, origin/HEAD) Remove secret from golden_config_db.json and old_config files (sonic-net#3390) (2 days ago) [Hua Liu]
* 414cf3bb - [DPB]Fix return code in case of failure (sonic-net#3389) (4 days ago) [Sudharsan Dhamal Gopalarathnam]
* 06965df2 - Remove suppress-fib-pending CLI and make route_check.py check suppress-fib in BGP configuration (sonic-net#3331) (5 days ago) [Stepan Blyshchak]
* 3a8f0be0 - [Mellanox] Add support for ACS-4280 (sonic-net#3368) (8 days ago) [Vivek]
* 667a1509 - [pbh]: Fix show PBH counters when cache is partial (sonic-net#3356) (8 days ago) [Nazarii Hnydyn]
```
#### How I did it
#### How to verify it
#### Description for the changelog
liushilongbuaa pushed a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Aug 1, 2024
…atically (sonic-net#19419)

#### Why I did it
src/sonic-utilities
```
* fb2e5cda - (HEAD -> master, origin/master, origin/HEAD) Remove secret from golden_config_db.json and old_config files (sonic-net#3390) (2 days ago) [Hua Liu]
* 414cf3bb - [DPB]Fix return code in case of failure (sonic-net#3389) (4 days ago) [Sudharsan Dhamal Gopalarathnam]
* 06965df2 - Remove suppress-fib-pending CLI and make route_check.py check suppress-fib in BGP configuration (sonic-net#3331) (5 days ago) [Stepan Blyshchak]
* 3a8f0be0 - [Mellanox] Add support for ACS-4280 (sonic-net#3368) (8 days ago) [Vivek]
* 667a1509 - [pbh]: Fix show PBH counters when cache is partial (sonic-net#3356) (8 days ago) [Nazarii Hnydyn]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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