NetworkManager/src/settings
Thomas Graf a2a0d78818 bonding: settings parser for ifcfg plugin + NMSettingBond class
Introduced a new TYPE=bond for ifcfg-rh configuration files.
Alternatively BONDING_MASTER=yes can be specified instead of
setting the type explicitely to maintain backwards compatibility
with existing configuration files.

Bonding device files require a DEVICE= line to be present which
specifies the virtual bonding interface in the kernel. We do not
allow auto-generation of the name in order to keep confusion to
a minimum when reusing existing bonding interfaces.

The BONDING_OPTS= parameter can be used to specify various bonding
related options, such as:
  - mode
  - miimon
  - updelay
  - downdelay
  - arp_interval
  - arp_ip_target

By default, the NMSettingBond class uses a miimon value of 100 which
seems like a sensible default value for 99% of all configurations.
If this is not suitable, an arp_ip_target needs to be specified
manually.

A writer is not yet implemented.

Changes v2:
 - renamed DeviceName property to InterfaceName
 - moved code to validate device name to dev_valid_name() for future use

Signed-off-by: Thomas Graf <tgraf@redhat.com>
2011-11-09 23:16:31 -06:00
..
plugins bonding: settings parser for ifcfg plugin + NMSettingBond class 2011-11-09 23:16:31 -06:00
tests settings: fix getting default wired connection name with no connections 2011-03-30 12:02:50 -05:00
Makefile.am core: consolidate PolicyKit code 2011-05-18 22:20:24 -05:00
nm-agent-manager.c agents: add nm_agent_manager_get_agent_by_user() 2011-07-01 15:41:00 -05:00
nm-agent-manager.h agents: add nm_agent_manager_get_agent_by_user() 2011-07-01 15:41:00 -05:00
nm-default-wired-connection.c settings: fix refcount mismatch (bgo #647066) 2011-04-19 00:23:43 -05:00
nm-default-wired-connection.h settings: name the default wired connection "Wired connection x" 2011-03-27 16:57:14 -05:00
nm-inotify-helper.c logging: LOGD_SYS_SET -> LOGD_SETTINGS 2010-12-10 12:32:22 -06:00
nm-inotify-helper.h settings: system-settings -> settings 2010-10-27 20:22:14 -05:00
nm-secret-agent.c agents: store agent permissions for later 2011-07-01 15:38:38 -05:00
nm-secret-agent.h agents: store agent permissions for later 2011-07-01 15:38:38 -05:00
nm-settings-connection.c settings: fix leaked connection when deleting secrets 2011-09-20 23:01:35 -05:00
nm-settings-connection.h settings: add function for validating connection's active user permissions 2011-07-01 15:41:00 -05:00
nm-settings-error.c settings: add error for already existing UUID 2011-02-09 18:41:17 -06:00
nm-settings-error.h settings: add error for already existing UUID 2011-02-09 18:41:17 -06:00
nm-settings-utils.c settings: fix getting default wired connection name with no connections 2011-03-30 12:02:50 -05:00
nm-settings-utils.h settings: fix getting default wired connection name with no connections 2011-03-30 12:02:50 -05:00
nm-settings.c core: split out config file handling 2011-09-27 09:40:50 -05:00
nm-settings.h core: split out config file handling 2011-09-27 09:40:50 -05:00
nm-system-config-interface.c build: fix return types (bgo #644665) 2011-03-14 01:05:51 -05:00
nm-system-config-interface.h settings: fix plugin capabilities max value 2011-01-31 21:11:18 -06:00