Add LACP bond rate configuration

This commit is contained in:
2025-09-14 23:16:54 -04:00
parent ecbaaa39a1
commit 5644cd2feb
2 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ iface {{ network.value['device'] }} inet {{ network.value['mode']|default('manua
{% if network.value['type'] == 'bond' %}
bond-mode {{ network.value['bond_mode'] }}
bond-slaves {{ network.value['bond_devices'] | join(' ') }}
{% if network.value['bond_rate'] is defined %}
bond-lacp-rate {{ network.value['bond_rate'] }}
{% endif %}
{% endif %}
{% if network.value['type'] == 'vlan' %}
vlan_raw_device {{ network.value['raw_device'] }}