NetworkManager/shared/nm-keyfile
Thomas Haller 96c9703b50
core: add "external" flag for connections of external devices
When a device is not marked as unmanaged, but also not actively managed
by NetworkManager, then NetworkManager will generate an in-memory
profile to represent the active state, if the device is up and
configured (with an IP address).

Such profiles are commonly named like "eth0", and they are utterly
confusing to users, because they look as if NetworkManager actually
manages the device, when it really just shows that somebody else configures
the device.

We should express this better in the UI, hence add flags to indicate
that.

In practice, such profiles are UNSAVED, NM_GENERATED, and VOLATILE. But
add an explicit flag to represent that.

https://bugzilla.redhat.com/show_bug.cgi?id=1816202
2020-06-10 19:45:46 +02:00
..
nm-keyfile-internal.h core: add "external" flag for connections of external devices 2020-06-10 19:45:46 +02:00
nm-keyfile-utils.c keyfile: use nm_g_error_matches() in g_error_matches() 2020-05-07 14:08:32 +02:00
nm-keyfile-utils.h shared: add nm_keyfile_error_is_not_found() helper 2020-05-07 14:08:32 +02:00
nm-keyfile.c keyfile: add NMKeyfileHandlerFlags 2020-06-05 09:17:21 +02:00