[RFC] Bridging support
- From: Thomas Graf <tgraf redhat com>
- To: dcbw redhat com
- Cc: Thomas Graf <tgraf redhat com>, networkmanager-list gnome org
- Subject: [RFC] Bridging support
- Date: Fri, 3 Feb 2012 13:27:39 +0100
Dan,
This is the current state of bridging support. The settings class
supports options but those are not yet applied to the kernel device.
Also there is no ifcfg-rh writer support yet.
Based on master, will conflict with changes in vlan branch.
Thomas Graf (4):
utils: Move dev_valid_name() to libnm-util as
nm_utils_iface_name_valid()
bridge: Add NMSettingsBridge and extend ifcfg-rh reader to parse
bridges
bridge: Create NMDeviceEthernet for bridge devices
bridge: ifcfg-rh: Parse BRIDGE= line and assign to master
libnm-util/Makefile.am | 2 +
libnm-util/libnm-util.ver | 12 +
libnm-util/nm-connection.c | 18 ++
libnm-util/nm-connection.h | 2 +
libnm-util/nm-setting-bond.c | 27 +--
libnm-util/nm-setting-bridge.c | 441 ++++++++++++++++++++++++++++++++
libnm-util/nm-setting-bridge.h | 96 +++++++
libnm-util/nm-utils.c | 32 +++
libnm-util/nm-utils.h | 2 +
src/nm-device-ethernet.c | 9 +-
src/nm-device-ethernet.h | 1 +
src/nm-manager.c | 10 +
src/nm-system.c | 121 +++++++++-
src/nm-system.h | 5 +
src/nm-udev-manager.c | 4 +
src/settings/plugins/ifcfg-rh/reader.c | 169 +++++++++++-
16 files changed, 911 insertions(+), 40 deletions(-)
create mode 100644 libnm-util/nm-setting-bridge.c
create mode 100644 libnm-util/nm-setting-bridge.h
--
1.7.7.6
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]