Discussion:
[networkmanagement/nm09] backends/NetworkManager: add the missing device::activeConnection DBUS method
Lamarque Vieira Souza
2011-06-10 01:45:46 UTC
Permalink
Git commit d2c741839d65fc6a49ce151d413813c6abd9be4e by Lukas Tinkl.
Committed on 09/06/2011 at 14:42.
Pushed by lukas into branch 'nm09'.
add the missing device::activeConnection DBUS method
using this, we have a perfect reverse mapping from
device -> active connection -> connection settings
We could imho use this to simplify a lot of code, what do you think?
Is this a new property in NM-0.9 specification? There is no mention of
this property in NetworkManager-0.8.999/introspection/nm-device.xml nor in
http://projects.gnome.org/NetworkManager/developers/migrating-to-09/spec.html.
There is an ActiveConnections property in
NetworkManager-0.8.999/introspection/nm-manager.xml which we already support.
--
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110609/bd4d7169/attachment.htm
Lamarque Vieira Souza
2011-06-10 02:02:01 UTC
Permalink
Post by Lamarque Vieira Souza
Git commit d2c741839d65fc6a49ce151d413813c6abd9be4e by Lukas Tinkl.
Committed on 09/06/2011 at 14:42.
Pushed by lukas into branch 'nm09'.
add the missing device::activeConnection DBUS method
using this, we have a perfect reverse mapping from
device -> active connection -> connection settings
We could imho use this to simplify a lot of code, what do you think?
Is this a new property in NM-0.9 specification? There is no mention of
this property in NetworkManager-0.8.999/introspection/nm-device.xml nor in
http://projects.gnome.org/NetworkManager/developers/migrating-to-09/spec.ht
ml. There is an ActiveConnections property in
NetworkManager-0.8.999/introspection/nm-manager.xml which we already support.
Answering my own question it is indeed new, 0.8.9997 includes this
property. I will upgrade the nm09 branch to require this version to compile.
We can use this property in interface details widget to get the details about
VPN connections. I do not see anywhere else we could use it, can you give me
more examples where we could use it? I am not saying that it is has no use,
just does not come to my mind now where else we could use it.
--
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/
http://planetkde.org/pt-br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20110609/04f3cd9a/attachment.htm
Loading...