1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-06 01:57:47 +03:00
Susant Sahani d9c52fa045 networkd: add support for bond options
The following bond options are supported by this patch.

MIIMonitorSec:
Specifies the frequency in milli-seconds that MII link
monitoring will occur.

UpDelaySec:
Specifies the delay time in milli-seconds to enable a link
after a link up status has been detected.

DownDelaySec:
Specifies the delay time in milli-seconds to disable a link
after a link failure has been detected.

changes:
1. Added gconf variables.
2. man page

conf:

[NetDev]
Name=bond1
Kind=bond

[Bond]
Mode=802.3ad
TransmitHashPolicy=layer2+3
LacpduTransmitRate=fast
MIIMonitorSec=1s
UpDelaySec=2s
DownDelaySec=8s

cat /proc/net/bonding/bond1
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2+3 (2)
MII Status: up
MII Polling Interval (ms): 1000
Up Delay (ms): 2000
Down Delay (ms): 8000

802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
bond bond1 has no active aggregator

[tomegun: rephrased manpage, dropped bond_ prefix from variables]
2014-07-21 20:35:21 +02:00
..
2014-02-20 22:43:27 -05:00
2014-06-28 00:06:30 -04:00
2014-02-20 22:43:27 -05:00
2014-06-28 00:06:30 -04:00
2014-02-20 22:43:27 -05:00
2014-02-20 22:43:27 -05:00
2014-07-20 19:48:16 -04:00
2014-07-10 22:52:23 -04:00
2014-02-17 19:03:07 -05:00
2013-12-25 22:53:45 -05:00
2014-07-20 19:48:16 -04:00