mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-21 07:40:50 +02:00
merge: branch 'lr/docbook'
Various documentation improvements.
This commit is contained in:
commit
cc8016073b
64 changed files with 5938 additions and 5292 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -138,7 +138,6 @@ test-*.trs
|
|||
|
||||
/shared/nm-version-macros.h
|
||||
|
||||
/introspection/all.xml
|
||||
/introspection/nmdbus-*.c
|
||||
/introspection/nmdbus-*.h
|
||||
/introspection/nmdbus-*.xml
|
||||
|
|
@ -220,6 +219,7 @@ test-*.trs
|
|||
/man/nm-settings.xml
|
||||
/man/nm-settings-ifcfg-rh.xml
|
||||
/man/nm-settings-keyfile.xml
|
||||
/man/common.ent
|
||||
|
||||
/po/*.gmo
|
||||
/po/.intltool-merge-cache
|
||||
|
|
|
|||
|
|
@ -1,93 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.nm_dispatcher">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="Dispatcher"/>
|
||||
|
||||
<!--
|
||||
Action:
|
||||
@action: The action being performed.
|
||||
@connection: The connection for which this action was triggered.
|
||||
@connection_properties: Properties of the connection, including service and path.
|
||||
@device_properties: Properties of the device, including type, path, interface, and state.
|
||||
@device_ip4_config: Properties of the device's IPv4 configuration.
|
||||
@device_ip6_config: Properties of the device's IPv6 configuration.
|
||||
@device_dhcp4_config: Properties of the device's DHCPv4 configuration.
|
||||
@device_dhcp6_config: Properties of the device's DHCPv6 configuration.
|
||||
@vpn_ip_iface: VPN interface name.
|
||||
@vpn_ip4_config: Properties of the VPN's IPv4 configuration.
|
||||
@vpn_ip6_config: Properties of the VPN's IPv6 configuration.
|
||||
@debug: Whether to log debug output.
|
||||
@results: Results of dispatching operations. Each element of the returned array is a struct containing the path of an executed script (s), the result of running that script (u), and a description of the result (s).
|
||||
|
||||
INTERNAL; not public API. Perform an action.
|
||||
-->
|
||||
<method name="Action">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
INTERNAL; not public API. Perform an action.
|
||||
" />
|
||||
|
||||
<arg name="action" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The action being performed.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection for which this action was triggered.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="connection_properties" type="a{sv}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Properties of the connection, including service and path.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="device_properties" type="a{sv}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Properties of the device, including type, path, interface, and state.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="device_ip4_config" type="a{sv}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Properties of the device's IPv4 configuration.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="device_ip6_config" type="a{sv}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Properties of the device's IPv6 configuration.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="device_dhcp4_config" type="a{sv}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Properties of the device's DHCPv4 configuration.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="device_dhcp6_config" type="a{sv}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Properties of the device's DHCPv6 configuration.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="vpn_ip_iface" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="VPN interface name." />
|
||||
</arg>
|
||||
|
||||
<arg name="vpn_ip4_config" type="a{sv}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Properties of the VPN's IPv4 configuration.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="vpn_ip6_config" type="a{sv}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Properties of the VPN's IPv6 configuration.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="debug" type="b" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Whether to log debug output.
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="results" type="a(sus)" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Results of dispatching operations. Each element of the returned
|
||||
array is a struct containing the path of an executed script (s),
|
||||
the result of running that script (u), and a description of the
|
||||
result (s).
|
||||
" />
|
||||
</arg>
|
||||
|
||||
<arg name="action" type="s" direction="in"/>
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in"/>
|
||||
<arg name="connection_properties" type="a{sv}" direction="in"/>
|
||||
<arg name="device_properties" type="a{sv}" direction="in"/>
|
||||
<arg name="device_ip4_config" type="a{sv}" direction="in"/>
|
||||
<arg name="device_ip6_config" type="a{sv}" direction="in"/>
|
||||
<arg name="device_dhcp4_config" type="a{sv}" direction="in"/>
|
||||
<arg name="device_dhcp6_config" type="a{sv}" direction="in"/>
|
||||
<arg name="vpn_ip_iface" type="s" direction="in"/>
|
||||
<arg name="vpn_ip4_config" type="a{sv}" direction="in"/>
|
||||
<arg name="vpn_ip6_config" type="a{sv}" direction="in"/>
|
||||
<arg name="debug" type="b" direction="in"/>
|
||||
<arg name="results" type="a(sus)" direction="out"/>
|
||||
</method>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
11
configure.ac
11
configure.ac
|
|
@ -961,11 +961,14 @@ GTK_DOC_CHECK(1.0)
|
|||
# check for pregenerated manpages to be installed
|
||||
install_pregen_manpages=no
|
||||
if test "$enable_gtk_doc" != "yes" \
|
||||
-a -f man/nmcli.1 \
|
||||
-a -f man/nmtui.1 \
|
||||
-a -f man/nm-online.1 \
|
||||
-a -f man/NetworkManager.conf.5 \
|
||||
-a -f man/nm-settings.5 \
|
||||
-a -f man/nm-settings-keyfile.5 \
|
||||
-a -f man/nm-settings-ifcfg-rh.5 \
|
||||
-a -f man/nmcli-examples.5 \
|
||||
-a -f man/nmcli-examples.7 \
|
||||
-a -f man/NetworkManager.8; then
|
||||
install_pregen_manpages=yes
|
||||
fi
|
||||
|
|
@ -1072,12 +1075,8 @@ clients/cli/Makefile
|
|||
clients/tui/Makefile
|
||||
clients/tui/newt/Makefile
|
||||
introspection/Makefile
|
||||
introspection/all.xml
|
||||
man/Makefile
|
||||
man/nm-system-settings.conf.5
|
||||
man/nm-online.1
|
||||
man/nmcli.1
|
||||
man/nmtui.1
|
||||
man/common.ent
|
||||
po/Makefile.in
|
||||
policy/Makefile
|
||||
policy/org.freedesktop.NetworkManager.policy.in
|
||||
|
|
|
|||
|
|
@ -524,6 +524,7 @@ fi
|
|||
%dir %{nmlibdir}/VPN
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
%{_mandir}/man7/*
|
||||
%{_mandir}/man8/*
|
||||
%dir %{_localstatedir}/lib/NetworkManager
|
||||
%dir %{_sysconfdir}/NetworkManager/system-connections
|
||||
|
|
|
|||
|
|
@ -3,13 +3,6 @@ AUTOMAKE_OPTIONS = 1.7
|
|||
XSLTPROC = xsltproc --xinclude --nonet
|
||||
XMLS = $(wildcard $(top_srcdir)/introspection/nm-*.xml)
|
||||
|
||||
OTHER_FILES= \
|
||||
$(top_builddir)/introspection/all.xml \
|
||||
$(top_srcdir)/introspection/generic-types.xml \
|
||||
$(top_srcdir)/introspection/errors.xml \
|
||||
$(top_srcdir)/introspection/vpn-errors.xml \
|
||||
$(top_srcdir)/introspection/generic-types.xml
|
||||
|
||||
GENERATED_FILES =
|
||||
|
||||
if SETTING_DOCS_AVAILABLE
|
||||
|
|
@ -47,11 +40,6 @@ MKHTML_OPTIONS=--path="$(abs_srcdir)"
|
|||
|
||||
# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
|
||||
content_files = \
|
||||
version.xml \
|
||||
../../COPYING \
|
||||
$(NULL)
|
||||
|
||||
expand_content_files = \
|
||||
$(top_builddir)/introspection/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml \
|
||||
$(top_builddir)/introspection/nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml \
|
||||
$(top_builddir)/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml \
|
||||
|
|
@ -85,14 +73,20 @@ expand_content_files = \
|
|||
$(top_builddir)/introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml \
|
||||
$(top_builddir)/introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml \
|
||||
$(top_builddir)/introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml \
|
||||
$(top_builddir)/man/nmcli.xml \
|
||||
$(top_builddir)/man/nmtui.xml \
|
||||
$(top_builddir)/man/nm-online.xml \
|
||||
$(top_builddir)/man/NetworkManager.xml \
|
||||
$(top_builddir)/man/NetworkManager.conf.xml \
|
||||
$(top_builddir)/man/nmcli-examples.xml \
|
||||
$(top_builddir)/man/nm-settings.xml \
|
||||
$(top_builddir)/man/nm-settings-keyfile.xml
|
||||
$(top_builddir)/man/nm-settings-keyfile.xml \
|
||||
version.xml \
|
||||
../../COPYING \
|
||||
$(NULL)
|
||||
|
||||
if CONFIG_PLUGIN_IFCFG_RH
|
||||
expand_content_files += $(top_builddir)/man/nm-settings-ifcfg-rh.xml
|
||||
content_files += $(top_builddir)/man/nm-settings-ifcfg-rh.xml
|
||||
endif
|
||||
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
|
|
|||
|
|
@ -49,39 +49,39 @@
|
|||
<title>Interfaces</title>
|
||||
<!-- TODO: Split me into chapters about daemon, vpn plugins, dispatcher and the secret agent.
|
||||
Then describe the daemon's singletons and object hierarchy. -->
|
||||
<xi:include href="xml/nmdbus-manager-org.freedesktop.NetworkManager.xml"/>
|
||||
<xi:include href="xml/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml"/>
|
||||
<xi:include href="xml/nmdbus-agent-manager-org.freedesktop.NetworkManager.AgentManager.xml"/>
|
||||
<xi:include href="xml/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml"/>
|
||||
<xi:include href="xml/nmdbus-ppp-manager-org.freedesktop.NetworkManager.PPP.xml"/>
|
||||
<xi:include href="xml/nmdbus-settings-connection-org.freedesktop.NetworkManager.Settings.Connection.xml"/>
|
||||
<xi:include href="xml/nmdbus-vpn-connection-org.freedesktop.NetworkManager.VPN.Connection.xml"/>
|
||||
<xi:include href="xml/nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-org.freedesktop.NetworkManager.Device.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-adsl-org.freedesktop.NetworkManager.Device.Adsl.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-bond-org.freedesktop.NetworkManager.Device.Bond.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-bridge-org.freedesktop.NetworkManager.Device.Bridge.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-bt-org.freedesktop.NetworkManager.Device.Bluetooth.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-generic-org.freedesktop.NetworkManager.Device.Generic.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-infiniband-org.freedesktop.NetworkManager.Device.Infiniband.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-ip-tunnel-org.freedesktop.NetworkManager.Device.IPTunnel.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-macvlan-org.freedesktop.NetworkManager.Device.Macvlan.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-modem-org.freedesktop.NetworkManager.Device.Modem.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-olpc-mesh-org.freedesktop.NetworkManager.Device.OlpcMesh.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-tun-org.freedesktop.NetworkManager.Device.Tun.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-veth-org.freedesktop.NetworkManager.Device.Veth.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-vlan-org.freedesktop.NetworkManager.Device.Vlan.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-vxlan-org.freedesktop.NetworkManager.Device.Vxlan.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-wifi-org.freedesktop.NetworkManager.Device.Wireless.xml"/>
|
||||
<xi:include href="xml/nmdbus-device-wimax-org.freedesktop.NetworkManager.Device.WiMax.xml"/>
|
||||
<xi:include href="xml/nmdbus-dhcp4-config-org.freedesktop.NetworkManager.DHCP4Config.xml"/>
|
||||
<xi:include href="xml/nmdbus-dhcp6-config-org.freedesktop.NetworkManager.DHCP6Config.xml"/>
|
||||
<xi:include href="xml/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml"/>
|
||||
<xi:include href="xml/nmdbus-ip6-config-org.freedesktop.NetworkManager.IP6Config.xml"/>
|
||||
<xi:include href="xml/nmdbus-vpn-plugin-org.freedesktop.NetworkManager.VPN.Plugin.xml"/>
|
||||
<xi:include href="xml/nmdbus-secret-agent-org.freedesktop.NetworkManager.SecretAgent.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-agent-manager-org.freedesktop.NetworkManager.AgentManager.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-ppp-manager-org.freedesktop.NetworkManager.PPP.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-settings-connection-org.freedesktop.NetworkManager.Settings.Connection.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-vpn-connection-org.freedesktop.NetworkManager.VPN.Connection.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-org.freedesktop.NetworkManager.Device.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-adsl-org.freedesktop.NetworkManager.Device.Adsl.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-bond-org.freedesktop.NetworkManager.Device.Bond.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-bridge-org.freedesktop.NetworkManager.Device.Bridge.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-bt-org.freedesktop.NetworkManager.Device.Bluetooth.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-generic-org.freedesktop.NetworkManager.Device.Generic.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-infiniband-org.freedesktop.NetworkManager.Device.Infiniband.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-ip-tunnel-org.freedesktop.NetworkManager.Device.IPTunnel.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-macvlan-org.freedesktop.NetworkManager.Device.Macvlan.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-modem-org.freedesktop.NetworkManager.Device.Modem.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-olpc-mesh-org.freedesktop.NetworkManager.Device.OlpcMesh.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-tun-org.freedesktop.NetworkManager.Device.Tun.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-veth-org.freedesktop.NetworkManager.Device.Veth.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-vlan-org.freedesktop.NetworkManager.Device.Vlan.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-vxlan-org.freedesktop.NetworkManager.Device.Vxlan.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-wifi-org.freedesktop.NetworkManager.Device.Wireless.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-device-wimax-org.freedesktop.NetworkManager.Device.WiMax.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-dhcp4-config-org.freedesktop.NetworkManager.DHCP4Config.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-dhcp6-config-org.freedesktop.NetworkManager.DHCP6Config.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-ip6-config-org.freedesktop.NetworkManager.IP6Config.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-vpn-plugin-org.freedesktop.NetworkManager.VPN.Plugin.xml"/>
|
||||
<xi:include href="../../introspection/nmdbus-secret-agent-org.freedesktop.NetworkManager.SecretAgent.xml"/>
|
||||
</section>
|
||||
</chapter>
|
||||
|
||||
|
|
@ -144,12 +144,15 @@
|
|||
|
||||
<chapter id="manpages">
|
||||
<title>UNIX Manual Pages</title>
|
||||
<xi:include href="xml/NetworkManager.xml"/>
|
||||
<xi:include href="xml/NetworkManager.conf.xml"/>
|
||||
<xi:include href="xml/nmcli-examples.xml"/>
|
||||
<xi:include href="xml/nm-settings.xml"><xi:fallback /></xi:include>
|
||||
<xi:include href="xml/nm-settings-keyfile.xml"><xi:fallback /></xi:include>
|
||||
<xi:include href="xml/nm-settings-ifcfg-rh.xml"><xi:fallback /></xi:include>
|
||||
<xi:include href="../../man/nmcli.xml"/>
|
||||
<xi:include href="../../man/nmtui.xml"/>
|
||||
<xi:include href="../../man/nm-online.xml"/>
|
||||
<xi:include href="../../man/NetworkManager.xml"/>
|
||||
<xi:include href="../../man/NetworkManager.conf.xml"/>
|
||||
<xi:include href="../../man/nmcli-examples.xml"/>
|
||||
<xi:include href="../../man/nm-settings.xml"><xi:fallback /></xi:include>
|
||||
<xi:include href="../../man/nm-settings-keyfile.xml"><xi:fallback /></xi:include>
|
||||
<xi:include href="../../man/nm-settings-ifcfg-rh.xml"><xi:fallback /></xi:include>
|
||||
</chapter>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -136,10 +136,6 @@ BUILT_SOURCES = $(nodist_libnmdbus_la_SOURCES) $(DBUS_INTERFACE_DOCS)
|
|||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
EXTRA_DIST = \
|
||||
all.xml.in \
|
||||
generic-types.xml \
|
||||
errors.xml \
|
||||
vpn-errors.xml \
|
||||
nm-access-point.xml \
|
||||
nm-active-connection.xml \
|
||||
nm-agent-manager.xml \
|
||||
|
|
|
|||
|
|
@ -1,74 +0,0 @@
|
|||
<tp:spec
|
||||
xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<tp:title>NetworkManager D-Bus Interface Specification</tp:title>
|
||||
<tp:version>@VERSION@</tp:version>
|
||||
|
||||
|
||||
<tp:copyright>Copyright (C) 2008 - 2016 Red Hat, Inc.</tp:copyright>
|
||||
<tp:copyright>Copyright (C) 2008 - 2009 Novell, Inc.</tp:copyright>
|
||||
|
||||
<tp:license xmlns="http://www.w3.org/1999/xhtml">
|
||||
<p>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
|
||||
(at your option) any later version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.</p>
|
||||
|
||||
<p>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.</p>
|
||||
</tp:license>
|
||||
|
||||
<xi:include href="nm-manager.xml"/>
|
||||
<xi:include href="nm-access-point.xml"/>
|
||||
<xi:include href="nm-device.xml"/>
|
||||
<xi:include href="nm-device-adsl.xml"/>
|
||||
<xi:include href="nm-device-bond.xml"/>
|
||||
<xi:include href="nm-device-bridge.xml"/>
|
||||
<xi:include href="nm-device-bt.xml"/>
|
||||
<xi:include href="nm-device-ethernet.xml"/>
|
||||
<xi:include href="nm-device-generic.xml"/>
|
||||
<xi:include href="nm-device-infiniband.xml"/>
|
||||
<xi:include href="nm-device-ip-tunnel.xml"/>
|
||||
<xi:include href="nm-device-macvlan.xml"/>
|
||||
<xi:include href="nm-device-modem.xml"/>
|
||||
<xi:include href="nm-device-olpc-mesh.xml"/>
|
||||
<xi:include href="nm-device-team.xml"/>
|
||||
<xi:include href="nm-device-tun.xml"/>
|
||||
<xi:include href="nm-device-veth.xml"/>
|
||||
<xi:include href="nm-device-vlan.xml"/>
|
||||
<xi:include href="nm-device-vxlan.xml"/>
|
||||
<xi:include href="nm-device-wifi.xml"/>
|
||||
<xi:include href="nm-device-wimax.xml"/>
|
||||
<xi:include href="nm-wimax-nsp.xml"/>
|
||||
<xi:include href="nm-ip4-config.xml"/>
|
||||
<xi:include href="nm-ip6-config.xml"/>
|
||||
<xi:include href="nm-dhcp4-config.xml"/>
|
||||
<xi:include href="nm-dhcp6-config.xml"/>
|
||||
<xi:include href="nm-settings.xml"/>
|
||||
<xi:include href="nm-settings-connection.xml"/>
|
||||
<xi:include href="nm-active-connection.xml"/>
|
||||
<xi:include href="nm-agent-manager.xml"/>
|
||||
<xi:include href="nm-secret-agent.xml"/>
|
||||
<xi:include href="nm-vpn-connection.xml"/>
|
||||
<xi:include href="nm-vpn-plugin.xml"/>
|
||||
|
||||
<xi:include href="errors.xml"/>
|
||||
<xi:include href="vpn-errors.xml"/>
|
||||
<xi:include href="generic-types.xml"/>
|
||||
|
||||
<!--
|
||||
<xi:include href="extensions.xml">
|
||||
<xi:fallback>
|
||||
<!- - absence of non-spec extensions is OK - ->
|
||||
</xi:fallback>
|
||||
</xi:include>
|
||||
-->
|
||||
|
||||
</tp:spec>
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
|
||||
namespace="org.freedesktop.NetworkManager.Error">
|
||||
<tp:copyright>Copyright (C) 2008 Novell, Inc.</tp:copyright>
|
||||
|
||||
<tp:error name="Unknown Connection">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Connection was not provided by the settings service.
|
||||
" />
|
||||
</tp:error>
|
||||
|
||||
<tp:error name="Unknown Device">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Unknown device.
|
||||
" />
|
||||
</tp:error>
|
||||
|
||||
<tp:error name="Permission Denied">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
User does not have the permission to activate this connection.
|
||||
" />
|
||||
</tp:error>
|
||||
|
||||
</tp:errors>
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
<tp:generic-types
|
||||
xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<tp:mapping name="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="A mapping from strings to variants representing extra
|
||||
key-value pairs." />
|
||||
<tp:member type="s" name="Key"/>
|
||||
<tp:member type="v" name="Value"/>
|
||||
</tp:mapping>
|
||||
|
||||
<tp:mapping name="String_String_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="A mapping from strings to strings representing extra
|
||||
key-value pairs." />
|
||||
<tp:member type="s" name="Key"/>
|
||||
<tp:member type="s" name="Value"/>
|
||||
</tp:mapping>
|
||||
|
||||
<tp:mapping name="String_String_Variant_Map_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="A mapping from strings to a map of string to variant." />
|
||||
<tp:member type="s" name="Key"/>
|
||||
<tp:member type="a{sv}" name="Value" tp:type="String_Variant_Map"/>
|
||||
</tp:mapping>
|
||||
|
||||
<tp:enum name="NM_802_11_MODE" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="" />
|
||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Mode is unknown." />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="ADHOC" value="1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="INFRA" value="2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="AP" value="3">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The device is an access point/hotspot. Not valid for access point
|
||||
objects themselves.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
</tp:generic-types>
|
||||
|
|
@ -1,103 +1,101 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.AccessPoint">
|
||||
<property name="Flags" type="u" access="read" tp:type="NM_802_11_AP_FLAGS">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Flags describing the capabilities of the access point." />
|
||||
</property>
|
||||
<property name="WpaFlags" type="u" access="read" tp:type="NM_802_11_AP_SEC">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Flags describing the access point's capabilities according to WPA (Wifi Protected Access)." />
|
||||
</property>
|
||||
<property name="RsnFlags" type="u" access="read" tp:type="NM_802_11_AP_SEC">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Flags describing the access point's capabilities according to the RSN (Robust Secure Network) protocol." />
|
||||
</property>
|
||||
|
||||
<!--
|
||||
Flags:
|
||||
|
||||
Flags describing the capabilities of the access point.
|
||||
|
||||
Returns: <link linkend="NM80211ApFlags">NM80211ApFlags</link>
|
||||
-->
|
||||
<property name="Flags" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
WpaFlags:
|
||||
|
||||
Flags describing the access point's capabilities according to WPA (Wifi
|
||||
Protected Access).
|
||||
|
||||
Returns: <link linkend="NM80211ApSecurityFlags">NM80211ApSecurityFlags</link>
|
||||
-->
|
||||
<property name="WpaFlags" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
RsnFlags:
|
||||
|
||||
Flags describing the access point's capabilities according to the RSN
|
||||
(Robust Secure Network) protocol.
|
||||
|
||||
Returns: <link linkend="NM80211ApSecurityFlags">NM80211ApSecurityFlags</link>
|
||||
-->
|
||||
<property name="RsnFlags" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
Ssid:
|
||||
|
||||
The Service Set Identifier identifying the access point.
|
||||
-->
|
||||
<property name="Ssid" type="ay" access="read">
|
||||
<!-- gdbus-codegen assumes that "ay" means "non-UTF-8 string" and
|
||||
won't deal with '\0' bytes correctly.
|
||||
-->
|
||||
<annotation name="org.gtk.GDBus.C.ForceGVariant" value="1"/>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The Service Set Identifier identifying the access point." />
|
||||
</property>
|
||||
<property name="Frequency" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The radio channel frequency in use by the access point, in MHz." />
|
||||
</property>
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The hardware address (BSSID) of the access point." />
|
||||
</property>
|
||||
|
||||
<property name="Mode" type="u" access="read" tp:type="NM_802_11_MODE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Describes the operating mode of the access point." />
|
||||
</property>
|
||||
<property name="MaxBitrate" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The maximum bitrate this access point is capable of, in kilobits/second (Kb/s)." />
|
||||
</property>
|
||||
<property name="Strength" type="y" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The current signal quality of the access point, in percent." />
|
||||
</property>
|
||||
<property name="LastSeen" type="i" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Frequency:
|
||||
|
||||
The radio channel frequency in use by the access point, in MHz.
|
||||
-->
|
||||
<property name="Frequency" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
The hardware address (BSSID) of the access point.
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Mode:
|
||||
|
||||
Describes the operating mode of the access point.
|
||||
|
||||
Returns: <link linkend="NM80211Mode">NM80211Mode</link>
|
||||
-->
|
||||
<property name="Mode" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
MaxBitrate:
|
||||
|
||||
The maximum bitrate this access point is capable of, in kilobits/second
|
||||
(Kb/s).
|
||||
-->
|
||||
<property name="MaxBitrate" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
Strength:
|
||||
|
||||
The current signal quality of the access point, in percent.
|
||||
-->
|
||||
<property name="Strength" type="y" access="read"/>
|
||||
|
||||
<!--
|
||||
LastSeen:
|
||||
|
||||
The timestamp (in CLOCK_BOOTTIME seconds) for the last time the access
|
||||
point was found in scan results. A value of -1 means the access point
|
||||
has never been found in scan results.
|
||||
" />
|
||||
</property>
|
||||
point was found in scan results. A value of -1 means the access point has
|
||||
never been found in scan results.
|
||||
-->
|
||||
<property name="LastSeen" type="i" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
<tp:flags name="NM_802_11_AP_FLAGS" value-prefix="NM_802_11_AP_FLAGS" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Flags describing the general capabilities of the access point.
|
||||
" />
|
||||
<tp:flag suffix="NONE" value="0x0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Null capability - says nothing about the access point." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="PRIVACY" value="0x1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports privacy measures." />
|
||||
</tp:flag>
|
||||
</tp:flags>
|
||||
<tp:flags name="NM_802_11_AP_SEC" value-prefix="NM_802_11_AP_SEC" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Flags describing the security capabilities of the access point.
|
||||
" />
|
||||
<tp:flag suffix="NONE" value="0x0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Null flag." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="PAIR_WEP40" value="0x1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports pairwise 40-bit WEP encryption." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="PAIR_WEP104" value="0x2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports pairwise 104-bit WEP encryption." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="PAIR_TKIP" value="0x4">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports pairwise TKIP encryption." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="PAIR_CCMP" value="0x8">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports pairwise CCMP encryption." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="GROUP_WEP40" value="0x10">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports a group 40-bit WEP cipher." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="GROUP_WEP104" value="0x20">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports a group 104-bit WEP cipher." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="GROUP_TKIP" value="0x40">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports a group TKIP cipher." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="GROUP_CCMP" value="0x80">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports a group CCMP cipher." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="KEY_MGMT_PSK" value="0x100">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports PSK key management." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="KEY_MGMT_802_1X" value="0x200">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Access point supports 802.1x key management." />
|
||||
</tp:flag>
|
||||
</tp:flags>
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,154 +1,156 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<!--
|
||||
org.freedesktop.NetworkManager.Connection.Active:
|
||||
|
||||
Objects that implement the Connection.Active interface represent an
|
||||
attempt to connect to a network using the details provided by a Connection
|
||||
object. The Connection.Active object tracks the life-cycle of the
|
||||
connection attempt and if successful indicates whether the connected
|
||||
network is the "default" or preferred network for access. NetworkManager
|
||||
has the concept of connections, which can be thought of as settings, a
|
||||
profile or a configuration that can be applied on a networking device.
|
||||
Such settings-connections are exposed as D-Bus object and the
|
||||
active-connection expresses this relationship between device and
|
||||
settings-connection. At any time a settings-connection can only be
|
||||
activated on one device and vice versa. However, during activation and
|
||||
deactivation multiple active-connections can reference the same device or
|
||||
settings-connection as they are waiting to be activated or to be
|
||||
deactivated.
|
||||
-->
|
||||
<interface name="org.freedesktop.NetworkManager.Connection.Active">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="ActiveConnection"/>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Objects that implement the Connection.Active interface represent an attempt
|
||||
to connect to a network using the details provided by a Connection object.
|
||||
The Connection.Active object tracks the life-cycle of the connection
|
||||
attempt and if successful indicates whether the connected network is the
|
||||
"default" or preferred network for access.
|
||||
NetworkManager has the concept of connections, which can be thought of as
|
||||
settings, a profile or a configuration that can be applied on a networking
|
||||
device.
|
||||
Such settings-connections are exposed as D-Bus object and the active-connection
|
||||
expresses this relationship between device and settings-connection.
|
||||
At any time a settings-connection can only be activated on one device and vice
|
||||
versa. However, during activation and deactivation multiple active-connections
|
||||
can reference the same device or settings-connection as they are waiting to
|
||||
be activated or to be deactivated.
|
||||
" />
|
||||
|
||||
<property name="Connection" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Connection:
|
||||
|
||||
The path of the connection.
|
||||
" />
|
||||
</property>
|
||||
<property name="SpecificObject" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A specific object associated with the active connection. This property
|
||||
-->
|
||||
<property name="Connection" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
SpecificObject:
|
||||
|
||||
A specific object associated with the active connection. This property
|
||||
reflects the specific object used during connection activation, and will
|
||||
not change over the lifetime of the ActiveConnection once set.
|
||||
" />
|
||||
</property>
|
||||
<property name="Id" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The ID of the connection, provided as a convenience so that clients
|
||||
do not have to retrieve all connection details.
|
||||
" />
|
||||
</property>
|
||||
<property name="Uuid" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The UUID of the connection, provided as a convenience so that clients
|
||||
do not have to retrieve all connection details.
|
||||
" />
|
||||
</property>
|
||||
<property name="Type" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The type of the connection, provided as a convenience so that clients
|
||||
do not have to retrieve all connection details.
|
||||
" />
|
||||
</property>
|
||||
<property name="Devices" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
-->
|
||||
<property name="SpecificObject" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
Id:
|
||||
|
||||
The ID of the connection, provided as a convenience so that clients do not
|
||||
have to retrieve all connection details.
|
||||
-->
|
||||
<property name="Id" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Uuid:
|
||||
|
||||
The UUID of the connection, provided as a convenience so that clients do
|
||||
not have to retrieve all connection details.
|
||||
-->
|
||||
<property name="Uuid" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Type:
|
||||
|
||||
The type of the connection, provided as a convenience so that clients do
|
||||
not have to retrieve all connection details.
|
||||
-->
|
||||
<property name="Type" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Devices:
|
||||
|
||||
Array of object paths representing devices which are part of this active
|
||||
connection.
|
||||
" />
|
||||
</property>
|
||||
<property name="State" type="u" access="read" tp:type="NM_ACTIVE_CONNECTION_STATE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
-->
|
||||
<property name="Devices" type="ao" access="read"/>
|
||||
|
||||
<!--
|
||||
State:
|
||||
|
||||
The state of this active connection.
|
||||
" />
|
||||
</property>
|
||||
<property name="Default" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
|
||||
Returns: <link linkend="NMActiveConnectionState">NMActiveConnectionState</link>
|
||||
-->
|
||||
<property name="State" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
Default:
|
||||
|
||||
Whether this active connection is the default IPv4 connection, i.e.
|
||||
whether it currently owns the default IPv4 route.
|
||||
" />
|
||||
</property>
|
||||
<property name="Ip4Config" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
-->
|
||||
<property name="Default" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
Ip4Config:
|
||||
|
||||
Object path of the Ip4Config object describing the configuration of the
|
||||
connection. Only valid when the connection is in the
|
||||
NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
|
||||
" />
|
||||
</property>
|
||||
<property name="Dhcp4Config" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the Dhcp4Config object describing the DHCP options
|
||||
returned by the DHCP server (assuming the connection used DHCP). Only
|
||||
valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED
|
||||
state.
|
||||
" />
|
||||
</property>
|
||||
<property name="Default6" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
-->
|
||||
<property name="Ip4Config" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
Dhcp4Config:
|
||||
|
||||
Object path of the Dhcp4Config object describing the DHCP options returned
|
||||
by the DHCP server (assuming the connection used DHCP). Only valid when
|
||||
the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
|
||||
-->
|
||||
<property name="Dhcp4Config" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
Default6:
|
||||
|
||||
Whether this active connection is the default IPv6 connection, i.e.
|
||||
whether it currently owns the default IPv6 route.
|
||||
" />
|
||||
</property>
|
||||
<property name="Ip6Config" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
-->
|
||||
<property name="Default6" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
Ip6Config:
|
||||
|
||||
Object path of the Ip6Config object describing the configuration of the
|
||||
connection. Only valid when the connection is in the
|
||||
NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
|
||||
" />
|
||||
</property>
|
||||
<property name="Dhcp6Config" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the Dhcp6Config object describing the DHCP options
|
||||
returned by the DHCP server (assuming the connection used DHCP). Only
|
||||
valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED
|
||||
state.
|
||||
" />
|
||||
</property>
|
||||
<property name="Vpn" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
-->
|
||||
<property name="Ip6Config" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
Dhcp6Config:
|
||||
|
||||
Object path of the Dhcp6Config object describing the DHCP options returned
|
||||
by the DHCP server (assuming the connection used DHCP). Only valid when
|
||||
the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
|
||||
-->
|
||||
<property name="Dhcp6Config" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
Vpn:
|
||||
|
||||
Whether this active connection is also a VPN connection.
|
||||
" />
|
||||
</property>
|
||||
<property name="Master" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
-->
|
||||
<property name="Vpn" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
Master:
|
||||
|
||||
The path to the master device if the connection is a slave.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Master" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<tp:enum name="NM_ACTIVE_CONNECTION_STATE" type="u">
|
||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The active connection is in an unknown state.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="ACTIVATING" value="1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection is activating.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="ACTIVATED" value="2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection is activated.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="DEACTIVATING" value="3">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection is being torn down and cleaned up.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="DEACTIVATED" value="4">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection is no longer active.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,50 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/org/freedesktop/NetworkManager/AgentManager" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/org/freedesktop/NetworkManager/AgentManager">
|
||||
<interface name="org.freedesktop.NetworkManager.AgentManager">
|
||||
|
||||
<method name="Register">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Register:
|
||||
@identifier: 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).
|
||||
|
||||
Called by secret Agents to register their ability to provide and save
|
||||
network secrets.
|
||||
" />
|
||||
<arg name="identifier" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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).
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="Register">
|
||||
<arg name="identifier" type="s" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="RegisterWithCapabilities">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
RegisterWithCapabilities:
|
||||
@identifier: See the Register() method's identifier argument.
|
||||
@capabilities: (<link linkend="NMSecretAgentCapabilities">NMSecretAgentCapabilities</link>) Indicates various agent capabilities to NetworkManager.
|
||||
|
||||
Like Register() but indicates agent capabilities to NetworkManager.
|
||||
" />
|
||||
<arg name="identifier" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
See the Register() method's identifier argument.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="capabilities" type="u" direction="in" tp:type="NM_SECRET_AGENT_CAPABILITIES">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates various agent capabilities to NetworkManager.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="RegisterWithCapabilities">
|
||||
<arg name="identifier" type="s" direction="in"/>
|
||||
<arg name="capabilities" type="u" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="Unregister">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</method>
|
||||
<!--
|
||||
Unregister:
|
||||
|
||||
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.
|
||||
-->
|
||||
<method name="Unregister"/>
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,21 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Adsl">
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<property name="Carrier" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether the physical carrier is found.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Carrier:
|
||||
|
||||
Indicates whether the physical carrier is found.
|
||||
-->
|
||||
<property name="Carrier" type="b" access="read"/>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,34 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Bond">
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
Hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<property name="Carrier" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Carrier:
|
||||
|
||||
<property name="Slaves" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of object paths representing devices which are currently
|
||||
slaved to this device.
|
||||
" />
|
||||
</property>
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is
|
||||
plugged in or not).
|
||||
-->
|
||||
<property name="Carrier" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
Slaves:
|
||||
|
||||
Array of object paths representing devices which are currently slaved to
|
||||
this device.
|
||||
-->
|
||||
<property name="Slaves" type="ao" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,34 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Bridge">
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
Hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<property name="Carrier" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Carrier:
|
||||
|
||||
<property name="Slaves" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of object paths representing devices which are currently
|
||||
slaved to this device.
|
||||
" />
|
||||
</property>
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is
|
||||
plugged in or not).
|
||||
-->
|
||||
<property name="Carrier" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
Slaves:
|
||||
|
||||
Array of object paths representing devices which are currently slaved to
|
||||
this device.
|
||||
-->
|
||||
<property name="Slaves" type="ao" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,48 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Bluetooth">
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
Bluetooth hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Name:
|
||||
|
||||
<property name="Name" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Bluetooth name of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Name" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
BtCapabilities:
|
||||
|
||||
<property name="BtCapabilities" type="u" access="read" tp:type="NM_BT_CAPABILITIES">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Bluetooth capabilities of the device (either DUN or NAP).
|
||||
" />
|
||||
</property>
|
||||
|
||||
Returns: <link linkend="NMBluetoothCapabilities">NMBluetoothCapabilities</link>
|
||||
-->
|
||||
<property name="BtCapabilities" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<tp:flags name="NM_BT_CAPABILITIES" value-prefix="NM_BT_CAPABILITY" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Flags describing the capabilities of a Bluetooth device.
|
||||
" />
|
||||
<tp:flag suffix="NONE" value="0x0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device has no recognized capabilities." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="DUN" value="0x1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports Bluetooth Dial-Up Networking." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="PAN" value="0x2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports Bluetooth Personal Area Networking." />
|
||||
</tp:flag>
|
||||
</tp:flags>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,46 +1,50 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Wired">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="DeviceEthernet"/>
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
Active hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
PermHwAddress:
|
||||
|
||||
<property name="PermHwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Permanent hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="PermHwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Speed:
|
||||
|
||||
<property name="Speed" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Design speed of the device, in megabits/second (Mb/s).
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Speed" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
S390Subchannels:
|
||||
|
||||
<property name="S390Subchannels" type="as" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of S/390 subchannels for S/390 or z/Architecture devices.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="S390Subchannels" type="as" access="read"/>
|
||||
|
||||
<property name="Carrier" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Carrier:
|
||||
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is
|
||||
plugged in or not).
|
||||
-->
|
||||
<property name="Carrier" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Generic">
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
Hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
TypeDescription:
|
||||
|
||||
<property name="TypeDescription" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A (non-localized) description of the interface type, if known.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="TypeDescription" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,27 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Infiniband">
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
Hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<property name="Carrier" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Carrier:
|
||||
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is
|
||||
plugged in or not).
|
||||
-->
|
||||
<property name="Carrier" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,86 +1,94 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.IPTunnel">
|
||||
|
||||
<property name="Mode" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Mode:
|
||||
|
||||
The tunneling mode.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Mode" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
Parent:
|
||||
|
||||
<property name="Parent" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the parent device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Parent" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
Local:
|
||||
|
||||
<property name="Local" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The local endpoint of the tunnel.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Local" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Remote:
|
||||
|
||||
<property name="Remote" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The remote endpoint of the tunnel.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Remote" type="s" access="read"/>
|
||||
|
||||
<property name="Ttl" type="y" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The TTL assigned to tunneled packets. 0 is a special value
|
||||
meaning that packets inherit the TTL value
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Ttl:
|
||||
|
||||
<property name="Tos" type="y" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The type of service (IPv4) or traffic class (IPv6) assigned to
|
||||
tunneled packets.
|
||||
" />
|
||||
</property>
|
||||
The TTL assigned to tunneled packets. 0 is a special value meaning that
|
||||
packets inherit the TTL value
|
||||
-->
|
||||
<property name="Ttl" type="y" access="read"/>
|
||||
|
||||
<!--
|
||||
Tos:
|
||||
|
||||
The type of service (IPv4) or traffic class (IPv6) assigned to tunneled
|
||||
packets.
|
||||
-->
|
||||
<property name="Tos" type="y" access="read"/>
|
||||
|
||||
<!--
|
||||
PathMtuDiscovery:
|
||||
|
||||
<property name="PathMtuDiscovery" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Whether path MTU discovery is enabled on this tunnel.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="PathMtuDiscovery" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
InputKey:
|
||||
|
||||
<property name="InputKey" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The key used for incoming packets.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="InputKey" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
OutputKey:
|
||||
|
||||
<property name="OutputKey" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The key used for outgoing packets.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="OutputKey" type="s" access="read"/>
|
||||
|
||||
<property name="EncapsulationLimit" type="y" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
How many additional levels of encapsulation are permitted to
|
||||
be prepended to packets. This property applies only to IPv6
|
||||
tunnels.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
EncapsulationLimit:
|
||||
|
||||
<property name="FlowLabel" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The flow label to assign to tunnel packets. This property
|
||||
applies only to IPv6 tunnels.
|
||||
" />
|
||||
</property>
|
||||
How many additional levels of encapsulation are permitted to be prepended
|
||||
to packets. This property applies only to IPv6 tunnels.
|
||||
-->
|
||||
<property name="EncapsulationLimit" type="y" access="read"/>
|
||||
|
||||
<!--
|
||||
FlowLabel:
|
||||
|
||||
The flow label to assign to tunnel packets. This property applies only to
|
||||
IPv6 tunnels.
|
||||
-->
|
||||
<property name="FlowLabel" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,39 +1,41 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Macvlan">
|
||||
|
||||
<property name="Parent" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Parent:
|
||||
|
||||
The object path of the parent device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Parent" type="o" access="read"/>
|
||||
|
||||
<property name="Mode" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The macvlan mode, one of "private", "vepa", "bridge", or "passthru".
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Mode:
|
||||
|
||||
The macvlan mode, one of "private", "vepa", "bridge", or "passthru".
|
||||
-->
|
||||
<property name="Mode" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
NoPromisc:
|
||||
|
||||
<property name="NoPromisc" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Whether the device is blocked from going into promiscuous mode.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="NoPromisc" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
Tap:
|
||||
|
||||
<property name="Tap" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Whether the device is a macvtap.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Tap" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,64 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Modem">
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<property name="ModemCapabilities" type="u" access="read" tp:type="NM_DEVICE_MODEM_CAPABILITIES">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
ModemCapabilities:
|
||||
|
||||
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.
|
||||
|
||||
Returns: <link linkend="NMDeviceModemCapabilities">NMDeviceModemCapabilities</link>
|
||||
-->
|
||||
<property name="ModemCapabilities" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
CurrentCapabilities:
|
||||
|
||||
<property name="CurrentCapabilities" type="u" access="read" tp:type="NM_DEVICE_MODEM_CAPABILITIES">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The generic family of access technologies the modem currently supports
|
||||
without a firmware reload or reinitialization.
|
||||
" />
|
||||
</property>
|
||||
|
||||
<tp:flags name="NM_DEVICE_MODEM_CAPABILITIES" value-prefix="NM_DEVICE_MODEM_CAPABILITY" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Flags describing one or more of the general access technology families
|
||||
that a modem device supports.
|
||||
" />
|
||||
<tp:flag suffix="NONE" value="0x0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Modem has no capabilties." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="POTS" value="0x1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Modem supports the analog wired telephone network (ie 56k dialup) and
|
||||
does not have wireless/cellular capabilities.
|
||||
" />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="CDMA_EVDO" value="0x2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Modem supports at least one of CDMA 1xRTT, EVDO revision 0, EVDO
|
||||
revision A, or EVDO revision B.
|
||||
" />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="GSM_UMTS" value="0x4">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Modem supports at least one of GSM, GPRS, EDGE, UMTS, HSDPA, HSUPA, or
|
||||
HSPA+ packet switched data capability.
|
||||
" />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="LTE" value="0x8">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Modem has at LTE data capability.
|
||||
" />
|
||||
</tp:flag>
|
||||
</tp:flags>
|
||||
|
||||
Returns: <link linkend="NMDeviceModemCapabilities">NMDeviceModemCapabilities</link>
|
||||
-->
|
||||
<property name="CurrentCapabilities" type="u" access="read"/>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,34 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.OlpcMesh">
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
The hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Companion:
|
||||
|
||||
<property name="Companion" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the companion device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Companion" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
ActiveChannel:
|
||||
|
||||
<property name="ActiveChannel" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The currently active channel.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="ActiveChannel" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary containing the FIXME: check changed parameters.
|
||||
|
||||
Emitted when the wireless device's properties changed.
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary containing the FIXME: check changed parameters.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when the wireless device's properties changed.
|
||||
" />
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,34 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Team">
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
Hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<property name="Carrier" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Carrier:
|
||||
|
||||
<property name="Slaves" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of object paths representing devices which are currently
|
||||
slaved to this device.
|
||||
" />
|
||||
</property>
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is
|
||||
plugged in or not).
|
||||
-->
|
||||
<property name="Carrier" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
Slaves:
|
||||
|
||||
Array of object paths representing devices which are currently slaved to
|
||||
this device.
|
||||
-->
|
||||
<property name="Slaves" type="ao" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,61 +1,65 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Tun">
|
||||
|
||||
<property name="Owner" type="x" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Owner:
|
||||
|
||||
The uid of the tunnel owner, or -1 if it has no owner.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Owner" type="x" access="read"/>
|
||||
|
||||
<!--
|
||||
Group:
|
||||
|
||||
<property name="Group" type="x" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The gid of the tunnel group, or -1 if it has no owner.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Group" type="x" access="read"/>
|
||||
|
||||
<property name="Mode" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The tunnel mode, either "tun" or "tap".
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Mode:
|
||||
|
||||
<property name="NoPi" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The tunnel's "TUN_NO_PI" flag; true if no protocol info is
|
||||
prepended to the tunnel packets.
|
||||
" />
|
||||
</property>
|
||||
The tunnel mode, either "tun" or "tap".
|
||||
-->
|
||||
<property name="Mode" type="s" access="read"/>
|
||||
|
||||
<property name="VnetHdr" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The tunnel's "TUN_VNET_HDR" flag; true if the tunnel packets
|
||||
include a virtio network header.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
NoPi:
|
||||
|
||||
<property name="MultiQueue" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The tunnel's "TUN_TAP_MQ" flag; true if callers can connect to
|
||||
the tap device multiple times, for multiple send/receive
|
||||
queues.
|
||||
" />
|
||||
</property>
|
||||
The tunnel's "TUN_NO_PI" flag; true if no protocol info is prepended to
|
||||
the tunnel packets.
|
||||
-->
|
||||
<property name="NoPi" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
VnetHdr:
|
||||
|
||||
The tunnel's "TUN_VNET_HDR" flag; true if the tunnel packets include a
|
||||
virtio network header.
|
||||
-->
|
||||
<property name="VnetHdr" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
MultiQueue:
|
||||
|
||||
The tunnel's "TUN_TAP_MQ" flag; true if callers can connect to the tap
|
||||
device multiple times, for multiple send/receive queues.
|
||||
-->
|
||||
<property name="MultiQueue" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,21 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Veth">
|
||||
|
||||
<property name="Peer" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Peer:
|
||||
|
||||
The object path of the device's peer.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Peer" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,39 +1,42 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Vlan">
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
Hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<property name="Carrier" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Carrier:
|
||||
|
||||
Indicates whether the physical carrier is found (e.g. whether a cable is
|
||||
plugged in or not).
|
||||
-->
|
||||
<property name="Carrier" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
Parent:
|
||||
|
||||
<property name="Parent" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the parent device of this VLAN device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Parent" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
VlanId:
|
||||
|
||||
<property name="VlanId" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VLAN ID of this VLAN interface.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="VlanId" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,128 +1,139 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Vxlan">
|
||||
|
||||
<property name="Parent" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the parent device (if the VXLAN is not
|
||||
purely internal to this host).
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Parent:
|
||||
|
||||
The object path of the parent device (if the VXLAN is not purely internal
|
||||
to this host).
|
||||
-->
|
||||
<property name="Parent" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Id:
|
||||
|
||||
<property name="Id" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VXLAN Network Identifier (VNI).
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Id" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
Group:
|
||||
|
||||
<property name="Group" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The IP (v4 or v6) multicast group used to communicate with other physical
|
||||
hosts on this VXLAN.
|
||||
" />
|
||||
</property>
|
||||
hosts on this VXLAN.
|
||||
-->
|
||||
<property name="Group" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Local:
|
||||
|
||||
<property name="Local" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The local IPv4 or IPv6 address to use when sending VXLAN packets to other
|
||||
physical hosts.
|
||||
" />
|
||||
</property>
|
||||
physical hosts.
|
||||
-->
|
||||
<property name="Local" type="s" access="read"/>
|
||||
|
||||
<property name="Tos" type="y" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The value to use in the IP ToS field for VXLAN packets sent to
|
||||
other physical hosts.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Tos:
|
||||
|
||||
<property name="Ttl" type="y" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The value to use in the IP TTL field for VXLAN packets sent to
|
||||
other physical hosts.
|
||||
" />
|
||||
</property>
|
||||
The value to use in the IP ToS field for VXLAN packets sent to other
|
||||
physical hosts.
|
||||
-->
|
||||
<property name="Tos" type="y" access="read"/>
|
||||
|
||||
<!--
|
||||
Ttl:
|
||||
|
||||
The value to use in the IP TTL field for VXLAN packets sent to other
|
||||
physical hosts.
|
||||
-->
|
||||
<property name="Ttl" type="y" access="read"/>
|
||||
|
||||
<!--
|
||||
Learning:
|
||||
|
||||
<property name="Learning" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
True if the VXLAN dynamically learns remote IP addresses.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Learning" type="b" access="read"/>
|
||||
|
||||
<property name="Ageing" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The interval in seconds at which the kernel purges stale
|
||||
cached addresses.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Ageing:
|
||||
|
||||
<property name="Limit" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The maximum number of entries that can be added to the VXLAN's
|
||||
forwarding table.
|
||||
" />
|
||||
</property>
|
||||
The interval in seconds at which the kernel purges stale cached addresses.
|
||||
-->
|
||||
<property name="Ageing" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
Limit:
|
||||
|
||||
The maximum number of entries that can be added to the VXLAN's forwarding
|
||||
table.
|
||||
-->
|
||||
<property name="Limit" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
DstPort:
|
||||
|
||||
<property name="DstPort" type="q" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Destination port for outgoing VXLAN packets.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="DstPort" type="q" access="read"/>
|
||||
|
||||
<!--
|
||||
SrcPortMin:
|
||||
|
||||
<property name="SrcPortMin" type="q" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The lowest source port number to use for outgoing VXLAN packets.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="SrcPortMin" type="q" access="read"/>
|
||||
|
||||
<!--
|
||||
SrcPortMax:
|
||||
|
||||
<property name="SrcPortMax" type="q" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The highest source port number to use for outgoing VXLAN packets.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="SrcPortMax" type="q" access="read"/>
|
||||
|
||||
<property name="Proxy" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
True if the VXLAN is implementing DOVE ARP proxying for remote
|
||||
clients.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Proxy:
|
||||
|
||||
<property name="Rsc" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
True if the VXLAN is implementing DOVE route short-circuiting
|
||||
of known remote IP addresses.
|
||||
" />
|
||||
</property>
|
||||
True if the VXLAN is implementing DOVE ARP proxying for remote clients.
|
||||
-->
|
||||
<property name="Proxy" type="b" access="read"/>
|
||||
|
||||
<property name="L2miss" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
True if the VXLAN will emit netlink notifications of L2 switch
|
||||
misses.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Rsc:
|
||||
|
||||
<property name="L3miss" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
True if the VXLAN will emit netlink notifications of L3 switch
|
||||
misses.
|
||||
" />
|
||||
</property>
|
||||
True if the VXLAN is implementing DOVE route short-circuiting of known
|
||||
remote IP addresses.
|
||||
-->
|
||||
<property name="Rsc" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
L2miss:
|
||||
|
||||
True if the VXLAN will emit netlink notifications of L2 switch misses.
|
||||
-->
|
||||
<property name="L2miss" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
L3miss:
|
||||
|
||||
True if the VXLAN will emit netlink notifications of L3 switch misses.
|
||||
-->
|
||||
<property name="L3miss" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,170 +1,124 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.Wireless">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="DeviceWifi"/>
|
||||
|
||||
<method name="GetAccessPoints">
|
||||
<arg name="access_points" type="ao" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
List of access point object paths.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
DEPRECATED. Get the list of access points visible to this device. Note
|
||||
that this list does not include access points which hide their SSID. To
|
||||
<!--
|
||||
GetAccessPoints:
|
||||
@access_points: List of access point object paths.
|
||||
|
||||
DEPRECATED. Get the list of access points visible to this device. Note
|
||||
that this list does not include access points which hide their SSID. To
|
||||
retrieve a list of all access points (including hidden ones) use the
|
||||
GetAllAccessPoints() method.
|
||||
" />
|
||||
</method>
|
||||
-->
|
||||
<method name="GetAccessPoints">
|
||||
<arg name="access_points" type="ao" direction="out"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
GetAllAccessPoints:
|
||||
@access_points: List of access point object paths.
|
||||
|
||||
Get the list of all access points visible to this device, including hidden
|
||||
ones for which the SSID is not yet known.
|
||||
-->
|
||||
<method name="GetAllAccessPoints">
|
||||
<arg name="access_points" type="ao" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
List of access point object paths.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Get the list of all access points visible to this device, including
|
||||
hidden ones for which the SSID is not yet known.
|
||||
" />
|
||||
</method>
|
||||
<arg name="access_points" type="ao" direction="out"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
RequestScan:
|
||||
@options: Options of scan. Currently 'ssids' option with value of "aay" type is supported.
|
||||
|
||||
<method name="RequestScan">
|
||||
<arg name="options" type="a{sv}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Options of scan.
|
||||
Currently 'ssids' option with value of "aay" type is supported.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Request the device to scan
|
||||
" />
|
||||
</method>
|
||||
-->
|
||||
<method name="RequestScan">
|
||||
<arg name="options" type="a{sv}" direction="in"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The active hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
PermHwAddress:
|
||||
|
||||
<property name="PermHwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The permanent hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="PermHwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Mode:
|
||||
|
||||
<property name="Mode" type="u" access="read" tp:type="NM_802_11_MODE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The operating mode of the wireless device.
|
||||
" />
|
||||
</property>
|
||||
|
||||
<property name="Bitrate" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The bit rate currently used by the wireless device, in kilobits/second (Kb/s).
|
||||
" />
|
||||
</property>
|
||||
Returns: <link linkend="NM80211Mode">NM80211Mode</link>
|
||||
-->
|
||||
<property name="Mode" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
Bitrate:
|
||||
|
||||
The bit rate currently used by the wireless device, in kilobits/second
|
||||
(Kb/s).
|
||||
-->
|
||||
<property name="Bitrate" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
AccessPoints:
|
||||
|
||||
<property name="AccessPoints" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
List of object paths of access point visible to this wireless device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="AccessPoints" type="ao" access="read"/>
|
||||
|
||||
<!--
|
||||
ActiveAccessPoint:
|
||||
|
||||
<property name="ActiveAccessPoint" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the access point currently used by the wireless device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="ActiveAccessPoint" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
WirelessCapabilities:
|
||||
|
||||
<property name="WirelessCapabilities" type="u" access="read" tp:type="NM_802_11_DEVICE_CAP">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The capabilities of the wireless device.
|
||||
" />
|
||||
</property>
|
||||
|
||||
Returns: <link linkend="NMDeviceWifiCapabilities">NMDeviceWifiCapabilities</link>
|
||||
-->
|
||||
<property name="WirelessCapabilities" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary containing the FIXME: check changed parameters.
|
||||
|
||||
Emitted when the wireless device's properties changed.
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary containing the FIXME: check changed parameters.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when the wireless device's properties changed.
|
||||
" />
|
||||
</signal>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<!--
|
||||
AccessPointAdded:
|
||||
@access_point: The object path of the newly found access point.
|
||||
|
||||
Emitted when a new access point is found by the device.
|
||||
-->
|
||||
<signal name="AccessPointAdded">
|
||||
<arg name="access_point" type="o">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the newly found access point.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when a new access point is found by the device.
|
||||
" />
|
||||
</signal>
|
||||
<arg name="access_point" type="o"/>
|
||||
</signal>
|
||||
|
||||
<!--
|
||||
AccessPointRemoved:
|
||||
@access_point: The object path of the access point that has disappeared.
|
||||
|
||||
Emitted when an access point disappears from view of the device.
|
||||
-->
|
||||
<signal name="AccessPointRemoved">
|
||||
<arg name="access_point" type="o">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the access point that has disappeared.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when an access point disappears from view of the device.
|
||||
" />
|
||||
<arg name="access_point" type="o"/>
|
||||
</signal>
|
||||
|
||||
<tp:flags name="NM_802_11_DEVICE_CAP" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Flags describing the capabilities of a wireless device.
|
||||
" />
|
||||
<tp:flag suffix="NONE" value="0x0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Null capability - syntactic sugar for no capabilities supported. Do not AND this with other capabilities!" />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="CIPHER_WEP40" value="0x1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports the 40-bit WEP cipher." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="CIPHER_WEP104" value="0x2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports the 104-bit WEP cipher." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="CIPHER_TKIP" value="0x4">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports the TKIP cipher." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="CIPHER_CCMP" value="0x8">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports the CCMP cipher." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="WPA" value="0x10">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports the WPA encryption/authentication protocol." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="RSN" value="0x20">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports the RSN encryption/authentication protocol." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="AP" value="0x40">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports Access Point mode." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="ADHOC" value="0x80">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The device supports Ad-Hoc mode." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="FREQ_VALID" value="0x100">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The device properly reports information about supported
|
||||
frequencies and thus both NM_802_11_DEVICE_CAP_FREQ_2GHZ and
|
||||
NM_802_11_DEVICE_CAP_FREQ_5GHZ are valid.
|
||||
" />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="FREQ_2GHZ" value="0x200">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The device supports 2.4GHz frequencies.
|
||||
" />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="FREQ_5GHZ" value="0x400">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The device supports 5GHz frequencies.
|
||||
" />
|
||||
</tp:flag>
|
||||
</tp:flags>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,109 +1,112 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.Device.WiMax">
|
||||
<method name="GetNspList">
|
||||
<arg name="nsps" type="ao" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
List of NSP object paths
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Get the list of NSPs visible to this device.
|
||||
" />
|
||||
</method>
|
||||
|
||||
<property name="Nsps" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
GetNspList:
|
||||
@nsps: List of NSP object paths
|
||||
|
||||
Get the list of NSPs visible to this device.
|
||||
-->
|
||||
<method name="GetNspList">
|
||||
<arg name="nsps" type="ao" direction="out"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
Nsps:
|
||||
|
||||
List of object paths of Network Service Providers (NSPs) visible to this
|
||||
WiMAX device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Nsps" type="ao" access="read"/>
|
||||
|
||||
<!--
|
||||
HwAddress:
|
||||
|
||||
<property name="HwAddress" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Hardware address of the device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="HwAddress" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
CenterFrequency:
|
||||
|
||||
<property name="CenterFrequency" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Center frequency (in KHz) of the radio channel the device is using to
|
||||
communicate with the network when connected. Has no meaning when the
|
||||
communicate with the network when connected. Has no meaning when the
|
||||
device is not connected.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="CenterFrequency" type="u" access="read"/>
|
||||
|
||||
<property name="Rssi" type="i" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Rssi:
|
||||
|
||||
<property name="Cinr" type="i" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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
|
||||
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.
|
||||
-->
|
||||
<property name="Rssi" type="i" access="read"/>
|
||||
|
||||
<!--
|
||||
Cinr:
|
||||
|
||||
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.
|
||||
-->
|
||||
<property name="Cinr" type="i" access="read"/>
|
||||
|
||||
<!--
|
||||
TxPower:
|
||||
|
||||
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.
|
||||
-->
|
||||
<property name="TxPower" type="i" access="read"/>
|
||||
|
||||
<!--
|
||||
Bsid:
|
||||
|
||||
The ID of the serving base station as received from the network. Has no
|
||||
meaning when the device is not connected.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Bsid" type="s" access="read"/>
|
||||
|
||||
<property name="TxPower" type="i" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
ActiveNsp:
|
||||
|
||||
<property name="Bsid" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The ID of the serving base station as received from the network. Has
|
||||
no meaning when the device is not connected.
|
||||
" />
|
||||
</property>
|
||||
|
||||
<property name="ActiveNsp" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the NSP currently used by the WiMax device.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="ActiveNsp" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values.
|
||||
|
||||
Emitted when the WiMax device's properties changed.
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when the WiMax device's properties changed.
|
||||
" />
|
||||
</signal>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<!--
|
||||
NspAdded:
|
||||
@nsp: The object path of the newly found NSP.
|
||||
|
||||
Emitted when a new NSP is found by the device.
|
||||
-->
|
||||
<signal name="NspAdded">
|
||||
<arg name="nsp" type="o">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the newly found NSP.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when a new NSP is found by the device.
|
||||
" />
|
||||
</signal>
|
||||
<arg name="nsp" type="o"/>
|
||||
</signal>
|
||||
|
||||
<!--
|
||||
NspRemoved:
|
||||
@nsp: The object path of the NSP that has disappeared.
|
||||
|
||||
Emitted when an NSP disappears from view of the device.
|
||||
-->
|
||||
<signal name="NspRemoved">
|
||||
<arg name="nsp" type="o">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the NSP that has disappeared.
|
||||
" />
|
||||
</arg>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when an NSP disappears from view of the device.
|
||||
" />
|
||||
<arg name="nsp" type="o"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,21 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<interface name="org.freedesktop.NetworkManager.DHCP4Config">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="Dhcp4Config"/>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Options and configuration returned by the IPv4 DHCP server.
|
||||
" />
|
||||
<property name="Options" type="a{sv}" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Configuration options returned by a DHCP server, if any." />
|
||||
</property>
|
||||
<!--
|
||||
org.freedesktop.NetworkManager.DHCP4Config:
|
||||
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
</signal>
|
||||
</interface>
|
||||
Options and configuration returned by the IPv4 DHCP server.
|
||||
-->
|
||||
<interface name="org.freedesktop.NetworkManager.DHCP4Config">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="Dhcp4Config"/>
|
||||
|
||||
<!--
|
||||
Options:
|
||||
|
||||
Configuration options returned by a DHCP server, if any.
|
||||
-->
|
||||
<property name="Options" type="a{sv}" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,21 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<interface name="org.freedesktop.NetworkManager.DHCP6Config">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="Dhcp6Config"/>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Options and configuration returned by the IPv6 DHCP server.
|
||||
" />
|
||||
<property name="Options" type="a{sv}" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Configuration options returned by a DHCP server, if any." />
|
||||
</property>
|
||||
<!--
|
||||
org.freedesktop.NetworkManager.DHCP6Config:
|
||||
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
</signal>
|
||||
</interface>
|
||||
Options and configuration returned by the IPv6 DHCP server.
|
||||
-->
|
||||
<interface name="org.freedesktop.NetworkManager.DHCP6Config">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="Dhcp6Config"/>
|
||||
|
||||
<!--
|
||||
Options:
|
||||
|
||||
Configuration options returned by a DHCP server, if any.
|
||||
-->
|
||||
<property name="Options" type="a{sv}" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,72 +1,95 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.IP4Config">
|
||||
<property name="Addresses" type="aau" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of arrays of IPv4 address/prefix/gateway. All 3
|
||||
elements of each array are in network byte order. Essentially:
|
||||
[(addr, prefix, gateway), (addr, prefix, gateway), ...]
|
||||
|
||||
Deprecated: use AddressData and Gateway
|
||||
" />
|
||||
</property>
|
||||
<property name="AddressData" type="aa{sv}" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of IP address data objects. All addresses will include
|
||||
"address" (an IP address string), and "prefix" (a uint). Some
|
||||
addresses may include additional attributes.
|
||||
" />
|
||||
</property>
|
||||
<property name="Gateway" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The gateway in use." />
|
||||
</property>
|
||||
<property name="Routes" type="aau" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Arrays 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), ...]
|
||||
<!--
|
||||
Addresses:
|
||||
|
||||
Deprecated: use RouteData
|
||||
" />
|
||||
</property>
|
||||
<property name="RouteData" type="aa{sv}" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of IP route data objects. All routes will include "dest"
|
||||
(an IP address string) and "prefix" (a uint). Some routes may
|
||||
include "next-hop" (an IP address string), "metric" (a uint),
|
||||
and additional attributes.
|
||||
" />
|
||||
</property>
|
||||
<property name="Nameservers" type="au" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The nameservers in use." />
|
||||
</property>
|
||||
<property name="Domains" type="as" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="A list of domains this address belongs to." />
|
||||
</property>
|
||||
<property name="Searches" type="as" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="A list of dns searches." />
|
||||
</property>
|
||||
<property name="DnsOptions" type="as" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A list of DNS options that modify the behavior of the DNS
|
||||
resolver. See resolv.conf(5) manual page for the list of
|
||||
supported options.
|
||||
" />
|
||||
</property>
|
||||
<property name="WinsServers" type="au" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The Windows Internet Name Service servers associated with the connection. Each address is in network byte order." />
|
||||
</property>
|
||||
Array of arrays of IPv4 address/prefix/gateway. All 3 elements of each
|
||||
array are in network byte order. Essentially: [(addr, prefix, gateway),
|
||||
(addr, prefix, gateway), ...] Deprecated: use AddressData and Gateway
|
||||
-->
|
||||
<property name="Addresses" type="aau" access="read"/>
|
||||
|
||||
<!--
|
||||
AddressData:
|
||||
|
||||
Array of IP address data objects. All addresses will include "address" (an
|
||||
IP address string), and "prefix" (a uint). Some addresses may include
|
||||
additional attributes.
|
||||
-->
|
||||
<property name="AddressData" type="aa{sv}" access="read"/>
|
||||
|
||||
<!--
|
||||
Gateway:
|
||||
|
||||
The gateway in use.
|
||||
-->
|
||||
<property name="Gateway" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Routes:
|
||||
|
||||
Arrays 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),
|
||||
...] Deprecated: use RouteData
|
||||
-->
|
||||
<property name="Routes" type="aau" access="read"/>
|
||||
|
||||
<!--
|
||||
RouteData:
|
||||
|
||||
Array of IP route data objects. All routes will include "dest" (an IP
|
||||
address string) and "prefix" (a uint). Some routes may include "next-hop"
|
||||
(an IP address string), "metric" (a uint), and additional attributes.
|
||||
-->
|
||||
<property name="RouteData" type="aa{sv}" access="read"/>
|
||||
|
||||
<!--
|
||||
Nameservers:
|
||||
|
||||
The nameservers in use.
|
||||
-->
|
||||
<property name="Nameservers" type="au" access="read"/>
|
||||
|
||||
<!--
|
||||
Domains:
|
||||
|
||||
A list of domains this address belongs to.
|
||||
-->
|
||||
<property name="Domains" type="as" access="read"/>
|
||||
|
||||
<!--
|
||||
Searches:
|
||||
|
||||
A list of dns searches.
|
||||
-->
|
||||
<property name="Searches" type="as" access="read"/>
|
||||
|
||||
<!--
|
||||
DnsOptions:
|
||||
|
||||
A list of DNS options that modify the behavior of the DNS resolver. See
|
||||
resolv.conf(5) manual page for the list of supported options.
|
||||
-->
|
||||
<property name="DnsOptions" type="as" access="read"/>
|
||||
|
||||
<!--
|
||||
WinsServers:
|
||||
|
||||
The Windows Internet Name Service servers associated with the connection.
|
||||
Each address is in network byte order.
|
||||
-->
|
||||
<property name="WinsServers" type="au" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,67 +1,87 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.IP6Config">
|
||||
<property name="Addresses" type="a(ayuay)" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of tuples of IPv6 address/prefix/gateway.
|
||||
|
||||
Deprecated: use AddressData and Gateway.
|
||||
" />
|
||||
</property>
|
||||
<property name="AddressData" type="aa{sv}" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of IP address data objects. All addresses will include
|
||||
"address" (an IP address string), and "prefix" (a uint). Some
|
||||
addresses may include additional attributes.
|
||||
" />
|
||||
</property>
|
||||
<property name="Gateway" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The gateway in use." />
|
||||
</property>
|
||||
<property name="Routes" type="a(ayuayu)" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Tuples of IPv6 route/prefix/next-hop/metric.
|
||||
<!--
|
||||
Addresses:
|
||||
|
||||
Deprecated: use RouteData
|
||||
" />
|
||||
</property>
|
||||
<property name="RouteData" type="aa{sv}" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of IP route data objects. All routes will include "dest"
|
||||
(an IP address string) and "prefix" (a uint). Some routes may
|
||||
include "next-hop" (an IP address string), "metric" (a uint),
|
||||
and additional attributes.
|
||||
" />
|
||||
</property>
|
||||
Array of tuples of IPv6 address/prefix/gateway. Deprecated: use
|
||||
AddressData and Gateway.
|
||||
-->
|
||||
<property name="Addresses" type="a(ayuay)" access="read"/>
|
||||
|
||||
<!--
|
||||
AddressData:
|
||||
|
||||
Array of IP address data objects. All addresses will include "address" (an
|
||||
IP address string), and "prefix" (a uint). Some addresses may include
|
||||
additional attributes.
|
||||
-->
|
||||
<property name="AddressData" type="aa{sv}" access="read"/>
|
||||
|
||||
<!--
|
||||
Gateway:
|
||||
|
||||
The gateway in use.
|
||||
-->
|
||||
<property name="Gateway" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
Routes:
|
||||
|
||||
Tuples of IPv6 route/prefix/next-hop/metric. Deprecated: use RouteData
|
||||
-->
|
||||
<property name="Routes" type="a(ayuayu)" access="read"/>
|
||||
|
||||
<!--
|
||||
RouteData:
|
||||
|
||||
Array of IP route data objects. All routes will include "dest" (an IP
|
||||
address string) and "prefix" (a uint). Some routes may include "next-hop"
|
||||
(an IP address string), "metric" (a uint), and additional attributes.
|
||||
-->
|
||||
<property name="RouteData" type="aa{sv}" access="read"/>
|
||||
|
||||
<!--
|
||||
Nameservers:
|
||||
|
||||
The nameservers in use.
|
||||
-->
|
||||
<property name="Nameservers" type="aay" access="read">
|
||||
<!-- gdbus-codegen assumes that "aay" means "array of non-UTF-8
|
||||
string" and so would make this a char **.
|
||||
-->
|
||||
<annotation name="org.gtk.GDBus.C.ForceGVariant" value="1"/>
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The nameservers in use." />
|
||||
</property>
|
||||
<property name="Domains" type="as" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="A list of domains this address belongs to." />
|
||||
</property>
|
||||
<property name="Searches" type="as" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="A list of dns searches." />
|
||||
</property>
|
||||
<property name="DnsOptions" type="as" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A list of DNS options that modify the behavior of the DNS
|
||||
resolver. See resolv.conf(5) manual page for the list of
|
||||
supported options.
|
||||
" />
|
||||
</property>
|
||||
</property>
|
||||
|
||||
<!--
|
||||
Domains:
|
||||
|
||||
A list of domains this address belongs to.
|
||||
-->
|
||||
<property name="Domains" type="as" access="read"/>
|
||||
|
||||
<!--
|
||||
Searches:
|
||||
|
||||
A list of dns searches.
|
||||
-->
|
||||
<property name="Searches" type="as" access="read"/>
|
||||
|
||||
<!--
|
||||
DnsOptions:
|
||||
|
||||
A list of DNS options that modify the behavior of the DNS resolver. See
|
||||
resolv.conf(5) manual page for the list of supported options.
|
||||
-->
|
||||
<property name="DnsOptions" type="as" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,533 +1,385 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/org/freedesktop/NetworkManager" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/org/freedesktop/NetworkManager">
|
||||
<interface name="org.freedesktop.NetworkManager">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="Manager"/>
|
||||
|
||||
<method name="GetDevices">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
GetDevices:
|
||||
@devices: List of object paths of network devices known to the system. This list does not include device placeholders (see GetAllDevices()).
|
||||
|
||||
Get the list of realized network devices.
|
||||
" />
|
||||
<arg name="devices" type="ao" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
List of object paths of network devices known to the system. This
|
||||
list does not include device placeholders (see GetAllDevices()).
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="GetDevices">
|
||||
<arg name="devices" type="ao" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="GetAllDevices">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
GetAllDevices:
|
||||
@devices: List of object paths of network devices and device placeholders (eg, devices that do not yet exist but which can be automatically created by NetworkManager if one of their AvailableConnections was activated).
|
||||
|
||||
Get the list of all network devices.
|
||||
" />
|
||||
-->
|
||||
<method name="GetAllDevices">
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_all_devices"/>
|
||||
<arg name="devices" type="ao" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
List of object paths of network devices and device placeholders
|
||||
(eg, devices that do not yet exist but which can be automatically
|
||||
created by NetworkManager if one of their AvailableConnections
|
||||
was activated).
|
||||
" />
|
||||
</arg>
|
||||
<arg name="devices" type="ao" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="GetDeviceByIpIface">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
GetDeviceByIpIface:
|
||||
@iface: Interface name of the device to find.
|
||||
@device: Object path of the network device.
|
||||
|
||||
Return the object path of the network device referenced by its IP
|
||||
interface name. Note that some devices (usually modems) only have an
|
||||
IP interface name when they are connected.
|
||||
" />
|
||||
<arg name="iface" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Interface name of the device to find.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="device" type="o" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the network device.
|
||||
" />
|
||||
</arg>
|
||||
interface name. Note that some devices (usually modems) only have an IP
|
||||
interface name when they are connected.
|
||||
-->
|
||||
<method name="GetDeviceByIpIface">
|
||||
<arg name="iface" type="s" direction="in"/>
|
||||
<arg name="device" type="o" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="ActivateConnection">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
ActivateConnection:
|
||||
@connection: The connection to activate. If "/" is given, a valid device path must be given, and NetworkManager picks the best connection to activate for the given device. VPN connections must always pass a valid connection path.
|
||||
@device: The object path of device to be activated for physical connections. This parameter is ignored for VPN connections, because the specific_object (if provided) specifies the device to use.
|
||||
@specific_object: The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For WiFi connections, pass the object path of a specific AP from the card's scan list, or "/" to pick an AP automatically. For VPN connections, pass the object path of an ActiveConnection object that should serve as the "base" connection (to which the VPN connections lifetime will be tied), or pass "/" and NM will automatically use the current default device.
|
||||
@active_connection: The path of the active connection object representing this active connection.
|
||||
|
||||
Activate a connection using the supplied device.
|
||||
" />
|
||||
<arg name="connection" type="o" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection to activate. If "/" is given, a valid device path must
|
||||
be given, and NetworkManager picks the best connection to activate for
|
||||
the given device. VPN connections must always pass a valid connection
|
||||
path.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="device" type="o" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of device to be activated for physical connections.
|
||||
This parameter is ignored for VPN connections, because the
|
||||
specific_object (if provided) specifies the device to use.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="specific_object" type="o" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The path of a connection-type-specific object this activation should use.
|
||||
This parameter is currently ignored for wired and mobile broadband connections,
|
||||
and the value of "/" should be used (ie, no specific object). For WiFi
|
||||
connections, pass the object path of a specific AP from the card's scan
|
||||
list, or "/" to pick an AP automatically. For VPN connections, pass
|
||||
the object path of an ActiveConnection object that should serve as the
|
||||
"base" connection (to which the VPN connections lifetime will be tied),
|
||||
or pass "/" and NM will automatically use the current default device.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="active_connection" type="o" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The path of the active connection object representing this active connection.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="ActivateConnection">
|
||||
<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="AddAndActivateConnection">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
AddAndActivateConnection:
|
||||
@connection: Connection settings and properties; if incomplete missing settings will be automatically completed using the given device and specific object.
|
||||
@device: The object path of device to be activated using the given connection.
|
||||
@specific_object: The path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of "/" should be used (ie, no specific object). For WiFi connections, pass the object path of a specific AP from the card's scan list, which will be used to complete the details of the newly added connection.
|
||||
@path: Object path of the new connection that was just added.
|
||||
@active_connection: The path of the active connection object representing this active connection.
|
||||
|
||||
Adds a new connection using the given details (if any) as a template
|
||||
(automatically filling in missing settings with the capabilities of the
|
||||
given device and specific object), then activate the new connection.
|
||||
Cannot be used for VPN connections at this time.
|
||||
" />
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Connection settings and properties; if incomplete missing settings will
|
||||
be automatically completed using the given device and specific object.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="device" type="o" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of device to be activated using the given connection.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="specific_object" type="o" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The path of a connection-type-specific object this activation should use.
|
||||
This parameter is currently ignored for wired and mobile broadband connections,
|
||||
and the value of "/" should be used (ie, no specific object). For WiFi
|
||||
connections, pass the object path of a specific AP from the card's scan
|
||||
list, which will be used to complete the details of the newly added
|
||||
connection.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="path" type="o" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the new connection that was just added.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="active_connection" type="o" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The path of the active connection object representing this active connection.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="AddAndActivateConnection">
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in"/>
|
||||
<arg name="device" type="o" direction="in"/>
|
||||
<arg name="specific_object" type="o" direction="in"/>
|
||||
<arg name="path" type="o" direction="out"/>
|
||||
<arg name="active_connection" type="o" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="DeactivateConnection">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
DeactivateConnection:
|
||||
@active_connection: The currently active connection to deactivate.
|
||||
|
||||
Deactivate an active connection.
|
||||
" />
|
||||
<arg name="active_connection" type="o" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The currently active connection to deactivate.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="DeactivateConnection">
|
||||
<arg name="active_connection" type="o" direction="in"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
Sleep:
|
||||
@sleep: Indicates whether the NetworkManager daemon should sleep or wake.
|
||||
|
||||
Control the NetworkManager daemon's sleep state. When asleep, all
|
||||
interfaces that it manages are deactivated. When awake, devices are
|
||||
available to be activated. This command should not be called directly by
|
||||
users or clients; it is intended for system suspend/resume tracking.
|
||||
-->
|
||||
<method name="Sleep">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Control the NetworkManager daemon's sleep state. When asleep, all
|
||||
interfaces that it manages are deactivated. When awake, devices are
|
||||
available to be activated. This command should not be called directly
|
||||
by users or clients; it is intended for system suspend/resume tracking.
|
||||
" />
|
||||
<arg name="sleep" type="b" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether the NetworkManager daemon should sleep or wake.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="sleep" type="b" direction="in"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
Enable:
|
||||
@enable: If FALSE, indicates that all networking should be disabled. If TRUE, indicates that NetworkManager should begin managing network devices.
|
||||
|
||||
Control whether overall networking is enabled or disabled. When disabled,
|
||||
all interfaces that NM manages are deactivated. When enabled, all managed
|
||||
interfaces are re-enabled and available to be activated. This command
|
||||
should be used by clients that provide to users the ability to
|
||||
enable/disable all networking.
|
||||
-->
|
||||
<method name="Enable">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Control whether overall networking is enabled or disabled. When
|
||||
disabled, all interfaces that NM manages are deactivated. When enabled,
|
||||
all managed interfaces are re-enabled and available to be activated.
|
||||
This command should be used by clients that provide to users the ability
|
||||
to enable/disable all networking.
|
||||
" />
|
||||
<arg name="enable" type="b" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
If FALSE, indicates that all networking should be disabled. If TRUE,
|
||||
indicates that NetworkManager should begin managing network devices.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="enable" type="b" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="GetPermissions">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
GetPermissions:
|
||||
@permissions: Dictionary of available permissions and results. Each permission is represented by a name (ie "org.freedesktop.NetworkManager.Foobar") and each result is one of the following values: "yes" (the permission is available), "auth" (the permission is available after a successful authentication), or "no" (the permission is denied). Clients may use these values in the UI to indicate the ability to perform certain operations.
|
||||
|
||||
Returns the permissions a caller has for various authenticated operations
|
||||
that NetworkManager provides, like Enable/Disable networking, changing
|
||||
WiFi, WWAN, and WiMAX state, etc.
|
||||
" />
|
||||
<arg name="permissions" type="a{ss}" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Dictionary of available permissions and results. Each permission
|
||||
is represented by a name (ie "org.freedesktop.NetworkManager.Foobar")
|
||||
and each result is one of the following values: "yes" (the permission
|
||||
is available), "auth" (the permission is available after a successful
|
||||
authentication), or "no" (the permission is denied). Clients may use
|
||||
these values in the UI to indicate the ability to perform certain
|
||||
operations.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="GetPermissions">
|
||||
<arg name="permissions" type="a{ss}" direction="out"/>
|
||||
</method>
|
||||
|
||||
<signal name="CheckPermissions">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when system authorization details change, indicating that
|
||||
clients may wish to recheck permissions with GetPermissions.
|
||||
" />
|
||||
</signal>
|
||||
<!--
|
||||
CheckPermissions:
|
||||
|
||||
Emitted when system authorization details change, indicating that clients
|
||||
may wish to recheck permissions with GetPermissions.
|
||||
-->
|
||||
<signal name="CheckPermissions"/>
|
||||
|
||||
<!--
|
||||
SetLogging:
|
||||
@level: One of [ERR, WARN, INFO, DEBUG, TRACE, OFF, KEEP]. This level is applied to the domains as specified in the domains argument. Except for the special level "KEEP", all unmentioned domains are disabled entirely. "KEEP" is special and allows not to change the current setting except for the specified domains. E.g. level=KEEP and domains=PLATFORM:DEBUG will only touch the platform domain.
|
||||
@domains: 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: [PLATFORM, 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, BRIDGE, DBUS_PROPS, TEAM, CONCHECK, DCB, DISPATCH, AUDIT]. In addition to these domains, the following special domains can be used: [NONE, ALL, DEFAULT, DHCP, IP]. You can also specify that some domains should log at a different level from the default by appending a colon (':') and a log level (eg, 'WIFI:DEBUG'). If an empty string is given, the log level is changed but the current set of log domains remains unchanged.
|
||||
|
||||
<method name="SetLogging">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Set logging verbosity and which operations are logged.
|
||||
" />
|
||||
<arg name="level" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
One of [ERR, WARN, INFO, DEBUG, TRACE, OFF, KEEP].
|
||||
This level is applied to the domains as specified in the domains
|
||||
argument. Except for the special level "KEEP", all unmentioned
|
||||
domains are disabled entirely. "KEEP" is special and allows
|
||||
not to change the current setting except for the specified
|
||||
domains. E.g. level=KEEP and domains=PLATFORM:DEBUG will only
|
||||
touch the platform domain.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="domains" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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: [PLATFORM, 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, BRIDGE, DBUS_PROPS,
|
||||
TEAM, CONCHECK, DCB, DISPATCH, AUDIT].
|
||||
In addition to these domains, the following special domains can be used:
|
||||
[NONE, ALL, DEFAULT, DHCP, IP]. You can also specify that some domains
|
||||
should log at a different level from the default by appending a colon (':')
|
||||
and a log level (eg, 'WIFI:DEBUG'). If an empty string is given, the
|
||||
log level is changed but the current set of log domains remains
|
||||
unchanged.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="SetLogging">
|
||||
<arg name="level" type="s" direction="in"/>
|
||||
<arg name="domains" type="s" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="GetLogging">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
GetLogging:
|
||||
@level: One of [ERR, WARN, INFO, DEBUG, TRACE].
|
||||
@domains: For available domains see SetLogging() call.
|
||||
|
||||
Get current logging verbosity level and operations domains.
|
||||
" />
|
||||
<arg name="level" type="s" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
One of [ERR, WARN, INFO, DEBUG, TRACE].
|
||||
" />
|
||||
</arg>
|
||||
<arg name="domains" type="s" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
For available domains see SetLogging() call.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="GetLogging">
|
||||
<arg name="level" type="s" direction="out"/>
|
||||
<arg name="domains" type="s" direction="out"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
CheckConnectivity:
|
||||
@connectivity: (<link linkend="NMConnectivityState">NMConnectivityState</link>) The current connectivity state.
|
||||
|
||||
Re-check the network connectivity state.
|
||||
-->
|
||||
<method name="CheckConnectivity">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Re-check the network connectivity state.
|
||||
" />
|
||||
<arg name="connectivity" type="u" tp:type="NM_CONNECTIVITY" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The current connectivity state.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="connectivity" type="u" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="state">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
state:
|
||||
@state: <link linkend="NMState">NMState</link>
|
||||
|
||||
The overall networking state as determined by the NetworkManager daemon,
|
||||
based on the state of network devices under it's management.
|
||||
" />
|
||||
<arg name="state" type="u" direction="out" tp:type="NM_STATE"/>
|
||||
-->
|
||||
<method name="state">
|
||||
<arg name="state" type="u" direction="out"/>
|
||||
</method>
|
||||
|
||||
<property name="Devices" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Devices:
|
||||
|
||||
The list of realized network devices. Realized devices are those which
|
||||
have backing resources (eg from the kernel or a management daemon like
|
||||
ModemManager, teamd, etc).
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Devices" type="ao" access="read"/>
|
||||
|
||||
<!--
|
||||
AllDevices:
|
||||
|
||||
<property name="AllDevices" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The list of both realized and un-realized network devices. Un-realized
|
||||
devices are software devices which do not yet have backing resources,
|
||||
but for which backing resources can be created if the device is
|
||||
activated.
|
||||
" />
|
||||
</property>
|
||||
devices are software devices which do not yet have backing resources, but
|
||||
for which backing resources can be created if the device is activated.
|
||||
-->
|
||||
<property name="AllDevices" type="ao" access="read"/>
|
||||
|
||||
<property name="NetworkingEnabled" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates if overall networking is currently enabled or not. See the
|
||||
<!--
|
||||
NetworkingEnabled:
|
||||
|
||||
Indicates if overall networking is currently enabled or not. See the
|
||||
Enable() method.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="NetworkingEnabled" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
WirelessEnabled:
|
||||
|
||||
<property name="WirelessEnabled" type="b" access="readwrite">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates if wireless is currently enabled or not.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="WirelessEnabled" type="b" access="readwrite"/>
|
||||
|
||||
<property name="WirelessHardwareEnabled" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates if the wireless hardware is currently enabled, i.e. the state of the RF kill switch.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
WirelessHardwareEnabled:
|
||||
|
||||
Indicates if the wireless hardware is currently enabled, i.e. the state of
|
||||
the RF kill switch.
|
||||
-->
|
||||
<property name="WirelessHardwareEnabled" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
WwanEnabled:
|
||||
|
||||
<property name="WwanEnabled" type="b" access="readwrite">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates if mobile broadband devices are currently enabled or not.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="WwanEnabled" type="b" access="readwrite"/>
|
||||
|
||||
<property name="WwanHardwareEnabled" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates if the mobile broadband hardware is currently enabled, i.e. the state of the RF kill switch.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
WwanHardwareEnabled:
|
||||
|
||||
Indicates if the mobile broadband hardware is currently enabled, i.e. the
|
||||
state of the RF kill switch.
|
||||
-->
|
||||
<property name="WwanHardwareEnabled" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
WimaxEnabled:
|
||||
|
||||
<property name="WimaxEnabled" type="b" access="readwrite">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates if WiMAX devices are currently enabled or not.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="WimaxEnabled" type="b" access="readwrite"/>
|
||||
|
||||
<property name="WimaxHardwareEnabled" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates if the WiMAX hardware is currently enabled, i.e. the state of the RF kill switch.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
WimaxHardwareEnabled:
|
||||
|
||||
Indicates if the WiMAX hardware is currently enabled, i.e. the state of
|
||||
the RF kill switch.
|
||||
-->
|
||||
<property name="WimaxHardwareEnabled" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
ActiveConnections:
|
||||
|
||||
<property name="ActiveConnections" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
List of active connection object paths.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="ActiveConnections" type="ao" access="read"/>
|
||||
|
||||
<property name="PrimaryConnection" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the "primary" active connection being used
|
||||
to access the network. In particular, if there is no VPN
|
||||
active, or the VPN does not have the default route, then this
|
||||
indicates the connection that has the default route. If there
|
||||
is a VPN active with the default route, then this indicates
|
||||
the connection that contains the route to the VPN endpoint.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
PrimaryConnection:
|
||||
|
||||
<property name="PrimaryConnectionType" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection type of the "primary" active connection being
|
||||
used to access the network. This is the same as the Type
|
||||
property on the object indicated by PrimaryConnection.
|
||||
" />
|
||||
</property>
|
||||
The object path of the "primary" active connection being used to access
|
||||
the network. In particular, if there is no VPN active, or the VPN does not
|
||||
have the default route, then this indicates the connection that has the
|
||||
default route. If there is a VPN active with the default route, then this
|
||||
indicates the connection that contains the route to the VPN endpoint.
|
||||
-->
|
||||
<property name="PrimaryConnection" type="o" access="read"/>
|
||||
|
||||
<property name="Metered" type="u" access="read" tp:type="NM_METERED">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether the connectivity is metered. This is equivalent
|
||||
to the metered property of the device associated with the primary
|
||||
connection.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
PrimaryConnectionType:
|
||||
|
||||
<property name="ActivatingConnection" type="o" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of an active connection that is currently
|
||||
being activated and which is expected to become the new
|
||||
PrimaryConnection when it finishes activating.
|
||||
" />
|
||||
</property>
|
||||
The connection type of the "primary" active connection being used to
|
||||
access the network. This is the same as the Type property on the object
|
||||
indicated by PrimaryConnection.
|
||||
-->
|
||||
<property name="PrimaryConnectionType" type="s" access="read"/>
|
||||
|
||||
<property name="Startup" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Indicates whether NM is still starting up; this becomes FALSE
|
||||
when NM has finished attempting to activate every connection
|
||||
that it might be able to activate at startup.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
Metered:
|
||||
|
||||
Indicates whether the connectivity is metered. This is equivalent to the
|
||||
metered property of the device associated with the primary connection.
|
||||
|
||||
Returns: <link linkend="NMMetered">NMMetered</link>
|
||||
-->
|
||||
<property name="Metered" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
ActivatingConnection:
|
||||
|
||||
The object path of an active connection that is currently being activated
|
||||
and which is expected to become the new PrimaryConnection when it finishes
|
||||
activating.
|
||||
-->
|
||||
<property name="ActivatingConnection" type="o" access="read"/>
|
||||
|
||||
<!--
|
||||
Startup:
|
||||
|
||||
Indicates whether NM is still starting up; this becomes FALSE when NM has
|
||||
finished attempting to activate every connection that it might be able to
|
||||
activate at startup.
|
||||
-->
|
||||
<property name="Startup" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
Version:
|
||||
|
||||
<property name="Version" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
NetworkManager version.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Version" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
State:
|
||||
|
||||
<property name="State" type="u" access="read" tp:type="NM_STATE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The overall state of the NetworkManager daemon.
|
||||
" />
|
||||
</property>
|
||||
|
||||
<signal name="StateChanged">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Returns: <link linkend="NMState">NMState</link>
|
||||
-->
|
||||
<property name="State" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
StateChanged:
|
||||
@state: (<link linkend="NMState">NMState</link>) The new state of NetworkManager.
|
||||
|
||||
NetworkManager's state changed.
|
||||
" />
|
||||
<arg name="state" type="u" tp:type="NM_STATE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The new state of NetworkManager.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="StateChanged">
|
||||
<arg name="state" type="u"/>
|
||||
</signal>
|
||||
|
||||
<property name="Connectivity" type="u" access="read" tp:type="NM_CONNECTIVITY">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Connectivity:
|
||||
|
||||
The network connectivity state.
|
||||
" />
|
||||
</property>
|
||||
|
||||
<property name="GlobalDnsConfiguration" type="a{sv}" access="readwrite">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Dictionary of global DNS settings where the key is one of
|
||||
"searches", "options" and "domains". The values for the
|
||||
"searches" and "options" keys are string arrays describing the
|
||||
list of search domains and resolver options, respectively.
|
||||
The value of the "domains" key is a second-level dictionary,
|
||||
where each key is a domain name, and each key's value is a
|
||||
third-level dictionary with the keys "servers" and
|
||||
"options". "servers" is a string array of DNS servers,
|
||||
"options" is a string array of domain-specific options.
|
||||
" />
|
||||
</property>
|
||||
Returns: <link linkend="NMConnectivityState">NMConnectivityState</link>
|
||||
-->
|
||||
<property name="Connectivity" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
GlobalDnsConfiguration:
|
||||
|
||||
Dictionary of global DNS settings where the key is one of "searches",
|
||||
"options" and "domains". The values for the "searches" and "options" keys
|
||||
are string arrays describing the list of search domains and resolver
|
||||
options, respectively. The value of the "domains" key is a second-level
|
||||
dictionary, where each key is a domain name, and each key's value is a
|
||||
third-level dictionary with the keys "servers" and "options". "servers" is
|
||||
a string array of DNS servers, "options" is a string array of
|
||||
domain-specific options.
|
||||
-->
|
||||
<property name="GlobalDnsConfiguration" type="a{sv}" access="readwrite"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: The changed properties.
|
||||
|
||||
<signal name="PropertiesChanged">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
NetworkManager's properties changed.
|
||||
" />
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The changed properties.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<signal name="DeviceAdded">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
DeviceAdded:
|
||||
@device_path: The object path of the newly added device.
|
||||
|
||||
A device was added to the system
|
||||
" />
|
||||
<arg name="device_path" type="o">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the newly added device.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="DeviceAdded">
|
||||
<arg name="device_path" type="o"/>
|
||||
</signal>
|
||||
|
||||
<signal name="DeviceRemoved">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
DeviceRemoved:
|
||||
@device_path: The object path of the device that was just removed.
|
||||
|
||||
A device was removed from the system, and is no longer available.
|
||||
" />
|
||||
<arg name="device_path" type="o">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the device that was just removed.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="DeviceRemoved">
|
||||
<arg name="device_path" type="o"/>
|
||||
</signal>
|
||||
|
||||
<tp:enum name="NM_STATE" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Describes the overall state of the daemon.
|
||||
" />
|
||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Networking state is unknown.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="ASLEEP" value="10">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Networking is inactive and all devices are disabled.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="DISCONNECTED" value="20">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
There is no active network connection.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="DISCONNECTING" value="30">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Network connections are being cleaned up.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CONNECTING" value="40">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A network device is connecting to a network and there is no other
|
||||
available network connection.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CONNECTED_LOCAL" value="50">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A network device is connected, but there is only link-local connectivity.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CONNECTED_SITE" value="60">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A network device is connected, but there is only site-local connectivity.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CONNECTED_GLOBAL" value="70">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A network device is connected, with global network connectivity.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
<tp:enum name="NM_CONNECTIVITY" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Describes the network-connectivity state.
|
||||
" />
|
||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Network connectivity is unknown.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="NONE" value="1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The host is not connected to any network.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="PORTAL" value="2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The host is behind a captive portal and cannot reach the
|
||||
full Internet.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="LIMITED" value="3">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The host is connected to a network, but does not appear to
|
||||
be able to reach the full Internet.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="FULL" value="4">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The host is connected to a network, and appears to be able
|
||||
to reach the full Internet
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,243 +1,92 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<!--
|
||||
org.freedesktop.NetworkManager.SecretAgent:
|
||||
|
||||
<interface name="org.freedesktop.NetworkManager.SecretAgent">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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. The agent should implement this D-Bus interface on an object
|
||||
with the path /org/freedesktop/NetworkManager/SecretAgent.
|
||||
" />
|
||||
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. The agent should implement this D-Bus
|
||||
interface on an object with the path
|
||||
/org/freedesktop/NetworkManager/SecretAgent.
|
||||
-->
|
||||
<interface name="org.freedesktop.NetworkManager.SecretAgent">
|
||||
|
||||
<method name="GetSecrets">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Retrieve and return stored secrets, if any, or request new
|
||||
secrets from the agent's user. If user interaction is allowed
|
||||
and the user enters new secrets, the agent is expected to save
|
||||
the new secrets to persistent storage (if the secret's flags
|
||||
include AGENT_OWNED) as NetworkManager will not send these
|
||||
secrets back to the same agent via a SaveSecrets() call. If
|
||||
the user canceled any interaction, the agent should return the
|
||||
UserCanceled error (see below).
|
||||
" />
|
||||
<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">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="connection_path" type="o" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the connection for which secrets are being
|
||||
requested.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="setting_name" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Setting name for which secrets are being requested.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="hints" type="as" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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. Note that
|
||||
it's not always possible to determine which secret is
|
||||
required, so in some cases no hints may be given. The Agent
|
||||
should return any secrets it has, or that it thinks are
|
||||
required, regardless of what hints NetworkManager sends
|
||||
in this request. Some hints have special prefixes that
|
||||
provide information to the agent; for example, VPN requests
|
||||
may send server-specific messages prefixed with
|
||||
"x-vpn-message:".
|
||||
" />
|
||||
</arg>
|
||||
<arg name="flags" type="u" direction="in" tp:type="NM_SECRET_AGENT_GET_SECRETS_FLAGS">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</arg>
|
||||
<!--
|
||||
GetSecrets:
|
||||
@connection: 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.
|
||||
@connection_path: Object path of the connection for which secrets are being requested.
|
||||
@setting_name: Setting name for which secrets are being requested.
|
||||
@hints: 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. Note that it's not always possible to determine which secret is required, so in some cases no hints may be given. The Agent should return any secrets it has, or that it thinks are required, regardless of what hints NetworkManager sends in this request. Some hints have special prefixes that provide information to the agent; for example, VPN requests may send server-specific messages prefixed with "x-vpn-message:".
|
||||
@flags: (<link linkend="NMSecretAgentGetSecretsFlags">NMSecretAgentGetSecretsFlags</link>) 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.
|
||||
@secrets: 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.
|
||||
|
||||
<arg name="secrets" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</arg>
|
||||
Retrieve and return stored secrets, if any, or request new secrets from
|
||||
the agent's user. If user interaction is allowed and the user enters new
|
||||
secrets, the agent is expected to save the new secrets to persistent
|
||||
storage (if the secret's flags include AGENT_OWNED) as NetworkManager will
|
||||
not send these secrets back to the same agent via a SaveSecrets() call. If
|
||||
the user canceled any interaction, the agent should return the
|
||||
UserCanceled error (see below).
|
||||
-->
|
||||
<method name="GetSecrets">
|
||||
<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"/>
|
||||
<arg name="connection_path" type="o" direction="in"/>
|
||||
<arg name="setting_name" type="s" direction="in"/>
|
||||
<arg name="hints" type="as" direction="in"/>
|
||||
<arg name="flags" type="u" direction="in"/>
|
||||
|
||||
<tp:possible-errors>
|
||||
<tp:error name="org.freedesktop.NetworkManager.SecretAgent.NotAuthorized">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Should be returned when the process requesting secrets is
|
||||
not authorized to do so (like if the caller is not root
|
||||
or not NetworkManager).
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="org.freedesktop.NetworkManager.SecretAgent.InvalidConnection">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Should be returned if the 'connection' argument is invalid.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="org.freedesktop.NetworkManager.SecretAgent.UserCanceled">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Should be returned when the user has canceled the request.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="org.freedesktop.NetworkManager.SecretAgent.AgentCanceled">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Should be returned when NetworkManager has requested that
|
||||
the agent cancel the request.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="org.freedesktop.NetworkManager.SecretAgent.InternalError">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Should be returned if the agent has encountered some internal
|
||||
error processing the request.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="org.freedesktop.NetworkManager.SecretAgent.NoSecrets">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Should be returned if there are no available secrets, for
|
||||
example if user interaction is not allowed and there are
|
||||
no secrets stored by the agent for this connection.
|
||||
" />
|
||||
</tp:error>
|
||||
</tp:possible-errors>
|
||||
</method>
|
||||
<arg name="secrets" type="a{sa{sv}}" direction="out"/>
|
||||
</method>
|
||||
|
||||
<tp:flags name="NM_SECRET_AGENT_GET_SECRETS_FLAGS" value-prefix="NM_SECRET_AGENT_GET_SECRETS_FLAG" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Flags modifying the behavior of GetSecrets request.
|
||||
" />
|
||||
<tp:flag suffix="NONE" value="0x0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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:flag>
|
||||
<tp:flag suffix="ALLOW_INTERACTION" value="0x1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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:flag>
|
||||
<tp:flag suffix="REQUEST_NEW" value="0x2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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:flag>
|
||||
<tp:flag suffix="USER_REQUESTED" value="0x4">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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:flag>
|
||||
</tp:flags>
|
||||
<!--
|
||||
CancelGetSecrets:
|
||||
@connection_path: Object path of the connection for which, if secrets for the given 'setting_name' are being requested, the request should be canceled.
|
||||
@setting_name: Setting name for which secrets for this connection were originally being requested.
|
||||
|
||||
<method name="CancelGetSecrets">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Cancel a pending GetSecrets request for secrets of the given
|
||||
connection. Any GetSecrets request with the same
|
||||
'connection_path' and 'setting_name' that are given in a
|
||||
CancelGetSecrets request should be canceled.
|
||||
" />
|
||||
<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">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the connection for which, if secrets for
|
||||
the given 'setting_name' are being requested, the request
|
||||
should be canceled.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="setting_name" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Setting name for which secrets for this connection were
|
||||
originally being requested.
|
||||
" />
|
||||
</arg>
|
||||
</method>
|
||||
Cancel a pending GetSecrets request for secrets of the given connection.
|
||||
Any GetSecrets request with the same 'connection_path' and 'setting_name'
|
||||
that are given in a CancelGetSecrets request should be canceled.
|
||||
-->
|
||||
<method name="CancelGetSecrets">
|
||||
<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"/>
|
||||
<arg name="setting_name" type="s" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="SaveSecrets">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Save given secrets to backing storage.
|
||||
" />
|
||||
<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">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="connection_path" type="o" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the connection for which the agent should
|
||||
save secrets to backing storage.
|
||||
" />
|
||||
</arg>
|
||||
</method>
|
||||
<!--
|
||||
SaveSecrets:
|
||||
@connection: 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.
|
||||
@connection_path: Object path of the connection for which the agent should save secrets to backing storage.
|
||||
|
||||
<method name="DeleteSecrets">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Delete secrets from backing storage.
|
||||
" />
|
||||
<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">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Nested settings maps containing the connection properties
|
||||
(sans secrets), for which the agent should delete the
|
||||
secrets from backing storage.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="connection_path" type="o" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the connection for which the agent should
|
||||
delete secrets from backing storage.
|
||||
" />
|
||||
</arg>
|
||||
</method>
|
||||
Save given secrets to backing storage.
|
||||
-->
|
||||
<method name="SaveSecrets">
|
||||
<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"/>
|
||||
<arg name="connection_path" type="o" direction="in"/>
|
||||
</method>
|
||||
|
||||
<tp:flags name="NM_SECRET_AGENT_CAPABILITIES" value-prefix="NM_SECRET_AGENT_CAPABILITY" type="u">
|
||||
<tp:flag suffix="NONE" value="0x0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="No special capabilities." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="VPN_HINTS" value="0x1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The agent supports passing hints to VPN plugin authentication
|
||||
dialogs.
|
||||
" />
|
||||
</tp:flag>
|
||||
</tp:flags>
|
||||
|
||||
</interface>
|
||||
<!--
|
||||
DeleteSecrets:
|
||||
@connection: Nested settings maps containing the connection properties (sans secrets), for which the agent should delete the secrets from backing storage.
|
||||
@connection_path: Object path of the connection for which the agent should delete secrets from backing storage.
|
||||
|
||||
Delete secrets from backing storage.
|
||||
-->
|
||||
<method name="DeleteSecrets">
|
||||
<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"/>
|
||||
<arg name="connection_path" type="o" direction="in"/>
|
||||
</method>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,138 +1,131 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<!--
|
||||
org.freedesktop.NetworkManager.Settings.Connection:
|
||||
|
||||
<interface name="org.freedesktop.NetworkManager.Settings.Connection">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Represents a single network connection configuration.
|
||||
" />
|
||||
Represents a single network connection configuration.
|
||||
-->
|
||||
<interface name="org.freedesktop.NetworkManager.Settings.Connection">
|
||||
|
||||
<method name="Update">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Update the connection with new settings and properties (replacing
|
||||
all previous settings and properties) and save the connection to
|
||||
disk. Secrets may be part of the update request, and will be either
|
||||
stored in persistent storage or sent to a Secret Agent for storage,
|
||||
depending on the flags associated with each secret.
|
||||
" />
|
||||
<arg name="properties" type="a{sa{sv}}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
New connection settings, properties, and (optionally) secrets.
|
||||
" />
|
||||
</arg>
|
||||
</method>
|
||||
<!--
|
||||
Update:
|
||||
@properties: New connection settings, properties, and (optionally) secrets.
|
||||
|
||||
<method name="UpdateUnsaved">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Update the connection with new settings and properties (replacing
|
||||
all previous settings and properties) but do not immediately save
|
||||
the connection to disk. Secrets may be part of the update request
|
||||
and may sent to a Secret Agent for storage, depending on the
|
||||
flags associated with each secret.
|
||||
Update the connection with new settings and properties (replacing all
|
||||
previous settings and properties) and save the connection to disk. Secrets
|
||||
may be part of the update request, and will be either stored in persistent
|
||||
storage or sent to a Secret Agent for storage, depending on the flags
|
||||
associated with each secret.
|
||||
-->
|
||||
<method name="Update">
|
||||
<arg name="properties" type="a{sa{sv}}" direction="in"/>
|
||||
</method>
|
||||
|
||||
Use the 'Save' method to save these changes to disk. Note
|
||||
that unsaved changes will be lost if the connection is
|
||||
reloaded from disk (either automatically on file change or
|
||||
due to an explicit ReloadConnections call).
|
||||
" />
|
||||
<arg name="properties" type="a{sa{sv}}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
New connection settings, properties, and (optionally) secrets.
|
||||
" />
|
||||
</arg>
|
||||
</method>
|
||||
<!--
|
||||
UpdateUnsaved:
|
||||
@properties: New connection settings, properties, and (optionally) secrets.
|
||||
|
||||
<method name="Delete">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Delete the connection.
|
||||
" />
|
||||
</method>
|
||||
Update the connection with new settings and properties (replacing all
|
||||
previous settings and properties) but do not immediately save the
|
||||
connection to disk. Secrets may be part of the update request and may sent
|
||||
to a Secret Agent for storage, depending on the flags associated with each
|
||||
secret. Use the 'Save' method to save these changes to disk. Note that
|
||||
unsaved changes will be lost if the connection is reloaded from disk
|
||||
(either automatically on file change or due to an explicit
|
||||
ReloadConnections call).
|
||||
-->
|
||||
<method name="UpdateUnsaved">
|
||||
<arg name="properties" type="a{sa{sv}}" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="GetSettings">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
<arg name="settings" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The nested settings maps describing this object.
|
||||
" />
|
||||
</arg>
|
||||
</method>
|
||||
<!--
|
||||
Delete:
|
||||
|
||||
<method name="GetSecrets">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
<arg name="setting_name" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Name of the setting to return secrets for. If empty, all
|
||||
all secrets will be returned.
|
||||
" />
|
||||
</arg>
|
||||
Delete the connection.
|
||||
-->
|
||||
<method name="Delete"/>
|
||||
|
||||
<arg name="secrets" type="a{sa{sv}}" direction="out" tp:type="String_String_Variant_Map_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Nested settings maps containing secrets.
|
||||
" />
|
||||
</arg>
|
||||
</method>
|
||||
<!--
|
||||
GetSettings:
|
||||
@settings: The nested settings maps describing this object.
|
||||
|
||||
<method name="ClearSecrets">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Clear the secrets belonging to this network connection profile.
|
||||
" />
|
||||
</method>
|
||||
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.
|
||||
-->
|
||||
<method name="GetSettings">
|
||||
<arg name="settings" type="a{sa{sv}}" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="Save">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Saves a "dirty" connection (that had previously been
|
||||
updated with UpdateUnsaved) to persistent storage.
|
||||
" />
|
||||
</method>
|
||||
<!--
|
||||
GetSecrets:
|
||||
@setting_name: Name of the setting to return secrets for. If empty, all all secrets will be returned.
|
||||
@secrets: Nested settings maps containing secrets.
|
||||
|
||||
<signal name="Updated">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
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.
|
||||
" />
|
||||
</signal>
|
||||
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.
|
||||
-->
|
||||
<method name="GetSecrets">
|
||||
<arg name="setting_name" type="s" direction="in"/>
|
||||
|
||||
<signal name="Removed">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when this connection is no longer available. This
|
||||
happens when the connection is deleted or if it is no longer
|
||||
accessible by any of the system's logged-in users. After
|
||||
receipt of this signal, the object no longer exists. Also
|
||||
see the Settings.ConnectionRemoved signal.
|
||||
" />
|
||||
</signal>
|
||||
<arg name="secrets" type="a{sa{sv}}" direction="out"/>
|
||||
</method>
|
||||
|
||||
<property name="Unsaved" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
If set, indicates that the in-memory state of the
|
||||
connection does not match the on-disk state. This flag
|
||||
will be set when UpdateUnsaved() is called or when any
|
||||
connection details change, and cleared when the connection
|
||||
is saved to disk via Save() or from internal operations.
|
||||
" />
|
||||
</property>
|
||||
<!--
|
||||
ClearSecrets:
|
||||
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values.
|
||||
" />
|
||||
</arg>
|
||||
</signal>
|
||||
Clear the secrets belonging to this network connection profile.
|
||||
-->
|
||||
<method name="ClearSecrets"/>
|
||||
|
||||
</interface>
|
||||
<!--
|
||||
Save:
|
||||
|
||||
Saves a "dirty" connection (that had previously been updated with
|
||||
UpdateUnsaved) to persistent storage.
|
||||
-->
|
||||
<method name="Save"/>
|
||||
|
||||
<!--
|
||||
Updated:
|
||||
|
||||
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.
|
||||
-->
|
||||
<signal name="Updated"/>
|
||||
|
||||
<!--
|
||||
Removed:
|
||||
|
||||
Emitted when this connection is no longer available. This happens when the
|
||||
connection is deleted or if it is no longer accessible by any of the
|
||||
system's logged-in users. After receipt of this signal, the object no
|
||||
longer exists. Also see the Settings.ConnectionRemoved signal.
|
||||
-->
|
||||
<signal name="Removed"/>
|
||||
|
||||
<!--
|
||||
Unsaved:
|
||||
|
||||
If set, indicates that the in-memory state of the connection does not
|
||||
match the on-disk state. This flag will be set when UpdateUnsaved() is
|
||||
called or when any connection details change, and cleared when the
|
||||
connection is saved to disk via Save() or from internal operations.
|
||||
-->
|
||||
<property name="Unsaved" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values.
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,198 +1,170 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/org/freedesktop/NetworkManager/Settings">
|
||||
|
||||
<node name="/org/freedesktop/NetworkManager/Settings" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<!--
|
||||
org.freedesktop.NetworkManager.Settings:
|
||||
|
||||
The Settings interface allows clients to view and administrate the
|
||||
connections stored and used by NetworkManager.
|
||||
-->
|
||||
<interface name="org.freedesktop.NetworkManager.Settings">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The Settings interface allows clients to view and administrate the connections stored and used by NetworkManager.
|
||||
" />
|
||||
|
||||
<method name="ListConnections">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
ListConnections:
|
||||
@connections: List of connections.
|
||||
|
||||
List the saved network connections known to NetworkManager.
|
||||
" />
|
||||
<arg name="connections" type="ao" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
List of connections.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="ListConnections">
|
||||
<arg name="connections" type="ao" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="GetConnectionByUuid">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
GetConnectionByUuid:
|
||||
@uuid: The UUID to find the connection object path for.
|
||||
@connection: The connection's object path.
|
||||
|
||||
Retrieve the object path of a connection, given that connection's UUID.
|
||||
" />
|
||||
<arg name="uuid" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The UUID to find the connection object path for.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="connection" type="o" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection's object path.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="GetConnectionByUuid">
|
||||
<arg name="uuid" type="s" direction="in"/>
|
||||
<arg name="connection" type="o" direction="out"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
AddConnection:
|
||||
@connection: Connection settings and properties.
|
||||
@path: Object path of the new connection that was just added.
|
||||
|
||||
Add new connection and save it to disk. This operation does not start the
|
||||
network connection unless (1) device is idle and able to connect to the
|
||||
network described by the new connection, and (2) the connection is allowed
|
||||
to be started automatically.
|
||||
-->
|
||||
<method name="AddConnection">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Add new connection and save it to disk. This operation does not start
|
||||
the network connection unless (1) device is idle and able to connect to
|
||||
the network described by the new connection, and (2) the connection
|
||||
is allowed to be started automatically.
|
||||
" />
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Connection settings and properties.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="path" type="o" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the new connection that was just added.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in"/>
|
||||
<arg name="path" type="o" direction="out"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
AddConnectionUnsaved:
|
||||
@connection: Connection settings and properties.
|
||||
@path: Object path of the new connection that was just added.
|
||||
|
||||
Add new connection but do not save it to disk immediately. This operation
|
||||
does not start the network connection unless (1) device is idle and able
|
||||
to connect to the network described by the new connection, and (2) the
|
||||
connection is allowed to be started automatically. Use the 'Save' method
|
||||
on the connection to save these changes to disk. Note that unsaved changes
|
||||
will be lost if the connection is reloaded from disk (either automatically
|
||||
on file change or due to an explicit ReloadConnections call).
|
||||
-->
|
||||
<method name="AddConnectionUnsaved">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Add new connection but do not save it to disk immediately. This
|
||||
operation does not start the network connection unless (1) device is
|
||||
idle and able to connect to the network described by the new connection,
|
||||
and (2) the connection is allowed to be started automatically.
|
||||
|
||||
Use the 'Save' method on the connection to save these changes
|
||||
to disk. Note that unsaved changes will be lost if the
|
||||
connection is reloaded from disk (either automatically on file
|
||||
change or due to an explicit ReloadConnections call).
|
||||
" />
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Connection settings and properties.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="path" type="o" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the new connection that was just added.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in"/>
|
||||
<arg name="path" type="o" direction="out"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
LoadConnections:
|
||||
@filenames: Array of paths to on-disk connection profiles in directories monitored by NetworkManager.
|
||||
@status: Success or failure of the operation as a whole. True if NetworkManager at least tried to load the indicated connections, even if it did not succeed. False if an error occurred before trying to load the connections (eg, permission denied).
|
||||
@failures: Paths of connection files that could not be loaded.
|
||||
|
||||
Loads or reloads the indicated connections from disk. You should call this
|
||||
after making changes directly to an on-disk connection file to make sure
|
||||
that NetworkManager sees the changes. (If "monitor-connection-files" in
|
||||
NetworkManager.conf is "true", then this will have no real effect, but is
|
||||
harmless.) As with AddConnection(), this operation does not necessarily
|
||||
start the network connection.
|
||||
-->
|
||||
<method name="LoadConnections">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Loads or reloads the indicated connections from disk. You
|
||||
should call this after making changes directly to an on-disk
|
||||
connection file to make sure that NetworkManager sees the
|
||||
changes. (If "monitor-connection-files" in NetworkManager.conf
|
||||
is "true", then this will have no real effect, but is
|
||||
harmless.) As with AddConnection(), this operation does not
|
||||
necessarily start the network connection.
|
||||
" />
|
||||
<arg name="filenames" type="as" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of paths to on-disk connection profiles in directories
|
||||
monitored by NetworkManager.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="status" type="b" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Success or failure of the operation as a whole. True if
|
||||
NetworkManager at least tried to load the indicated
|
||||
connections, even if it did not succeed. False if an error
|
||||
occurred before trying to load the connections (eg,
|
||||
permission denied).
|
||||
" />
|
||||
</arg>
|
||||
<arg name="failures" type="as" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Paths of connection files that could not be loaded.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="filenames" type="as" direction="in"/>
|
||||
<arg name="status" type="b" direction="out"/>
|
||||
<arg name="failures" type="as" direction="out"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
ReloadConnections:
|
||||
@status: Success or failure.
|
||||
|
||||
Tells NetworkManager to reload all connection files from disk, including
|
||||
noticing any added or deleted connection files. By default, connections
|
||||
are re-read automatically any time they change, so you only need to use
|
||||
this command if you have set "monitor-connection-files=false" in
|
||||
NetworkManager.conf.
|
||||
-->
|
||||
<method name="ReloadConnections">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Tells NetworkManager to reload all connection files from disk,
|
||||
including noticing any added or deleted connection files. By
|
||||
default, connections are re-read automatically any time they
|
||||
change, so you only need to use this command if you have set
|
||||
"monitor-connection-files=false" in NetworkManager.conf.
|
||||
" />
|
||||
<arg name="status" type="b" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Success or failure.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="status" type="b" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="SaveHostname">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
SaveHostname:
|
||||
@hostname: The hostname to save to persistent configuration. If blank, the persistent hostname is cleared.
|
||||
|
||||
Save the hostname to persistent configuration.
|
||||
" />
|
||||
<arg name="hostname" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The hostname to save to persistent configuration. If blank, the persistent hostname is cleared.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<method name="SaveHostname">
|
||||
<arg name="hostname" type="s" direction="in"/>
|
||||
</method>
|
||||
|
||||
<property name="Connections" type="ao" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Connections:
|
||||
|
||||
List of object paths of available network connection profiles.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Connections" type="ao" access="read"/>
|
||||
|
||||
<!--
|
||||
Hostname:
|
||||
|
||||
<property name="Hostname" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The machine hostname stored in persistent configuration.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="Hostname" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
CanModify:
|
||||
|
||||
<property name="CanModify" type="b" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
If true, adding and modifying connections is supported.
|
||||
" />
|
||||
</property>
|
||||
-->
|
||||
<property name="CanModify" type="b" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<signal name="NewConnection">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
NewConnection:
|
||||
@connection: Object path of the new connection.
|
||||
|
||||
Emitted when a new connection has been added after NetworkManager has
|
||||
started up and initialized. This signal is not emitted for connections
|
||||
started up and initialized. This signal is not emitted for connections
|
||||
read while starting up, because NetworkManager's D-Bus service is only
|
||||
available after all connections have been read, and to prevent spamming
|
||||
listeners with too many signals at one time. To retrieve the initial
|
||||
listeners with too many signals at one time. To retrieve the initial
|
||||
connection list, call the ListConnections() method once, and then listen
|
||||
for individual Settings.NewConnection and Settings.Connection.Deleted
|
||||
signals for further updates.
|
||||
" />
|
||||
<arg name="connection" type="o">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the new connection.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="NewConnection">
|
||||
<arg name="connection" type="o"/>
|
||||
</signal>
|
||||
|
||||
<!--
|
||||
ConnectionRemoved:
|
||||
@connection: Object path of the removed connection.
|
||||
|
||||
Emitted when a connection is no longer available. This happens when the
|
||||
connection is deleted or if it is no longer accessible by any of the
|
||||
system's logged-in users. After receipt of this signal, the connection no
|
||||
longer exists and cannot be used. Also see the Settings.Connection.Removed
|
||||
signal.
|
||||
-->
|
||||
<signal name="ConnectionRemoved">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when a connection is no longer available. This happens when
|
||||
the connection is deleted or if it is no longer accessible by any of
|
||||
the system's logged-in users. After receipt of this signal, the
|
||||
connection no longer exists and cannot be used. Also see the
|
||||
Settings.Connection.Removed signal.
|
||||
" />
|
||||
<arg name="connection" type="o">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Object path of the removed connection.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="connection" type="o"/>
|
||||
</signal>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,148 +1,48 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<!--
|
||||
org.freedesktop.NetworkManager.VPN.Connection:
|
||||
|
||||
Represents an active connection to a Virtual Private Network.
|
||||
-->
|
||||
<interface name="org.freedesktop.NetworkManager.VPN.Connection">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="VpnConnection"/>
|
||||
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Represents an active connection to a Virtual Private Network.
|
||||
" />
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<property name="VpnState" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The VPN-specific state of the connection." />
|
||||
</property>
|
||||
<property name="Banner" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The banner string of the VPN connection." />
|
||||
</property>
|
||||
<!--
|
||||
VpnState:
|
||||
|
||||
The VPN-specific state of the connection.
|
||||
|
||||
Returns: <link linkend="NMVpnConnectionState">NMVpnConnectionState</link>
|
||||
-->
|
||||
<property name="VpnState" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
Banner:
|
||||
|
||||
The banner string of the VPN connection.
|
||||
-->
|
||||
<property name="Banner" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
VpnStateChanged:
|
||||
@state: (<link linkend="NMVpnConnectionState">NMVpnConnectionState</link>) The new state of the VPN connection.
|
||||
@reason: (<link linkend="NMVpnConnectionStateReason">NMVpnConnectionStateReason</link>) Reason code describing the change to the new state.
|
||||
|
||||
<signal name="VpnStateChanged">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted when the state of the VPN connection has changed.
|
||||
" />
|
||||
<arg name="state" type="u" tp:type="NM_VPN_CONNECTION_STATE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The new state of the VPN connection.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="reason" type="u" tp:type="NM_VPN_CONNECTION_STATE_REASON">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Reason code describing the change to the new state.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="VpnStateChanged">
|
||||
<arg name="state" type="u"/>
|
||||
<arg name="reason" type="u"/>
|
||||
</signal>
|
||||
|
||||
<tp:enum name="NM_VPN_CONNECTION_STATE" type="u">
|
||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The state of the VPN connection is unknown.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="PREPARE" value="1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN connection is preparing to connect.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="NEED_AUTH" value="2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN connection needs authorization credentials.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CONNECT" value="3">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN connection is being established. FIXME: Should be CONNECTING or CONNECTED.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="IP_CONFIG_GET" value="4">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN connection is getting an IP address. FIXME: Should be an -ING
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="ACTIVATED" value="5">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN connection is active.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="FAILED" value="6">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN connection failed.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="DISCONNECTED" value="7">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN connection is disconnected.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
<tp:enum name="NM_VPN_CONNECTION_STATE_REASON" type="u">
|
||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The reason for the VPN connection state change is unknown.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="NONE" value="1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
No reason was given for the VPN connection state change.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="USER_DISCONNECTED" value="2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN connection changed state because the user disconnected it.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="DEVICE_DISCONNECTED" value="3">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN connection changed state because the device it was using was disconnected.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="SERVICE_STOPPED" value="4">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The service providing the VPN connection was stopped.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="IP_CONFIG_INVALID" value="5">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The IP config of the VPN connection was invalid.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CONNECT_TIMEOUT" value="6">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection attempt to the VPN service timed out.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="SERVICE_START_TIMEOUT" value="7">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A timeout occurred while starting the service providing the VPN connection.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="SERVICE_START_FAILED" value="8">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Starting the service starting the service providing the VPN connection failed.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="NO_SECRETS" value="9">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Necessary secrets for the VPN connection were not provided.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="LOGIN_FAILED" value="10">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Authentication to the VPN server failed.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CONNECTION_REMOVED" value="11">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The connection was deleted from settings.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
</interface>
|
||||
</node>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,313 +1,202 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<!--
|
||||
org.freedesktop.NetworkManager.VPN.Plugin:
|
||||
|
||||
This interface is provided by plugins providing VPN services to the
|
||||
NetworkManager daemon.
|
||||
-->
|
||||
<interface name="org.freedesktop.NetworkManager.VPN.Plugin">
|
||||
<annotation name="org.gtk.GDBus.C.Name" value="VpnPlugin"/>
|
||||
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
This interface is provided by plugins providing VPN services to the NetworkManager daemon.
|
||||
" />
|
||||
<!--
|
||||
Connect:
|
||||
@connection: Describes the connection to be established.
|
||||
|
||||
<method name="Connect">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Tells the plugin to connect. Interactive secrets requests (eg, emitting
|
||||
Tells the plugin to connect. Interactive secrets requests (eg, emitting
|
||||
the SecretsRequired signal) are not allowed.
|
||||
" />
|
||||
-->
|
||||
<method name="Connect">
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_connect"/>
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in" tp:type="String_String_Variant_Map_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Describes the connection to be established.
|
||||
" />
|
||||
</arg>
|
||||
<tp:possible-errors>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.StartingInProgress"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.AlreadyStarted"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.StoppingInProgress"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.BadArguments"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.LaunchFailed"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.WrongState"/>
|
||||
</tp:possible-errors>
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
ConnectInteractive:
|
||||
@connection: Describes the connection to be established.
|
||||
@details: Additional details about the Connect process.
|
||||
|
||||
Tells the plugin to connect, allowing interactive secrets requests (eg the
|
||||
plugin is allowed to emit the SecretsRequired signal if the VPN service
|
||||
indicates that it needs additional secrets during the connect process).
|
||||
-->
|
||||
<method name="ConnectInteractive">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Tells the plugin to connect, allowing interactive secrets requests (eg
|
||||
the plugin is allowed to emit the SecretsRequired signal if the VPN
|
||||
service indicates that it needs additional secrets during the connect
|
||||
process).
|
||||
" />
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_connect_interactive"/>
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in" tp:type="String_String_Variant_Map_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Describes the connection to be established.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="details" type="a{sv}" direction="in" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Additional details about the Connect process.
|
||||
" />
|
||||
</arg>
|
||||
<tp:possible-errors>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.StartingInProgress"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.AlreadyStarted"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.StoppingInProgress"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.BadArguments"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.LaunchFailed"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.WrongState"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.InteractiveNotSupported"/>
|
||||
</tp:possible-errors>
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in"/>
|
||||
<arg name="details" type="a{sv}" direction="in"/>
|
||||
</method>
|
||||
|
||||
<!--
|
||||
NeedSecrets:
|
||||
@settings: Describes the connection that may need secrets.
|
||||
@setting_name: The setting name within the provided connection that requires secrets, if any.
|
||||
|
||||
Asks the plugin whether the provided connection will require secrets to
|
||||
connect successfully.
|
||||
-->
|
||||
<method name="NeedSecrets">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Asks the plugin whether the provided connection will require secrets to connect successfully.
|
||||
" />
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_need_secrets"/>
|
||||
<arg name="settings" type="a{sa{sv}}" direction="in" tp:type="String_String_Variant_Map_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Describes the connection that may need secrets.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="setting_name" type="s" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The setting name within the provided connection that requires secrets, if any.
|
||||
" />
|
||||
</arg>
|
||||
<tp:possible-errors>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.ConnectionInvalid"/>
|
||||
</tp:possible-errors>
|
||||
<arg name="settings" type="a{sa{sv}}" direction="in"/>
|
||||
<arg name="setting_name" type="s" direction="out"/>
|
||||
</method>
|
||||
|
||||
<method name="Disconnect">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Disconnect:
|
||||
|
||||
Disconnect the plugin.
|
||||
" />
|
||||
-->
|
||||
<method name="Disconnect">
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_disconnect"/>
|
||||
<tp:possible-errors>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.StoppingInProgress"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.AlreadyStopped"/>
|
||||
</tp:possible-errors>
|
||||
</method>
|
||||
|
||||
<method name="SetConfig">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
SetConfig:
|
||||
@config: Generic configuration details for the connection.
|
||||
|
||||
Set generic connection details on the connection.
|
||||
" />
|
||||
-->
|
||||
<method name="SetConfig">
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_config"/>
|
||||
<arg name="config" type="a{sv}" direction="in" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Generic configuration details for the connection.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="config" type="a{sv}" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="SetIp4Config">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
SetIp4Config:
|
||||
@config: Ip4Config details for the connection. You must call SetConfig() before calling this.
|
||||
|
||||
Set IPv4 details on the connection.
|
||||
" />
|
||||
-->
|
||||
<method name="SetIp4Config">
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_ip4_config"/>
|
||||
<arg name="config" type="a{sv}" direction="in" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Ip4Config details for the connection. You must call
|
||||
SetConfig() before calling this.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="config" type="a{sv}" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="SetIp6Config">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
SetIp6Config:
|
||||
@config: Ip6Config details for the connection. You must call SetConfig() before calling this.
|
||||
|
||||
Set IPv6 details on the connection.
|
||||
" />
|
||||
-->
|
||||
<method name="SetIp6Config">
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_ip6_config"/>
|
||||
<arg name="config" type="a{sv}" direction="in" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Ip6Config details for the connection. You must call
|
||||
SetConfig() before calling this.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="config" type="a{sv}" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="SetFailure">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
SetFailure:
|
||||
@reason: The reason for the failure.
|
||||
|
||||
Indicate a failure to the plugin.
|
||||
" />
|
||||
-->
|
||||
<method name="SetFailure">
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_set_failure"/>
|
||||
<arg name="reason" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The reason for the failure.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="reason" type="s" direction="in"/>
|
||||
</method>
|
||||
|
||||
<property name="State" type="u" access="read" tp:type="NM_VPN_SERVICE_STATE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
State:
|
||||
|
||||
The state of the plugin.
|
||||
" />
|
||||
</property>
|
||||
|
||||
<signal name="StateChanged">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Returns: <link linkend="NMVpnServiceState">NMVpnServiceState</link>
|
||||
-->
|
||||
<property name="State" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
StateChanged:
|
||||
@state: (<link linkend="NMVpnServiceState">NMVpnServiceState</link>) The new state of the plugin.
|
||||
|
||||
Emitted when the plugin state changes.
|
||||
" />
|
||||
<arg name="state" type="u" tp:type="NM_VPN_SERVICE_STATE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The new state of the plugin.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="StateChanged">
|
||||
<arg name="state" type="u"/>
|
||||
</signal>
|
||||
|
||||
<!--
|
||||
SecretsRequired:
|
||||
@message: Informational message, if any, about the request. For example, if a second PIN is required, could indicate to the user to wait for the token code to change until entering the next PIN.
|
||||
@secrets: Array of strings of VPN secret names which the plugin thinks secrets may be required for, or other VPN-specific data to be processed by the VPN's front-end.
|
||||
|
||||
Emitted during an ongoing ConnectInteractive() request when the plugin has
|
||||
determined that new secrets are required. NetworkManager will then call
|
||||
the NewSecrets() method with a connection hash including the new secrets.
|
||||
-->
|
||||
<signal name="SecretsRequired">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Emitted during an ongoing ConnectInteractive() request when the plugin
|
||||
has determined that new secrets are required. NetworkManager will then
|
||||
call the NewSecrets() method with a connection hash including the new
|
||||
secrets.
|
||||
" />
|
||||
<arg name="message" type="s" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Informational message, if any, about the request. For example, if
|
||||
a second PIN is required, could indicate to the user to wait for
|
||||
the token code to change until entering the next PIN.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="secrets" type="as" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Array of strings of VPN secret names which the plugin thinks
|
||||
secrets may be required for, or other VPN-specific data to be
|
||||
processed by the VPN's front-end.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="message" type="s" direction="out"/>
|
||||
<arg name="secrets" type="as" direction="out"/>
|
||||
</signal>
|
||||
|
||||
<method name="NewSecrets">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
NewSecrets:
|
||||
@connection: Describes the connection including the new secrets.
|
||||
|
||||
Called in response to a SecretsRequired signal to deliver updated secrets
|
||||
or other information to the plugin.
|
||||
" />
|
||||
-->
|
||||
<method name="NewSecrets">
|
||||
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_vpn_plugin_new_secrets"/>
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in" tp:type="String_String_Variant_Map_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Describes the connection including the new secrets.
|
||||
" />
|
||||
</arg>
|
||||
<tp:possible-errors>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.WrongState"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.BadArguments"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.LaunchFailed"/>
|
||||
<tp:error name="org.freedesktop.NetworkManager.VPN.Error.InteractiveNotSupported"/>
|
||||
</tp:possible-errors>
|
||||
<arg name="connection" type="a{sa{sv}}" direction="in"/>
|
||||
</method>
|
||||
|
||||
<signal name="Config">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Config:
|
||||
@config: The configuration information.
|
||||
|
||||
The plugin obtained generic configuration information.
|
||||
" />
|
||||
<arg name="config" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The configuration information.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="Config">
|
||||
<arg name="config" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<signal name="Ip4Config">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Ip4Config:
|
||||
@ip4config: The IPv4 configuration.
|
||||
|
||||
The plugin obtained an IPv4 configuration.
|
||||
" />
|
||||
<arg name="ip4config" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The IPv4 configuration.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="Ip4Config">
|
||||
<arg name="ip4config" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<signal name="Ip6Config">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Ip6Config:
|
||||
@ip6config: The IPv6 configuration.
|
||||
|
||||
The plugin obtained an IPv6 configuration.
|
||||
" />
|
||||
<arg name="ip6config" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The IPv6 configuration.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="Ip6Config">
|
||||
<arg name="ip6config" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<signal name="LoginBanner">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
LoginBanner:
|
||||
@banner: The login banner string.
|
||||
|
||||
Emitted when the plugin receives a login banner from the VPN service.
|
||||
" />
|
||||
<arg name="banner" type="s">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The login banner string.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="LoginBanner">
|
||||
<arg name="banner" type="s"/>
|
||||
</signal>
|
||||
|
||||
<signal name="Failure">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
<!--
|
||||
Failure:
|
||||
@reason: (<link linkend="NMVpnPluginFailure">NMVpnPluginFailure</link>) Reason code for the failure.
|
||||
|
||||
Emitted when a failure in the VPN plugin occurs.
|
||||
" />
|
||||
<arg name="reason" type="u" tp:type="NM_VPN_PLUGIN_FAILURE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Reason code for the failure.
|
||||
" />
|
||||
</arg>
|
||||
-->
|
||||
<signal name="Failure">
|
||||
<arg name="reason" type="u"/>
|
||||
</signal>
|
||||
|
||||
<tp:enum name="NM_VPN_SERVICE_STATE" type="u">
|
||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The state of the VPN plugin is unknown.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="INIT" value="1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The VPN plugin is initialized.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="SHUTDOWN" value="2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
(Not used.)
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="STARTING" value="3">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The plugin is attempting to connect to a VPN server.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="STARTED" value="4">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The plugin has connected to a VPN server.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="STOPPING" value="5">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The plugin is disconnecting from the VPN server.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="STOPPED" value="6">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The plugin has disconnected from the VPN server.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
<tp:enum name="NM_VPN_PLUGIN_FAILURE" type="u">
|
||||
<tp:enumvalue suffix="LOGIN_FAILED" value="0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Login failed.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CONNECT_FAILED" value="1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Connect failed.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="BAD_IP_CONFIG" value="2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Invalid IP configuration returned from the VPN plugin.
|
||||
" />
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,44 +1,36 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
<interface name="org.freedesktop.NetworkManager.WiMax.Nsp">
|
||||
|
||||
<property name="Name" type="s" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The name of the NSP." />
|
||||
</property>
|
||||
<property name="SignalQuality" type="u" access="read">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The current signal quality of the NSP, in percent." />
|
||||
</property>
|
||||
<property name="NetworkType" type="u" access="read" tp:type="NM_WIMAX_NSP_NETWORK_TYPE">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="The network type of the NSP." />
|
||||
</property>
|
||||
<!--
|
||||
Name:
|
||||
|
||||
The name of the NSP.
|
||||
-->
|
||||
<property name="Name" type="s" access="read"/>
|
||||
|
||||
<!--
|
||||
SignalQuality:
|
||||
|
||||
The current signal quality of the NSP, in percent.
|
||||
-->
|
||||
<property name="SignalQuality" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
NetworkType:
|
||||
|
||||
The network type of the NSP.
|
||||
|
||||
Returns: <link linkend="NMWimaxNspNetworkType">NMWimaxNspNetworkType</link>
|
||||
-->
|
||||
<property name="NetworkType" type="u" access="read"/>
|
||||
|
||||
<!--
|
||||
PropertiesChanged:
|
||||
@properties: A dictionary mapping property names to variant boxed values.
|
||||
-->
|
||||
<signal name="PropertiesChanged">
|
||||
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A dictionary mapping property names to variant boxed values.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="properties" type="a{sv}"/>
|
||||
</signal>
|
||||
|
||||
<tp:flags name="NM_WIMAX_NSP_NETWORK_TYPE" value-prefix="NM_WIMAX_NSP_NETWORK_TYPE" type="u">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Network type of the NSP.
|
||||
" />
|
||||
<tp:flag suffix="UNKNOWN" value="0x0">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Unknown network." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="HOME" value="0x1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Home network." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="PARTNER" value="0x2">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Partner network." />
|
||||
</tp:flag>
|
||||
<tp:flag suffix="ROAMING_PARTNER" value="0x3">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="Roaming partner network." />
|
||||
</tp:flag>
|
||||
|
||||
</tp:flags>
|
||||
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
|
|
@ -1,60 +0,0 @@
|
|||
<?xml version="1.0" ?>
|
||||
<tp:errors xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"
|
||||
namespace="org.freedesktop.NetworkManager.VPN.Error">
|
||||
<tp:error name="General">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="General failure without further details." />
|
||||
</tp:error>
|
||||
<tp:error name="StartingInProgress">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The plugin is already starting, and another connect request was received.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="AlreadyStarted">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The plugin is already connected, and another connect request was received.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="StoppingInProgress">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The plugin is already stopping, and another stop request was received.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="AlreadyStopped">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The plugin is already stopped, and another disconnect request was received.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="WrongState">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The request could not be processed because the VPN plugin is in the wrong
|
||||
state for this type of request.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="BadArguments">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The request could not be processed because it contained malformed
|
||||
arguments, or arguments of unexpected type. It usually means that one of
|
||||
the VPN setting data items or secrets was not of the expected type (i.e.
|
||||
int, string, bool, etc).
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="LaunchFailed">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
A binary providing the service failed to launch.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="ConnectionInvalid">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The request could not be processed because the connection was invalid. It
|
||||
usually means that the connection's VPN setting was missing some required
|
||||
data item or secret.
|
||||
" />
|
||||
</tp:error>
|
||||
<tp:error name="InteractiveNotSupported">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The request could not be processed because the plugin does not support
|
||||
interactive operations, such as ConnectInteractive() or NewSecrets().
|
||||
" />
|
||||
</tp:error>
|
||||
</tp:errors>
|
||||
|
||||
|
|
@ -94,8 +94,6 @@
|
|||
* @NM_STATE_CONNECTED_GLOBAL: there is global IPv4 and/or IPv6 Internet connectivity
|
||||
*
|
||||
* #NMState values indicate the current overall networking state.
|
||||
*
|
||||
* (Corresponds to the NM_STATE type in nm-manager.xml.)
|
||||
**/
|
||||
typedef enum {
|
||||
NM_STATE_UNKNOWN = 0,
|
||||
|
|
@ -118,8 +116,6 @@ typedef enum {
|
|||
* does not appear to be able to reach the full Internet.
|
||||
* @NM_CONNECTIVITY_FULL: The host is connected to a network, and
|
||||
* appears to be able to reach the full Internet.
|
||||
*
|
||||
* (Corresponds to the NM_CONNECTIVITY type in nm-manager.xml.)
|
||||
*/
|
||||
typedef enum {
|
||||
NM_CONNECTIVITY_UNKNOWN,
|
||||
|
|
@ -156,8 +152,6 @@ typedef enum {
|
|||
*
|
||||
* #NMDeviceType values indicate the type of hardware represented by
|
||||
* an #NMDevice.
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_TYPE type in nm-device.xml.)
|
||||
**/
|
||||
typedef enum {
|
||||
NM_DEVICE_TYPE_UNKNOWN = 0,
|
||||
|
|
@ -191,8 +185,6 @@ typedef enum {
|
|||
* @NM_DEVICE_CAP_IS_SOFTWARE: this device is a software device
|
||||
*
|
||||
* General device capability flags.
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_CAP type in nm-device-wifi.xml.)
|
||||
**/
|
||||
typedef enum { /*< flags >*/
|
||||
NM_DEVICE_CAP_NONE = 0x00000000,
|
||||
|
|
@ -218,8 +210,6 @@ typedef enum { /*< flags >*/
|
|||
* @NM_WIFI_DEVICE_CAP_FREQ_5GHZ: device supports 5GHz frequencies
|
||||
*
|
||||
* 802.11 specific device encryption and authentication capabilities.
|
||||
*
|
||||
* (Corresponds to the NM_802_11_DEVICE_CAP type in nm-device-wifi.xml.)
|
||||
**/
|
||||
typedef enum { /*< flags >*/
|
||||
NM_WIFI_DEVICE_CAP_NONE = 0x00000000,
|
||||
|
|
@ -244,8 +234,6 @@ typedef enum { /*< flags >*/
|
|||
* encryption (usually means WEP)
|
||||
*
|
||||
* 802.11 access point flags.
|
||||
*
|
||||
* (Corresponds to the NM_802_11_AP_FLAGS type in nm-access-point.xml.)
|
||||
**/
|
||||
typedef enum { /*< underscore_name=nm_802_11_ap_flags, flags >*/
|
||||
NM_802_11_AP_FLAGS_NONE = 0x00000000,
|
||||
|
|
@ -276,8 +264,6 @@ typedef enum { /*< underscore_name=nm_802_11_ap_flags, flags >*/
|
|||
* 802.11 access point security and authentication flags. These flags describe
|
||||
* the current security requirements of an access point as determined from the
|
||||
* access point's beacon.
|
||||
*
|
||||
* (Corresponds to the NM_802_11_AP_SEC type in nm-access-point.xml.)
|
||||
**/
|
||||
typedef enum { /*< underscore_name=nm_802_11_ap_security_flags, flags >*/
|
||||
NM_802_11_AP_SEC_NONE = 0x00000000,
|
||||
|
|
@ -307,8 +293,6 @@ typedef enum { /*< underscore_name=nm_802_11_ap_security_flags, flags >*/
|
|||
* access point objects; used only for hotspot mode on the local machine.
|
||||
*
|
||||
* Indicates the 802.11 mode an access point or device is currently in.
|
||||
*
|
||||
* (Corresponds to the NM_802_11_MODE type in generic-types.xml.)
|
||||
**/
|
||||
typedef enum { /*< underscore_name=nm_802_11_mode >*/
|
||||
NM_802_11_MODE_UNKNOWN = 0,
|
||||
|
|
@ -325,8 +309,6 @@ typedef enum { /*< underscore_name=nm_802_11_mode >*/
|
|||
*
|
||||
* #NMBluetoothCapabilities values indicate the usable capabilities of a
|
||||
* Bluetooth device.
|
||||
*
|
||||
* (Corresponds to the NM_BT_CAPABILITY type in nm-device-bt.xml.)
|
||||
**/
|
||||
typedef enum { /*< flags >*/
|
||||
NM_BT_CAPABILITY_NONE = 0x00000000,
|
||||
|
|
@ -349,8 +331,6 @@ typedef enum { /*< flags >*/
|
|||
* technology families a modem device supports. For more information on the
|
||||
* specific access technologies the device supports use the ModemManager D-Bus
|
||||
* API.
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_MODEM_CAPABILITY type in nm-device-modem.xml.)
|
||||
**/
|
||||
typedef enum { /*< flags >*/
|
||||
NM_DEVICE_MODEM_CAPABILITY_NONE = 0x00000000,
|
||||
|
|
@ -360,6 +340,21 @@ typedef enum { /*< flags >*/
|
|||
NM_DEVICE_MODEM_CAPABILITY_LTE = 0x00000008,
|
||||
} NMDeviceModemCapabilities;
|
||||
|
||||
/**
|
||||
* NMWimaxNspNetworkType:
|
||||
* @NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN: unknown network type
|
||||
* @NM_WIMAX_NSP_NETWORK_TYPE_HOME: home network
|
||||
* @NM_WIMAX_NSP_NETWORK_TYPE_PARTNER: partner network
|
||||
* @NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER: roaming partner network
|
||||
*
|
||||
* WiMAX network type.
|
||||
*/
|
||||
typedef enum {
|
||||
NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN = 0,
|
||||
NM_WIMAX_NSP_NETWORK_TYPE_HOME = 1,
|
||||
NM_WIMAX_NSP_NETWORK_TYPE_PARTNER = 2,
|
||||
NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER = 3
|
||||
} NMWimaxNspNetworkType;
|
||||
|
||||
/**
|
||||
* NMDeviceState:
|
||||
|
|
@ -398,8 +393,6 @@ typedef enum { /*< flags >*/
|
|||
* that connection. The network connection may still be valid.
|
||||
* @NM_DEVICE_STATE_FAILED: the device failed to connect to the requested
|
||||
* network and is cleaning up the connection request
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_STATE type in nm-device.xml.)
|
||||
**/
|
||||
typedef enum {
|
||||
NM_DEVICE_STATE_UNKNOWN = 0,
|
||||
|
|
@ -484,8 +477,6 @@ typedef enum {
|
|||
* @NM_DEVICE_STATE_REASON_PARENT_MANAGED_CHANGED: the device parent's management changed
|
||||
*
|
||||
* Device state change reason codes
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_STATE_REASON type in nm-device.xml.)
|
||||
*/
|
||||
typedef enum {
|
||||
NM_DEVICE_STATE_REASON_NONE = 0,
|
||||
|
|
@ -561,8 +552,6 @@ typedef enum {
|
|||
* @NM_METERED_GUESS_YES: Metered, the value was guessed
|
||||
* @NM_METERED_GUESS_NO: Not metered, the value was guessed
|
||||
*
|
||||
* (Corresponds to the NM_METERED type in nm-device.xml.)
|
||||
*
|
||||
* Since: 1.2
|
||||
**/
|
||||
NM_AVAILABLE_IN_1_2
|
||||
|
|
@ -587,8 +576,6 @@ typedef enum {
|
|||
* #NMActiveConnectionState values indicate the state of a connection to a
|
||||
* specific network while it is starting, connected, or disconnecting from that
|
||||
* network.
|
||||
*
|
||||
* (Corresponds to the NM_ACTIVE_CONNECTION_STATE type in nm-active-connection.xml.)
|
||||
**/
|
||||
typedef enum {
|
||||
NM_ACTIVE_CONNECTION_STATE_UNKNOWN = 0,
|
||||
|
|
@ -620,8 +607,6 @@ typedef enum {
|
|||
* the D-Bus API.
|
||||
*
|
||||
* #NMSecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request.
|
||||
*
|
||||
* (Corresponds to the NM_SECRET_AGENT_GET_SECRETS_FLAGS type in nm-secret-agent.xml.)
|
||||
*/
|
||||
typedef enum { /*< flags >*/
|
||||
NM_SECRET_AGENT_GET_SECRETS_FLAG_NONE = 0x0,
|
||||
|
|
@ -642,8 +627,6 @@ typedef enum { /*< flags >*/
|
|||
* @NM_SECRET_AGENT_CAPABILITY_LAST: bounds checking value; should not be used.
|
||||
*
|
||||
* #NMSecretAgentCapabilities indicate various capabilities of the agent.
|
||||
*
|
||||
* (Corresponds to the NM_SECRET_AGENT_CAPABILITIES type in nm-secret-agent.xml.)
|
||||
*/
|
||||
typedef enum /*< flags >*/ {
|
||||
NM_SECRET_AGENT_CAPABILITY_NONE = 0x0,
|
||||
|
|
|
|||
|
|
@ -78,8 +78,6 @@
|
|||
* @NM_VPN_SERVICE_STATE_STOPPED: The plugin has disconnected from the VPN server.
|
||||
*
|
||||
* VPN daemon states
|
||||
*
|
||||
* (Corresponds to the NM_VPN_SERVICE_STATE type in nm-vpn-connection.xml.)
|
||||
*/
|
||||
typedef enum {
|
||||
NM_VPN_SERVICE_STATE_UNKNOWN = 0,
|
||||
|
|
@ -108,8 +106,6 @@ typedef enum {
|
|||
* @NM_VPN_CONNECTION_STATE_DISCONNECTED: The VPN connection is disconnected.
|
||||
*
|
||||
* VPN connection states
|
||||
*
|
||||
* (Corresponds to the NM_VPN_CONNECTION_STATE type in nm-vpn-connection.xml.)
|
||||
*/
|
||||
typedef enum {
|
||||
NM_VPN_CONNECTION_STATE_UNKNOWN = 0,
|
||||
|
|
@ -150,8 +146,6 @@ typedef enum {
|
|||
* deleted from settings.
|
||||
*
|
||||
* VPN connection state reasons
|
||||
*
|
||||
* (Corresponds to the NM_VPN_CONNECTION_STATE_REASON type in nm-vpn-connection.xml.)
|
||||
*/
|
||||
typedef enum {
|
||||
NM_VPN_CONNECTION_STATE_REASON_UNKNOWN = 0,
|
||||
|
|
@ -176,8 +170,6 @@ typedef enum {
|
|||
* the VPN plugin.
|
||||
*
|
||||
* VPN plugin failure reasons
|
||||
*
|
||||
* (Corresponds to the NM_VPN_PLUGIN_FAILURE type in nm-vpn-plugin.xml.)
|
||||
*/
|
||||
typedef enum {
|
||||
NM_VPN_PLUGIN_FAILURE_LOGIN_FAILED,
|
||||
|
|
|
|||
|
|
@ -92,8 +92,6 @@
|
|||
* @NM_STATE_CONNECTED_GLOBAL: there is global IPv4 and/or IPv6 Internet connectivity
|
||||
*
|
||||
* #NMState values indicate the current overall networking state.
|
||||
*
|
||||
* (Corresponds to the NM_STATE type in nm-manager.xml.)
|
||||
**/
|
||||
typedef enum {
|
||||
NM_STATE_UNKNOWN = 0,
|
||||
|
|
@ -120,8 +118,6 @@ typedef enum {
|
|||
* @NM_CONNECTIVITY_FULL: The host is connected to a network, and
|
||||
* appears to be able to reach the full Internet.
|
||||
*
|
||||
* (Corresponds to the NM_CONNECTIVITY type in nm-manager.xml.)
|
||||
*
|
||||
* Since: 0.9.8.6
|
||||
*/
|
||||
typedef enum {
|
||||
|
|
@ -159,8 +155,6 @@ typedef enum {
|
|||
*
|
||||
* #NMDeviceType values indicate the type of hardware represented by
|
||||
* an #NMDevice.
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_TYPE type in nm-device.xml.)
|
||||
**/
|
||||
typedef enum {
|
||||
NM_DEVICE_TYPE_UNKNOWN = 0,
|
||||
|
|
@ -194,8 +188,6 @@ typedef enum {
|
|||
* @NM_DEVICE_CAP_IS_SOFTWARE: this device is a software device
|
||||
*
|
||||
* General device capability flags.
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_CAP type in nm-device-wifi.xml.)
|
||||
**/
|
||||
typedef enum { /*< flags >*/
|
||||
NM_DEVICE_CAP_NONE = 0x00000000,
|
||||
|
|
@ -221,8 +213,6 @@ typedef enum { /*< flags >*/
|
|||
* @NM_WIFI_DEVICE_CAP_FREQ_5GHZ: device supports 5GHz frequencies
|
||||
*
|
||||
* 802.11 specific device encryption and authentication capabilities.
|
||||
*
|
||||
* (Corresponds to the NM_802_11_DEVICE_CAP type in nm-device-wifi.xml.)
|
||||
**/
|
||||
typedef enum { /*< flags >*/
|
||||
NM_WIFI_DEVICE_CAP_NONE = 0x00000000,
|
||||
|
|
@ -247,8 +237,6 @@ typedef enum { /*< flags >*/
|
|||
* encryption (usually means WEP)
|
||||
*
|
||||
* 802.11 access point flags.
|
||||
*
|
||||
* (Corresponds to the NM_802_11_AP_FLAGS type in nm-access-point.xml.)
|
||||
**/
|
||||
typedef enum { /*< underscore_name=nm_802_11_ap_flags, flags >*/
|
||||
NM_802_11_AP_FLAGS_NONE = 0x00000000,
|
||||
|
|
@ -279,8 +267,6 @@ typedef enum { /*< underscore_name=nm_802_11_ap_flags, flags >*/
|
|||
* 802.11 access point security and authentication flags. These flags describe
|
||||
* the current security requirements of an access point as determined from the
|
||||
* access point's beacon.
|
||||
*
|
||||
* (Corresponds to the NM_802_11_AP_SEC type in nm-access-point.xml.)
|
||||
**/
|
||||
typedef enum { /*< underscore_name=nm_802_11_ap_security_flags, flags >*/
|
||||
NM_802_11_AP_SEC_NONE = 0x00000000,
|
||||
|
|
@ -310,8 +296,6 @@ typedef enum { /*< underscore_name=nm_802_11_ap_security_flags, flags >*/
|
|||
* access point objects; used only for hotspot mode on the local machine.
|
||||
*
|
||||
* Indicates the 802.11 mode an access point or device is currently in.
|
||||
*
|
||||
* (Corresponds to the NM_802_11_MODE type in generic-types.xml.)
|
||||
**/
|
||||
typedef enum { /*< underscore_name=nm_802_11_mode >*/
|
||||
NM_802_11_MODE_UNKNOWN = 0,
|
||||
|
|
@ -328,8 +312,6 @@ typedef enum { /*< underscore_name=nm_802_11_mode >*/
|
|||
*
|
||||
* #NMBluetoothCapabilities values indicate the usable capabilities of a
|
||||
* Bluetooth device.
|
||||
*
|
||||
* (Corresponds to the NM_BT_CAPABILITY type in nm-device-bt.xml.)
|
||||
**/
|
||||
typedef enum { /*< flags >*/
|
||||
NM_BT_CAPABILITY_NONE = 0x00000000,
|
||||
|
|
@ -352,8 +334,6 @@ typedef enum { /*< flags >*/
|
|||
* technology families a modem device supports. For more information on the
|
||||
* specific access technologies the device supports use the ModemManager D-Bus
|
||||
* API.
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_MODEM_CAPABILITY type in nm-device-modem.xml.)
|
||||
**/
|
||||
typedef enum { /*< flags >*/
|
||||
NM_DEVICE_MODEM_CAPABILITY_NONE = 0x00000000,
|
||||
|
|
@ -401,8 +381,6 @@ typedef enum { /*< flags >*/
|
|||
* that connection. The network connection may still be valid.
|
||||
* @NM_DEVICE_STATE_FAILED: the device failed to connect to the requested
|
||||
* network and is cleaning up the connection request
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_STATE type in nm-device.xml.)
|
||||
**/
|
||||
typedef enum {
|
||||
NM_DEVICE_STATE_UNKNOWN = 0,
|
||||
|
|
@ -488,8 +466,6 @@ typedef enum {
|
|||
* @NM_DEVICE_STATE_REASON_PARENT_MANAGED_CHANGED: the device parent's management changed
|
||||
*
|
||||
* Device state change reason codes
|
||||
*
|
||||
* (Corresponds to the NM_DEVICE_STATE_REASON type in nm-device.xml.)
|
||||
*/
|
||||
typedef enum {
|
||||
NM_DEVICE_STATE_REASON_NONE = 0,
|
||||
|
|
@ -573,8 +549,6 @@ typedef enum {
|
|||
* #NMActiveConnectionState values indicate the state of a connection to a
|
||||
* specific network while it is starting, connected, or disconnecting from that
|
||||
* network.
|
||||
*
|
||||
* (Corresponds to the NM_ACTIVE_CONNECTION_STATE type in nm-active-connection.xml.)
|
||||
**/
|
||||
typedef enum {
|
||||
NM_ACTIVE_CONNECTION_STATE_UNKNOWN = 0,
|
||||
|
|
|
|||
|
|
@ -78,8 +78,6 @@
|
|||
* @NM_VPN_SERVICE_STATE_STOPPED: The plugin has disconnected from the VPN server.
|
||||
*
|
||||
* VPN daemon states
|
||||
*
|
||||
* (Corresponds to the NM_VPN_SERVICE_STATE type in nm-vpn-connection.xml.)
|
||||
*/
|
||||
typedef enum NMVPNServiceState {
|
||||
NM_VPN_SERVICE_STATE_UNKNOWN = 0,
|
||||
|
|
@ -108,8 +106,6 @@ typedef enum NMVPNServiceState {
|
|||
* @NM_VPN_CONNECTION_STATE_DISCONNECTED: The VPN connection is disconnected.
|
||||
*
|
||||
* VPN connection states
|
||||
*
|
||||
* (Corresponds to the NM_VPN_CONNECTION_STATE type in nm-vpn-connection.xml.)
|
||||
*/
|
||||
typedef enum NMVPNConnectionState {
|
||||
NM_VPN_CONNECTION_STATE_UNKNOWN = 0,
|
||||
|
|
@ -150,8 +146,6 @@ typedef enum NMVPNConnectionState {
|
|||
* deleted from settings.
|
||||
*
|
||||
* VPN connection state reasons
|
||||
*
|
||||
* (Corresponds to the NM_VPN_CONNECTION_STATE_REASON type in nm-vpn-connection.xml.)
|
||||
*/
|
||||
typedef enum NMVPNConnectionStateReason {
|
||||
NM_VPN_CONNECTION_STATE_REASON_UNKNOWN = 0,
|
||||
|
|
@ -176,8 +170,6 @@ typedef enum NMVPNConnectionStateReason {
|
|||
* the VPN plugin.
|
||||
*
|
||||
* VPN plugin failure reasons
|
||||
*
|
||||
* (Corresponds to the NM_VPN_PLUGIN_FAILURE type in nm-vpn-plugin.xml.)
|
||||
*/
|
||||
typedef enum {
|
||||
NM_VPN_PLUGIN_FAILURE_LOGIN_FAILED,
|
||||
|
|
|
|||
|
|
@ -41,22 +41,6 @@ G_BEGIN_DECLS
|
|||
#define NM_WIMAX_NSP_SIGNAL_QUALITY "signal-quality"
|
||||
#define NM_WIMAX_NSP_NETWORK_TYPE "network-type"
|
||||
|
||||
/**
|
||||
* NMWimaxNspNetworkType:
|
||||
* @NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN: unknown network type
|
||||
* @NM_WIMAX_NSP_NETWORK_TYPE_HOME: home network
|
||||
* @NM_WIMAX_NSP_NETWORK_TYPE_PARTNER: partner network
|
||||
* @NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER: roaming partner network
|
||||
*
|
||||
* WiMAX network type.
|
||||
*/
|
||||
typedef enum {
|
||||
NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN = 0,
|
||||
NM_WIMAX_NSP_NETWORK_TYPE_HOME = 1,
|
||||
NM_WIMAX_NSP_NETWORK_TYPE_PARTNER = 2,
|
||||
NM_WIMAX_NSP_NETWORK_TYPE_ROAMING_PARTNER = 3
|
||||
} NMWimaxNspNetworkType;
|
||||
|
||||
struct _NMWimaxNsp {
|
||||
NMObject parent;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -17,10 +17,16 @@ XSLTPROC_MAN_FLAGS = \
|
|||
|
||||
if ENABLE_GTK_DOC
|
||||
|
||||
%.8: %.xml
|
||||
%.1: %.xml common.ent
|
||||
$(AM_V_GEN) xsltproc $(XSLTPROC_MAN_FLAGS) $<
|
||||
|
||||
%.5: %.xml
|
||||
%.5: %.xml common.ent
|
||||
$(AM_V_GEN) xsltproc $(XSLTPROC_MAN_FLAGS) $<
|
||||
|
||||
%.7: %.xml common.ent
|
||||
$(AM_V_GEN) xsltproc $(XSLTPROC_MAN_FLAGS) $<
|
||||
|
||||
%.8: %.xml common.ent
|
||||
$(AM_V_GEN) xsltproc $(XSLTPROC_MAN_FLAGS) $<
|
||||
|
||||
endif
|
||||
|
|
@ -38,25 +44,13 @@ NetworkManager.conf.xml: $(srcdir)/NetworkManager.conf.xml.in
|
|||
if BUILD_SETTING_DOCS
|
||||
|
||||
nm-settings.xml: nm-settings.xsl $(top_builddir)/libnm/nm-setting-docs.xml
|
||||
$(AM_V_GEN) xsltproc \
|
||||
--output $@ \
|
||||
--stringparam version $(NM_VERSION) \
|
||||
--stringparam date "`date +'%d %B %Y'`" \
|
||||
$^
|
||||
$(AM_V_GEN) xsltproc --output $@ $^
|
||||
|
||||
nm-settings-keyfile.xml: nm-settings-keyfile.xsl $(top_builddir)/libnm/nm-keyfile-docs.xml
|
||||
$(AM_V_GEN) xsltproc \
|
||||
--output $@ \
|
||||
--stringparam version $(NM_VERSION) \
|
||||
--stringparam date "`date +'%d %B %Y'`" \
|
||||
$^
|
||||
$(AM_V_GEN) xsltproc --output $@ $^
|
||||
|
||||
nm-settings-ifcfg-rh.xml: nm-settings-ifcfg-rh.xsl $(top_builddir)/libnm/nm-ifcfg-rh-docs.xml
|
||||
$(AM_V_GEN) xsltproc \
|
||||
--output $@ \
|
||||
--stringparam version $(NM_VERSION) \
|
||||
--stringparam date "`date +'%d %B %Y'`" \
|
||||
$^
|
||||
$(AM_V_GEN) xsltproc --output $@ $^
|
||||
|
||||
CLEANFILES += \
|
||||
nm-settings.xml \
|
||||
|
|
@ -65,63 +59,65 @@ CLEANFILES += \
|
|||
|
||||
endif
|
||||
|
||||
configure_generated_man_pages = \
|
||||
nmcli.1 \
|
||||
nmtui.1 \
|
||||
nm-online.1 \
|
||||
nm-system-settings.conf.5
|
||||
man_pages = \
|
||||
nmcli.1 \
|
||||
nmtui.1 \
|
||||
nm-online.1 \
|
||||
NetworkManager.conf.5 \
|
||||
nmcli-examples.7 \
|
||||
NetworkManager.8
|
||||
|
||||
docbook_generated_man_pages = \
|
||||
NetworkManager.8 \
|
||||
NetworkManager.conf.5 \
|
||||
nmcli-examples.5
|
||||
|
||||
docbook_autogenerated_man_pages = \
|
||||
nm-settings.5 \
|
||||
autogenerated_man_pages = \
|
||||
nm-settings.5 \
|
||||
nm-settings-keyfile.5
|
||||
|
||||
if CONFIG_PLUGIN_IFCFG_RH
|
||||
docbook_autogenerated_man_pages += nm-settings-ifcfg-rh.5
|
||||
autogenerated_man_pages += nm-settings-ifcfg-rh.5
|
||||
else
|
||||
EXTRA_DIST += nm-settings-ifcfg-rh.5
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
nm-settings.xml \
|
||||
nm-settings.xsl \
|
||||
nm-settings-keyfile.xml \
|
||||
nm-settings-keyfile.xsl \
|
||||
nm-settings-ifcfg-rh.xml \
|
||||
nm-settings-ifcfg-rh.xsl \
|
||||
$(addsuffix .xml,$(basename $(docbook_generated_man_pages))) \
|
||||
$(docbook_generated_man_pages) \
|
||||
$(docbook_autogenerated_man_pages)
|
||||
EXTRA_DIST += \
|
||||
nm-settings.xml \
|
||||
nm-settings.xsl \
|
||||
nm-settings-keyfile.xml \
|
||||
nm-settings-keyfile.xsl \
|
||||
nm-settings-ifcfg-rh.xml \
|
||||
nm-settings-ifcfg-rh.xsl \
|
||||
$(addsuffix .xml,$(basename $(man_pages))) \
|
||||
$(man_pages) \
|
||||
$(autogenerated_man_pages)
|
||||
|
||||
man_MANS += $(configure_generated_man_pages)
|
||||
|
||||
links = nmtui-edit nmtui-connect nmtui-hostname
|
||||
nmtui_links = nmtui-edit nmtui-connect nmtui-hostname
|
||||
NetworkManager_conf_links = nm-system-settings.conf
|
||||
|
||||
install-data-hook:
|
||||
for link in $(links); do \
|
||||
for link in $(nmtui_links); do \
|
||||
ln -f $(DESTDIR)$(mandir)/man1/nmtui.1 $(DESTDIR)$(mandir)/man1/$$link.1; \
|
||||
done
|
||||
for link in $(NetworkManager_conf_links); do \
|
||||
ln -f $(DESTDIR)$(mandir)/man5/NetworkManager.conf.5 $(DESTDIR)$(mandir)/man5/$$link.5; \
|
||||
done
|
||||
|
||||
uninstall-hook:
|
||||
for link in $(links); do \
|
||||
for link in $(nmtui_links); do \
|
||||
rm -f $(DESTDIR)$(mandir)/man1/$$link.1; \
|
||||
done
|
||||
for link in $(NetworkManager_conf_links); do \
|
||||
rm -f $(DESTDIR)$(mandir)/man5/$$link.5; \
|
||||
done
|
||||
|
||||
if ENABLE_GTK_DOC
|
||||
man_MANS += $(docbook_generated_man_pages)
|
||||
CLEANFILES += $(docbook_generated_man_pages)
|
||||
man_MANS += $(man_pages)
|
||||
CLEANFILES += $(man_pages)
|
||||
if SETTING_DOCS_AVAILABLE
|
||||
man_MANS += $(docbook_autogenerated_man_pages)
|
||||
CLEANFILES += $(docbook_autogenerated_man_pages)
|
||||
man_MANS += $(autogenerated_man_pages)
|
||||
CLEANFILES += $(autogenerated_man_pages)
|
||||
endif
|
||||
else
|
||||
if INSTALL_PREGEN_MANPAGES
|
||||
man_MANS += \
|
||||
$(docbook_generated_man_pages) \
|
||||
$(docbook_autogenerated_man_pages)
|
||||
$(man_pages) \
|
||||
$(autogenerated_man_pages)
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -1010,7 +1010,7 @@ interface-name:vboxnet*,except:interface-name:vboxnet2
|
|||
<para>
|
||||
<citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli-examples</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli-examples</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-online</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-settings</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-applet</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
<?xml version='1.0'?> <!--*-nxml-*-->
|
||||
<?xml version='1.0'?>
|
||||
<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
||||
<!ENTITY % entities SYSTEM "common.ent" >
|
||||
%entities;
|
||||
]>
|
||||
|
||||
<!--
|
||||
Copyright 2005 - 2014 Red Hat, Inc.
|
||||
|
|
@ -19,7 +22,7 @@
|
|||
<manvolnum>8</manvolnum>
|
||||
<refmiscinfo class="source">NetworkManager</refmiscinfo>
|
||||
<refmiscinfo class="manual">Network management daemons</refmiscinfo>
|
||||
<refmiscinfo class="version">1.2</refmiscinfo>
|
||||
<refmiscinfo class="version">&NM_VERSION;</refmiscinfo>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
|
|
@ -455,7 +458,7 @@
|
|||
<para>
|
||||
<citerefentry><refentrytitle>NetworkManager.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli-examples</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli-examples</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-online</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-settings</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-applet</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
|
|
|
|||
2
man/common.ent.in
Normal file
2
man/common.ent.in
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!ENTITY NM_VERSION "@NM_VERSION@">
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
.\" nm-online (1) manual page
|
||||
.\"
|
||||
.\" This is free documentation; 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 (at your option) any later version.
|
||||
.\"
|
||||
.\" The GNU General Public License's references to "object code"
|
||||
.\" and "executables" are to be interpreted as the output of any
|
||||
.\" document formatting or typesetting system, including
|
||||
.\" intermediate and printed output.
|
||||
.\"
|
||||
.\" This manual is distributed in the hope that it will be useful,
|
||||
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
.\" GNU General Public License for more details.
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public Licence along
|
||||
.\" with this manual; if not, write to the Free Software Foundation, Inc.,
|
||||
.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
.\"
|
||||
.\" Copyright (C) 2010 - 2014 Red Hat, Inc.
|
||||
.\"
|
||||
.TH NM-ONLINE "1" "2014-03-25" "NetworkManager 1.2"
|
||||
|
||||
.SH NAME
|
||||
nm-online \- ask NetworkManager whether the network is connected
|
||||
.SH SYNOPSIS
|
||||
.B nm-online
|
||||
.RI " [ " OPTIONS " ]
|
||||
|
||||
.SH DESCRIPTION
|
||||
.B nm-online
|
||||
is a utility to find out whether we are online. It is done by asking
|
||||
NetworkManager about its status. When run, \fInm\-online\fP waits until
|
||||
NetworkManager reports an active connection, or specified timeout expires. On
|
||||
exit, the returned status code should be checked (see the return codes below).
|
||||
.P
|
||||
By default NetworkManager waits for IPv4 dynamic addressing to complete but does
|
||||
not wait for the "auto" IPv6 dynamic addressing. To wait for IPv6 addressing to
|
||||
complete, either (1) change the network connection's IPv6 "may-fail" setting to "no",
|
||||
and/or (2) change the IPv6 addressing method to "manual" or "dhcp", to indicate that
|
||||
IPv6 connectivity is expected.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-t, \-\-timeout <timeout_value>
|
||||
Time to wait for a connection, in seconds. If the option is not provided,
|
||||
the default timeout is 30 seconds.
|
||||
.TP
|
||||
.B \-x, \-\-exit
|
||||
Exit immediately if NetworkManager is not running or connecting.
|
||||
.TP
|
||||
.B \-q, \-\-quiet
|
||||
Don't print anything.
|
||||
.TP
|
||||
.B \-s, \-\-wait-for-startup
|
||||
Wait for NetworkManager startup to complete, rather than waiting for
|
||||
network connectivity specifically. Startup is considered complete once
|
||||
NetworkManager has activated (or attempted to activate) every
|
||||
auto-activate connection which is available given the current network
|
||||
state. (This is generally only useful at boot time; after startup has
|
||||
completed, \fInm-online -s\fP will just return immediately, regardless
|
||||
of the current network state.)
|
||||
|
||||
.SH EXIT STATUS
|
||||
|
||||
.IP "0" 4
|
||||
Success - already online or connection established within given timeout
|
||||
.IP "1" 4
|
||||
Offline or not online within given timeout
|
||||
.IP "2" 4
|
||||
Unspecified error
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR nmcli (1),
|
||||
.BR NetworkManager(8).
|
||||
171
man/nm-online.xml
Normal file
171
man/nm-online.xml
Normal file
|
|
@ -0,0 +1,171 @@
|
|||
<?xml version='1.0'?>
|
||||
<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
||||
<!ENTITY % entities SYSTEM "common.ent" >
|
||||
%entities;
|
||||
]>
|
||||
|
||||
<!--
|
||||
nm-online(1) manual page
|
||||
|
||||
This is free documentation; 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 (at your option) any later version.
|
||||
|
||||
The GNU General Public License's references to "object code"
|
||||
and "executables" are to be interpreted as the output of any
|
||||
document formatting or typesetting system, including
|
||||
intermediate and printed output.
|
||||
|
||||
This manual is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public Licence along
|
||||
with this manual; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
Copyright 2010 - 2016 Red Hat, Inc.
|
||||
-->
|
||||
|
||||
<refentry id='nm-online'>
|
||||
|
||||
<refentryinfo>
|
||||
<title>nm-online</title>
|
||||
<author>NetworkManager developers</author>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
<refentrytitle>nm-online</refentrytitle>
|
||||
<manvolnum>1</manvolnum>
|
||||
<refmiscinfo class="source">NetworkManager</refmiscinfo>
|
||||
<refmiscinfo class="manual">General Commands Manual</refmiscinfo>
|
||||
<refmiscinfo class="version">&NM_VERSION;</refmiscinfo>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>nm-online</refname>
|
||||
<refpurpose>ask NetworkManager whether the network is connected</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv id='synopsis'>
|
||||
<cmdsynopsis>
|
||||
<command>nm-online</command>
|
||||
<arg choice="opt" rep="repeat"><replaceable>OPTIONS</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 id='description'><title>Description</title>
|
||||
<para><command>nm-online</command> is a utility to find out whether we are
|
||||
online. It is done by asking NetworkManager about its status. When run,
|
||||
<command>nm-online</command> waits until NetworkManager reports an active
|
||||
connection, or specified timeout expires. On exit, the returned status code
|
||||
should be checked (see the return codes below).</para>
|
||||
|
||||
<para>By default NetworkManager waits for IPv4 dynamic addressing to complete
|
||||
but does not wait for the <literal>auto</literal> IPv6 dynamic addressing. To
|
||||
wait for IPv6 addressing to complete, either (1) change the network
|
||||
connection's IPv6 <literal>may-fail</literal> setting to <literal>no</literal>,
|
||||
and/or (2) change the IPv6 addressing method to <literal>manual</literal> or
|
||||
<literal>dhcp</literal>, to indicate that IPv6 connectivity is expected.</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='options'><title>Options</title>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<group choice='plain'>
|
||||
<arg choice='plain'><option>-t</option></arg>
|
||||
<arg choice='plain'><option>--timeout</option></arg>
|
||||
</group>
|
||||
<arg choice='plain'><replaceable>seconds</replaceable></arg>
|
||||
</term>
|
||||
|
||||
<listitem>
|
||||
<para>Time to wait for a connection, in seconds. If the option is not provided,
|
||||
the default timeout is 30 seconds.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
||||
<varlistentry>
|
||||
<term><group choice='plain'>
|
||||
<arg choice='plain'><option>-x</option></arg>
|
||||
<arg choice='plain'><option>--exit</option></arg>
|
||||
</group></term>
|
||||
|
||||
<listitem>
|
||||
<para>Exit immediately if NetworkManager is not running or connecting.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><group choice='plain'>
|
||||
<arg choice='plain'><option>-q</option></arg>
|
||||
<arg choice='plain'><option>--quiet</option></arg>
|
||||
</group></term>
|
||||
|
||||
<listitem>
|
||||
<para>Don't print anything.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><group choice='plain'>
|
||||
<arg choice='plain'><option>-s</option></arg>
|
||||
<arg choice='plain'><option>--wait-for-startup</option></arg>
|
||||
</group></term>
|
||||
|
||||
<listitem>
|
||||
<para>Wait for NetworkManager startup to complete, rather than waiting for
|
||||
network connectivity specifically. Startup is considered complete once
|
||||
NetworkManager has activated (or attempted to activate) every auto-activate
|
||||
connection which is available given the current network state. (This is
|
||||
generally only useful at boot time; after startup has completed,
|
||||
<command>nm-online -s</command> will just return immediately, regardless of the
|
||||
current network state.)</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='exit_status'><title>Exit Status</title>
|
||||
|
||||
<para><command>nm-online</command> exits with status 0 if it succeeds, a value
|
||||
greater than 0 is returned if an error occurs.</para>
|
||||
|
||||
<variablelist spacing='compact' termlength='3'>
|
||||
<varlistentry>
|
||||
<term><errorcode>0</errorcode></term>
|
||||
<listitem>
|
||||
<para>Success – already online or connection established within given timeout.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><errorcode>1</errorcode></term>
|
||||
<listitem>
|
||||
<para>Offline or not online within given timeout.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><errorcode>2</errorcode></term>
|
||||
<listitem>
|
||||
<para>Unknown or unspecified error.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='see_also'><title>See Also</title>
|
||||
<para><citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
|
@ -1,4 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE stylesheet [
|
||||
<!ENTITY % entities SYSTEM "common.ent" >
|
||||
%entities;
|
||||
]>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
|
|
@ -12,28 +16,25 @@
|
|||
doctype-system="http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
|
||||
/>
|
||||
|
||||
<xsl:param name="date"/>
|
||||
<xsl:param name="version"/>
|
||||
|
||||
<xsl:template match="nm-ifcfg-rh-docs">
|
||||
<xsl:variable name="unsupported" select="'adsl, bluetooth, ppp, pppoe, serial, generic, gsm, cdma, 802-11-olpc-mesh, wimax, vpn'"/>
|
||||
<refentry id="nm-settings-ifcfg-rh">
|
||||
<refentryinfo>
|
||||
<date><xsl:value-of select="$date"/></date>
|
||||
<title>nm-settings-ifcfg-rh</title>
|
||||
<author>NetworkManager developers</author>
|
||||
</refentryinfo>
|
||||
<refmeta>
|
||||
<refentrytitle>nm-settings-ifcfg-rh</refentrytitle>
|
||||
<manvolnum>5</manvolnum>
|
||||
<refmiscinfo class="source">NetworkManager</refmiscinfo>
|
||||
<refmiscinfo class="manual">Configuration</refmiscinfo>
|
||||
<refmiscinfo class="version"><xsl:value-of select="$version"/></refmiscinfo>
|
||||
<refmiscinfo class="version">&NM_VERSION;</refmiscinfo>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>nm-settings-ifcfg-rh</refname>
|
||||
<refpurpose>Description of <emphasis>ifcfg-rh</emphasis> settings plugin</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>DESCRIPTION</title>
|
||||
<refsect1 id='description'><title>Description</title>
|
||||
<para>
|
||||
NetworkManager is based on the concept of connection profiles that contain
|
||||
network configuration (see <citerefentry><refentrytitle>nm-settings</refentrytitle>
|
||||
|
|
@ -58,8 +59,7 @@
|
|||
(initscripts).
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>File Format</title>
|
||||
<refsect1 id='file_format'><title>File Format</title>
|
||||
<para>
|
||||
The <emphasis>ifcfg-rh</emphasis> config format is a simple text file containing
|
||||
VARIABLE="value" lines. The format is described in <filename>sysconfig.txt</filename>
|
||||
|
|
@ -205,8 +205,7 @@ DEVICETYPE=TeamPort
|
|||
</formalpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>Differences against initscripts</title>
|
||||
<refsect1 id='differences_against_initscripts'><title>Differences against initscripts</title>
|
||||
<para>
|
||||
The main differences of NetworkManager ifcfg-rh plugin and traditional
|
||||
initscripts are:
|
||||
|
|
@ -270,8 +269,7 @@ DEVICETYPE=TeamPort
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>DETAILS</title>
|
||||
<refsect1 id='details'><title>Details</title>
|
||||
<para>
|
||||
<emphasis>ifcfg-rh</emphasis> plugin variables marked with <emphasis>(+)</emphasis>
|
||||
are NetworkManager specific extensions not understood by traditional initscripts.
|
||||
|
|
@ -305,26 +303,20 @@ DEVICETYPE=TeamPort
|
|||
</refsect2>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>AUTHOR</title>
|
||||
<para>
|
||||
<author>
|
||||
<firstname>NetworkManager developers</firstname>
|
||||
</author>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>FILES</title>
|
||||
<refsect1 id='files'><title>Files</title>
|
||||
<para><filename>/etc/sysconfig/network-scripts/ifcfg-*</filename></para>
|
||||
<para><filename>/etc/sysconfig/network-scripts/keys-*</filename></para>
|
||||
<para><filename>/etc/sysconfig/network-scripts/route-*</filename></para>
|
||||
<para><filename>/etc/sysconfig/network-scripts/route6-*</filename></para>
|
||||
<para><filename>/usr/share/doc/initscripts/sysconfig.txt</filename></para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>SEE ALSO</title>
|
||||
<para>https://developer.gnome.org/NetworkManager/unstable/ref-settings.html</para>
|
||||
<para>nm-settings(5), nm-settings-keyfile(5), NetworkManager(8), NetworkManager.conf(5), nmcli(1), nmcli-examples(5)</para>
|
||||
<refsect1 id='see_also'><title>See Also</title>
|
||||
<para><citerefentry><refentrytitle>nm-settings</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-settings-keyfile</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>NetworkManager.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli-examples</refentrytitle><manvolnum>7</manvolnum></citerefentry></para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
</xsl:template>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE stylesheet [
|
||||
<!ENTITY % entities SYSTEM "common.ent" >
|
||||
%entities;
|
||||
]>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
|
|
@ -8,27 +12,24 @@
|
|||
doctype-system="http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
|
||||
/>
|
||||
|
||||
<xsl:param name="date"/>
|
||||
<xsl:param name="version"/>
|
||||
|
||||
<xsl:template match="nm-keyfile-docs">
|
||||
<refentry id="nm-settings-keyfile">
|
||||
<refentryinfo>
|
||||
<date><xsl:value-of select="$date"/></date>
|
||||
<title>nm-settings-keyfile</title>
|
||||
<author>NetworkManager developers</author>
|
||||
</refentryinfo>
|
||||
<refmeta>
|
||||
<refentrytitle>nm-settings-keyfile</refentrytitle>
|
||||
<manvolnum>5</manvolnum>
|
||||
<refmiscinfo class="source">NetworkManager</refmiscinfo>
|
||||
<refmiscinfo class="manual">Configuration</refmiscinfo>
|
||||
<refmiscinfo class="version"><xsl:value-of select="$version"/></refmiscinfo>
|
||||
<refmiscinfo class="version">&NM_VERSION;</refmiscinfo>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>nm-settings-keyfile</refname>
|
||||
<refpurpose>Description of <emphasis>keyfile</emphasis> settings plugin</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>DESCRIPTION</title>
|
||||
<refsect1 id='description'><title>Description</title>
|
||||
<para>
|
||||
NetworkManager is based on the concept of connection profiles that contain
|
||||
network configuration (see <citerefentry><refentrytitle>nm-settings</refentrytitle>
|
||||
|
|
@ -48,8 +49,7 @@
|
|||
in plaintext inside the file.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>File Format</title>
|
||||
<refsect1 id='file_format'><title>File Format</title>
|
||||
<para>
|
||||
The <emphasis>keyfile</emphasis> config format is a simple .ini-style
|
||||
format. It consists of sections (groups) of key-value pairs. Each section
|
||||
|
|
@ -187,8 +187,7 @@ id=4
|
|||
</formalpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>DETAILS</title>
|
||||
<refsect1 id='details'><title>Details</title>
|
||||
<para>
|
||||
<emphasis>keyfile</emphasis> plugin variables for the majority of NetworkManager
|
||||
properties have one-to-one mapping. It means a NetworkManager property is stored
|
||||
|
|
@ -242,22 +241,17 @@ id=4
|
|||
</refsect2>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>AUTHOR</title>
|
||||
<para>
|
||||
<author>
|
||||
<firstname>NetworkManager developers</firstname>
|
||||
</author>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>FILES</title>
|
||||
<refsect1 id='files'><title>Files</title>
|
||||
<para><filename>/etc/NetworkManager/system-connections/*</filename></para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>SEE ALSO</title>
|
||||
<para>https://developer.gnome.org/NetworkManager/unstable/ref-settings.html</para>
|
||||
<para>nm-settings(5), nm-settings-ifcfg-rh(5), NetworkManager(8), NetworkManager.conf(5), nmcli(1), nmcli-examples(5)</para>
|
||||
|
||||
<refsect1 id='see_also'><title>See Also</title>
|
||||
<para><citerefentry><refentrytitle>nm-settings</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-settings-ifcfg-rh</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>NetworkManager.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli-examples</refentrytitle><manvolnum>7</manvolnum></citerefentry></para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
</xsl:template>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE stylesheet [
|
||||
<!ENTITY % entities SYSTEM "common.ent" >
|
||||
%entities;
|
||||
]>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
|
|
@ -8,27 +12,25 @@
|
|||
doctype-system="http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
|
||||
/>
|
||||
|
||||
<xsl:param name="date"/>
|
||||
<xsl:param name="version"/>
|
||||
|
||||
<xsl:template match="nm-setting-docs">
|
||||
<refentry id="nm-settings">
|
||||
<refentryinfo>
|
||||
<date><xsl:value-of select="$date"/></date>
|
||||
<title>nm-settings</title>
|
||||
<author>NetworkManager developers</author>
|
||||
</refentryinfo>
|
||||
<refmeta>
|
||||
<refentrytitle>nm-settings</refentrytitle>
|
||||
<manvolnum>5</manvolnum>
|
||||
<refmiscinfo class="source">NetworkManager</refmiscinfo>
|
||||
<refmiscinfo class="manual">Configuration</refmiscinfo>
|
||||
<refmiscinfo class="version"><xsl:value-of select="$version"/></refmiscinfo>
|
||||
<refmiscinfo class="version">&NM_VERSION;</refmiscinfo>
|
||||
</refmeta>
|
||||
<refnamediv>
|
||||
<refname>nm-settings</refname>
|
||||
<refpurpose>Description of settings and properties of NetworkManager connection profiles</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>DESCRIPTION</title>
|
||||
|
||||
<refsect1 id='description'><title>Description</title>
|
||||
<para>
|
||||
NetworkManager is based on a concept of connection profiles, sometimes referred to as
|
||||
connections only. These connection profiles contain a network configuration. When
|
||||
|
|
@ -109,23 +111,16 @@
|
|||
</itemizedlist>
|
||||
</refsect2>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>AUTHOR</title>
|
||||
<para>
|
||||
<author>
|
||||
<firstname>NetworkManager developers</firstname>
|
||||
</author>
|
||||
</para>
|
||||
|
||||
<refsect1 id='files'><title>Files</title>
|
||||
<para><filename>/etc/NetworkManager/system-connections</filename> or distro plugin-specific location</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>FILES</title>
|
||||
<para>/etc/NetworkManager/system-connections</para>
|
||||
<para>or distro plugin-specific location</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>SEE ALSO</title>
|
||||
<para>https://wiki.gnome.org/Projects/NetworkManager/ConfigurationSpecification</para>
|
||||
<para>NetworkManager(8), nmcli(1), nmcli-examples(5), NetworkManager.conf(5)</para>
|
||||
|
||||
<refsect1 id='see_also'><title>See Also</title>
|
||||
<para><citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nmcli-examples</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>NetworkManager.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry></para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
</xsl:template>
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
.\" nm-system-settings.conf(5) manual page
|
||||
.\"
|
||||
.\" Copyright (C) 2010 Red Hat, Inc.
|
||||
.\"
|
||||
.TH "nm-system-settings.conf" "5" "1 February 2010" ""
|
||||
.SH NAME
|
||||
nm\-system\-settings.conf \- Deprecated NetworkManager configuration file
|
||||
.SH SYNOPSIS
|
||||
/etc/NetworkManager/nm\-system\-settings.conf
|
||||
.br
|
||||
or
|
||||
.br
|
||||
\fI<SYSCONFDIR>\fP/NetworkManager/nm\-system\-settings.conf
|
||||
.br
|
||||
where <SYSCONFDIR> depends on your distribution or build.
|
||||
.SH DESCRIPTION
|
||||
.P
|
||||
.I nm\-system\-settings.conf
|
||||
is a deprecated configuration file for \fBNetworkManager\fP (5). While this
|
||||
file can still be used, NetworkManager now defaults to reading the config
|
||||
file <SYSCONFDIR>\fP/NetworkManager/NetworkManager.conf\fP instead, falling back
|
||||
to nm\-system\-settings.conf if NetworkManager.conf does not exist.
|
||||
.SH "SEE ALSO"
|
||||
.BR NetworkManager (8),
|
||||
.BR NetworkManager.conf (5).
|
||||
|
|
@ -1,6 +1,10 @@
|
|||
<?xml version='1.0'?> <!--*-nxml-*-->
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
|
||||
<?xml version='1.0'?>
|
||||
<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
||||
<!ENTITY % entities SYSTEM "common.ent" >
|
||||
%entities;
|
||||
]>
|
||||
|
||||
<!--
|
||||
Copyright 2013 - 2014 Red Hat, Inc.
|
||||
|
|
@ -9,16 +13,15 @@ Copyright 2013 - 2014 Red Hat, Inc.
|
|||
<refentry id="nmcli-examples">
|
||||
<refentryinfo>
|
||||
<title>nmcli-examples</title>
|
||||
<date>19 November 2014</date>
|
||||
<author>NetworkManager developers</author>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
<refentrytitle>nmcli-examples</refentrytitle>
|
||||
<manvolnum>5</manvolnum>
|
||||
<manvolnum>7</manvolnum>
|
||||
<refmiscinfo class="source">NetworkManager</refmiscinfo>
|
||||
<refmiscinfo class="manual">Examples</refmiscinfo>
|
||||
<refmiscinfo class="version">1.2</refmiscinfo>
|
||||
<refmiscinfo class="version">&NM_VERSION;</refmiscinfo>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
|
|
|
|||
1282
man/nmcli.1.in
1282
man/nmcli.1.in
File diff suppressed because it is too large
Load diff
3116
man/nmcli.xml
Normal file
3116
man/nmcli.xml
Normal file
File diff suppressed because it is too large
Load diff
137
man/nmtui.xml
Normal file
137
man/nmtui.xml
Normal file
|
|
@ -0,0 +1,137 @@
|
|||
<?xml version='1.0'?>
|
||||
<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
|
||||
<!ENTITY % entities SYSTEM "common.ent" >
|
||||
%entities;
|
||||
]>
|
||||
|
||||
<!--
|
||||
nmtui(1) manual page
|
||||
|
||||
This is free documentation; 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 (at your option) any later version.
|
||||
|
||||
The GNU General Public License's references to "object code"
|
||||
and "executables" are to be interpreted as the output of any
|
||||
document formatting or typesetting system, including
|
||||
intermediate and printed output.
|
||||
|
||||
This manual is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public Licence along
|
||||
with this manual; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
Copyright 2010 - 2016 Red Hat, Inc.
|
||||
-->
|
||||
|
||||
<refentry id='nmtui'>
|
||||
|
||||
<refentryinfo>
|
||||
<title>nmtui</title>
|
||||
<author>NetworkManager developers</author>
|
||||
</refentryinfo>
|
||||
|
||||
<refmeta>
|
||||
<refentrytitle>nmtui</refentrytitle>
|
||||
<manvolnum>1</manvolnum>
|
||||
<refmiscinfo class="source">NetworkManager</refmiscinfo>
|
||||
<refmiscinfo class="manual">General Commands Manual</refmiscinfo>
|
||||
<refmiscinfo class="version">&NM_VERSION;</refmiscinfo>
|
||||
</refmeta>
|
||||
|
||||
<refnamediv>
|
||||
<refname>nmtui</refname>
|
||||
<refpurpose>Text User Interface for controlling NetworkManager</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv id='synopsis'>
|
||||
<cmdsynopsis>
|
||||
<command><group choice='plain'>
|
||||
<arg choice='plain'>nmtui-edit</arg>
|
||||
<arg choice='plain'>nmtui edit</arg>
|
||||
</group></command>
|
||||
<arg choice='plain'>
|
||||
<group choice='req'>
|
||||
<arg choice='plain'><replaceable>name</replaceable></arg>
|
||||
<arg choice='plain'><replaceable>id</replaceable></arg>
|
||||
</group>
|
||||
</arg>
|
||||
</cmdsynopsis>
|
||||
<cmdsynopsis>
|
||||
<command><group choice='plain'>
|
||||
<arg choice='plain'>nmtui-connect</arg>
|
||||
<arg choice='plain'>nmtui connect</arg>
|
||||
</group></command>
|
||||
<arg choice='plain'>
|
||||
<group choice='req'>
|
||||
<arg choice='plain'><replaceable>name</replaceable></arg>
|
||||
<arg choice='plain'><replaceable>uuid</replaceable></arg>
|
||||
<arg choice='plain'><replaceable>device</replaceable></arg>
|
||||
<arg choice='plain'><replaceable>SSID</replaceable></arg>
|
||||
</group>
|
||||
</arg>
|
||||
</cmdsynopsis>
|
||||
<cmdsynopsis>
|
||||
<command><group choice='plain'>
|
||||
<arg choice='plain'>nmtui-hostname</arg>
|
||||
<arg choice='plain'>nmtui hostname</arg>
|
||||
</group></command>
|
||||
</cmdsynopsis>
|
||||
</refsynopsisdiv>
|
||||
|
||||
<refsect1 id='description'><title>Description</title>
|
||||
<para><command>nmtui</command> is a curses‐based TUI application for
|
||||
interacting with NetworkManager. When starting <command>nmtui</command>, the
|
||||
user is prompted to choose the activity to perform unless it was specified as
|
||||
the first argument.</para>
|
||||
|
||||
<para>The supported activities are:</para>
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><option>edit</option></term>
|
||||
<listitem>
|
||||
<para>Show a connection editor that supports adding, modifying, viewing and
|
||||
deleting connections. It provides similar functionality as
|
||||
<command>nm-connection-editor</command>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>connect</option></term>
|
||||
<listitem>
|
||||
<para>Show a list of available connections, with the option to activate or
|
||||
deactivate them. It provides similar functionality as
|
||||
<command>nm-applet</command>.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>hostname</option></term>
|
||||
<listitem>
|
||||
<para>Set the system hostname.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
<para>Corresponding to above activities, <command>nmtui</command> also comes
|
||||
with binaries named <command>nmtui-edit</command>,
|
||||
<command>nmtui-connect</command>, and <command>nmtui-hostname</command> to skip
|
||||
the selection of the activities.</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='see_also'><title>See Also</title>
|
||||
<para><citerefentry><refentrytitle>nmcli</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-applet</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>nm-connection-editor</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
|
||||
<citerefentry><refentrytitle>NetworkManager</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
|
@ -1,30 +1,26 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<node name="/">
|
||||
|
||||
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
|
||||
<interface name="com.redhat.ifcfgrh1">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Utility methods for handling NM integration with standard Red Hat ifcfg files.
|
||||
" />
|
||||
<!--
|
||||
com.redhat.ifcfgrh1:
|
||||
|
||||
<method name="GetIfcfgDetails">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
Given an ifcfg file, return various internal information about it.
|
||||
" />
|
||||
<arg name="ifcfg" type="s" direction="in">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The full path to an ifcfg file.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="uuid" type="s" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The UUID of the NM connection backed by this ifcfg file. If the ifcfg file does not contain a UUID tag, this UUID is generated by NM, otherwise the UUID from the ifcfg file is used.
|
||||
" />
|
||||
</arg>
|
||||
<arg name="path" type="o" direction="out">
|
||||
<annotation name="org.gtk.GDBus.DocString" value="
|
||||
The object path of the NM connected backed by this ifcfg file.
|
||||
" />
|
||||
</arg>
|
||||
</method>
|
||||
</interface>
|
||||
Utility methods for handling NM integration with standard Red Hat ifcfg
|
||||
files.
|
||||
-->
|
||||
<interface name="com.redhat.ifcfgrh1">
|
||||
|
||||
<!--
|
||||
GetIfcfgDetails:
|
||||
@ifcfg: The full path to an ifcfg file.
|
||||
@uuid: The UUID of the NM connection backed by this ifcfg file. If the ifcfg file does not contain a UUID tag, this UUID is generated by NM, otherwise the UUID from the ifcfg file is used.
|
||||
@path: The object path of the NM connected backed by this ifcfg file.
|
||||
|
||||
Given an ifcfg file, return various internal information about it.
|
||||
-->
|
||||
<method name="GetIfcfgDetails">
|
||||
<arg name="ifcfg" type="s" direction="in"/>
|
||||
<arg name="uuid" type="s" direction="out"/>
|
||||
<arg name="path" type="o" direction="out"/>
|
||||
</method>
|
||||
</interface>
|
||||
</node>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue