Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NetworkManager template: add "StateReason" property to devices (#55)
NetworkManager supports the "State" and "StateReason" properties for a long time. The "StateReason" redundantly also contains the state value (for historic reasons). In the past, NMClient's cache in libnm looked at the "State" property to get the state. This is going to change (in 1.22) and libnm will consider only at the "StateReason" for both properties. This change in libnm would break dbusmock. Note that NetworkManager/libnm didn't break API. The only thing that changes is that libnm will require that "StateReason" property is present. The breakage is caused by dbusmock not providing a perfect stub implementation of NetworkManager's API. See-also: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commit/ec39498fc6d70cf6887f08b4dfbc5cff021fc231
- Loading branch information