NetworkManager/src/devices
Beniamino Galvani dd1c453ff7 bond: improve compatibility check of options and modes
We print an error when the write of a bond options fails as this is
considered an effect of a wrong configuration (or a bug in the checks
done by NM) that the user should notice. But not all options are
supported in all bonding modes and so we ignore some unsupported
options for the current mode to avoid populating logs with useless
errors.

Improve the code there by using a more generic approach and
synchronize the mode/option compatibility table with kernel (file
drivers/net/bonding/bond_options.c).

https://bugzilla.gnome.org/show_bug.cgi?id=767776
https://bugzilla.redhat.com/show_bug.cgi?id=1352131
2016-07-06 15:20:53 +02:00
..
adsl build: disable deprecation checks for internal compilation 2016-04-05 22:22:58 +02:00
bluetooth device: let device specs match on permanent MAC address 2016-06-30 08:29:55 +02:00
team team: check return value of g_dbus_connection_call_sync() 2016-06-21 14:58:55 +02:00
tests all/tests: split core part out of "nm-test-utils.h" 2016-05-17 16:48:52 +02:00
wifi wifi: cleanup type implementation of NMDeviceWifi 2016-07-06 10:06:09 +02:00
wwan wwan/ofono: fix indentation 2016-06-28 17:34:42 +02:00
Makefile.am lldp: add test case 2015-11-10 14:25:05 +01:00
nm-arping-manager.c arping-manager: failure to get a device name should not be fatal 2016-02-26 13:37:01 +01:00
nm-arping-manager.h build: cleanup default includes 2016-02-12 15:36:01 +01:00
nm-device-bond.c bond: improve compatibility check of options and modes 2016-07-06 15:20:53 +02:00
nm-device-bond.h device: implement slave property in parent device class 2015-12-05 19:34:06 +01:00
nm-device-bridge.c utils: inject platform into nm_utils_complete_generic() 2016-03-15 12:56:58 +01:00
nm-device-bridge.h device: implement slave property in parent device class 2015-12-05 19:34:06 +01:00
nm-device-ethernet-utils.c device: use NMSettings directly instead of NMConnectionProvider in subclasses 2016-05-24 12:35:58 +02:00
nm-device-ethernet-utils.h device: use NMSettings directly instead of NMConnectionProvider in subclasses 2016-05-24 12:35:58 +02:00
nm-device-ethernet.c ethernet: notify when setting s390 subchannels 2016-07-05 23:08:23 +02:00
nm-device-ethernet.h ethernet: cleanup type definition of NMDeviceEthernet 2016-07-05 23:08:23 +02:00
nm-device-factory.c device: don't unload device plugins on failure 2016-04-29 15:41:41 +02:00
nm-device-factory.h device: fix matching MAC address for VLAN and MACVLAN devices 2016-06-30 08:29:55 +02:00
nm-device-generic.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-device-generic.h device: pass NMPlatformLink instance as const pointer 2016-01-11 14:05:49 +01:00
nm-device-infiniband.c device: let infiniband prefer permanent MAC address for infiniband.mac-address setting 2016-06-30 08:29:55 +02:00
nm-device-infiniband.h all: rename nm-glib-compat.h to nm-glib.h, use everywhere 2015-07-24 13:25:47 -04:00
nm-device-ip-tunnel.c device: use NMSettings directly instead of NMConnectionProvider in subclasses 2016-05-24 12:35:58 +02:00
nm-device-ip-tunnel.h device/ip-tunnel: add support for IP6TNL tunnels 2015-12-01 17:39:41 +01:00
nm-device-logging.h all: drop str_if_set() in favor of the "?:" operator 2016-03-08 17:57:20 +01:00
nm-device-macvlan.c device: reset MAC address in NMDevice's deactivate() 2016-06-30 08:35:45 +02:00
nm-device-macvlan.h device/macvlan: support device creation 2015-12-09 14:30:08 +01:00
nm-device-private.h device: log more details when setting MAC address 2016-06-30 08:29:56 +02:00
nm-device-tun.c device: fail activation on failure to set cloned MAC address 2016-06-30 08:29:56 +02:00
nm-device-tun.h device/tun: support device creation 2015-11-25 11:39:57 +01:00
nm-device-veth.c veth: refactor type definition of NMDeviceVeth 2016-07-05 23:08:23 +02:00
nm-device-veth.h veth: refactor type definition of NMDeviceVeth 2016-07-05 23:08:23 +02:00
nm-device-vlan.c device: reset MAC address in NMDevice's deactivate() 2016-06-30 08:35:45 +02:00
nm-device-vlan.h core: split device creation and device setup (bgo #737458) 2015-07-31 14:06:09 -05:00
nm-device-vxlan.c device: fail activation on failure to set cloned MAC address 2016-06-30 08:29:56 +02:00
nm-device-vxlan.h device/vxlan: support device creation 2015-12-09 16:36:46 +01:00
nm-device.c device: don't try to generate ipv6ll address for disconnected devices 2016-07-06 12:17:13 +02:00
nm-device.h device/wifi: properly reset the initial hardware address on shutdown 2016-06-30 12:01:42 +02:00
nm-lldp-listener.c systemd: merge branch systemd into master 2016-06-30 10:55:03 +02:00
nm-lldp-listener.h systemd: merge branch systemd into th/systemd-lldp-bgo763384 2016-03-11 09:28:10 +01:00