teamd: Use 75% links upperbound as min-links (#224)
This commit is contained in:
parent
4e3bbc8e13
commit
be8ed80554
@ -3,7 +3,8 @@
|
|||||||
"runner": {
|
"runner": {
|
||||||
"name": "lacp",
|
"name": "lacp",
|
||||||
"active": true,
|
"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"]
|
"tx_hash": ["eth", "ipv4", "ipv6"]
|
||||||
},
|
},
|
||||||
"link_watch": {
|
"link_watch": {
|
||||||
|
Reference in New Issue
Block a user