1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
systemd/src/network
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
..
.gitignore Revert "update gitignore" 2014-05-22 06:14:41 +09:00
Makefile networkd: add a basic network daemon 2013-11-09 23:41:17 +01:00
network-util.h libsystemd-network: move network-utils from src/shared 2014-03-21 21:54:37 +01:00
networkd-address-pool.c change type for address family to "int" 2014-07-18 16:10:51 +02:00
networkd-address.c networkd: add support for peer address 2014-07-07 13:32:14 +02:00
networkd-link.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-manager.c change type for address family to "int" 2014-07-18 16:10:51 +02:00
networkd-netdev-bond.c networkd: add support for bond options 2014-07-21 20:35:21 +02:00
networkd-netdev-bond.h networkd: add support for bond options 2014-07-21 20:35:21 +02:00
networkd-netdev-bridge.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-bridge.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-dummy.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-dummy.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-gperf.gperf networkd: add support for bond options 2014-07-21 20:35:21 +02:00
networkd-netdev-macvlan.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-macvlan.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-tunnel.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-tunnel.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-tuntap.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-tuntap.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-veth.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-veth.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vlan.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vlan.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vxlan.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vxlan.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-network-gperf.gperf sd-dhcp-client: make request broadcasts opt-in 2014-07-15 18:55:31 +02:00
networkd-network.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-route.c networkd: remove unused variable 2014-07-15 20:38:49 +02:00
networkd-wait-online-link.c networkd-wait-online: fix comilation warning 2014-07-18 13:25:18 +02:00
networkd-wait-online-link.h networkd-wait-online: track links 2014-07-17 22:53:35 +02:00
networkd-wait-online-manager.c networkd-wait-online: fix comilation warning 2014-07-18 13:25:18 +02:00
networkd-wait-online.c networkd-wait-online: track links 2014-07-17 22:53:35 +02:00
networkd-wait-online.h networkd-wait-online: track links 2014-07-17 22:53:35 +02:00
networkd.c networkd: simplify signal handling of SIGTERM/SIGINT 2014-07-07 23:11:03 +02:00
networkd.h change type for address family to "int" 2014-07-18 16:10:51 +02:00
sd-network.c sd-network: drop get_ifindices 2014-07-21 13:32:27 +02:00
test-network-tables.c test-tables: add new entries 2014-07-16 19:00:03 -04:00
test-network.c sd-network: remove redundant array size parameter from functions that return arrays 2014-07-17 01:42:26 +02:00