commit 97587e399fe149555837fe81c1a966d5530ac6cc
parent 6f4b91ac8eace26379174b879cc5181c6ad88bf5
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Wed, 8 Sep 2021 23:44:39 +0200
doc: Add net.connman.iwd.IPv{4,6}Configuration API doc
Diffstat:
1 file changed, 47 insertions(+), 0 deletions(-)
diff --git a/doc/ip-configuration-api.txt b/doc/ip-configuration-api.txt
@@ -0,0 +1,47 @@
+IP Configuration hierarchy
+===============================
+
+Service net.connman.iwd
+Interface net.connman.iwd.IPv4Configuration [Experimental]
+Interface net.connman.iwd.IPv6Configuration [Experimental]
+Object path /net/connman/iwd/{phy0,phy1,...}/{1,2,...}
+Object path /net/connman/iwd/{phy0,phy1,...}/p2p_peers/{aa_bb_cc_dd_ee_ff}
+
+The interfaces net.connman.iwd.IPv4Configuration and
+net.connman.iwd.IPv6Configuration currently have the same sets of methods,
+signals and properties. In station mode, when network configuration is
+enabled there may be one or both interfaces present on a device object in
+connected state depending on if IPv4 and IPv6 addresses have both been
+configured. In P2P mode only net.connman.iwd.IPv4Configuration is used.
+
+Properties string Method [readonly]
+
+ Indicates whether the local address was set
+ statically (value "static") or obtained automatically
+ such as through DHCP (value "auto"). Even when the
+ address was obtained from the remote end some
+ configuration bits, such as DNS addresses, may have
+ been overridden locally.
+
+ string Address [readonly]
+
+ Holds the local IP address.
+
+ byte PrefixLength [readonly]
+
+ Holds the prefix-length of the local subnet. For
+ IPv4 this maps to the netmask.
+
+ string Gateway [readonly, optional]
+
+ Holds the gateway address for the subnet if one
+ exists.
+
+ array(string) DomainNameServers [readonly, optional]
+
+ Holds the list of domain name server addresses
+ configured if any.
+
+ array(string) DomainNames [readonly, optional]
+
+ Holds the network's local domain names if any exist.