• Thomas Haller's avatar
    libnm,cli: add NMSettingWireGuard · b521f426
    Thomas Haller authored
    For now only add the core settings, no peers' data.
    To support peers and the allowed-ips of the peers is more complicated
    and will be done later. It's more complicated because these are nested
    lists (allowed-ips) inside a list (peers). That is quite unusual and to
    conveniently support that in D-Bus API, in keyfile format, in libnm,
    and nmcli, is a effort.
    Also, it's further complicated by the fact that each peer has a secret (the
    preshared-key). Thus we probably need secret flags for each peer, which
    is a novelty as well (until now we require a fixed set of secrets per
    profile that is well known).
NetworkManager.h 3.97 KB