From 9c202e3e860b3be9e1f8882630b69affbb130102 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sun, 3 Feb 2013 14:49:22 +0100 Subject: Imported Upstream version 0.9.7.995 --- docs/api/spec.html | 81 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 71 insertions(+), 10 deletions(-) (limited to 'docs/api/spec.html') diff --git a/docs/api/spec.html b/docs/api/spec.html index 119b02a5..1ff031f6 100644 --- a/docs/api/spec.html +++ b/docs/api/spec.html @@ -1,5 +1,5 @@ -NetworkManager D-Bus Interface Specification version 0.9.6.4

NetworkManager D-Bus Interface Specification

Version 0.9.6.4

Copyright (C) 2008 - 2011 Red Hat, Inc.
Copyright (C) 2008 - 2009 Novell, Inc.
+

NetworkManager D-Bus Interface Specification

Version 0.9.7.995

Copyright (C) 2008 - 2011 Red Hat, Inc.
Copyright (C) 2008 - 2009 Novell, Inc.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -112,7 +112,7 @@ General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

-

Interfaces

+

Interfaces

org.freedesktop.NetworkManager

Methods:

GetDevices ( ) → @@ -255,11 +255,24 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.s
A combination of logging domains separated by commas (','), or "NONE" to disable logging. Each domain enables logging for operations - related to that domain. Available domains are: [NONE, HW, RFKILL, - ETHER, WIFI, BT, MB, DHCP4, DHCP6, PPP, WIFI_SCAN, IP4, IP6, AUTOIP4, - DNS, VPN, SHARING, SUPPLICANT, USER_SET, SYS_SET, SUSPEND, CORE, - DEVICE, OLPC]. If an empty string is given, the log level is changed - but the current set of log domains remains unchanged. + related to that domain. Available domains are: [HW, RFKILL, ETHER, + WIFI, BT, MB, DHCP4, DHCP6, PPP, WIFI_SCAN, IP4, IP6, AUTOIP4, DNS, + VPN, SHARING, SUPPLICANT, AGENTS, SETTINGS, SUSPEND, CORE, DEVICE, + OLPC, WIMAX, INFINIBAND, FIREWALL, ADSL, BOND, VLAN]. In addition to + these domains, the following special domains can be used: [NONE, ALL, + DEFAULT, DHCP, IP]. If an empty string is given, the log level is + changed but the current set of log domains remains unchanged. +

GetLogging ( + + ) → + s, s

+ Get current logging verbosity level and operations domains. +

Returns

level - + s
+ One of [ERR, WARN, INFO, DEBUG]. +
domains - + s
+ For available domains see SetLogging() call.

state ( ) → @@ -538,6 +551,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.NM_DEVICE_TYPE)
The general type of the network device; ie Ethernet, WiFi, etc. +
AvailableConnections - + ao - + (read)
+ An array of object paths of every configured connection that is currently 'available' through this device.

Enumerated types:

NM_DEVICE_STATE

NM_DEVICE_STATE_UNKNOWN = 0
The device is in an unknown state.
NM_DEVICE_STATE_UNMANAGED = 10
@@ -588,6 +605,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
NM_DEVICE_TYPE_ADSL = 12
The device is an ADSL device supporting PPPoE and PPPoATM protocols. +
NM_DEVICE_TYPE_BRIDGE = 13
+ The device is a bridge interface.

NM_DEVICE_STATE_REASON

NM_DEVICE_STATE_REASON_UNKNOWN = 0
The reason for the device state change is unknown.
NM_DEVICE_STATE_REASON_NONE = 1
@@ -692,6 +711,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
NM_DEVICE_STATE_REASON_BR2684_FAILED = 51
Problem with the RFC 2684 Ethernet over ADSL bridge. +
NM_DEVICE_STATE_REASON_MODEM_MANAGER_UNAVAILABLE = 52
+ ModemManager was not running or quit unexpectedly. +
NM_DEVICE_STATE_REASON_SSID_NOT_FOUND = 53
+ The 802.11 Wi-Fi network could not be found. +
NM_DEVICE_STATE_REASON_SECONDARY_CONNECTION_FAILED = 54
+ A secondary connection of the base connection failed.

Sets of flags:

NM_DEVICE_CAP

NM_DEVICE_CAP_NONE = 0x0
Null capability.
NM_DEVICE_CAP_NM_SUPPORTED = 0x1
The device is supported by NetworkManager.
NM_DEVICE_CAP_CARRIER_DETECT = 0x2
The device supports carrier detection.

Structure types:

NM_DEVICE_STATE_REASON_STRUCT - ( u: state, u: reason ) @@ -1001,6 +1026,28 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +

org.freedesktop.NetworkManager.Device.Bridge

Interface has no methods.

Signals:

PropertiesChanged ( + a{sv}: properties + )

Parameters

properties - + a{sv} + (String_Variant_Map) +
+ A dictionary mapping property names to variant boxed values +

Properties:

HwAddress - + s - + (read)
+ Hardware address of the device. +
Carrier - + b - + (read)
+ Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). +
Slaves - + ao - + (read)
+ Array of object paths representing devices which are currently + slaved to this device. +
+

org.freedesktop.NetworkManager.Device.Vlan

Interface has no methods.

Signals:

PropertiesChanged ( a{sv}: properties )

Parameters

properties - @@ -1283,6 +1330,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
NM_ACTIVE_CONNECTION_STATE_DEACTIVATING = 3
The connection is being torn down and cleaned up. +
NM_ACTIVE_CONNECTION_STATE_DEACTIVATED = 4
+ The connection is no longer active.

org.freedesktop.NetworkManager.AgentManager

Methods:

Register ( @@ -1643,7 +1692,19 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
NM_VPN_PLUGIN_FAILURE_BAD_IP_CONFIG = 2
Invalid IP configuration returned from the VPN plugin.
-

Generic types:

Enumerated types:

NM_802_11_MODE

NM_802_11_MODE_UNKNOWN = 0
Mode is unknown.
NM_802_11_MODE_ADHOC = 1
Uncoordinated network without central infrastructure.
NM_802_11_MODE_INFRA = 2
Coordinated network with one or more central controllers.

Mapping types:

String_Variant_Map - a{ +

Generic types:

Enumerated types:

NM_802_11_MODE

NM_802_11_MODE_UNKNOWN = 0
Mode is unknown.
NM_802_11_MODE_ADHOC = 1
+ For both devices and access point objects, indicates the object is + part of an Ad-Hoc 802.11 network without a central coordinating access + point. +
NM_802_11_MODE_INFRA = 2
+ The wireless device or access point is in infrastructure mode. For + devices, this indicates the device is an 802.11 client/station. For + access point objects, this indicates the object is an access point that + provides connectivity to clients. +
NM_802_11_MODE_AP = 3
+ The device is an access point/hotspot. Not valid for access point + objects themselves. +

Mapping types:

String_Variant_Map - a{ s: Key → v: Value }

A mapping from strings to variants representing extra @@ -1687,7 +1748,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.org.freedesktop.NetworkManager.VPN.Error.BadArgumentsInvalid arguments were passed with the request. FIXME: too general.

org.freedesktop.NetworkManager.VPN.Error.LaunchFailed

A binary providing the service failed to launch.

org.freedesktop.NetworkManager.VPN.Error.ConnectionInvalid

The request could not be processed because the VPN connection settings were invalid. -

Index

Index of interfaces

Index of types