[Networkmanager] python gobject introspection seems to lack address-data

Thomas Haller thaller at redhat.com
Mon Oct 16 19:13:29 UTC 2023


On Mon, 2023-10-16 at 20:55 +0200, Anders Blomdell wrote:
> is there a good reason for this except backward compatibility?
> 
> /Anders

"ipv[46].address-data" is only something relevant on the D-Bus API.
It exists, because "ipv[46].addresses" could not be extended in a
backward compatible way (well, it got extended by adding "address-
data").

GObject introspections wraps libnm, and in libnm the property is called
"addresses", which gives a list of NMIPAddress objects. There is
nothing else, and no need for anything else.


Thomas



More information about the Networkmanager mailing list