API changes



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:

-    <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>

Tambet


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]