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

[libteam] Add fallback support for single-member-port LAG #1118

Merged
merged 6 commits into from
Dec 16, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[teamd] Only enable fallback if it is single-member-port LAG
Signed-off-by: Haiyang Zheng <[email protected]>
hzheng5 committed Dec 12, 2017
commit 381d263e9a987d22f924f4eb1523805a8a272155
2 changes: 1 addition & 1 deletion dockers/docker-teamd/teamd.j2
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
"runner": {
"name": "lacp",
"active": true,
{% if PORTCHANNEL[pc]['fallback'] %}
{% if PORTCHANNEL[pc]['fallback'] and ((PORTCHANNEL[pc]['members'] | length) == 1) %}
"fallback": {{ PORTCHANNEL[pc]['fallback'] }},
{% else %}
{# Use 75% links upperbound as min-links #}