diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-13 10:49:39 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-13 10:49:39 +0200 |
commit | 8e392a3dbc16f7b80a979f7b4e9c11408d700e6f (patch) | |
tree | 6a927e48b355321516c84523531812f9c91d3770 /src/conf_mode | |
parent | ca75162b3bbace38fcad5c91ad07c4fedac8444c (diff) | |
download | vyos-1x-8e392a3dbc16f7b80a979f7b4e9c11408d700e6f.tar.gz vyos-1x-8e392a3dbc16f7b80a979f7b4e9c11408d700e6f.zip |
bonding: T3543: add support to configure lact-rate (slow or fast)
Option specifying the rate in which we'll ask our link partner to transmit
LACPDU packets in 802.3ad mode.
set interfaces bonding bond0 lacp-rate <slow|fast>
slow: Request partner to transmit LACPDUs every 30 seconds (default)
fast: Request partner to transmit LACPDUs every 1 second
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces-bonding.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-bonding.py b/src/conf_mode/interfaces-bonding.py index 1a549f27d..431d65f1f 100755 --- a/src/conf_mode/interfaces-bonding.py +++ b/src/conf_mode/interfaces-bonding.py @@ -83,6 +83,9 @@ def get_config(config=None): tmp = leaf_node_changed(conf, ['mode']) if tmp: bond.update({'shutdown_required': {}}) + tmp = leaf_node_changed(conf, ['lacp-rate']) + if tmp: bond.update({'shutdown_required': {}}) + # determine which members have been removed interfaces_removed = leaf_node_changed(conf, ['member', 'interface']) if interfaces_removed: |