From c3e70321b408a1700b9daecf69adcdc35f1bbb1b Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 19 Dec 2009 21:30:41 -0800 Subject: Update service details for IPv4 and Ethernet information --- doc/service-api.txt | 60 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 55 insertions(+), 5 deletions(-) diff --git a/doc/service-api.txt b/doc/service-api.txt index 0236789e..a7257603 100644 --- a/doc/service-api.txt +++ b/doc/service-api.txt @@ -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. -- cgit v1.2.3