NetworkManager/src
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
..
c-list build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-rbtree build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-siphash build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
c-stdaux build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
contrib clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
core ifcfg: read/write full IPv6 settings also for method ignore/disabled 2021-08-19 08:54:54 +02:00
libnm-base nm-sudo: use nm_io_sockaddr_un_set() in nm_sudo_utils_open_fd() 2021-08-04 08:23:59 +02:00
libnm-client-aux-extern build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
libnm-client-impl all: use G_CALLBACK() macro instead of plain cast 2021-08-05 14:59:11 +02:00
libnm-client-public clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
libnm-client-test build/meson: cleanup dependencies for libnm-core-aux-intern 2021-02-28 10:42:05 +01:00
libnm-core-aux-extern libnm-core-aux: add function which prints information about route 2021-08-02 09:37:01 +02:00
libnm-core-aux-intern all: rename nm_utils_strsplit_set*() to nm_strsplit_set*() 2021-08-02 09:26:47 +02:00
libnm-core-impl nmcli/docs: better describe ipv[46].addresses in man nm-settings-nmcli 2021-08-17 19:56:39 +02:00
libnm-core-intern libnm: add out_is_modified argument to from_dbus_fcn() to detect modification 2021-08-02 10:01:03 +02:00
libnm-core-public libnm: fix NM_SETTING_IP_CONFIG_CLASS() macro 2021-07-09 14:58:00 +02:00
libnm-glib-aux glib-aux: clear iterator in nm_dedup_multi_iter_{next,prev}() at the end 2021-08-17 19:56:38 +02:00
libnm-log-core all: rename nm_utils_strsplit_set*() to nm_strsplit_set*() 2021-08-02 09:26:47 +02:00
libnm-log-null build: remove shared/ directory 2021-02-24 12:49:13 +01:00
libnm-platform platform: add nmp_cache_iter_for_each_reverse() helper 2021-08-17 19:56:38 +02:00
libnm-std-aux std-aux: add XXX() macro 2021-08-11 14:17:24 +02:00
libnm-systemd-core systemd: merge branch systemd into main 2021-08-02 09:25:02 +02:00
libnm-systemd-shared systemd: merge branch systemd into main 2021-08-02 09:25:02 +02:00
libnm-udev-aux build/meson: cleanup dependencies for libnm-udev-aux 2021-02-28 10:42:04 +01:00
libnmc-base all: rename nm_utils_strsplit_set*() to nm_strsplit_set*() 2021-08-02 09:26:47 +02:00
libnmc-setting nmcli/docs: better describe ipv[46].addresses in man nm-settings-nmcli 2021-08-17 19:56:39 +02:00
libnmt-newt all: rename nm_utils_strsplit_set*() to nm_strsplit_set*() 2021-08-02 09:26:47 +02:00
linux-headers clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
n-acd build: move c-util/nettools library from "shared/" to "src/" 2021-02-24 12:48:28 +01:00
n-dhcp4 n-dhcp4: add an accessor for the file name in the lease 2021-07-27 09:36:33 +02:00
nm-cloud-setup aliyun: reuse ipv4 gateway address returned by metadata server 2021-08-09 09:35:52 -04:00
nm-daemon-helper clang-format: use "IndentPPDirectives:None" instead of "BeforeHash" 2021-07-09 08:49:06 +02:00
nm-dispatcher nm-sudo,dispatcher: rename and refactor code to make them more similar 2021-08-06 14:33:39 +02:00
nm-initrd-generator nm-initrd-generator: remove duplex option 2021-08-17 12:00:37 -03:00
nm-online build: fix linking libnm-log-null into different test programs 2021-07-05 14:51:27 +02:00
nm-sudo nm-sudo,dispatcher: rename and refactor code to make them more similar 2021-08-06 14:33:39 +02:00
nmcli nmcli/docs: better describe ipv[46].addresses in man nm-settings-nmcli 2021-08-17 19:56:39 +02:00
nmtui tui: add WireGuard support to nmtui 2021-08-17 14:10:12 +02:00
tests/client client/tests: check output of plain nmcli in "test-client.py" 2021-07-29 13:25:59 +02:00
meson.build sudo: introduce nm-sudo D-Bus service 2021-07-26 15:31:46 +02:00