mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 11:00:09 +01:00
* introspection/nm-manager.xml introspection/nm-manager-client.xml - (ActivateConnection): return the object path of the active connection on success - (GetActiveConnections): remove - (DeactivateConnection): new function; deactivate a currently active connection - Add an ActiveConnections property which returns an array of active connection object paths * introspection/nm-device.xml - (Deactivate): remove * introspection/all.xml - Add ActiveConnection introspection * introspection/nm-active-connection.xml - Add the ActiveConnection object * include/NetworkManager.h - Add the Connection.Active D-Bus interface * src/nm-device-interface.c - (impl_device_deactivate): remove * src/nm-activation-request.c src/nm-activation-request.c src/Makefile.am - Implement the Connection.Active D-Bus interface * src/nm-manager.c - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property - (nm_manager_activate_device): return the active connection path - (connection_added_default_handler, impl_manager_activate_connection): return the active connection to the caller - (add_one_connection_element, impl_manager_get_active_connections): remove - (impl_manager_deactivate_connection): new function; deactivate an active connection * libnm-glib/nm-device.c libnm-glib/nm-device.h - Remove Deactivate() function git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3484 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
121 lines
4.1 KiB
XML
121 lines
4.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
|
<interface name="org.freedesktop.NetworkManager.Device">
|
|
<property name="Udi" type="s" access="read">
|
|
<tp:docstring>
|
|
HAL UDI for the device.
|
|
</tp:docstring>
|
|
</property>
|
|
<property name="Interface" type="s" access="read">
|
|
<tp:docstring>
|
|
The network interface offered by the device.
|
|
</tp:docstring>
|
|
</property>
|
|
<property name="Driver" type="s" access="read">
|
|
<tp:docstring>
|
|
The driver handling the device.
|
|
</tp:docstring>
|
|
</property>
|
|
<property name="Capabilities" type="u" access="read" tp:type="NM_DEVICE_CAP">
|
|
<tp:docstring>
|
|
Flags describing the capabilities of the device.
|
|
</tp:docstring>
|
|
</property>
|
|
<property name="Ip4Address" type="i" access="read">
|
|
<tp:docstring>
|
|
The IPv4 address bound to the device. FIXME: what about devices with >1 IP address?
|
|
</tp:docstring>
|
|
</property>
|
|
<property name="State" type="u" access="read" tp:type="NM_DEVICE_STATE">
|
|
<tp:docstring>
|
|
The current state of the device.
|
|
</tp:docstring>
|
|
</property>
|
|
<property name="Ip4Config" type="o" access="read">
|
|
<tp:docstring>
|
|
Object path of the Ip4Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.
|
|
</tp:docstring>
|
|
</property>
|
|
|
|
<!-- Ugh, but I see no other way of getting the type on the caller
|
|
based on dbus object path only -->
|
|
<property name="DeviceType" type="u" access="read">
|
|
<tp:docstring>
|
|
</tp:docstring>
|
|
</property>
|
|
|
|
|
|
<signal name="StateChanged">
|
|
<arg name="state" type="u" tp:type="NM_DEVICE_STATE">
|
|
<tp:docstring>
|
|
The new state of the device.
|
|
</tp:docstring>
|
|
</arg>
|
|
</signal>
|
|
|
|
<tp:enum name="NM_DEVICE_STATE" type="u">
|
|
<tp:enumvalue suffix="UNKNOWN" value="0">
|
|
<tp:docstring>
|
|
The device is in an unknown state.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
<tp:enumvalue suffix="DOWN" value="1">
|
|
<tp:docstring>
|
|
The device is down.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
<tp:enumvalue suffix="DISCONNECTED" value="2">
|
|
<tp:docstring>
|
|
The device is not connected.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
<tp:enumvalue suffix="PREPARE" value="3">
|
|
<tp:docstring>
|
|
The device is preparing to connect.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
<tp:enumvalue suffix="CONFIG" value="4">
|
|
<tp:docstring>
|
|
The device is being configured.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
<tp:enumvalue suffix="NEED_AUTH" value="5">
|
|
<tp:docstring>
|
|
The device is awaiting authorization credentials.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
<tp:enumvalue suffix="IP_CONFIG" value="6">
|
|
<tp:docstring>
|
|
The IP address of the device is being configured.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
<tp:enumvalue suffix="ACTIVATED" value="7">
|
|
<tp:docstring>
|
|
The device is active.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
<tp:enumvalue suffix="FAILED" value="8">
|
|
<tp:docstring>
|
|
The device is in a failure state following an attempt to activate it.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
<tp:enumvalue suffix="CANCELLED" value="9">
|
|
<tp:docstring>
|
|
The previous activation attempt on this device was cancelled.
|
|
</tp:docstring>
|
|
</tp:enumvalue>
|
|
</tp:enum>
|
|
<tp:flags name="NM_DEVICE_CAP" value-prefix="NM_DEVICE_CAP" type="u">
|
|
<tp:flag suffix="NONE" value="0x0">
|
|
<tp:docstring>Null capability.</tp:docstring>
|
|
</tp:flag>
|
|
<tp:flag suffix="NM_SUPPORTED" value="0x1">
|
|
<tp:docstring>The device is supported by NetworkManager.</tp:docstring>
|
|
</tp:flag>
|
|
<tp:flag suffix="CARRIER_DETECT" value="0x2">
|
|
<tp:docstring>The device supports carrier detection.</tp:docstring>
|
|
</tp:flag>
|
|
</tp:flags>
|
|
</interface>
|
|
</node>
|