On Fri, 2008-05-09 at 09:20 -0400, Derek Atkins wrote: > Hey, > > Dan Williams <[EMAIL PROTECTED]> writes: > > > On Thu, 2008-05-08 at 16:59 +0300, Tambet Ingo wrote: > >> Hey, > >> > >> There's a small DBus API breakage in the SVN. Interface > >> "org.freedesktop.NetworkManager.IP4Config" does not have properties > >> "Address", "Gateway", "Netmask", and "Broadcast" anymore. Instread, > >> there's now an array of tuples 'Addresses' containing (uint address, > >> uint netmask, uint gateway). The change was to allow multiple IP > >> addresses per device. Here's the diff: > > > > As a side-note, this exactly matches the format for IP addresses that > > the NMSettingIP4Config setting uses. > > > > Dan > > > >> - <property name="Address" type="u" access="read"> > >> - <tp:docstring>IPv4 address. FIXME: what about multiple > >> addresses?</tp:docstring> > >> - </property> > >> - <property name="Gateway" type="u" access="read"> > >> - <tp:docstring>Default gateway.</tp:docstring> > >> - </property> > >> - <property name="Netmask" type="u" access="read"> > >> - <tp:docstring>Network mask of this network.</tp:docstring> > >> - </property> > >> - <property name="Broadcast" type="u" access="read"> > >> - <tp:docstring>Broadcast address of this network.</tp:docstring> > >> + <property name="Addresses" type="aau" access="read"> > >> + <tp:docstring>Tuples of IPv4 address/netmask/gateway. The > >> gateway is optional, if not given should be 0.</tp:docstring> > > Why not call it V4Addresses, to give space to add V6Addresses later?
Because this is the NMIP4Config object; there will be an NMIP6Config object for IPv6 support :) dan _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
