Update service details for IPv4 and Ethernet information
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 20 Dec 2009 05:30:41 +0000 (21:30 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 20 Dec 2009 05:30:41 +0000 (21:30 -0800)
doc/service-api.txt

index 0236789..a725760 100644 (file)
@@ -258,11 +258,61 @@ Properties        string State [readonly]
                        indicates connections to a foreign provider when
                        traveling abroad.
 
-               string IPv4.Method [readwrite]
+               array{string} Nameservers [readwrite]
 
-                       The IPv4 configuration method. Possible values here
-                       are "dhcp" and "static".
+                       The list of manually configured domain name
+                       servers. Some 3G networks don't provide correct
+                       name servers and this allows for an override.
 
-               string IPv4.Address [readwrite]
+               array{string} Domains [readwrite]
 
-                       The current configured IPv4 address.
+                       The list of manually configured search domains.
+
+               dict IPv4 [readonly]
+
+                       string Method [readonly]
+
+                               Possible values are "dhcp", "manual"
+                               and "off".
+
+                       string Address [readonly]
+
+                               The current configured IPv4 address.
+
+                       string Netmask [readonly]
+
+                               The current configured IPv4 netmask.
+
+                       string Gateway [readonly]
+
+                               The current configured IPv4 gateway.
+
+               dict Ethernet [readonly]
+
+                       string Method [readonly]
+
+                               Possible values are "auto" and "manual".
+
+                       string Address [readonly]
+
+                               Ethernet device address (MAC address).
+
+                       uint16 MTU [readonly]
+
+                               The Ethernet MTU (default is 1500).
+
+                       uint16 Speed [readonly]
+
+                               Selected speed of the line.
+
+                               This information might not always be
+                               available.
+
+                       string Duplex [readonly]
+
+                               Selected duplex settings of the line.
+
+                               Possible values are "half" and "full".
+
+                               This information might not always be
+                               available.