This new property be used as token to generate stable-ids instead of the connection's UUID.
Later, this will be used by ipv6.addr-gen-mode=stable-privacy, ethernet.cloned-mac-address=stable, and wifi.cloned-mac-address=stable setting. Those generate stable addresses based on the connection's UUID, but allow to use the stable-id instead.
This allows multiple connections to generate the same addresses-- on the same machine, because in the above cases a machine dependant key is also hashed.
3f3ea1d libnm: add NMSettingConnection:stable-id property
clients/cli/settings.c | 71 ++++++++++++++++++--------------
libnm-core/nm-setting-connection.c | 52 ++++++++++++++++++++++-
libnm-core/nm-setting-connection.h | 3 ++
libnm-core/tests/test-general.c | 1 +
libnm/libnm.ver | 1 +
src/settings/plugins/ifcfg-rh/reader.c | 4 ++
src/settings/plugins/ifcfg-rh/writer.c | 1 +
7 files changed, 102 insertions(+), 31 deletions(-)
Upstream: cgit.freedesktop.org