parent
32e6eba873
commit
2d67c1c6b2
@ -1,18 +0,0 @@
|
|||||||
EXTRA_DIST = \
|
|
||||||
nm-access-point.xml \
|
|
||||||
nm-active-connection.xml \
|
|
||||||
nm-device-802-11-wireless.xml \
|
|
||||||
nm-device-802-3-ethernet.xml \
|
|
||||||
nm-device-cdma.xml \
|
|
||||||
nm-device-gsm.xml \
|
|
||||||
nm-device.xml \
|
|
||||||
nm-exported-connection.xml \
|
|
||||||
nm-ip4-config.xml \
|
|
||||||
nm-manager.xml \
|
|
||||||
nm-manager-client.xml \
|
|
||||||
nm-ppp-manager.xml \
|
|
||||||
nm-settings.xml \
|
|
||||||
nm-vpn-manager.xml \
|
|
||||||
nm-vpn-plugin.xml \
|
|
||||||
nm-vpn-connection.xml
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<node name="/org/freedesktop/NetworkManager/AgentManager" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||||
|
<interface name="org.freedesktop.NetworkManager.AgentManager">
|
||||||
|
|
||||||
|
<method name="Register">
|
||||||
|
<tp:docstring>
|
||||||
|
Called by secret Agents to register their ability to provide and save
|
||||||
|
network secrets.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_agent_manager_register"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
<arg name="identifier" type="s" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
Identifies this agent; only one agent in each user session may use the
|
||||||
|
same identifier. Identifier formatting follows the same rules as
|
||||||
|
D-Bus bus names with the exception that the ':' character is not
|
||||||
|
allowed. The valid set of characters is "[A-Z][a-z][0-9]_-." and the
|
||||||
|
identifier is limited in length to 255 characters with a minimum
|
||||||
|
of 3 characters. An example valid identifier is 'org.gnome.nm-applet'
|
||||||
|
(without quotes).
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
<method name="Unregister">
|
||||||
|
<tp:docstring>
|
||||||
|
Called by secret Agents to notify NetworkManager that they will no
|
||||||
|
longer handle requests for network secrets. Agents are automatically
|
||||||
|
unregistered when they disconnect from D-Bus.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_agent_manager_unregister"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
||||||
|
|
@ -0,0 +1,27 @@
|
|||||||
|
<?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.Bond">
|
||||||
|
|
||||||
|
<property name="HwAddress" type="s" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Hardware address of the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="Carrier" type="b" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary mapping property names to variant boxed values
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
@ -0,0 +1,48 @@
|
|||||||
|
<?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.Bluetooth">
|
||||||
|
|
||||||
|
<property name="HwAddress" type="s" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Bluetooth hardware address of the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="Name" type="s" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Bluetooth name of the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="BtCapabilities" type="u" access="read" tp:type="NM_BT_CAPABILITIES">
|
||||||
|
<tp:docstring>
|
||||||
|
Bluetooth capabilities of the device (either DUN or NAP).
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary mapping property names to variant boxed values
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
<tp:flags name="NM_BT_CAPABILITIES" value-prefix="NM_BT_CAPABILITY" type="u">
|
||||||
|
<tp:docstring>
|
||||||
|
Flags describing the capabilities of a Bluetooth device.
|
||||||
|
</tp:docstring>
|
||||||
|
<tp:flag suffix="NONE" value="0x0">
|
||||||
|
<tp:docstring>The device has no recognized capabilities.</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="DUN" value="0x1">
|
||||||
|
<tp:docstring>The device supports Bluetooth Dial-Up Networking.</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="PAN" value="0x2">
|
||||||
|
<tp:docstring>The device supports Bluetooth Personal Area Networking.</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
</tp:flags>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
@ -1,15 +0,0 @@
|
|||||||
<?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.Cdma">
|
|
||||||
|
|
||||||
<signal name="PropertiesChanged">
|
|
||||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
|
||||||
<tp:docstring>
|
|
||||||
A dictionary mapping property names to variant boxed values
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
</interface>
|
|
||||||
</node>
|
|
@ -0,0 +1,39 @@
|
|||||||
|
<?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.Wired">
|
||||||
|
|
||||||
|
<property name="HwAddress" type="s" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Active hardware address of the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="PermHwAddress" type="s" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Permanent hardware address of the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="Speed" type="u" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Design speed of the device, in megabits/second (Mb/s).
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="Carrier" type="b" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary mapping property names to variant boxed values
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
@ -0,0 +1,27 @@
|
|||||||
|
<?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.Infiniband">
|
||||||
|
|
||||||
|
<property name="HwAddress" type="s" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Hardware address of the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="Carrier" type="b" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary mapping property names to variant boxed values
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
@ -0,0 +1,64 @@
|
|||||||
|
<?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.Modem">
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary mapping property names to variant boxed values
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
<property name="ModemCapabilities" type="u" access="read" tp:type="NM_DEVICE_MODEM_CAPABILITIES">
|
||||||
|
<tp:docstring>
|
||||||
|
The generic family of access technologies the modem supports. Not all
|
||||||
|
capabilities are available at the same time however; some modems require
|
||||||
|
a firmware reload or other reinitialization to switch between eg CDMA/EVDO
|
||||||
|
and GSM/UMTS.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="CurrentCapabilities" type="u" access="read" tp:type="NM_DEVICE_MODEM_CAPABILITIES">
|
||||||
|
<tp:docstring>
|
||||||
|
The generic family of access technologies the modem currently supports
|
||||||
|
without a firmware reload or reinitialization.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<tp:flags name="NM_DEVICE_MODEM_CAPABILITIES" value-prefix="NM_DEVICE_MODEM_CAPABILITY" type="u">
|
||||||
|
<tp:docstring>
|
||||||
|
Flags describing one or more of the general access technology families
|
||||||
|
that a modem device supports.
|
||||||
|
</tp:docstring>
|
||||||
|
<tp:flag suffix="NONE" value="0x0">
|
||||||
|
<tp:docstring>Modem has no capabilties.</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="POTS" value="0x1">
|
||||||
|
<tp:docstring>
|
||||||
|
Modem supports the analog wired telephone network (ie 56k dialup) and
|
||||||
|
does not have wireless/cellular capabilities.
|
||||||
|
</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="CDMA_EVDO" value="0x2">
|
||||||
|
<tp:docstring>
|
||||||
|
Modem supports at least one of CDMA 1xRTT, EVDO revision 0, EVDO
|
||||||
|
revision A, or EVDO revision B.
|
||||||
|
</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="GSM_UMTS" value="0x4">
|
||||||
|
<tp:docstring>
|
||||||
|
Modem supports at least one of GSM, GPRS, EDGE, UMTS, HSDPA, HSUPA, or
|
||||||
|
HSPA+ packet switched data capability.
|
||||||
|
</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="LTE" value="0x8">
|
||||||
|
<tp:docstring>
|
||||||
|
Modem has at LTE data capability.
|
||||||
|
</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
</tp:flags>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
@ -0,0 +1,34 @@
|
|||||||
|
<?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.OlpcMesh">
|
||||||
|
<property name="HwAddress" type="s" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
The hardware address of the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="Companion" type="o" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
The object path of the companion device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="ActiveChannel" type="u" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
The currently active channel.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary containing the FIXME: check changed parameters.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<tp:docstring>
|
||||||
|
Emitted when the wireless device's properties changed.
|
||||||
|
</tp:docstring>
|
||||||
|
</signal>
|
||||||
|
</interface>
|
||||||
|
</node>
|
@ -0,0 +1,103 @@
|
|||||||
|
<?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.WiMax">
|
||||||
|
<method name="GetNspList">
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_device_get_nsp_list"/>
|
||||||
|
<arg name="nsps" type="ao" direction="out">
|
||||||
|
<tp:docstring>
|
||||||
|
List of NSP object paths
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<tp:docstring>
|
||||||
|
Get the list of NSPs visible to this device.
|
||||||
|
</tp:docstring>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
<property name="HwAddress" type="s" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Hardware address of the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="CenterFrequency" type="u" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Center frequency (in KHz) of the radio channel the device is using to
|
||||||
|
communicate with the network when connected. Has no meaning when the
|
||||||
|
device is not connected.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="Rssi" type="i" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
RSSI of the current radio link in dBm. This value indicates how strong
|
||||||
|
the raw received RF signal from the base station is, but does not
|
||||||
|
indicate the overall quality of the radio link. Has no meaning when the
|
||||||
|
device is not connected.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="Cinr" type="i" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
CINR (Carrier to Interference + Noise Ratio) of the current radio link
|
||||||
|
in dB. CINR is a more accurate measure of radio link quality. Has no
|
||||||
|
meaning when the device is not connected.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="TxPower" type="i" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Average power of the last burst transmitted by the device, in units of
|
||||||
|
0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of
|
||||||
|
-5.5 dBm. Has no meaning when the device is not connected.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="Bsid" type="s" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
The ID of the serving base station as received from the network. Has
|
||||||
|
no meaning when the device is not connected.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<property name="ActiveNsp" type="o" access="read">
|
||||||
|
<tp:docstring>
|
||||||
|
Object path of the NSP currently used by the WiMax device.
|
||||||
|
</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary mapping property names to variant boxed values.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<tp:docstring>
|
||||||
|
Emitted when the WiMax device's properties changed.
|
||||||
|
</tp:docstring>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
<signal name="NspAdded">
|
||||||
|
<arg name="nsp" type="o">
|
||||||
|
<tp:docstring>
|
||||||
|
The object path of the newly found NSP.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<tp:docstring>
|
||||||
|
Emitted when a new NSP is found by the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
<signal name="NspRemoved">
|
||||||
|
<arg name="nsp" type="o">
|
||||||
|
<tp:docstring>
|
||||||
|
The object path of the NSP that has disappeared.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<tp:docstring>
|
||||||
|
Emitted when an NSP disappears from view of the device.
|
||||||
|
</tp:docstring>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||||
|
<interface name="org.freedesktop.NetworkManager.DHCP4Config">
|
||||||
|
<tp:docstring>
|
||||||
|
Options and configuration returned by the IPv4 DHCP server.
|
||||||
|
</tp:docstring>
|
||||||
|
<property name="Options" type="a{sv}" access="read">
|
||||||
|
<tp:docstring>Configuration options returned by a DHCP server, if any.</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary mapping property names to variant boxed values
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</signal>
|
||||||
|
</interface>
|
||||||
|
</node>
|
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||||
|
<interface name="org.freedesktop.NetworkManager.DHCP6Config">
|
||||||
|
<tp:docstring>
|
||||||
|
Options and configuration returned by the IPv6 DHCP server.
|
||||||
|
</tp:docstring>
|
||||||
|
<property name="Options" type="a{sv}" access="read">
|
||||||
|
<tp:docstring>Configuration options returned by a DHCP server, if any.</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary mapping property names to variant boxed values
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</signal>
|
||||||
|
</interface>
|
||||||
|
</node>
|
@ -1,108 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
|
|
||||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
|
||||||
|
|
||||||
<interface name="org.freedesktop.NetworkManagerSettings.Connection">
|
|
||||||
<tp:docstring>
|
|
||||||
Represents a single network connection configuration.
|
|
||||||
</tp:docstring>
|
|
||||||
<method name="GetID">
|
|
||||||
<tp:docstring>
|
|
||||||
Obtain the ID of this connection.
|
|
||||||
</tp:docstring>
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_get_id"/>
|
|
||||||
<arg name="id" type="s" direction="out">
|
|
||||||
<tp:docstring>
|
|
||||||
The ID of this connection.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<method name="Update">
|
|
||||||
<tp:docstring>
|
|
||||||
Update the connection.
|
|
||||||
</tp:docstring>
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_update"/>
|
|
||||||
<arg name="properties" type="a{sa{sv}}" direction="in">
|
|
||||||
<tp:docstring>
|
|
||||||
New connection properties.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<method name="Delete">
|
|
||||||
<tp:docstring>
|
|
||||||
Delete the connection.
|
|
||||||
</tp:docstring>
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_delete"/>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<method name="GetSettings">
|
|
||||||
<tp:docstring>
|
|
||||||
Get the settings maps describing this object.
|
|
||||||
</tp:docstring>
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_get_settings"/>
|
|
||||||
<arg name="settings" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
|
|
||||||
<tp:docstring>
|
|
||||||
The nested settings maps describing this object.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<signal name="Updated">
|
|
||||||
<tp:docstring>
|
|
||||||
Emitted when some settings changed.
|
|
||||||
</tp:docstring>
|
|
||||||
<arg name="settings" type="a{sa{sv}}" tp:type="String_String_Variant_Map_Map">
|
|
||||||
<tp:docstring>
|
|
||||||
Contains the changed settings.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="Removed">
|
|
||||||
<tp:docstring>
|
|
||||||
Emitted when this settings object was removed. FIXME: Is this emitted after it was removed or when it is about to be removed? If after removed, then different semantics to Device removed. if prior to removal, should be called AboutToBeRemoved.
|
|
||||||
</tp:docstring>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
</interface>
|
|
||||||
|
|
||||||
<interface name="org.freedesktop.NetworkManagerSettings.Connection.Secrets">
|
|
||||||
<tp:docstring>
|
|
||||||
Secrets have a separate interface so that they can be locked down.
|
|
||||||
</tp:docstring>
|
|
||||||
|
|
||||||
<method name="GetSecrets">
|
|
||||||
<tp:docstring>
|
|
||||||
Get the secrets encapsulated in this object.
|
|
||||||
</tp:docstring>
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_exported_connection_get_secrets"/>
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
|
||||||
<arg name="setting_name" type="s" direction="in">
|
|
||||||
<tp:docstring>
|
|
||||||
Name of the setting to return.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
<arg name="hints" type="as" direction="in">
|
|
||||||
<tp:docstring>
|
|
||||||
Array of strings of key names in the Setting for which NM thinks
|
|
||||||
a secrets may be required.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
<arg name="request_new" type="b" direction="in">
|
|
||||||
<tp:docstring>
|
|
||||||
Indicates whether new secrets should be requested or if the request can be fulfilled from storage.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
|
|
||||||
<arg name="secrets" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
|
|
||||||
<tp:docstring>
|
|
||||||
Nested settings maps containing secrets. Each setting MUST contain at least the 'name' field, containing the name of the setting, and one or more secrets.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
</interface>
|
|
||||||
|
|
||||||
</node>
|
|
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||||
|
<interface name="org.freedesktop.NetworkManager.IP6Config">
|
||||||
|
<property name="Addresses" type="a(ayuay)" access="read">
|
||||||
|
<tp:docstring>Tuples of IPv6 address/prefix/gateway.</tp:docstring>
|
||||||
|
</property>
|
||||||
|
<property name="Nameservers" type="aay" access="read">
|
||||||
|
<tp:docstring>The nameservers in use.</tp:docstring>
|
||||||
|
</property>
|
||||||
|
<property name="Domains" type="as" access="read">
|
||||||
|
<tp:docstring>A list of domains this address belongs to.</tp:docstring>
|
||||||
|
</property>
|
||||||
|
<property name="Routes" type="a(ayuayu)" access="read">
|
||||||
|
<tp:docstring>Tuples of IPv6 route/prefix/next-hop/metric.</tp:docstring>
|
||||||
|
</property>
|
||||||
|
</interface>
|
||||||
|
</node>
|
||||||
|
|
@ -1,63 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
READ ME! READ ME! READ ME! READ ME! READ ME!
|
|
||||||
|
|
||||||
This file needs to be kept in sync with nm-manager.xml with the exception of
|
|
||||||
the legacy methods at the end of nm-manager.xml.
|
|
||||||
|
|
||||||
This file is only used to ensure that a few legacy 0.6 D-DBus methods that
|
|
||||||
NM supports don't leak into libnm-glib, but are only exposed by the NMManager
|
|
||||||
object. dbus-glib generates the same bound function names for D-Bus the methods
|
|
||||||
"sleep" and "Sleep", unfortunately.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<node name="/">
|
|
||||||
<interface name="org.freedesktop.NetworkManager">
|
|
||||||
<method name="GetDevices">
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_devices"/>
|
|
||||||
<arg name="devices" type="ao" direction="out"/>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<method name="ActivateConnection">
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_activate_connection"/>
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
|
||||||
<arg name="service_name" type="s" direction="in"/>
|
|
||||||
<arg name="connection" type="o" direction="in"/>
|
|
||||||
<arg name="device" type="o" direction="in"/>
|
|
||||||
<arg name="specific_object" type="o" direction="in"/>
|
|
||||||
<arg name="active_connection" type="o" direction="out"/>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<method name="DeactivateConnection">
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_deactivate_connection"/>
|
|
||||||
<arg name="active_connection" type="o" direction="in"/>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<method name="Sleep">
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_sleep"/>
|
|
||||||
<arg name="sleep" type="b" direction="in"/>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<property name="WirelessEnabled" type="b" access="readwrite"/>
|
|
||||||
<property name="WirelessHardwareEnabled" type="b" access="read"/>
|
|
||||||
<property name="ActiveConnections" type="ao" access="read"/>
|
|
||||||
<property name="State" type="u" access="read"/>
|
|
||||||
|
|
||||||
<signal name="StateChanged">
|
|
||||||
<arg name="state" type="u"/>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="PropertiesChanged">
|
|
||||||
<arg name="properties" type="a{sv}"/>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="DeviceAdded">
|
|
||||||
<arg name="state" type="o"/>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<signal name="DeviceRemoved">
|
|
||||||
<arg name="state" type="o"/>
|
|
||||||
</signal>
|
|
||||||
</interface>
|
|
||||||
</node>
|
|
@ -0,0 +1,177 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||||
|
|
||||||
|
<interface name="org.freedesktop.NetworkManager.SecretAgent">
|
||||||
|
<tp:docstring>
|
||||||
|
Private D-Bus interface used by secret agents that store and provide
|
||||||
|
secrets to NetworkManager. If an agent provides secrets to
|
||||||
|
NetworkManager as part of connection creation, and the some of those
|
||||||
|
secrets are "agent owned" the agent should store those secrets
|
||||||
|
itself and should not expect its SaveSecrets() method to be called.
|
||||||
|
SaveSecrets() will be called eg if some program other than the
|
||||||
|
agent itself (like a connection editor) changes the secrets out of
|
||||||
|
band.
|
||||||
|
</tp:docstring>
|
||||||
|
|
||||||
|
<method name="GetSecrets">
|
||||||
|
<tp:docstring>
|
||||||
|
Retrieve and return stored secrets, if any, or request new
|
||||||
|
secrets from the agent's user.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_secret_agent_get_secrets"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
<arg name="connection" type="a{sa{sv}}" direction="in" tp:type="String_String_Variant_Map_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
Nested settings maps containing the connection for which
|
||||||
|
secrets are being requested. This may contain system-owned
|
||||||
|
secrets if the agent has successfully authenticated to
|
||||||
|
modify system network settings and the GetSecrets request
|
||||||
|
flags allow user interaction.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<arg name="connection_path" type="o" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
Object path of the connection for which secrets are being
|
||||||
|
requested.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<arg name="setting_name" type="s" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
Setting name for which secrets are being requested.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<arg name="hints" type="as" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
Array of strings of key names in the requested setting for
|
||||||
|
which NetworkManager thinks a secrets may be required,
|
||||||
|
and/or well-known identifiers and data that may be useful
|
||||||
|
to the client in processing the secrets request. The Agent
|
||||||
|
should return any secrets it has, or that it thinks are
|
||||||
|
required, regardless of what hints NetworkManager sends
|
||||||
|
in this request.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<arg name="flags" type="u" direction="in" tp:type="NM_SECRET_AGENT_GET_SECRETS_FLAGS">
|
||||||
|
<tp:docstring>
|
||||||
|
Flags which modify the behavior of the secrets request.
|
||||||
|
If true, new secrets are assumed to be invalid or incorrect,
|
||||||
|
and the agent should ask the user for new secrets. If false,
|
||||||
|
existing secrets should be retrieved from storage and
|
||||||
|
returned without interrupting the user.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
|
||||||
|
<arg name="secrets" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
Nested settings maps containing secrets. Each setting MUST
|
||||||
|
contain at least the 'name' field, containing the name of
|
||||||
|
the setting, and one or more secrets.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
<tp:flags name="NM_SECRET_AGENT_GET_SECRETS_FLAGS" value-prefix="NM_SECRET_AGENT_GET_SECRETS_FLAG" type="u">
|
||||||
|
<tp:docstring>
|
||||||
|
Flags modifying the behavior of GetSecrets request.
|
||||||
|
</tp:docstring>
|
||||||
|
<tp:flag suffix="NONE" value="0x0">
|
||||||
|
<tp:docstring>
|
||||||
|
No special behavior; by default no user interaction is allowed and
|
||||||
|
requests for secrets are fulfilled from persistent storage, or
|
||||||
|
if no secrets are available an error is returned.
|
||||||
|
</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="ALLOW_INTERACTION" value="0x1">
|
||||||
|
<tp:docstring>
|
||||||
|
Allows the request to interact with the user, possibly prompting
|
||||||
|
via UI for secrets if any are required, or if none are found in
|
||||||
|
persistent storage.
|
||||||
|
</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="REQUEST_NEW" value="0x2">
|
||||||
|
<tp:docstring>
|
||||||
|
Explicitly prompt for new secrets from the user. This flag
|
||||||
|
signals that NetworkManager thinks any existing secrets are
|
||||||
|
invalid or wrong. This flag implies that interaction is allowed.
|
||||||
|
</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="USER_REQUESTED" value="0x4">
|
||||||
|
<tp:docstring>
|
||||||
|
Set if the request was initiated by user-requested action via the
|
||||||
|
D-Bus interface, as opposed to automatically initiated by
|
||||||
|
NetworkManager in response to (for example) scan results or
|
||||||
|
carrier changes.
|
||||||
|
</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
</tp:flags>
|
||||||
|
|
||||||
|
<method name="CancelGetSecrets">
|
||||||
|
<tp:docstring>
|
||||||
|
Cancel a pending GetSecrets request for secrets of the given
|
||||||
|
connection. Any matching request should be canceled.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_secret_agent_cancel_get_secrets"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
<arg name="connection_path" type="o" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
Object path of the connection for which, if secrets are being
|
||||||
|
requested, the request should be canceled.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<arg name="setting_name" type="s" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
Setting name for which secrets for this connection were
|
||||||
|
originally being requested.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
<method name="SaveSecrets">
|
||||||
|
<tp:docstring>
|
||||||
|
Save given secrets to backing storage.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_secret_agent_save_secrets"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
<arg name="connection" type="a{sa{sv}}" direction="in" tp:type="String_String_Variant_Map_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
Nested settings maps containing the entire connection
|
||||||
|
(including secrets), for which the agent should save the
|
||||||
|
secrets to backing storage. This method will not be called
|
||||||
|
when the agent itself is the process creating or updating
|
||||||
|
a connection; in that case the agent is assumed to have
|
||||||
|
already saved those secrets since it had them already.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<arg name="connection_path" type="o" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
Object path of the connection for which the agent should
|
||||||
|
save secrets to backing storage.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
<method name="DeleteSecrets">
|
||||||
|
<tp:docstring>
|
||||||
|
Delete secrets from backing storage.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_secret_agent_delete_secrets"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
<arg name="connection" type="a{sa{sv}}" direction="in" tp:type="String_String_Variant_Map_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
Nested settings maps containing the connection properties
|
||||||
|
(sans secrets), for which the agent should delete the
|
||||||
|
secrets from backing storage.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
<arg name="connection_path" type="o" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
Object path of the connection for which the agent should
|
||||||
|
delete secrets from backing storage.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
|
||||||
|
</node>
|
@ -0,0 +1,93 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||||
|
|
||||||
|
<interface name="org.freedesktop.NetworkManager.Settings.Connection">
|
||||||
|
<tp:docstring>
|
||||||
|
Represents a single network connection configuration.
|
||||||
|
</tp:docstring>
|
||||||
|
|
||||||
|
<method name="Update">
|
||||||
|
<tp:docstring>
|
||||||
|
Update the connection with new settings and properties, replacing
|
||||||
|
all previous settings and properties. Secrets may be part of the
|
||||||
|
update request, and will be either stored in persistent storage or
|
||||||
|
given to a Secret Agent for storage, depending on the request.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_connection_update"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
<arg name="properties" type="a{sa{sv}}" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
New connection settings, properties, and (optionally) secrets.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
<method name="Delete">
|
||||||
|
<tp:docstring>
|
||||||
|
Delete the connection.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_connection_delete"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
<method name="GetSettings">
|
||||||
|
<tp:docstring>
|
||||||
|
Get the settings maps describing this network configuration.
|
||||||
|
This will never include any secrets required for connection
|
||||||
|
to the network, as those are often protected. Secrets must
|
||||||
|
be requested separately using the GetSecrets() call.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_connection_get_settings"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
<arg name="settings" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
The nested settings maps describing this object.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
<method name="GetSecrets">
|
||||||
|
<tp:docstring>
|
||||||
|
Get the secrets belonging to this network configuration. Only
|
||||||
|
secrets from persistent storage or a Secret Agent running in
|
||||||
|
the requestor's session will be returned. The user will never
|
||||||
|
be prompted for secrets as a result of this request.
|
||||||
|
</tp:docstring>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_settings_connection_get_secrets"/>
|
||||||
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
||||||
|
<arg name="setting_name" type="s" direction="in">
|
||||||
|
<tp:docstring>
|
||||||
|
Name of the setting to return secrets for. If empty, all
|
||||||
|
all secrets will be returned.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
|
||||||
|
<arg name="secrets" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
Nested settings maps containing secrets.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</method>
|
||||||
|
|
||||||
|
<signal name="Updated">
|
||||||
|
<tp:docstring>
|
||||||
|
Emitted when any settings or permissions change. When handling
|
||||||
|
this signal, clients should re-read the connection using the
|
||||||
|
GetSettings method to get the changes and to ensure the client
|
||||||
|
still has permission to access the connection.
|
||||||
|
</tp:docstring>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
<signal name="Removed">
|
||||||
|
<tp:docstring>
|
||||||
|
Emitted when this connection is no longer available. This
|
||||||
|
happens when the connection is deleted or if it is no longer
|
||||||
|
accessable by any of the system's logged-in users. After
|
||||||
|
receipt of this signal, the object no longer exists.
|
||||||
|
</tp:docstring>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
|
||||||
|
</node>
|
@ -1,136 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
|
|
||||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
|
||||||
<interface name="org.freedesktop.NetworkManager.VPN.Connection">
|
|
||||||
<tp:docstring>
|
|
||||||
Represents an active connection to a Virtual Private Network.
|
|
||||||
</tp:docstring>
|
|
||||||
|
|
||||||
<signal name="PropertiesChanged">
|
|
||||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
|
||||||
<tp:docstring>
|
|
||||||
A dictionary mapping property names to variant boxed values
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<property name="VpnState" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
|
|
||||||
<tp:docstring>The VPN-specific state of the connection.</tp:docstring>
|
|
||||||
</property>
|
|
||||||
<property name="Banner" type="s" access="read">
|
|
||||||
<tp:docstring>The banner string of the VPN connection.</tp:docstring>
|
|
||||||
</property>
|
|
||||||
|
|
||||||
<signal name="VpnStateChanged">
|
|
||||||
<tp:docstring>
|
|
||||||
Emitted when the state of the VPN connection has changed.
|
|
||||||
</tp:docstring>
|
|
||||||
<arg name="state" type="u" tp:type="NM_VPN_CONNECTION_STATE">
|
|
||||||
<tp:docstring>
|
|
||||||
The new state of the VPN connection.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
<arg name="reason" type="u" tp:type="NM_VPN_CONNECTION_STATE_REASON">
|
|
||||||
<tp:docstring>
|
|
||||||
Reason code describing the change to the new state.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</signal>
|
|
||||||
|
|
||||||
<tp:enum name="NM_VPN_CONNECTION_STATE" type="u">
|
|
||||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
|
||||||
<tp:docstring>
|
|
||||||
The state of the VPN connection is unknown.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="PREPARE" value="1">
|
|
||||||
<tp:docstring>
|
|
||||||
The VPN connection is preparing to connect.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="NEED_AUTH" value="2">
|
|
||||||
<tp:docstring>
|
|
||||||
The VPN connection needs authorization credentials.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="CONNECT" value="3">
|
|
||||||
<tp:docstring>
|
|
||||||
The VPN connection is being established. FIXME: Should be CONNECTING or CONNECTED.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="IP_CONFIG_GET" value="4">
|
|
||||||
<tp:docstring>
|
|
||||||
The VPN connection is getting an IP address. FIXME: Should be an -ING
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="ACTIVATED" value="5">
|
|
||||||
<tp:docstring>
|
|
||||||
The VPN connection is active.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="FAILED" value="6">
|
|
||||||
<tp:docstring>
|
|
||||||
The VPN connection failed.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="DISCONNECTED" value="7">
|
|
||||||
<tp:docstring>
|
|
||||||
The VPN connection is disconnected.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
</tp:enum>
|
|
||||||
<tp:enum name="NM_VPN_CONNECTION_STATE_REASON" type="u">
|
|
||||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
|
||||||
<tp:docstring>
|
|
||||||
The reason for the VPN connection state change is unknown.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="NONE" value="1">
|
|
||||||
<tp:docstring>
|
|
||||||
No reason was given for the VPN connection state change.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="USER_DISCONNECTED" value="2">
|
|
||||||
<tp:docstring>
|
|
||||||
The VPN connection changed state because the user disconnected it.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="DEVICE_DISCONNECTED" value="3">
|
|
||||||
<tp:docstring>
|
|
||||||
The VPN connection changed state because the device it was using was disconnected.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="SERVICE_STOPPED" value="4">
|
|
||||||
<tp:docstring>
|
|
||||||
The service providing the VPN connection was stopped.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="IP_CONFIG_INVALID" value="5">
|
|
||||||
<tp:docstring>
|
|
||||||
The IP config of the VPN connection was invalid.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="CONNECT_TIMEOUT" value="6">
|
|
||||||
<tp:docstring>
|
|
||||||
The connection attempt to the VPN service timed out.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="SERVICE_START_TIMEOUT" value="7">
|
|
||||||
<tp:docstring>
|
|
||||||
A timeout occurred while starting the service providing the VPN connection.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="SERVICE_START_FAILED" value="8">
|
|
||||||
<tp:docstring>
|
|
||||||
Starting the service starting the service providing the VPN connection failed.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
<tp:enumvalue suffix="NO_SECRETS" value="9">
|
|
||||||
<tp:docstring>
|
|
||||||
Necessary secrets for the VPN connection were not provided.
|
|
||||||
</tp:docstring>
|
|
||||||
</tp:enumvalue>
|
|
||||||
</tp:enum>
|
|
||||||
</interface>
|
|
||||||
</node>
|
|
||||||
|
|
@ -1,46 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
|
|
||||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
|
||||||
<interface name="org.freedesktop.NetworkManager.VPN.Manager">
|
|
||||||
<method name="Connect">
|
|
||||||
<tp:docstring>
|
|
||||||
Establish a VPN connection.
|
|
||||||
</tp:docstring>
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_manager_connect"/>
|
|
||||||
<arg name="connection_type" type="s" direction="in">
|
|
||||||
<tp:docstring>
|
|
||||||
String describing the connection type.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
<arg name="connection" type="o" direction="in">
|
|
||||||
<tp:docstring>
|
|
||||||
Object path of the network connection to establish the VPN connection on.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
<arg name="device" type="o" direction="in">
|
|
||||||
<tp:docstring>
|
|
||||||
Object path of the device to establish the VPN connection on.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
<arg name="vpn_connection" type="o" direction="out">
|
|
||||||
<tp:docstring>
|
|
||||||
Object path of the newly created VPN connection.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
<method name="ListConnections">
|
|
||||||
<tp:docstring>
|
|
||||||
Get the list of active VPN connections.
|
|
||||||
</tp:docstring>
|
|
||||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_manager_get_connections"/>
|
|
||||||
<arg name="connections" type="ao" direction="out">
|
|
||||||
<tp:docstring>
|
|
||||||
List of object paths of active VPN connections.
|
|
||||||
</tp:docstring>
|
|
||||||
</arg>
|
|
||||||
</method>
|
|
||||||
|
|
||||||
</interface>
|
|
||||||
</node>
|
|
||||||
|
|
@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
|
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||||
|
<interface name="org.freedesktop.NetworkManager.WiMax.Nsp">
|
||||||
|
|
||||||
|
<property name="Name" type="s" access="read">
|
||||||
|
<tp:docstring>The name of the NSP.</tp:docstring>
|
||||||
|
</property>
|
||||||
|
<property name="SignalQuality" type="u" access="read">
|
||||||
|
<tp:docstring>The current signal quality of the NSP, in percent.</tp:docstring>
|
||||||
|
</property>
|
||||||
|
<property name="NetworkType" type="u" access="read" tp:type="NM_WIMAX_NSP_NETWORK_TYPE">
|
||||||
|
<tp:docstring>The network type of the NSP.</tp:docstring>
|
||||||
|
</property>
|
||||||
|
|
||||||
|
<signal name="PropertiesChanged">
|
||||||
|
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||||
|
<tp:docstring>
|
||||||
|
A dictionary mapping property names to variant boxed values.
|
||||||
|
</tp:docstring>
|
||||||
|
</arg>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
<tp:flags name="NM_WIMAX_NSP_NETWORK_TYPE" value-prefix="NM_WIMAX_NSP_NETWORK_TYPE" type="u">
|
||||||
|
<tp:docstring>
|
||||||
|
Network type of the NSP.
|
||||||
|
</tp:docstring>
|
||||||
|
<tp:flag suffix="UNKNOWN" value="0x0">
|
||||||
|
<tp:docstring>Unknown network.</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="HOME" value="0x1">
|
||||||
|
<tp:docstring>Home network.</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="PARTNER" value="0x2">
|
||||||
|
<tp:docstring>Partner network.</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
<tp:flag suffix="ROAMING_PARTNER" value="0x3">
|
||||||
|
<tp:docstring>Roaming partner network.</tp:docstring>
|
||||||
|
</tp:flag>
|
||||||
|
|
||||||
|
</tp:flags>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
Loading…
Reference in new issue