diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-13 10:49:39 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-13 11:18:15 +0200 |
commit | 78d375a3a354b0cc93bdfc36fd828c691f9ccb56 (patch) | |
tree | 0b18ed56e88b493728631f2d630930947e27c615 /interface-definitions/interfaces-bonding.xml.in | |
parent | 1d2531075269ee627ff2a138f5bf65b1ed3933a5 (diff) | |
download | vyos-1x-78d375a3a354b0cc93bdfc36fd828c691f9ccb56.tar.gz vyos-1x-78d375a3a354b0cc93bdfc36fd828c691f9ccb56.zip |
bonding: T3543: add support to configure lacp-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
(cherry picked from commit 8e392a3dbc16f7b80a979f7b4e9c11408d700e6f)
Diffstat (limited to 'interface-definitions/interfaces-bonding.xml.in')
-rw-r--r-- | interface-definitions/interfaces-bonding.xml.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-bonding.xml.in b/interface-definitions/interfaces-bonding.xml.in index 37dfe1c12..0792bdb8f 100644 --- a/interface-definitions/interfaces-bonding.xml.in +++ b/interface-definitions/interfaces-bonding.xml.in @@ -97,6 +97,26 @@ </properties> <defaultValue>0</defaultValue> </leafNode> + <leafNode name="lacp-rate"> + <properties> + <help>Rate in which we will ask our link partner to transmit LACPDU packets</help> + <completionHelp> + <list>slow fast</list> + </completionHelp> + <valueHelp> + <format>slow</format> + <description>Request partner to transmit LACPDUs every 30 seconds (default)</description> + </valueHelp> + <valueHelp> + <format>fast</format> + <description>Request partner to transmit LACPDUs every 1 second</description> + </valueHelp> + <constraint> + <regex>^(slow|fast)$</regex> + </constraint> + </properties> + <defaultValue>slow</defaultValue> + </leafNode> <leafNode name="mode"> <properties> <help>Bonding mode</help> |