summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-13 10:49:39 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-13 10:49:39 +0200
commit8e392a3dbc16f7b80a979f7b4e9c11408d700e6f (patch)
tree6a927e48b355321516c84523531812f9c91d3770 /interface-definitions
parentca75162b3bbace38fcad5c91ad07c4fedac8444c (diff)
downloadvyos-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 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-bonding.xml.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-bonding.xml.in b/interface-definitions/interfaces-bonding.xml.in
index 846f6eb54..2efdaea3d 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>