summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorNikolay Martynov <mar.kolya@gmail.com>2017-06-01 23:57:03 +0200
committerThomas Haller <thaller@redhat.com>2017-06-22 13:27:01 +0200
commit8c91422954eceb96b0cba9f1e2b0e1d3ad8e53cd (patch)
tree58fc33ee0c8d16311d17e19740a85c309cfcf143 /man
parentb0f6baad90a3d8b571a56cc255ad49d9fa26d874 (diff)
downloadNetworkManager-8c91422954eceb96b0cba9f1e2b0e1d3ad8e53cd.tar.gz
device: handle carrier changes for master device differently
For master devices, instead of ignoring loss of carrier entirely, handle it. First of all, master devices are now by default ignore-carrier=yes. That means, without explict user configuration in NetworkManager.conf, the previous behavior in carrier_changed() does not change. If the user decides to configure the master device like [device-with-carrier] match-device=type:bond,type:bridge,type:team ignore-carrier=no then, master device will disconnect on carrier loss like regular devices. https://github.com/NetworkManager/NetworkManager/pull/18 Co-authored-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/NetworkManager.conf.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/man/NetworkManager.conf.xml b/man/NetworkManager.conf.xml
index 0dc1b700d9..d8fa1b3b95 100644
--- a/man/NetworkManager.conf.xml
+++ b/man/NetworkManager.conf.xml
@@ -233,7 +233,10 @@ no-auto-default=*
if specified (See <xref linkend="ignore-carrier"/>).
Otherwise, it is a list of matches to specify for which device
carrier should be ignored. See <xref linkend="device-spec"/> for the
- syntax how to specify a device.
+ syntax how to specify a device. Note that master types like
+ bond, bridge, and team ignore carrier by default. You can however
+ revert that default using the "except:" specifier (or better,
+ use the per-device setting instead of the deprecated setting).
</para>
</listitem>
</varlistentry>
@@ -840,6 +843,10 @@ unmanaged=1
that NetworkManager will not make use of that information.
</para>
<para>
+ Master types like bond, bridge and team ignore carrier by default,
+ while other device types react on carrier changes by default.
+ </para>
+ <para>
This setting overwrites the deprecated <literal>main.ignore-carrier</literal>
setting above.
</para>