NetworkManager/src/core/settings
Thomas Haller 8733d22343
ifcfg: read/write full IPv6 settings also for method ignore/disabled
Do "bother" to read/write settings.

For the umpteenth time, it's not up to the reader/writer to decide
what properties are valid for a profile or which makes sense.

Only nm_connection_verify() can decide that. For example nm_connection_verify()
has no problem with ipv6.method=disabled while also setting ipv6.addr-gen-mode.
We cannot just shortcut the parsing/writing.

The reader only ignores addresses, dns and dns-searches, so that we don't start
parsing invalid files, where the setting would have been ignore
previously.

In particular,

   echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-xxx
   nmcli connection load /etc/sysconfig/network-scripts/ifcfg-xxx
   nmcli -f ipv6.method,ipv6.addr-gen-mode connection show /etc/sysconfig/network-scripts/ifcfg-xxx

needs to show eui64 addr-gen-mode.
2021-08-19 08:54:54 +02:00
..
plugins ifcfg: read/write full IPv6 settings also for method ignore/disabled 2021-08-19 08:54:54 +02:00
nm-agent-manager.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-agent-manager.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-secret-agent.c all: Replace deprecated NM_CONNECTION_SERIALIZE_* flags 2021-04-01 17:19:15 +02:00
nm-secret-agent.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-settings-connection.c all: unify and rename strv helper API 2021-07-29 10:26:50 +02:00
nm-settings-connection.h settings: limit number of seen-bssids and preserve order 2021-07-01 11:17:06 +02:00
nm-settings-plugin.c build: move "libnm-core/" to "src/" and split it 2021-02-18 19:46:51 +01:00
nm-settings-plugin.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-settings-storage.c all: use nm_uuid_is_normalized() for checking valid UUID for "connection.uuid" 2021-06-04 09:29:23 +02:00
nm-settings-storage.h glib-aux: change nm_uuid_is_valid_full() to nm_uuid_is_normalized_full() 2021-06-04 09:29:22 +02:00
nm-settings-utils.c all: add "src/core/nm-default-daemon.h" as replacement for "nm-default.h" 2021-02-09 12:38:18 +01:00
nm-settings-utils.h all: move "src/" directory to "src/core/" 2021-02-08 09:56:41 +01:00
nm-settings.c all: unify and rename strv helper API 2021-07-29 10:26:50 +02:00
nm-settings.h core: avoid checking sort order for cached settings list 2021-06-18 11:20:30 +02:00