Skip to content

Add hash seed for SpineRouter type.#3390

Merged
stcheng merged 1 commit intosonic-net:masterfrom
zhenggen-xu:upstream-hash-seed
Aug 28, 2019
Merged

Add hash seed for SpineRouter type.#3390
stcheng merged 1 commit intosonic-net:masterfrom
zhenggen-xu:upstream-hash-seed

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
```
* fb2e5cd - (HEAD -> master, origin/master, origin/HEAD) Remove secret from golden_config_db.json and old_config files (#3390) (2 days ago) [Hua Liu]
* 414cf3b - [DPB]Fix return code in case of failure (#3389) (4 days ago) [Sudharsan Dhamal Gopalarathnam]
* 06965df - Remove suppress-fib-pending CLI and make route_check.py check suppress-fib in BGP configuration (#3331) (5 days ago) [Stepan Blyshchak]
* 3a8f0be - [Mellanox] Add support for ACS-4280 (#3368) (8 days ago) [Vivek]
* 667a150 - [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
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