From bf8d3b027bbc319d86847dc729684b406acf995c Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 23 Oct 2009 15:38:06 -0700 Subject: [PATCH] introspection: document ip4-config argument formats --- introspection/nm-ip4-config.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/introspection/nm-ip4-config.xml b/introspection/nm-ip4-config.xml index 57ce29529d..70d3e1ce43 100644 --- a/introspection/nm-ip4-config.xml +++ b/introspection/nm-ip4-config.xml @@ -3,19 +3,26 @@ - Tuples of IPv4 address/prefix/gateway. + Array of tuples of IPv4 address/prefix/gateway. All 3 + elements of each tuple are in network byte order. Essentially: + [(addr, prefix, gateway), (addr, prefix, gateway), ...] + The nameservers in use. - The Windows Internet Name Service servers associated with the connection. + The Windows Internet Name Service servers associated with the connection. Each address is in network byte order. A list of domains this address belongs to. - Tuples of IPv4 route/prefix/next-hop/metric. + Tuples of IPv4 route/prefix/next-hop/metric. All 4 elements + of each tuple are in network byte order. 'route' and 'next hop' are IPv4 + addresses, while prefix and metric are simple unsigned integers. Essentially: + [(route, prefix, next-hop, metric), (route, prefix, next-hop, metric), ...] +