summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@users.noreply.github.com>2016-12-21 23:40:36 +0530
committerLennart Poettering <lennart@poettering.net>2016-12-21 19:10:36 +0100
commiteb64b435ebb2a7cb1274d5f8d8c323905caf29bc (patch)
tree8fddf35b41f491579fba5f83d246f1f473e39911 /man
parent7dd6974c46859a62c0a606824bf145c2c95241a0 (diff)
networkd: bond support primary slave and active slave (#4873)
active_slave: Specifies the new active slave for modes that support it (active-backup, balance-alb and balance-tlb). primary slave: systemd-networks currently lacks the capability to set the primary slave in an active-backup bonding. This is necessary if you prefer one interface over the other. A common example is a eth0-wlan0 bonding on a laptop where you'd want to switch to the wired connection whenever it's available. Fixes: #2837
Diffstat (limited to 'man')
-rw-r--r--man/systemd.netdev.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index 4df98b281e..5145b019ae 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -1072,6 +1072,33 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><varname>ActiveSlave=</varname></term>
+ <listitem>
+ <para>A boolean. Specifies the new active slave. The <literal>ActiveSlave=</literal>
+ option is only valid for following modes:
+ <literal>active-backup</literal>,
+ <literal>balance-alb</literal> and
+ <literal>balance-tlb</literal>. Defaults to false.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname>PrimarySlave=</varname></term>
+ <listitem>
+ <para>A boolean. Specifies which slave is the primary device. The specified
+ device will always be the active slave while it is available. Only when the
+ primary is off-line will alternate devices be used. This is useful when
+ one slave is preferred over another, e.g. when one slave has higher throughput
+ than another. The <literal>PrimarySlave=</literal> option is only valid for
+ following modes:
+ <literal>active-backup</literal>,
+ <literal>balance-alb</literal> and
+ <literal>balance-tlb</literal>. Defaults to false.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>For more detail information see