NetworkManager/src/core/settings
Thomas Haller aeb2426e88
libnm: change default value for "dcb.app-fcoe-mode" property
String properties in libnm's NMSetting really should have NULL as a
default value. The only property that didn't, was "dcb.app-fcoe-mode".

Change the default so that it is also NULL.

Changing a default value is an API change, but in this case probably no
issue. For one, DCB is little used. But also, it's not clear who would
care and notice the change. Also, because previously verify() would reject
a NULL value as invalid. That means, there are no existing, valid profiles
that have this value set to NULL.  We just make NULL the default, and
define that it means the same as "fabric".

Note that when we convert integer properties to D-Bus/GVariant, we often
omit the default value. For string properties, they are serialized as
"s" variant type. As such, NULL cannot be expressed as "s" type, so we
represent NULL by omitting the property. That makes especially sense if
the default value is also NULL. Otherwise, it's rather odd. We change
that, and we will now always express non-NULL value on D-Bus and let
NULL be encoded by omitting the property.
2021-11-04 20:25:18 +01:00
..
plugins libnm: change default value for "dcb.app-fcoe-mode" property 2021-11-04 20:25:18 +01: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: rename nmtst_* functions that are used by the daemon 2021-09-08 18:33:43 +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: rename nmtst_* functions that are used by the daemon 2021-09-08 18:33:43 +02:00
nm-settings.h core: avoid checking sort order for cached settings list 2021-06-18 11:20:30 +02:00