From: Ondrej Lichtner <olichtne(a)redhat.com>
The following patch set adds experimental support for configuring network
interfaces with NetworkManager.
From what I've tested some uses work pretty nicely, others are
more problematic.
I've had problems with bridge interfaces, that could be
because, from what I can
see the bridge implementation is not complete in NM, or just because I didn't
have enough time to properly test it.
Macvlan and team are not yet supported, so lnst will probably break when trying
to test these while using NM.
NM will be used automatically when detected, and for now it doesn't mix with the
iptools configuration.
You can disable the usage of NM by setting
[environment]
use_nm=False
in the configuration files on slave machines.
Ondrej Lichtner (3):
Slave: add NmConfigDevice
Slave: use NmConfigDevice when NM is running
Slave Config: add option use_nm
lnst/Common/Config.py | 5 +
lnst/Slave/NetConfig.py | 16 +-
lnst/Slave/NetConfigDevice.py | 32 ++-
lnst/Slave/NetTestSlave.py | 15 +-
lnst/Slave/NmConfigDevice.py | 541 ++++++++++++++++++++++++++++++++++++++++++
5 files changed, 588 insertions(+), 21 deletions(-)
create mode 100644 lnst/Slave/NmConfigDevice.py
--
1.8.1.4