Skip to content

Commit be8ed80

Browse files
authored
teamd: Use 75% links upperbound as min-links (#224)
1 parent 4e3bbc8 commit be8ed80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dockers/docker-teamd/teamd.j2

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"runner": {
44
"name": "lacp",
55
"active": true,
6-
"min_ports": 2,
6+
{# Use 75% links upperbound as min-links #}
7+
"min_ports": {{ minigraph_portchannel_interfaces[pc] | length * 0.75 | round(0, 'ceil') | int}},
78
"tx_hash": ["eth", "ipv4", "ipv6"]
89
},
910
"link_watch": {

0 commit comments

Comments
 (0)