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

Enable/Disable Order ECMP feature. #9651

Merged
merged 14 commits into from
Jan 7, 2022
Merged

Conversation

abdosi
Copy link
Contributor

@abdosi abdosi commented Dec 28, 2021

What I did:
Updated Jinja2 Template in switch.json.j2 for enabling/disabling Order ECMP feature based on device role.
Changes as per design: sonic-net/SONiC#896

How I verify:
Manual Verification for template getting generated correctly.

Signed-off-by: Abhishek Dosi <[email protected]>
@@ -20,7 +20,12 @@
"SWITCH_TABLE:switch": {
"ecmp_hash_seed": "{{ hash_seed_value }}",
"lag_hash_seed": "{{ hash_seed_value }}",
"fdb_aging_time": "600"
"fdb_aging_time": "600",
{% if DEVICE_METADATA.localhost.type and "LeafRouter" in DEVICE_METADATA.localhost.type %}
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wanted to confirm. In the design, whether ordered ECMP is enabled is only dependent on the type. There will be no additional switch for it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes for now device type only. There was thinking to use asic_type also but now we are using sai query capability and enable/disable based on it.

@abdosi abdosi merged commit 6c50732 into sonic-net:master Jan 7, 2022
@abdosi abdosi deleted the ordered_ecmp branch January 7, 2022 00:40
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.

2 participants