NetworkManager/man
Adrian Freihofer cbde63a493
settings: add ipv4.link-local flag
Introduction of a new setting ipv4.link-local, which enables
link-local IP addresses concurrently with other IP address assignment
implementations such as dhcp or manually.
No way is implemented to obtain a link-local address as a fallback when
dhcp does not respond (as dhcpd does, for example). This could be be
added later.

To maintain backward compatibility with ipv4.method ipv4.link-local has
lower priority than ipv4.method. This results in:
* method=link-local overrules link-local=disabled
* method=disabled overrules link-local=enabled

Furthermore, link-local=auto means that method defines whether
link-local is enabled or disabled:
* method=link-local --> link-local=enabled
* else --> link-local=disabled

The upside is, that this implementation requires no normalization.
Normalization is confusing to implement, because to get it really
right, we probably should support normalizing link-local based on
method, but also vice versa. And since the method affects how other
properties validate/normalize, it's hard to normalize that one, so that
the result makes sense. Normalization is also often not great to the
user, because it basically means to modify the profile based on other
settings.

The downside is that the auto flag becomes API and exists because
we need backward compatibility with ipv4.method.
We would never add this flag, if we would redesign "ipv4.method"
(by replacing by per-method-specific settings).

Defining a default setting for ipv4.link-local in the global
configuration is also supported.
The default setting for the new property can be "default", since old
users upgrading to a new version that supports ipv4.link-local will not
have configured the global default in NetworkManager.conf. Therefore,
they will always use the expected "auto" default unless they change
their configuration.

Co-Authored-By: Thomas Haller <thaller@redhat.com>
2022-05-27 08:24:28 +02:00
..
common.ent.in build: allow configuring default for wifi.backend setting 2022-01-04 06:41:37 +01:00
meson.build man: add NetworkManager-wait-online.service.8 manual 2022-03-02 16:09:16 +01:00
NetworkManager-dispatcher.xml man: update URL for networkmanager.dev home page 2021-08-03 14:57:35 +02:00
NetworkManager-wait-online.service.xml man: add NetworkManager-wait-online.service.8 manual 2022-03-02 16:09:16 +01:00
NetworkManager.conf.xml settings: add ipv4.link-local flag 2022-05-27 08:24:28 +02:00
NetworkManager.xml man: add NetworkManager-wait-online.service.8 manual 2022-03-02 16:09:16 +01:00
nm-cloud-setup.xml cloud-setup: use suppress_prefixlength rule to honor non-default-routes in the main table 2021-09-16 17:30:25 +02:00
nm-initrd-generator.xml man: mention "rd.znet_ifnames" option in man nm-initrd-generator 2022-01-26 23:00:14 +01:00
nm-online.xml man: add NetworkManager-wait-online.service.8 manual 2022-03-02 16:09:16 +01:00
nm-openvswitch.xml man: update nm-openswitch example 2019-07-09 12:05:32 +02:00
nm-settings-dbus.xsl docs: update documentation for nm-settings-nmcli manual 2020-06-11 10:53:49 +02:00
nm-settings-ifcfg-rh.xsl nm-settings-ifcfg-rh: fix typo 2022-05-26 11:41:31 +02:00
nm-settings-keyfile.xsl docs: unify "nm-property-infos-*.xml" and "nm-settings-docs-*.xml" (root element) 2020-06-11 10:53:50 +02:00
nm-settings-nmcli.xsl Support new attribute tag description-docbook 2021-06-23 08:59:45 -04:00
nmcli-examples.xml nmcli: add --offline option for "add" and "modify" 2022-04-19 14:12:42 +02:00
nmcli.xml nmcli: add --offline option for "add" and "modify" 2022-04-19 14:12:42 +02:00
nmtui.1.in man: update version number and dates in manual pages 2016-03-09 10:11:27 +01:00
nmtui.xml man: turn the manual page cross-references into links 2016-06-21 18:40:13 +02:00