config: store and load device runtime state to file

System Internals / NetworkManager - Thomas Haller [redhat.com] - 26 September 2016 06:12 UTC

The data is still unused, the actual fields might change.

Note that the actual state we store is subject to change, according to which data we need. The file format is non stable, as the files don't survive reboot. So there is no backward compatibility to maintain and the format can be changed later.

93396b8 config: store and load device runtime state to file
src/main.c | 7 +++
src/nm-config.c | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/nm-config.h | 23 +++++++
src/nm-manager.c | 64 ++++++++++++++++++--
src/nm-manager.h | 2 +
5 files changed, 270 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share