[patch NetworkManager v2 0/6] add support for network team devices



I heavily reused existing code, mainly bonding parts. The only thing not
implemented yet is dbus communication with teamd (used particulary for
port config setup). That I want to add once this patchset gets applied.

v1->v2:
 - rebased on current NM git
 - removed "nm-setting-team.h" include from src/devices/nm-device-ethernet.c
 - fixed typo TEAM_CONFIG -> TEAM_PORT_CONFIG  in write_team_port_setting()
 - added "-n" option to teamd

Jiri Pirko (6):
  add support for team device
  add setting for team port
  ifcfg: add read support for team devices
  ifcfg: add write support for team devices
  cli: add team driver support
  nm-device-team: spawn teamd for team device connection

 cli/src/connections.c                  | 116 +++++-
 include/NetworkManager.h               |   3 +
 introspection/Makefile.am              |   1 +
 introspection/nm-device-team.xml       |  34 ++
 libnm-glib/Makefile.am                 |   2 +
 libnm-glib/libnm-glib.ver              |   7 +
 libnm-glib/nm-device-team.c            | 337 +++++++++++++++++
 libnm-glib/nm-device-team.h            |  82 +++++
 libnm-glib/nm-device.c                 |   3 +
 libnm-util/Makefile.am                 |   4 +
 libnm-util/libnm-util.ver              |  11 +
 libnm-util/nm-connection.c             |  34 ++
 libnm-util/nm-connection.h             |   4 +
 libnm-util/nm-setting-team-port.c      | 174 +++++++++
 libnm-util/nm-setting-team-port.h      |  76 ++++
 libnm-util/nm-setting-team.c           | 253 +++++++++++++
 libnm-util/nm-setting-team.h           |  78 ++++
 src/Makefile.am                        |   3 +
 src/devices/nm-device-team.c           | 635 +++++++++++++++++++++++++++++++++
 src/devices/nm-device-team.h           |  62 ++++
 src/devices/nm-device.c                |  43 +--
 src/logging/nm-logging.c               |   3 +-
 src/logging/nm-logging.h               |   1 +
 src/nm-activation-request.c            |   4 +-
 src/nm-manager.c                       |  35 +-
 src/settings/plugins/ifcfg-rh/reader.c | 163 ++++++++-
 src/settings/plugins/ifcfg-rh/writer.c |  56 +++
 27 files changed, 2160 insertions(+), 64 deletions(-)
 create mode 100644 introspection/nm-device-team.xml
 create mode 100644 libnm-glib/nm-device-team.c
 create mode 100644 libnm-glib/nm-device-team.h
 create mode 100644 libnm-util/nm-setting-team-port.c
 create mode 100644 libnm-util/nm-setting-team-port.h
 create mode 100644 libnm-util/nm-setting-team.c
 create mode 100644 libnm-util/nm-setting-team.h
 create mode 100644 src/devices/nm-device-team.c
 create mode 100644 src/devices/nm-device-team.h

-- 
1.8.1.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]