]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
networkd: bond support primary slave and active slave (#4873)
authorSusant Sahani <ssahani@users.noreply.github.com>
Wed, 21 Dec 2016 18:10:36 +0000 (23:40 +0530)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Dec 2016 18:10:36 +0000 (19:10 +0100)
commiteb64b435ebb2a7cb1274d5f8d8c323905caf29bc
tree8fddf35b41f491579fba5f83d246f1f473e39911
parent7dd6974c46859a62c0a606824bf145c2c95241a0
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
man/systemd.netdev.xml
src/network/networkd-link.c
src/network/networkd-network-gperf.gperf
src/network/networkd-network.h