Skip to content

Commit

Permalink
teamd: Use 75% links upperbound as min-links (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyl-ms committed Jan 31, 2017
1 parent 4e3bbc8 commit be8ed80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dockers/docker-teamd/teamd.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"runner": {
"name": "lacp",
"active": true,
"min_ports": 2,
{# Use 75% links upperbound as min-links #}
"min_ports": {{ minigraph_portchannel_interfaces[pc] | length * 0.75 | round(0, 'ceil') | int}},
"tx_hash": ["eth", "ipv4", "ipv6"]
},
"link_watch": {
Expand Down

0 comments on commit be8ed80

Please sign in to comment.