Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interfaces: add network-manager-observe interface (2.37) #6457

Conversation

jdstrand
Copy link

#6456 for 2.37.

NetworkManager offers a very large API that is wholly exposed via the
network-manager interface. Some applications (eg, QtNetworkBearer) use
NetworkManager to check for connectivity and therefore do not require
access to the entire API. Implement the network-manager-observe
interface that exposes the Get* and List methods required for verifying
connectivity. Since this grants access to things like MAC addresses and
previous networks, treat this like network-observe and require manual
connection. This interface does not grant access to NetworkManager's
GetSecrets() API.

On classic distro, this interface lets the application communicate with
the system NetworkManager using the specified APIs. On all snaps
systems, a providing snap interested in exposing this smaller API is
expected to slot this interface in addition to the fuller
network-manager interface, which contains all the permanent slot policy
needed to run as NetworkManager (ie, this interface is currently not
standalone as there are no known applications that only implement this
reduced NM API).

References:
https://forum.snapcraft.io/t/qt-network-bearer-networkmanager-access-extend-network-observe/8399
@jdstrand jdstrand added this to the 2.37 milestone Jan 30, 2019
@pedronis
Copy link
Collaborator

@jdstrand I understand that is low risk in some ways, but adding a full interface to a dot release seems strange to me from a tracking/testing POV

@pedronis
Copy link
Collaborator

it's feels a bit late for 2.37 for this one (also considering the main PR has questions/comments)

@pedronis pedronis closed this Jan 31, 2019
@jdstrand jdstrand deleted the add-network-manager-observe-2.37 branch January 31, 2019 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants