From d9c99a29a0d3384c9c3d2adce430f5cb1134ab6a Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 30 Mar 2016 00:56:30 +0200 Subject: Imported Upstream version 1.1.92 --- introspection/Makefile.am | 43 +- introspection/Makefile.in | 54 +- introspection/errors.xml | 12 +- introspection/generic-types.xml | 26 +- introspection/nm-access-point.xml | 60 +-- introspection/nm-active-connection.xml | 90 ++-- introspection/nm-agent-manager.xml | 26 +- introspection/nm-device-adsl.xml | 8 +- introspection/nm-device-bond.xml | 16 +- introspection/nm-device-bridge.xml | 16 +- introspection/nm-device-bt.xml | 26 +- introspection/nm-device-ethernet.xml | 24 +- introspection/nm-device-generic.xml | 12 +- introspection/nm-device-infiniband.xml | 12 +- introspection/nm-device-ip-tunnel.xml | 48 +- introspection/nm-device-macvlan.xml | 22 +- introspection/nm-device-modem.xml | 34 +- introspection/nm-device-olpc-mesh.xml | 20 +- introspection/nm-device-team.xml | 16 +- introspection/nm-device-tun.xml | 40 +- introspection/nm-device-veth.xml | 8 +- introspection/nm-device-vlan.xml | 20 +- introspection/nm-device-vxlan.xml | 72 +-- introspection/nm-device-wifi.xml | 112 ++--- introspection/nm-device-wimax.xml | 64 +-- introspection/nm-device.xml | 556 ++++++++++----------- introspection/nm-dhcp4-config.xml | 10 +- introspection/nm-dhcp6-config.xml | 10 +- introspection/nm-ip4-config.xml | 42 +- introspection/nm-ip6-config.xml | 42 +- introspection/nm-manager.xml | 354 ++++++------- introspection/nm-secret-agent.xml | 122 ++--- introspection/nm-settings-connection.xml | 70 +-- introspection/nm-settings.xml | 118 ++--- introspection/nm-vpn-connection.xml | 104 ++-- introspection/nm-vpn-plugin.xml | 184 +++---- introspection/nm-wimax-nsp.xml | 22 +- ...-org.freedesktop.NetworkManager.AccessPoint.xml | 134 +++++ ...reedesktop.NetworkManager.Connection.Active.xml | 179 +++++++ ...org.freedesktop.NetworkManager.AgentManager.xml | 66 +++ ...-org.freedesktop.NetworkManager.Device.Adsl.xml | 53 ++ ...-org.freedesktop.NetworkManager.Device.Bond.xml | 71 +++ ...rg.freedesktop.NetworkManager.Device.Bridge.xml | 71 +++ ...freedesktop.NetworkManager.Device.Bluetooth.xml | 71 +++ ...org.freedesktop.NetworkManager.Device.Wired.xml | 89 ++++ ...g.freedesktop.NetworkManager.Device.Generic.xml | 62 +++ ...reedesktop.NetworkManager.Device.Infiniband.xml | 62 +++ ....freedesktop.NetworkManager.Device.IPTunnel.xml | 143 ++++++ ...g.freedesktop.NetworkManager.Device.Macvlan.xml | 80 +++ ...org.freedesktop.NetworkManager.Device.Modem.xml | 62 +++ ....freedesktop.NetworkManager.Device.OlpcMesh.xml | 71 +++ ...evice-org.freedesktop.NetworkManager.Device.xml | 370 ++++++++++++++ ...-org.freedesktop.NetworkManager.Device.Team.xml | 71 +++ ...n-org.freedesktop.NetworkManager.Device.Tun.xml | 107 ++++ ...-org.freedesktop.NetworkManager.Device.Veth.xml | 53 ++ ...-org.freedesktop.NetworkManager.Device.Vlan.xml | 80 +++ ...org.freedesktop.NetworkManager.Device.Vxlan.xml | 197 ++++++++ ....freedesktop.NetworkManager.Device.Wireless.xml | 190 +++++++ ...org.freedesktop.NetworkManager.Device.WiMax.xml | 169 +++++++ ...-org.freedesktop.NetworkManager.DHCP4Config.xml | 53 ++ ...-org.freedesktop.NetworkManager.DHCP6Config.xml | 53 ++ ...ig-org.freedesktop.NetworkManager.IP4Config.xml | 134 +++++ ...ig-org.freedesktop.NetworkManager.IP6Config.xml | 125 +++++ ...dbus-manager-org.freedesktop.NetworkManager.xml | 532 ++++++++++++++++++++ ...-manager-org.freedesktop.NetworkManager.PPP.xml | 87 ++++ ...-org.freedesktop.NetworkManager.SecretAgent.xml | 129 +++++ ...edesktop.NetworkManager.Settings.Connection.xml | 172 +++++++ ...ngs-org.freedesktop.NetworkManager.Settings.xml | 244 +++++++++ ...g.freedesktop.NetworkManager.VPN.Connection.xml | 83 +++ ...n-org.freedesktop.NetworkManager.VPN.Plugin.xml | 298 +++++++++++ introspection/vpn-errors.xml | 38 +- 71 files changed, 5680 insertions(+), 1234 deletions(-) create mode 100644 introspection/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml create mode 100644 introspection/nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml create mode 100644 introspection/nmdbus-agent-manager-org.freedesktop.NetworkManager.AgentManager.xml create mode 100644 introspection/nmdbus-device-adsl-org.freedesktop.NetworkManager.Device.Adsl.xml create mode 100644 introspection/nmdbus-device-bond-org.freedesktop.NetworkManager.Device.Bond.xml create mode 100644 introspection/nmdbus-device-bridge-org.freedesktop.NetworkManager.Device.Bridge.xml create mode 100644 introspection/nmdbus-device-bt-org.freedesktop.NetworkManager.Device.Bluetooth.xml create mode 100644 introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml create mode 100644 introspection/nmdbus-device-generic-org.freedesktop.NetworkManager.Device.Generic.xml create mode 100644 introspection/nmdbus-device-infiniband-org.freedesktop.NetworkManager.Device.Infiniband.xml create mode 100644 introspection/nmdbus-device-ip-tunnel-org.freedesktop.NetworkManager.Device.IPTunnel.xml create mode 100644 introspection/nmdbus-device-macvlan-org.freedesktop.NetworkManager.Device.Macvlan.xml create mode 100644 introspection/nmdbus-device-modem-org.freedesktop.NetworkManager.Device.Modem.xml create mode 100644 introspection/nmdbus-device-olpc-mesh-org.freedesktop.NetworkManager.Device.OlpcMesh.xml create mode 100644 introspection/nmdbus-device-org.freedesktop.NetworkManager.Device.xml create mode 100644 introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml create mode 100644 introspection/nmdbus-device-tun-org.freedesktop.NetworkManager.Device.Tun.xml create mode 100644 introspection/nmdbus-device-veth-org.freedesktop.NetworkManager.Device.Veth.xml create mode 100644 introspection/nmdbus-device-vlan-org.freedesktop.NetworkManager.Device.Vlan.xml create mode 100644 introspection/nmdbus-device-vxlan-org.freedesktop.NetworkManager.Device.Vxlan.xml create mode 100644 introspection/nmdbus-device-wifi-org.freedesktop.NetworkManager.Device.Wireless.xml create mode 100644 introspection/nmdbus-device-wimax-org.freedesktop.NetworkManager.Device.WiMax.xml create mode 100644 introspection/nmdbus-dhcp4-config-org.freedesktop.NetworkManager.DHCP4Config.xml create mode 100644 introspection/nmdbus-dhcp6-config-org.freedesktop.NetworkManager.DHCP6Config.xml create mode 100644 introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml create mode 100644 introspection/nmdbus-ip6-config-org.freedesktop.NetworkManager.IP6Config.xml create mode 100644 introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml create mode 100644 introspection/nmdbus-ppp-manager-org.freedesktop.NetworkManager.PPP.xml create mode 100644 introspection/nmdbus-secret-agent-org.freedesktop.NetworkManager.SecretAgent.xml create mode 100644 introspection/nmdbus-settings-connection-org.freedesktop.NetworkManager.Settings.Connection.xml create mode 100644 introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml create mode 100644 introspection/nmdbus-vpn-connection-org.freedesktop.NetworkManager.VPN.Connection.xml create mode 100644 introspection/nmdbus-vpn-plugin-org.freedesktop.NetworkManager.VPN.Plugin.xml (limited to 'introspection') diff --git a/introspection/Makefile.am b/introspection/Makefile.am index 735921d3..4d2e1298 100644 --- a/introspection/Makefile.am +++ b/introspection/Makefile.am @@ -78,21 +78,62 @@ nodist_libnmdbus_la_SOURCES = \ nmdbus-vpn-plugin.c \ nmdbus-vpn-plugin.h +DBUS_INTERFACE_DOCS = \ + nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml \ + nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml \ + nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml \ + nmdbus-dhcp6-config-org.freedesktop.NetworkManager.DHCP6Config.xml \ + nmdbus-device-wifi-org.freedesktop.NetworkManager.Device.Wireless.xml \ + nmdbus-manager-org.freedesktop.NetworkManager.xml \ + nmdbus-vpn-connection-org.freedesktop.NetworkManager.VPN.Connection.xml \ + nmdbus-secret-agent-org.freedesktop.NetworkManager.SecretAgent.xml \ + nmdbus-device-org.freedesktop.NetworkManager.Device.xml \ + nmdbus-vpn-plugin-org.freedesktop.NetworkManager.VPN.Plugin.xml \ + nmdbus-device-bt-org.freedesktop.NetworkManager.Device.Bluetooth.xml \ + nmdbus-device-vxlan-org.freedesktop.NetworkManager.Device.Vxlan.xml \ + nmdbus-settings-connection-org.freedesktop.NetworkManager.Settings.Connection.xml \ + nmdbus-device-bond-org.freedesktop.NetworkManager.Device.Bond.xml \ + nmdbus-device-macvlan-org.freedesktop.NetworkManager.Device.Macvlan.xml \ + nmdbus-ppp-manager-org.freedesktop.NetworkManager.PPP.xml \ + nmdbus-device-vlan-org.freedesktop.NetworkManager.Device.Vlan.xml \ + nmdbus-device-adsl-org.freedesktop.NetworkManager.Device.Adsl.xml \ + nmdbus-agent-manager-org.freedesktop.NetworkManager.AgentManager.xml \ + nmdbus-device-wimax-org.freedesktop.NetworkManager.Device.WiMax.xml \ + nmdbus-device-ip-tunnel-org.freedesktop.NetworkManager.Device.IPTunnel.xml \ + nmdbus-device-tun-org.freedesktop.NetworkManager.Device.Tun.xml \ + nmdbus-device-bridge-org.freedesktop.NetworkManager.Device.Bridge.xml \ + nmdbus-device-olpc-mesh-org.freedesktop.NetworkManager.Device.OlpcMesh.xml \ + nmdbus-dhcp4-config-org.freedesktop.NetworkManager.DHCP4Config.xml \ + nmdbus-device-generic-org.freedesktop.NetworkManager.Device.Generic.xml \ + nmdbus-device-infiniband-org.freedesktop.NetworkManager.Device.Infiniband.xml \ + nmdbus-device-modem-org.freedesktop.NetworkManager.Device.Modem.xml \ + nmdbus-ip6-config-org.freedesktop.NetworkManager.IP6Config.xml \ + nmdbus-device-veth-org.freedesktop.NetworkManager.Device.Veth.xml \ + nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml \ + nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml \ + nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml + define _make_nmdbus_rule $(1): $(patsubst nmdbus-%.c,nm-%.xml,$(1)) $$(AM_V_GEN) gdbus-codegen \ --generate-c-code $$(basename $$@) \ + --generate-docbook $$(basename $$@) \ --c-namespace NMDBus \ --interface-prefix org.freedesktop.NetworkManager \ $$< +$(filter $(basename $(1))-org.freedesktop.NetworkManager.%,$(DBUS_INTERFACE_DOCS)): $(1) + @true + $(basename $(1)).h: $(1) @true endef $(foreach f,$(filter %.c,$(nodist_libnmdbus_la_SOURCES)),$(eval $(call _make_nmdbus_rule,$f))) -CLEANFILES = $(nodist_libnmdbus_la_SOURCES) +BUILT_SOURCES = $(nodist_libnmdbus_la_SOURCES) $(DBUS_INTERFACE_DOCS) + +CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = \ all.xml.in \ diff --git a/introspection/Makefile.in b/introspection/Makefile.in index ac18d9ae..ea43b442 100644 --- a/introspection/Makefile.in +++ b/introspection/Makefile.in @@ -540,7 +540,43 @@ nodist_libnmdbus_la_SOURCES = \ nmdbus-vpn-plugin.c \ nmdbus-vpn-plugin.h -CLEANFILES = $(nodist_libnmdbus_la_SOURCES) +DBUS_INTERFACE_DOCS = \ + nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml \ + nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml \ + nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml \ + nmdbus-dhcp6-config-org.freedesktop.NetworkManager.DHCP6Config.xml \ + nmdbus-device-wifi-org.freedesktop.NetworkManager.Device.Wireless.xml \ + nmdbus-manager-org.freedesktop.NetworkManager.xml \ + nmdbus-vpn-connection-org.freedesktop.NetworkManager.VPN.Connection.xml \ + nmdbus-secret-agent-org.freedesktop.NetworkManager.SecretAgent.xml \ + nmdbus-device-org.freedesktop.NetworkManager.Device.xml \ + nmdbus-vpn-plugin-org.freedesktop.NetworkManager.VPN.Plugin.xml \ + nmdbus-device-bt-org.freedesktop.NetworkManager.Device.Bluetooth.xml \ + nmdbus-device-vxlan-org.freedesktop.NetworkManager.Device.Vxlan.xml \ + nmdbus-settings-connection-org.freedesktop.NetworkManager.Settings.Connection.xml \ + nmdbus-device-bond-org.freedesktop.NetworkManager.Device.Bond.xml \ + nmdbus-device-macvlan-org.freedesktop.NetworkManager.Device.Macvlan.xml \ + nmdbus-ppp-manager-org.freedesktop.NetworkManager.PPP.xml \ + nmdbus-device-vlan-org.freedesktop.NetworkManager.Device.Vlan.xml \ + nmdbus-device-adsl-org.freedesktop.NetworkManager.Device.Adsl.xml \ + nmdbus-agent-manager-org.freedesktop.NetworkManager.AgentManager.xml \ + nmdbus-device-wimax-org.freedesktop.NetworkManager.Device.WiMax.xml \ + nmdbus-device-ip-tunnel-org.freedesktop.NetworkManager.Device.IPTunnel.xml \ + nmdbus-device-tun-org.freedesktop.NetworkManager.Device.Tun.xml \ + nmdbus-device-bridge-org.freedesktop.NetworkManager.Device.Bridge.xml \ + nmdbus-device-olpc-mesh-org.freedesktop.NetworkManager.Device.OlpcMesh.xml \ + nmdbus-dhcp4-config-org.freedesktop.NetworkManager.DHCP4Config.xml \ + nmdbus-device-generic-org.freedesktop.NetworkManager.Device.Generic.xml \ + nmdbus-device-infiniband-org.freedesktop.NetworkManager.Device.Infiniband.xml \ + nmdbus-device-modem-org.freedesktop.NetworkManager.Device.Modem.xml \ + nmdbus-ip6-config-org.freedesktop.NetworkManager.IP6Config.xml \ + nmdbus-device-veth-org.freedesktop.NetworkManager.Device.Veth.xml \ + nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml \ + nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml \ + nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml + +BUILT_SOURCES = $(nodist_libnmdbus_la_SOURCES) $(DBUS_INTERFACE_DOCS) +CLEANFILES = $(BUILT_SOURCES) EXTRA_DIST = \ all.xml.in \ generic-types.xml \ @@ -581,7 +617,8 @@ EXTRA_DIST = \ nm-vpn-plugin.xml \ nm-wimax-nsp.xml -all: all-am +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj @@ -781,10 +818,12 @@ distdir: $(DISTFILES) fi; \ done check-am: all-am -check: check-am +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(LTLIBRARIES) installdirs: -install: install-am +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am @@ -815,6 +854,7 @@ distclean-generic: maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-am clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ @@ -886,7 +926,7 @@ ps-am: uninstall-am: -.MAKE: install-am install-strip +.MAKE: all check install install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \ @@ -909,10 +949,14 @@ define _make_nmdbus_rule $(1): $(patsubst nmdbus-%.c,nm-%.xml,$(1)) $$(AM_V_GEN) gdbus-codegen \ --generate-c-code $$(basename $$@) \ + --generate-docbook $$(basename $$@) \ --c-namespace NMDBus \ --interface-prefix org.freedesktop.NetworkManager \ $$< +$(filter $(basename $(1))-org.freedesktop.NetworkManager.%,$(DBUS_INTERFACE_DOCS)): $(1) + @true + $(basename $(1)).h: $(1) @true endef diff --git a/introspection/errors.xml b/introspection/errors.xml index f2db8667..34a0a7b9 100644 --- a/introspection/errors.xml +++ b/introspection/errors.xml @@ -4,21 +4,21 @@ Copyright (C) 2008 Novell, Inc. - + - + - + diff --git a/introspection/generic-types.xml b/introspection/generic-types.xml index 681b6662..2fb680af 100644 --- a/introspection/generic-types.xml +++ b/introspection/generic-types.xml @@ -1,50 +1,50 @@ - A mapping from strings to variants representing extra - key-value pairs. + - A mapping from strings to strings representing extra - key-value pairs. + - A mapping from strings to a map of string to variant. + - + - Mode is unknown. + - + - + - + diff --git a/introspection/nm-access-point.xml b/introspection/nm-access-point.xml index 16eae044..603be713 100644 --- a/introspection/nm-access-point.xml +++ b/introspection/nm-access-point.xml @@ -3,99 +3,99 @@ - Flags describing the capabilities of the access point. + - Flags describing the access point's capabilities according to WPA (Wifi Protected Access). + - Flags describing the access point's capabilities according to the RSN (Robust Secure Network) protocol. + - The Service Set Identifier identifying the access point. + - The radio channel frequency in use by the access point, in MHz. + - The hardware address (BSSID) of the access point. + - Describes the operating mode of the access point. + - The maximum bitrate this access point is capable of, in kilobits/second (Kb/s). + - The current signal quality of the access point, in percent. + - + - + - + - Null capability - says nothing about the access point. + - Access point supports privacy measures. + - + - Null flag. + - Access point supports pairwise 40-bit WEP encryption. + - Access point supports pairwise 104-bit WEP encryption. + - Access point supports pairwise TKIP encryption. + - Access point supports pairwise CCMP encryption. + - Access point supports a group 40-bit WEP cipher. + - Access point supports a group 104-bit WEP cipher. + - Access point supports a group TKIP cipher. + - Access point supports a group CCMP cipher. + - Access point supports PSK key management. + - Access point supports 802.1x key management. + diff --git a/introspection/nm-active-connection.xml b/introspection/nm-active-connection.xml index 203437b7..59bf78f4 100644 --- a/introspection/nm-active-connection.xml +++ b/introspection/nm-active-connection.xml @@ -3,12 +3,12 @@ - + + " /> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/introspection/nm-agent-manager.xml b/introspection/nm-agent-manager.xml index 4b53675c..52460eee 100644 --- a/introspection/nm-agent-manager.xml +++ b/introspection/nm-agent-manager.xml @@ -4,45 +4,45 @@ - + - + + " /> - + - + - + - + diff --git a/introspection/nm-device-adsl.xml b/introspection/nm-device-adsl.xml index ec50d110..68859d3b 100644 --- a/introspection/nm-device-adsl.xml +++ b/introspection/nm-device-adsl.xml @@ -5,16 +5,16 @@ - + - + diff --git a/introspection/nm-device-bond.xml b/introspection/nm-device-bond.xml index a804ca0b..9bc21225 100644 --- a/introspection/nm-device-bond.xml +++ b/introspection/nm-device-bond.xml @@ -4,29 +4,29 @@ - + - + - + - + diff --git a/introspection/nm-device-bridge.xml b/introspection/nm-device-bridge.xml index f3b25602..6cf99a10 100644 --- a/introspection/nm-device-bridge.xml +++ b/introspection/nm-device-bridge.xml @@ -4,29 +4,29 @@ - + - + - + - + diff --git a/introspection/nm-device-bt.xml b/introspection/nm-device-bt.xml index cc4a9b54..3b487158 100644 --- a/introspection/nm-device-bt.xml +++ b/introspection/nm-device-bt.xml @@ -4,43 +4,43 @@ - + - + - + - + - + - The device has no recognized capabilities. + - The device supports Bluetooth Dial-Up Networking. + - The device supports Bluetooth Personal Area Networking. + diff --git a/introspection/nm-device-ethernet.xml b/introspection/nm-device-ethernet.xml index 86d68a35..87b7f755 100644 --- a/introspection/nm-device-ethernet.xml +++ b/introspection/nm-device-ethernet.xml @@ -5,40 +5,40 @@ - + - + - + - + - + - + diff --git a/introspection/nm-device-generic.xml b/introspection/nm-device-generic.xml index 79d19899..2f8fc7ee 100644 --- a/introspection/nm-device-generic.xml +++ b/introspection/nm-device-generic.xml @@ -4,22 +4,22 @@ - + - + - + diff --git a/introspection/nm-device-infiniband.xml b/introspection/nm-device-infiniband.xml index 097714c6..169c2c66 100644 --- a/introspection/nm-device-infiniband.xml +++ b/introspection/nm-device-infiniband.xml @@ -4,22 +4,22 @@ - + - + - + diff --git a/introspection/nm-device-ip-tunnel.xml b/introspection/nm-device-ip-tunnel.xml index fcb42ce2..3ca04ee6 100644 --- a/introspection/nm-device-ip-tunnel.xml +++ b/introspection/nm-device-ip-tunnel.xml @@ -4,81 +4,81 @@ - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/introspection/nm-device-macvlan.xml b/introspection/nm-device-macvlan.xml index c4dcb4e6..d5d66068 100644 --- a/introspection/nm-device-macvlan.xml +++ b/introspection/nm-device-macvlan.xml @@ -4,34 +4,34 @@ - + - - The macvlan mode, one of "private", "vepa", "bridge", or "passthru". - + - + - + - + diff --git a/introspection/nm-device-modem.xml b/introspection/nm-device-modem.xml index 0ca101fd..67742c46 100644 --- a/introspection/nm-device-modem.xml +++ b/introspection/nm-device-modem.xml @@ -5,58 +5,58 @@ - + - + - + - + - Modem has no capabilties. + - + - + - + - + diff --git a/introspection/nm-device-olpc-mesh.xml b/introspection/nm-device-olpc-mesh.xml index c30ecfc6..a92e7370 100644 --- a/introspection/nm-device-olpc-mesh.xml +++ b/introspection/nm-device-olpc-mesh.xml @@ -3,32 +3,32 @@ - + - + - + - + - + diff --git a/introspection/nm-device-team.xml b/introspection/nm-device-team.xml index baf39fa8..982b7670 100644 --- a/introspection/nm-device-team.xml +++ b/introspection/nm-device-team.xml @@ -4,29 +4,29 @@ - + - + - + - + diff --git a/introspection/nm-device-tun.xml b/introspection/nm-device-tun.xml index 2b3ae2f5..0f74cf8c 100644 --- a/introspection/nm-device-tun.xml +++ b/introspection/nm-device-tun.xml @@ -4,56 +4,56 @@ - + - + - - The tunnel mode, either "tun" or "tap". - + - - The tunnel's "TUN_NO_PI" flag; true if no protocol info is + - - The tunnel's "TUN_VNET_HDR" flag; true if the tunnel packets + - - The tunnel's "TUN_TAP_MQ" flag; true if callers can connect to + - + - + diff --git a/introspection/nm-device-veth.xml b/introspection/nm-device-veth.xml index e06d0ceb..a3cff6da 100644 --- a/introspection/nm-device-veth.xml +++ b/introspection/nm-device-veth.xml @@ -4,16 +4,16 @@ - + - + diff --git a/introspection/nm-device-vlan.xml b/introspection/nm-device-vlan.xml index 992340e0..bac220e8 100644 --- a/introspection/nm-device-vlan.xml +++ b/introspection/nm-device-vlan.xml @@ -4,34 +4,34 @@ - + - + - + - + - + diff --git a/introspection/nm-device-vxlan.xml b/introspection/nm-device-vxlan.xml index 97c517fb..de23020d 100644 --- a/introspection/nm-device-vxlan.xml +++ b/introspection/nm-device-vxlan.xml @@ -4,123 +4,123 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/introspection/nm-device-wifi.xml b/introspection/nm-device-wifi.xml index 27f3eb90..2ece0ef0 100644 --- a/introspection/nm-device-wifi.xml +++ b/introspection/nm-device-wifi.xml @@ -6,164 +6,164 @@ - + - + - + - + - + + Currently 'ssids' option with value of "aay" type is supported. + " /> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - Null capability - syntactic sugar for no capabilities supported. Do not AND this with other capabilities! + - The device supports the 40-bit WEP cipher. + - The device supports the 104-bit WEP cipher. + - The device supports the TKIP cipher. + - The device supports the CCMP cipher. + - The device supports the WPA encryption/authentication protocol. + - The device supports the RSN encryption/authentication protocol. + - The device supports Access Point mode. + - The device supports Ad-Hoc mode. + - + - + - + diff --git a/introspection/nm-device-wimax.xml b/introspection/nm-device-wimax.xml index 3bad6245..e790e4fc 100644 --- a/introspection/nm-device-wimax.xml +++ b/introspection/nm-device-wimax.xml @@ -4,105 +4,105 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/introspection/nm-device.xml b/introspection/nm-device.xml index f1033c73..321cace1 100644 --- a/introspection/nm-device.xml +++ b/introspection/nm-device.xml @@ -3,7 +3,7 @@ - + - + - + - + - + - + - + - + - + - + - - Object path of an ActiveConnection object that "owns" this device during + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - Unused + - Unused + - + - + - + - + - + - + - + - + - + - + - + - Null capability. + - The device is supported by NetworkManager. + - The device supports carrier detection. + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/introspection/nm-dhcp4-config.xml b/introspection/nm-dhcp4-config.xml index 379c50f9..bca34fc5 100644 --- a/introspection/nm-dhcp4-config.xml +++ b/introspection/nm-dhcp4-config.xml @@ -3,18 +3,18 @@ - + - Configuration options returned by a DHCP server, if any. + - + diff --git a/introspection/nm-dhcp6-config.xml b/introspection/nm-dhcp6-config.xml index df75660a..84e13b77 100644 --- a/introspection/nm-dhcp6-config.xml +++ b/introspection/nm-dhcp6-config.xml @@ -3,18 +3,18 @@ - + - Configuration options returned by a DHCP server, if any. + - + diff --git a/introspection/nm-ip4-config.xml b/introspection/nm-ip4-config.xml index 5a9e8ea1..111e1acf 100644 --- a/introspection/nm-ip4-config.xml +++ b/introspection/nm-ip4-config.xml @@ -3,26 +3,26 @@ - + - + + " /> - The gateway in use. + - + - - 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), + - The nameservers in use. + - A list of domains this address belongs to. + - A list of dns searches. + - + - The Windows Internet Name Service servers associated with the connection. Each address is in network byte order. + - + diff --git a/introspection/nm-ip6-config.xml b/introspection/nm-ip6-config.xml index 1a107bf2..0cca33c4 100644 --- a/introspection/nm-ip6-config.xml +++ b/introspection/nm-ip6-config.xml @@ -3,63 +3,63 @@ - + - + + " /> - The gateway in use. + - + - - 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), + - The nameservers in use. + - A list of domains this address belongs to. + - A list of dns searches. + - + - + diff --git a/introspection/nm-manager.xml b/introspection/nm-manager.xml index dd6fc4bd..8203020b 100644 --- a/introspection/nm-manager.xml +++ b/introspection/nm-manager.xml @@ -5,213 +5,213 @@ - + - + - + - + - + - + - + - + - - The connection to activate. If "/" is given, a valid device path must + - + - + + "base" connection (to which the VPN connections lifetime will be tied), + or pass "/" and NM will automatically use the current default device. + " /> - + - + - + - + - + + " /> - + - + - + - + - + - + - + - + - + - + + " /> - + - + - + + " /> - - A combination of logging domains separated by commas (','), or "NONE" + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - The object path of the "primary" active connection being used + - - The connection type of the "primary" active connection being + - + - + - + - + - + - + - + - + - + + 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. + " /> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/introspection/nm-secret-agent.xml b/introspection/nm-secret-agent.xml index 337d0a7f..ec7ede09 100644 --- a/introspection/nm-secret-agent.xml +++ b/introspection/nm-secret-agent.xml @@ -3,20 +3,20 @@ - + + " /> - + - + - + - + - + + "x-vpn-message:". + " /> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - No special capabilities. + - + diff --git a/introspection/nm-settings-connection.xml b/introspection/nm-settings-connection.xml index 2d919619..fc62046c 100644 --- a/introspection/nm-settings-connection.xml +++ b/introspection/nm-settings-connection.xml @@ -3,27 +3,27 @@ - + - + - + - + - + - + - + - + - + - + - + - + - - Saves a "dirty" connection (that had previously been + - + - + - + - + diff --git a/introspection/nm-settings.xml b/introspection/nm-settings.xml index b6ab8260..62892025 100644 --- a/introspection/nm-settings.xml +++ b/introspection/nm-settings.xml @@ -2,58 +2,58 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + + " /> - + - + - + - + + "monitor-connection-files=false" in NetworkManager.conf. + " /> - + - + - + - + - + - + - + - + - + - + - + diff --git a/introspection/nm-vpn-connection.xml b/introspection/nm-vpn-connection.xml index 03bbbe98..6a4fb37d 100644 --- a/introspection/nm-vpn-connection.xml +++ b/introspection/nm-vpn-connection.xml @@ -4,143 +4,143 @@ - + - + - The VPN-specific state of the connection. + - The banner string of the VPN connection. + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/introspection/nm-vpn-plugin.xml b/introspection/nm-vpn-plugin.xml index adb6a085..ee8c69f8 100644 --- a/introspection/nm-vpn-plugin.xml +++ b/introspection/nm-vpn-plugin.xml @@ -4,20 +4,20 @@ - + - + - + @@ -30,22 +30,22 @@ - + - + - + @@ -59,19 +59,19 @@ - + - + - + @@ -79,9 +79,9 @@ - + @@ -90,105 +90,105 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -199,113 +199,113 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/introspection/nm-wimax-nsp.xml b/introspection/nm-wimax-nsp.xml index 55ac4abc..6174ad67 100644 --- a/introspection/nm-wimax-nsp.xml +++ b/introspection/nm-wimax-nsp.xml @@ -4,38 +4,38 @@ - The name of the NSP. + - The current signal quality of the NSP, in percent. + - The network type of the NSP. + - + - + - Unknown network. + - Home network. + - Partner network. + - Roaming partner network. + diff --git a/introspection/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml b/introspection/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml new file mode 100644 index 00000000..eae6fef6 --- /dev/null +++ b/introspection/nmdbus-access-point-org.freedesktop.NetworkManager.AccessPoint.xml @@ -0,0 +1,134 @@ + + + + org.freedesktop.NetworkManager.AccessPoint + org.freedesktop.NetworkManager.AccessPoint + org.freedesktop.NetworkManager.AccessPoint + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Flags readable u +WpaFlags readable u +RsnFlags readable u +Ssid readable ay +Frequency readable u +HwAddress readable s +Mode readable u +MaxBitrate readable u +Strength readable y +LastSeen readable i + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.AccessPoint::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Flags" property + org.freedesktop.NetworkManager.AccessPoint:Flags + +Flags readable u + +Flags describing the capabilities of the access point. + + + The "WpaFlags" property + org.freedesktop.NetworkManager.AccessPoint:WpaFlags + +WpaFlags readable u + +Flags describing the access point's capabilities according to WPA (Wifi Protected Access). + + + The "RsnFlags" property + org.freedesktop.NetworkManager.AccessPoint:RsnFlags + +RsnFlags readable u + +Flags describing the access point's capabilities according to the RSN (Robust Secure Network) protocol. + + + The "Ssid" property + org.freedesktop.NetworkManager.AccessPoint:Ssid + +Ssid readable ay + +The Service Set Identifier identifying the access point. + + + The "Frequency" property + org.freedesktop.NetworkManager.AccessPoint:Frequency + +Frequency readable u + +The radio channel frequency in use by the access point, in MHz. + + + The "HwAddress" property + org.freedesktop.NetworkManager.AccessPoint:HwAddress + +HwAddress readable s + +The hardware address (BSSID) of the access point. + + + The "Mode" property + org.freedesktop.NetworkManager.AccessPoint:Mode + +Mode readable u + +Describes the operating mode of the access point. + + + The "MaxBitrate" property + org.freedesktop.NetworkManager.AccessPoint:MaxBitrate + +MaxBitrate readable u + +The maximum bitrate this access point is capable of, in kilobits/second (Kb/s). + + + The "Strength" property + org.freedesktop.NetworkManager.AccessPoint:Strength + +Strength readable y + +The current signal quality of the access point, in percent. + + + The "LastSeen" property + org.freedesktop.NetworkManager.AccessPoint:LastSeen + +LastSeen readable i + +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. + + + + diff --git a/introspection/nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml b/introspection/nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml new file mode 100644 index 00000000..a2a352f6 --- /dev/null +++ b/introspection/nmdbus-active-connection-org.freedesktop.NetworkManager.Connection.Active.xml @@ -0,0 +1,179 @@ + + + + org.freedesktop.NetworkManager.Connection.Active + org.freedesktop.NetworkManager.Connection.Active + org.freedesktop.NetworkManager.Connection.Active + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Connection readable o +SpecificObject readable o +Id readable s +Uuid readable s +Type readable s +Devices readable ao +State readable u +Default readable b +Ip4Config readable o +Dhcp4Config readable o +Default6 readable b +Ip6Config readable o +Dhcp6Config readable o +Vpn readable b +Master readable o + + + + Description + 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. + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Connection.Active::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Connection" property + org.freedesktop.NetworkManager.Connection.Active:Connection + +Connection readable o + +The path of the connection. + + + The "SpecificObject" property + org.freedesktop.NetworkManager.Connection.Active:SpecificObject + +SpecificObject readable o + +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. + + + The "Id" property + org.freedesktop.NetworkManager.Connection.Active:Id + +Id readable s + +The ID of the connection, provided as a convenience so that clients do not have to retrieve all connection details. + + + The "Uuid" property + org.freedesktop.NetworkManager.Connection.Active:Uuid + +Uuid readable s + +The UUID of the connection, provided as a convenience so that clients do not have to retrieve all connection details. + + + The "Type" property + org.freedesktop.NetworkManager.Connection.Active:Type + +Type readable s + +The type of the connection, provided as a convenience so that clients do not have to retrieve all connection details. + + + The "Devices" property + org.freedesktop.NetworkManager.Connection.Active:Devices + +Devices readable ao + +Array of object paths representing devices which are part of this active connection. + + + The "State" property + org.freedesktop.NetworkManager.Connection.Active:State + +State readable u + +The state of this active connection. + + + The "Default" property + org.freedesktop.NetworkManager.Connection.Active:Default + +Default readable b + +Whether this active connection is the default IPv4 connection, i.e. whether it currently owns the default IPv4 route. + + + The "Ip4Config" property + org.freedesktop.NetworkManager.Connection.Active:Ip4Config + +Ip4Config readable o + +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. + + + The "Dhcp4Config" property + org.freedesktop.NetworkManager.Connection.Active:Dhcp4Config + +Dhcp4Config readable o + +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. + + + The "Default6" property + org.freedesktop.NetworkManager.Connection.Active:Default6 + +Default6 readable b + +Whether this active connection is the default IPv6 connection, i.e. whether it currently owns the default IPv6 route. + + + The "Ip6Config" property + org.freedesktop.NetworkManager.Connection.Active:Ip6Config + +Ip6Config readable o + +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. + + + The "Dhcp6Config" property + org.freedesktop.NetworkManager.Connection.Active:Dhcp6Config + +Dhcp6Config readable o + +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. + + + The "Vpn" property + org.freedesktop.NetworkManager.Connection.Active:Vpn + +Vpn readable b + +Whether this active connection is also a VPN connection. + + + The "Master" property + org.freedesktop.NetworkManager.Connection.Active:Master + +Master readable o + +The path to the master device if the connection is a slave. + + + + diff --git a/introspection/nmdbus-agent-manager-org.freedesktop.NetworkManager.AgentManager.xml b/introspection/nmdbus-agent-manager-org.freedesktop.NetworkManager.AgentManager.xml new file mode 100644 index 00000000..29bb71d7 --- /dev/null +++ b/introspection/nmdbus-agent-manager-org.freedesktop.NetworkManager.AgentManager.xml @@ -0,0 +1,66 @@ + + + + org.freedesktop.NetworkManager.AgentManager + org.freedesktop.NetworkManager.AgentManager + org.freedesktop.NetworkManager.AgentManager + Methods + +Register (IN s identifier); +RegisterWithCapabilities (IN s identifier, + IN u capabilities); +Unregister (); + + + + Description + + + + Method Details + + The Register() method + org.freedesktop.NetworkManager.AgentManager.Register() + +Register (IN s identifier); + +Called by secret Agents to register their ability to provide and save network secrets. + + + IN s 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). + + + + + The RegisterWithCapabilities() method + org.freedesktop.NetworkManager.AgentManager.RegisterWithCapabilities() + +RegisterWithCapabilities (IN s identifier, + IN u capabilities); + +Like Register() but indicates agent capabilities to NetworkManager. + + + IN s identifier: + See the Register() method's identifier argument. + + + IN u capabilities: + Indicates various agent capabilities to NetworkManager. + + + + + The Unregister() method + org.freedesktop.NetworkManager.AgentManager.Unregister() + +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. + + + + diff --git a/introspection/nmdbus-device-adsl-org.freedesktop.NetworkManager.Device.Adsl.xml b/introspection/nmdbus-device-adsl-org.freedesktop.NetworkManager.Device.Adsl.xml new file mode 100644 index 00000000..ab85429d --- /dev/null +++ b/introspection/nmdbus-device-adsl-org.freedesktop.NetworkManager.Device.Adsl.xml @@ -0,0 +1,53 @@ + + + + org.freedesktop.NetworkManager.Device.Adsl + org.freedesktop.NetworkManager.Device.Adsl + org.freedesktop.NetworkManager.Device.Adsl + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Carrier readable b + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Adsl::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Carrier" property + org.freedesktop.NetworkManager.Device.Adsl:Carrier + +Carrier readable b + +Indicates whether the physical carrier is found. + + + + diff --git a/introspection/nmdbus-device-bond-org.freedesktop.NetworkManager.Device.Bond.xml b/introspection/nmdbus-device-bond-org.freedesktop.NetworkManager.Device.Bond.xml new file mode 100644 index 00000000..22bd4ccf --- /dev/null +++ b/introspection/nmdbus-device-bond-org.freedesktop.NetworkManager.Device.Bond.xml @@ -0,0 +1,71 @@ + + + + org.freedesktop.NetworkManager.Device.Bond + org.freedesktop.NetworkManager.Device.Bond + org.freedesktop.NetworkManager.Device.Bond + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +HwAddress readable s +Carrier readable b +Slaves readable ao + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Bond::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Bond:HwAddress + +HwAddress readable s + +Hardware address of the device. + + + The "Carrier" property + org.freedesktop.NetworkManager.Device.Bond:Carrier + +Carrier readable b + +Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + + The "Slaves" property + org.freedesktop.NetworkManager.Device.Bond:Slaves + +Slaves readable ao + +Array of object paths representing devices which are currently slaved to this device. + + + + diff --git a/introspection/nmdbus-device-bridge-org.freedesktop.NetworkManager.Device.Bridge.xml b/introspection/nmdbus-device-bridge-org.freedesktop.NetworkManager.Device.Bridge.xml new file mode 100644 index 00000000..20946e34 --- /dev/null +++ b/introspection/nmdbus-device-bridge-org.freedesktop.NetworkManager.Device.Bridge.xml @@ -0,0 +1,71 @@ + + + + org.freedesktop.NetworkManager.Device.Bridge + org.freedesktop.NetworkManager.Device.Bridge + org.freedesktop.NetworkManager.Device.Bridge + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +HwAddress readable s +Carrier readable b +Slaves readable ao + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Bridge::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Bridge:HwAddress + +HwAddress readable s + +Hardware address of the device. + + + The "Carrier" property + org.freedesktop.NetworkManager.Device.Bridge:Carrier + +Carrier readable b + +Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + + The "Slaves" property + org.freedesktop.NetworkManager.Device.Bridge:Slaves + +Slaves readable ao + +Array of object paths representing devices which are currently slaved to this device. + + + + diff --git a/introspection/nmdbus-device-bt-org.freedesktop.NetworkManager.Device.Bluetooth.xml b/introspection/nmdbus-device-bt-org.freedesktop.NetworkManager.Device.Bluetooth.xml new file mode 100644 index 00000000..7cca9d2c --- /dev/null +++ b/introspection/nmdbus-device-bt-org.freedesktop.NetworkManager.Device.Bluetooth.xml @@ -0,0 +1,71 @@ + + + + org.freedesktop.NetworkManager.Device.Bluetooth + org.freedesktop.NetworkManager.Device.Bluetooth + org.freedesktop.NetworkManager.Device.Bluetooth + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +HwAddress readable s +Name readable s +BtCapabilities readable u + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Bluetooth::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Bluetooth:HwAddress + +HwAddress readable s + +Bluetooth hardware address of the device. + + + The "Name" property + org.freedesktop.NetworkManager.Device.Bluetooth:Name + +Name readable s + +Bluetooth name of the device. + + + The "BtCapabilities" property + org.freedesktop.NetworkManager.Device.Bluetooth:BtCapabilities + +BtCapabilities readable u + +Bluetooth capabilities of the device (either DUN or NAP). + + + + diff --git a/introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml b/introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml new file mode 100644 index 00000000..ef6e7e8b --- /dev/null +++ b/introspection/nmdbus-device-ethernet-org.freedesktop.NetworkManager.Device.Wired.xml @@ -0,0 +1,89 @@ + + + + org.freedesktop.NetworkManager.Device.Wired + org.freedesktop.NetworkManager.Device.Wired + org.freedesktop.NetworkManager.Device.Wired + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +HwAddress readable s +PermHwAddress readable s +Speed readable u +S390Subchannels readable as +Carrier readable b + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Wired::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Wired:HwAddress + +HwAddress readable s + +Active hardware address of the device. + + + The "PermHwAddress" property + org.freedesktop.NetworkManager.Device.Wired:PermHwAddress + +PermHwAddress readable s + +Permanent hardware address of the device. + + + The "Speed" property + org.freedesktop.NetworkManager.Device.Wired:Speed + +Speed readable u + +Design speed of the device, in megabits/second (Mb/s). + + + The "S390Subchannels" property + org.freedesktop.NetworkManager.Device.Wired:S390Subchannels + +S390Subchannels readable as + +Array of S/390 subchannels for S/390 or z/Architecture devices. + + + The "Carrier" property + org.freedesktop.NetworkManager.Device.Wired:Carrier + +Carrier readable b + +Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + + + diff --git a/introspection/nmdbus-device-generic-org.freedesktop.NetworkManager.Device.Generic.xml b/introspection/nmdbus-device-generic-org.freedesktop.NetworkManager.Device.Generic.xml new file mode 100644 index 00000000..13d81172 --- /dev/null +++ b/introspection/nmdbus-device-generic-org.freedesktop.NetworkManager.Device.Generic.xml @@ -0,0 +1,62 @@ + + + + org.freedesktop.NetworkManager.Device.Generic + org.freedesktop.NetworkManager.Device.Generic + org.freedesktop.NetworkManager.Device.Generic + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +HwAddress readable s +TypeDescription readable s + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Generic::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Generic:HwAddress + +HwAddress readable s + +Hardware address of the device. + + + The "TypeDescription" property + org.freedesktop.NetworkManager.Device.Generic:TypeDescription + +TypeDescription readable s + +A (non-localized) description of the interface type, if known. + + + + diff --git a/introspection/nmdbus-device-infiniband-org.freedesktop.NetworkManager.Device.Infiniband.xml b/introspection/nmdbus-device-infiniband-org.freedesktop.NetworkManager.Device.Infiniband.xml new file mode 100644 index 00000000..bbafdbfc --- /dev/null +++ b/introspection/nmdbus-device-infiniband-org.freedesktop.NetworkManager.Device.Infiniband.xml @@ -0,0 +1,62 @@ + + + + org.freedesktop.NetworkManager.Device.Infiniband + org.freedesktop.NetworkManager.Device.Infiniband + org.freedesktop.NetworkManager.Device.Infiniband + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +HwAddress readable s +Carrier readable b + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Infiniband::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Infiniband:HwAddress + +HwAddress readable s + +Hardware address of the device. + + + The "Carrier" property + org.freedesktop.NetworkManager.Device.Infiniband:Carrier + +Carrier readable b + +Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + + + diff --git a/introspection/nmdbus-device-ip-tunnel-org.freedesktop.NetworkManager.Device.IPTunnel.xml b/introspection/nmdbus-device-ip-tunnel-org.freedesktop.NetworkManager.Device.IPTunnel.xml new file mode 100644 index 00000000..f1a8bba7 --- /dev/null +++ b/introspection/nmdbus-device-ip-tunnel-org.freedesktop.NetworkManager.Device.IPTunnel.xml @@ -0,0 +1,143 @@ + + + + org.freedesktop.NetworkManager.Device.IPTunnel + org.freedesktop.NetworkManager.Device.IPTunnel + org.freedesktop.NetworkManager.Device.IPTunnel + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Mode readable u +Parent readable o +Local readable s +Remote readable s +Ttl readable y +Tos readable y +PathMtuDiscovery readable b +InputKey readable s +OutputKey readable s +EncapsulationLimit readable y +FlowLabel readable u + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.IPTunnel::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Mode" property + org.freedesktop.NetworkManager.Device.IPTunnel:Mode + +Mode readable u + +The tunneling mode. + + + The "Parent" property + org.freedesktop.NetworkManager.Device.IPTunnel:Parent + +Parent readable o + +The object path of the parent device. + + + The "Local" property + org.freedesktop.NetworkManager.Device.IPTunnel:Local + +Local readable s + +The local endpoint of the tunnel. + + + The "Remote" property + org.freedesktop.NetworkManager.Device.IPTunnel:Remote + +Remote readable s + +The remote endpoint of the tunnel. + + + The "Ttl" property + org.freedesktop.NetworkManager.Device.IPTunnel:Ttl + +Ttl readable y + +The TTL assigned to tunneled packets. 0 is a special value meaning that packets inherit the TTL value + + + The "Tos" property + org.freedesktop.NetworkManager.Device.IPTunnel:Tos + +Tos readable y + +The type of service (IPv4) or traffic class (IPv6) assigned to tunneled packets. + + + The "PathMtuDiscovery" property + org.freedesktop.NetworkManager.Device.IPTunnel:PathMtuDiscovery + +PathMtuDiscovery readable b + +Whether path MTU discovery is enabled on this tunnel. + + + The "InputKey" property + org.freedesktop.NetworkManager.Device.IPTunnel:InputKey + +InputKey readable s + +The key used for incoming packets. + + + The "OutputKey" property + org.freedesktop.NetworkManager.Device.IPTunnel:OutputKey + +OutputKey readable s + +The key used for outgoing packets. + + + The "EncapsulationLimit" property + org.freedesktop.NetworkManager.Device.IPTunnel:EncapsulationLimit + +EncapsulationLimit readable y + +How many additional levels of encapsulation are permitted to be prepended to packets. This property applies only to IPv6 tunnels. + + + The "FlowLabel" property + org.freedesktop.NetworkManager.Device.IPTunnel:FlowLabel + +FlowLabel readable u + +The flow label to assign to tunnel packets. This property applies only to IPv6 tunnels. + + + + diff --git a/introspection/nmdbus-device-macvlan-org.freedesktop.NetworkManager.Device.Macvlan.xml b/introspection/nmdbus-device-macvlan-org.freedesktop.NetworkManager.Device.Macvlan.xml new file mode 100644 index 00000000..ca5d7367 --- /dev/null +++ b/introspection/nmdbus-device-macvlan-org.freedesktop.NetworkManager.Device.Macvlan.xml @@ -0,0 +1,80 @@ + + + + org.freedesktop.NetworkManager.Device.Macvlan + org.freedesktop.NetworkManager.Device.Macvlan + org.freedesktop.NetworkManager.Device.Macvlan + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Parent readable o +Mode readable s +NoPromisc readable b +Tap readable b + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Macvlan::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Parent" property + org.freedesktop.NetworkManager.Device.Macvlan:Parent + +Parent readable o + +The object path of the parent device. + + + The "Mode" property + org.freedesktop.NetworkManager.Device.Macvlan:Mode + +Mode readable s + +The macvlan mode, one of "private", "vepa", "bridge", or "passthru". + + + The "NoPromisc" property + org.freedesktop.NetworkManager.Device.Macvlan:NoPromisc + +NoPromisc readable b + +Whether the device is blocked from going into promiscuous mode. + + + The "Tap" property + org.freedesktop.NetworkManager.Device.Macvlan:Tap + +Tap readable b + +Whether the device is a macvtap. + + + + diff --git a/introspection/nmdbus-device-modem-org.freedesktop.NetworkManager.Device.Modem.xml b/introspection/nmdbus-device-modem-org.freedesktop.NetworkManager.Device.Modem.xml new file mode 100644 index 00000000..2143ef62 --- /dev/null +++ b/introspection/nmdbus-device-modem-org.freedesktop.NetworkManager.Device.Modem.xml @@ -0,0 +1,62 @@ + + + + org.freedesktop.NetworkManager.Device.Modem + org.freedesktop.NetworkManager.Device.Modem + org.freedesktop.NetworkManager.Device.Modem + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +ModemCapabilities readable u +CurrentCapabilities readable u + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Modem::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "ModemCapabilities" property + org.freedesktop.NetworkManager.Device.Modem:ModemCapabilities + +ModemCapabilities readable u + +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. + + + The "CurrentCapabilities" property + org.freedesktop.NetworkManager.Device.Modem:CurrentCapabilities + +CurrentCapabilities readable u + +The generic family of access technologies the modem currently supports without a firmware reload or reinitialization. + + + + diff --git a/introspection/nmdbus-device-olpc-mesh-org.freedesktop.NetworkManager.Device.OlpcMesh.xml b/introspection/nmdbus-device-olpc-mesh-org.freedesktop.NetworkManager.Device.OlpcMesh.xml new file mode 100644 index 00000000..4a512547 --- /dev/null +++ b/introspection/nmdbus-device-olpc-mesh-org.freedesktop.NetworkManager.Device.OlpcMesh.xml @@ -0,0 +1,71 @@ + + + + org.freedesktop.NetworkManager.Device.OlpcMesh + org.freedesktop.NetworkManager.Device.OlpcMesh + org.freedesktop.NetworkManager.Device.OlpcMesh + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +HwAddress readable s +Companion readable o +ActiveChannel readable u + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.OlpcMesh::PropertiesChanged + +PropertiesChanged (a{sv} properties); + +Emitted when the wireless device's properties changed. + + + a{sv} properties: + A dictionary containing the FIXME: check changed parameters. + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.OlpcMesh:HwAddress + +HwAddress readable s + +The hardware address of the device. + + + The "Companion" property + org.freedesktop.NetworkManager.Device.OlpcMesh:Companion + +Companion readable o + +The object path of the companion device. + + + The "ActiveChannel" property + org.freedesktop.NetworkManager.Device.OlpcMesh:ActiveChannel + +ActiveChannel readable u + +The currently active channel. + + + + diff --git a/introspection/nmdbus-device-org.freedesktop.NetworkManager.Device.xml b/introspection/nmdbus-device-org.freedesktop.NetworkManager.Device.xml new file mode 100644 index 00000000..a5a0697b --- /dev/null +++ b/introspection/nmdbus-device-org.freedesktop.NetworkManager.Device.xml @@ -0,0 +1,370 @@ + + + + org.freedesktop.NetworkManager.Device + org.freedesktop.NetworkManager.Device + org.freedesktop.NetworkManager.Device + Methods + +Reapply (IN a{sa{sv}} connection, + IN t version_id, + IN u flags); +GetAppliedConnection (IN u flags, + OUT a{sa{sv}} connection, + OUT t version_id); +Disconnect (); +Delete (); + + + + Signals + +StateChanged (u new_state, + u old_state, + u reason); + + + + Properties + +Udi readable s +Interface readable s +IpInterface readable s +Driver readable s +DriverVersion readable s +FirmwareVersion readable s +Capabilities readable u +Ip4Address readable u +State readable u +StateReason readable (uu) +ActiveConnection readable o +Ip4Config readable o +Dhcp4Config readable o +Ip6Config readable o +Dhcp6Config readable o +Managed readwrite b +Autoconnect readwrite b +FirmwareMissing readable b +NmPluginMissing readable b +DeviceType readable u +AvailableConnections readable ao +PhysicalPortId readable s +Mtu readable u +Metered readable u +LldpNeighbors readable aa{sv} +Real readable b + + + + Description + + + + Method Details + + The Reapply() method + org.freedesktop.NetworkManager.Device.Reapply() + +Reapply (IN a{sa{sv}} connection, + IN t version_id, + IN u flags); + +Attempts to update the configuration of a device without deactivating it. NetworkManager has the concept of connections, which are profiles that contain the configuration for a networking device. Those connections are exposed via D-Bus as individual objects that can be created, modified and deleted. When activating such a settings-connection on a device, the settings-connection is cloned to become an applied-connection and used to configure the device (see GetAppliedConnection). Subsequent modification of the settings-connection don't propagate automatically to the device's applied-connection (with exception of the firewall-zone and the metered property). For the changes to take effect, you can either re-activate the settings-connection, or call Reapply. The Reapply call allows you to directly update the applied-connection and reconfigure the device. Reapply can also be useful if the currently applied-connection is equal to the connection that is about to be reapplied. This allows to reconfigure the device and revert external changes like removing or adding an IP address (which NetworkManager doesn't revert automatically because it is assumed that the user made these changes intentionally outside of NetworkManager). Reapply can make the applied-connection different from the settings-connection, just like updating the settings-connection can make them different. + + + IN a{sa{sv}} connection: + The optional connection settings that will be reapplied on the device. If empty, the currently active settings-connection will be used. The connection cannot arbitrarly differ from the current applied-connection otherwise the call will fail. Only certain changes are supported, like adding or removing IP addresses. + + + IN t version_id: + If non-zero, the current version id of the applied-connection must match. The current version id can be retrieved via GetAppliedConnection. This optional argument allows to catch concurrent modifications between the GetAppliedConnection call and Reapply. + + + IN u flags: + Flags which would modify the behavior of the Reapply call. There are no flags defined currently and the users should use the value of 0. + + + + + The GetAppliedConnection() method + org.freedesktop.NetworkManager.Device.GetAppliedConnection() + +GetAppliedConnection (IN u flags, + OUT a{sa{sv}} connection, + OUT t version_id); + +Get the currently applied connection on the device. This is a snapshot of the last activated connection on the device, that is the configuration that is currently applied on the device. Usually this is the same as GetSettings of the referenced settings connection. However, it can differ if the settings connection was subsequently modified or the applied connection was modified by Reapply. The applied connection is set when activating a device or when calling Reapply. + + + IN u flags: + Flags which would modify the behavior of the GetAppliedConnection call. There are no flags defined currently and the users should use the value of 0. + + + OUT a{sa{sv}} connection: + The effective connection settings that the connection has currently applied. + + + OUT t version_id: + The version-id of the currently applied connection. This can be specified during Reapply to avoid races where you first fetch the applied connection, modify it and try to reapply it. If the applied connection is modified in the meantime, the version_id gets incremented and Reapply will fail. + + + + + The Disconnect() method + org.freedesktop.NetworkManager.Device.Disconnect() + +Disconnect (); + +Disconnects a device and prevents the device from automatically activating further connections without user intervention. + + + The Delete() method + org.freedesktop.NetworkManager.Device.Delete() + +Delete (); + +Deletes a software device from NetworkManager and removes the interface from the system. The method returns an error when called for a hardware device. + + + + Signal Details + + The "StateChanged" signal + org.freedesktop.NetworkManager.Device::StateChanged + +StateChanged (u new_state, + u old_state, + u reason); + + + + + u new_state: + The new state of the device. + + + u old_state: + The previous state of the device. + + + u reason: + A reason for the state transition. + + + + + + Property Details + + The "Udi" property + org.freedesktop.NetworkManager.Device:Udi + +Udi readable s + +Operating-system specific transient device hardware identifier. This is an opaque string representing the underlying hardware for the device, and shouldn't be used to keep track of individual devices. For some device types (Bluetooth, Modems) it is an identifier used by the hardware service (ie bluez or ModemManager) to refer to that device, and client programs use it get additional information from those services which NM does not provide. The Udi is not guaranteed to be consistent across reboots or hotplugs of the hardware. If you're looking for a way to uniquely track each device in your application, use the object path. If you're looking for a way to track a specific piece of hardware across reboot or hotplug, use a MAC address or USB serial number. + + + The "Interface" property + org.freedesktop.NetworkManager.Device:Interface + +Interface readable s + +The name of the device's control (and often data) interface. + + + The "IpInterface" property + org.freedesktop.NetworkManager.Device:IpInterface + +IpInterface readable s + +The name of the device's data interface when available. This property may not refer to the actual data interface until the device has successfully established a data connection, indicated by the device's State becoming ACTIVATED. + + + The "Driver" property + org.freedesktop.NetworkManager.Device:Driver + +Driver readable s + +The driver handling the device. + + + The "DriverVersion" property + org.freedesktop.NetworkManager.Device:DriverVersion + +DriverVersion readable s + +The version of the driver handling the device. + + + The "FirmwareVersion" property + org.freedesktop.NetworkManager.Device:FirmwareVersion + +FirmwareVersion readable s + +The firmware version for the device. + + + The "Capabilities" property + org.freedesktop.NetworkManager.Device:Capabilities + +Capabilities readable u + +Flags describing the capabilities of the device. + + + The "Ip4Address" property + org.freedesktop.NetworkManager.Device:Ip4Address + +Ip4Address readable u + +DEPRECATED; use the 'Addresses' property of the 'Ip4Config' object instead. + + + The "State" property + org.freedesktop.NetworkManager.Device:State + +State readable u + +The current state of the device. + + + The "StateReason" property + org.freedesktop.NetworkManager.Device:StateReason + +StateReason readable (uu) + +The current state and reason for changing to that state. + + + The "ActiveConnection" property + org.freedesktop.NetworkManager.Device:ActiveConnection + +ActiveConnection readable o + +Object path of an ActiveConnection object that "owns" this device during activation. The ActiveConnection object tracks the life-cycle of a connection to a specific network and implements the org.freedesktop.NetworkManager.Connection.Active D-Bus interface. + + + The "Ip4Config" property + org.freedesktop.NetworkManager.Device:Ip4Config + +Ip4Config readable o + +Object path of the Ip4Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state. + + + The "Dhcp4Config" property + org.freedesktop.NetworkManager.Device:Dhcp4Config + +Dhcp4Config readable o + +Object path of the Dhcp4Config object describing the DHCP options returned by the DHCP server. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state. + + + The "Ip6Config" property + org.freedesktop.NetworkManager.Device:Ip6Config + +Ip6Config readable o + +Object path of the Ip6Config object describing the configuration of the device. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state. + + + The "Dhcp6Config" property + org.freedesktop.NetworkManager.Device:Dhcp6Config + +Dhcp6Config readable o + +Object path of the Dhcp6Config object describing the DHCP options returned by the DHCP server. Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state. + + + The "Managed" property + org.freedesktop.NetworkManager.Device:Managed + +Managed readwrite b + +Whether or not this device is managed by NetworkManager. Setting this property has a similar effect to configuring the device as unmanaged via the keyfile.unmanaged-devices setting in NetworkManager.conf. Changes to this value are not persistent and lost after NetworkManager restart. + + + The "Autoconnect" property + org.freedesktop.NetworkManager.Device:Autoconnect + +Autoconnect readwrite b + +If TRUE, indicates the device is allowed to autoconnect. If FALSE, manual intervention is required before the device will automatically connect to a known network, such as activating a connection using the device, or setting this property to TRUE. This property cannot be set to TRUE for default-unmanaged devices, since they never autoconnect. + + + The "FirmwareMissing" property + org.freedesktop.NetworkManager.Device:FirmwareMissing + +FirmwareMissing readable b + +If TRUE, indicates the device is likely missing firmware necessary for its operation. + + + The "NmPluginMissing" property + org.freedesktop.NetworkManager.Device:NmPluginMissing + +NmPluginMissing readable b + +If TRUE, indicates the NetworkManager plugin for the device is likely missing or misconfigured. + + + The "DeviceType" property + org.freedesktop.NetworkManager.Device:DeviceType + +DeviceType readable u + +The general type of the network device; ie Ethernet, WiFi, etc. + + + The "AvailableConnections" property + org.freedesktop.NetworkManager.Device:AvailableConnections + +AvailableConnections readable ao + +An array of object paths of every configured connection that is currently 'available' through this device. + + + The "PhysicalPortId" property + org.freedesktop.NetworkManager.Device:PhysicalPortId + +PhysicalPortId readable s + +If non-empty, an (opaque) indicator of the physical network port associated with the device. This can be used to recognize when two seemingly-separate hardware devices are actually just different virtual interfaces to the same physical port. + + + The "Mtu" property + org.freedesktop.NetworkManager.Device:Mtu + +Mtu readable u + +The device MTU (maximum transmission unit). + + + The "Metered" property + org.freedesktop.NetworkManager.Device:Metered + +Metered readable u + +Whether the amount of traffic flowing through the device is subject to limitations, for example set by service providers. + + + The "LldpNeighbors" property + org.freedesktop.NetworkManager.Device:LldpNeighbors + +LldpNeighbors readable aa{sv} + +Array of LLDP neighbors; each element is a dictionary mapping LLDP TLV names to variant boxed values. + + + The "Real" property + org.freedesktop.NetworkManager.Device:Real + +Real readable b + +True if the device exists, or False for placeholder devices that do not yet exist but could be automatically created by NetworkManager if one of their AvailableConnections was activated. + + + + diff --git a/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml b/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml new file mode 100644 index 00000000..6d6ae5aa --- /dev/null +++ b/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml @@ -0,0 +1,71 @@ + + + + org.freedesktop.NetworkManager.Device.Team + org.freedesktop.NetworkManager.Device.Team + org.freedesktop.NetworkManager.Device.Team + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +HwAddress readable s +Carrier readable b +Slaves readable ao + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Team::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Team:HwAddress + +HwAddress readable s + +Hardware address of the device. + + + The "Carrier" property + org.freedesktop.NetworkManager.Device.Team:Carrier + +Carrier readable b + +Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + + The "Slaves" property + org.freedesktop.NetworkManager.Device.Team:Slaves + +Slaves readable ao + +Array of object paths representing devices which are currently slaved to this device. + + + + diff --git a/introspection/nmdbus-device-tun-org.freedesktop.NetworkManager.Device.Tun.xml b/introspection/nmdbus-device-tun-org.freedesktop.NetworkManager.Device.Tun.xml new file mode 100644 index 00000000..c676e395 --- /dev/null +++ b/introspection/nmdbus-device-tun-org.freedesktop.NetworkManager.Device.Tun.xml @@ -0,0 +1,107 @@ + + + + org.freedesktop.NetworkManager.Device.Tun + org.freedesktop.NetworkManager.Device.Tun + org.freedesktop.NetworkManager.Device.Tun + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Owner readable x +Group readable x +Mode readable s +NoPi readable b +VnetHdr readable b +MultiQueue readable b +HwAddress readable s + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Tun::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Owner" property + org.freedesktop.NetworkManager.Device.Tun:Owner + +Owner readable x + +The uid of the tunnel owner, or -1 if it has no owner. + + + The "Group" property + org.freedesktop.NetworkManager.Device.Tun:Group + +Group readable x + +The gid of the tunnel group, or -1 if it has no owner. + + + The "Mode" property + org.freedesktop.NetworkManager.Device.Tun:Mode + +Mode readable s + +The tunnel mode, either "tun" or "tap". + + + The "NoPi" property + org.freedesktop.NetworkManager.Device.Tun:NoPi + +NoPi readable b + +The tunnel's "TUN_NO_PI" flag; true if no protocol info is prepended to the tunnel packets. + + + The "VnetHdr" property + org.freedesktop.NetworkManager.Device.Tun:VnetHdr + +VnetHdr readable b + +The tunnel's "TUN_VNET_HDR" flag; true if the tunnel packets include a virtio network header. + + + The "MultiQueue" property + org.freedesktop.NetworkManager.Device.Tun:MultiQueue + +MultiQueue readable b + +The tunnel's "TUN_TAP_MQ" flag; true if callers can connect to the tap device multiple times, for multiple send/receive queues. + + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Tun:HwAddress + +HwAddress readable s + +Hardware address of the device. + + + + diff --git a/introspection/nmdbus-device-veth-org.freedesktop.NetworkManager.Device.Veth.xml b/introspection/nmdbus-device-veth-org.freedesktop.NetworkManager.Device.Veth.xml new file mode 100644 index 00000000..f1e1d03a --- /dev/null +++ b/introspection/nmdbus-device-veth-org.freedesktop.NetworkManager.Device.Veth.xml @@ -0,0 +1,53 @@ + + + + org.freedesktop.NetworkManager.Device.Veth + org.freedesktop.NetworkManager.Device.Veth + org.freedesktop.NetworkManager.Device.Veth + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Peer readable o + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Veth::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Peer" property + org.freedesktop.NetworkManager.Device.Veth:Peer + +Peer readable o + +The object path of the device's peer. + + + + diff --git a/introspection/nmdbus-device-vlan-org.freedesktop.NetworkManager.Device.Vlan.xml b/introspection/nmdbus-device-vlan-org.freedesktop.NetworkManager.Device.Vlan.xml new file mode 100644 index 00000000..fd07a398 --- /dev/null +++ b/introspection/nmdbus-device-vlan-org.freedesktop.NetworkManager.Device.Vlan.xml @@ -0,0 +1,80 @@ + + + + org.freedesktop.NetworkManager.Device.Vlan + org.freedesktop.NetworkManager.Device.Vlan + org.freedesktop.NetworkManager.Device.Vlan + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +HwAddress readable s +Carrier readable b +Parent readable o +VlanId readable u + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Vlan::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Vlan:HwAddress + +HwAddress readable s + +Hardware address of the device. + + + The "Carrier" property + org.freedesktop.NetworkManager.Device.Vlan:Carrier + +Carrier readable b + +Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + + The "Parent" property + org.freedesktop.NetworkManager.Device.Vlan:Parent + +Parent readable o + +Object path of the parent device of this VLAN device. + + + The "VlanId" property + org.freedesktop.NetworkManager.Device.Vlan:VlanId + +VlanId readable u + +The VLAN ID of this VLAN interface. + + + + diff --git a/introspection/nmdbus-device-vxlan-org.freedesktop.NetworkManager.Device.Vxlan.xml b/introspection/nmdbus-device-vxlan-org.freedesktop.NetworkManager.Device.Vxlan.xml new file mode 100644 index 00000000..b755dcb2 --- /dev/null +++ b/introspection/nmdbus-device-vxlan-org.freedesktop.NetworkManager.Device.Vxlan.xml @@ -0,0 +1,197 @@ + + + + org.freedesktop.NetworkManager.Device.Vxlan + org.freedesktop.NetworkManager.Device.Vxlan + org.freedesktop.NetworkManager.Device.Vxlan + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Parent readable o +HwAddress readable s +Id readable u +Group readable s +Local readable s +Tos readable y +Ttl readable y +Learning readable b +Ageing readable u +Limit readable u +DstPort readable q +SrcPortMin readable q +SrcPortMax readable q +Proxy readable b +Rsc readable b +L2miss readable b +L3miss readable b + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Vxlan::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Parent" property + org.freedesktop.NetworkManager.Device.Vxlan:Parent + +Parent readable o + +The object path of the parent device (if the VXLAN is not purely internal to this host). + + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Vxlan:HwAddress + +HwAddress readable s + +Hardware address of the device. + + + The "Id" property + org.freedesktop.NetworkManager.Device.Vxlan:Id + +Id readable u + +The VXLAN Network Identifier (VNI). + + + The "Group" property + org.freedesktop.NetworkManager.Device.Vxlan:Group + +Group readable s + +The IP (v4 or v6) multicast group used to communicate with other physical hosts on this VXLAN. + + + The "Local" property + org.freedesktop.NetworkManager.Device.Vxlan:Local + +Local readable s + +The local IPv4 or IPv6 address to use when sending VXLAN packets to other physical hosts. + + + The "Tos" property + org.freedesktop.NetworkManager.Device.Vxlan:Tos + +Tos readable y + +The value to use in the IP ToS field for VXLAN packets sent to other physical hosts. + + + The "Ttl" property + org.freedesktop.NetworkManager.Device.Vxlan:Ttl + +Ttl readable y + +The value to use in the IP TTL field for VXLAN packets sent to other physical hosts. + + + The "Learning" property + org.freedesktop.NetworkManager.Device.Vxlan:Learning + +Learning readable b + +True if the VXLAN dynamically learns remote IP addresses. + + + The "Ageing" property + org.freedesktop.NetworkManager.Device.Vxlan:Ageing + +Ageing readable u + +The interval in seconds at which the kernel purges stale cached addresses. + + + The "Limit" property + org.freedesktop.NetworkManager.Device.Vxlan:Limit + +Limit readable u + +The maximum number of entries that can be added to the VXLAN's forwarding table. + + + The "DstPort" property + org.freedesktop.NetworkManager.Device.Vxlan:DstPort + +DstPort readable q + +Destination port for outgoing VXLAN packets. + + + The "SrcPortMin" property + org.freedesktop.NetworkManager.Device.Vxlan:SrcPortMin + +SrcPortMin readable q + +The lowest source port number to use for outgoing VXLAN packets. + + + The "SrcPortMax" property + org.freedesktop.NetworkManager.Device.Vxlan:SrcPortMax + +SrcPortMax readable q + +The highest source port number to use for outgoing VXLAN packets. + + + The "Proxy" property + org.freedesktop.NetworkManager.Device.Vxlan:Proxy + +Proxy readable b + +True if the VXLAN is implementing DOVE ARP proxying for remote clients. + + + The "Rsc" property + org.freedesktop.NetworkManager.Device.Vxlan:Rsc + +Rsc readable b + +True if the VXLAN is implementing DOVE route short-circuiting of known remote IP addresses. + + + The "L2miss" property + org.freedesktop.NetworkManager.Device.Vxlan:L2miss + +L2miss readable b + +True if the VXLAN will emit netlink notifications of L2 switch misses. + + + The "L3miss" property + org.freedesktop.NetworkManager.Device.Vxlan:L3miss + +L3miss readable b + +True if the VXLAN will emit netlink notifications of L3 switch misses. + + + + diff --git a/introspection/nmdbus-device-wifi-org.freedesktop.NetworkManager.Device.Wireless.xml b/introspection/nmdbus-device-wifi-org.freedesktop.NetworkManager.Device.Wireless.xml new file mode 100644 index 00000000..1951a6f5 --- /dev/null +++ b/introspection/nmdbus-device-wifi-org.freedesktop.NetworkManager.Device.Wireless.xml @@ -0,0 +1,190 @@ + + + + org.freedesktop.NetworkManager.Device.Wireless + org.freedesktop.NetworkManager.Device.Wireless + org.freedesktop.NetworkManager.Device.Wireless + Methods + +GetAccessPoints (OUT ao access_points); +GetAllAccessPoints (OUT ao access_points); +RequestScan (IN a{sv} options); + + + + Signals + +PropertiesChanged (a{sv} properties); +AccessPointAdded (o access_point); +AccessPointRemoved (o access_point); + + + + Properties + +HwAddress readable s +PermHwAddress readable s +Mode readable u +Bitrate readable u +AccessPoints readable ao +ActiveAccessPoint readable o +WirelessCapabilities readable u + + + + Description + + + + Method Details + + The GetAccessPoints() method + org.freedesktop.NetworkManager.Device.Wireless.GetAccessPoints() + +GetAccessPoints (OUT ao access_points); + +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. + + + OUT ao access_points: + List of access point object paths. + + + + + The GetAllAccessPoints() method + org.freedesktop.NetworkManager.Device.Wireless.GetAllAccessPoints() + +GetAllAccessPoints (OUT ao access_points); + +Get the list of all access points visible to this device, including hidden ones for which the SSID is not yet known. + + + OUT ao access_points: + List of access point object paths. + + + + + The RequestScan() method + org.freedesktop.NetworkManager.Device.Wireless.RequestScan() + +RequestScan (IN a{sv} options); + +Request the device to scan + + + IN a{sv} options: + Options of scan. Currently 'ssids' option with value of "aay" type is supported. + + + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.Wireless::PropertiesChanged + +PropertiesChanged (a{sv} properties); + +Emitted when the wireless device's properties changed. + + + a{sv} properties: + A dictionary containing the FIXME: check changed parameters. + + + + + The "AccessPointAdded" signal + org.freedesktop.NetworkManager.Device.Wireless::AccessPointAdded + +AccessPointAdded (o access_point); + +Emitted when a new access point is found by the device. + + + o access_point: + The object path of the newly found access point. + + + + + The "AccessPointRemoved" signal + org.freedesktop.NetworkManager.Device.Wireless::AccessPointRemoved + +AccessPointRemoved (o access_point); + +Emitted when an access point disappears from view of the device. + + + o access_point: + The object path of the access point that has disappeared. + + + + + + Property Details + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.Wireless:HwAddress + +HwAddress readable s + +The active hardware address of the device. + + + The "PermHwAddress" property + org.freedesktop.NetworkManager.Device.Wireless:PermHwAddress + +PermHwAddress readable s + +The permanent hardware address of the device. + + + The "Mode" property + org.freedesktop.NetworkManager.Device.Wireless:Mode + +Mode readable u + +The operating mode of the wireless device. + + + The "Bitrate" property + org.freedesktop.NetworkManager.Device.Wireless:Bitrate + +Bitrate readable u + +The bit rate currently used by the wireless device, in kilobits/second (Kb/s). + + + The "AccessPoints" property + org.freedesktop.NetworkManager.Device.Wireless:AccessPoints + +AccessPoints readable ao + +List of object paths of access point visible to this wireless device. + + + The "ActiveAccessPoint" property + org.freedesktop.NetworkManager.Device.Wireless:ActiveAccessPoint + +ActiveAccessPoint readable o + +Object path of the access point currently used by the wireless device. + + + The "WirelessCapabilities" property + org.freedesktop.NetworkManager.Device.Wireless:WirelessCapabilities + +WirelessCapabilities readable u + +The capabilities of the wireless device. + + + + diff --git a/introspection/nmdbus-device-wimax-org.freedesktop.NetworkManager.Device.WiMax.xml b/introspection/nmdbus-device-wimax-org.freedesktop.NetworkManager.Device.WiMax.xml new file mode 100644 index 00000000..5ad7234a --- /dev/null +++ b/introspection/nmdbus-device-wimax-org.freedesktop.NetworkManager.Device.WiMax.xml @@ -0,0 +1,169 @@ + + + + org.freedesktop.NetworkManager.Device.WiMax + org.freedesktop.NetworkManager.Device.WiMax + org.freedesktop.NetworkManager.Device.WiMax + Methods + +GetNspList (OUT ao nsps); + + + + Signals + +PropertiesChanged (a{sv} properties); +NspAdded (o nsp); +NspRemoved (o nsp); + + + + Properties + +Nsps readable ao +HwAddress readable s +CenterFrequency readable u +Rssi readable i +Cinr readable i +TxPower readable i +Bsid readable s +ActiveNsp readable o + + + + Description + + + + Method Details + + The GetNspList() method + org.freedesktop.NetworkManager.Device.WiMax.GetNspList() + +GetNspList (OUT ao nsps); + +Get the list of NSPs visible to this device. + + + OUT ao nsps: + List of NSP object paths + + + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Device.WiMax::PropertiesChanged + +PropertiesChanged (a{sv} properties); + +Emitted when the WiMax device's properties changed. + + + a{sv} properties: + A dictionary mapping property names to variant boxed values. + + + + + The "NspAdded" signal + org.freedesktop.NetworkManager.Device.WiMax::NspAdded + +NspAdded (o nsp); + +Emitted when a new NSP is found by the device. + + + o nsp: + The object path of the newly found NSP. + + + + + The "NspRemoved" signal + org.freedesktop.NetworkManager.Device.WiMax::NspRemoved + +NspRemoved (o nsp); + +Emitted when an NSP disappears from view of the device. + + + o nsp: + The object path of the NSP that has disappeared. + + + + + + Property Details + + The "Nsps" property + org.freedesktop.NetworkManager.Device.WiMax:Nsps + +Nsps readable ao + +List of object paths of Network Service Providers (NSPs) visible to this WiMAX device. + + + The "HwAddress" property + org.freedesktop.NetworkManager.Device.WiMax:HwAddress + +HwAddress readable s + +Hardware address of the device. + + + The "CenterFrequency" property + org.freedesktop.NetworkManager.Device.WiMax:CenterFrequency + +CenterFrequency readable u + +Center frequency (in KHz) of the radio channel the device is using to communicate with the network when connected. Has no meaning when the device is not connected. + + + The "Rssi" property + org.freedesktop.NetworkManager.Device.WiMax:Rssi + +Rssi readable i + +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. + + + The "Cinr" property + org.freedesktop.NetworkManager.Device.WiMax:Cinr + +Cinr readable i + +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. + + + The "TxPower" property + org.freedesktop.NetworkManager.Device.WiMax:TxPower + +TxPower readable i + +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. + + + The "Bsid" property + org.freedesktop.NetworkManager.Device.WiMax:Bsid + +Bsid readable s + +The ID of the serving base station as received from the network. Has no meaning when the device is not connected. + + + The "ActiveNsp" property + org.freedesktop.NetworkManager.Device.WiMax:ActiveNsp + +ActiveNsp readable o + +Object path of the NSP currently used by the WiMax device. + + + + diff --git a/introspection/nmdbus-dhcp4-config-org.freedesktop.NetworkManager.DHCP4Config.xml b/introspection/nmdbus-dhcp4-config-org.freedesktop.NetworkManager.DHCP4Config.xml new file mode 100644 index 00000000..5c144868 --- /dev/null +++ b/introspection/nmdbus-dhcp4-config-org.freedesktop.NetworkManager.DHCP4Config.xml @@ -0,0 +1,53 @@ + + + + org.freedesktop.NetworkManager.DHCP4Config + org.freedesktop.NetworkManager.DHCP4Config + org.freedesktop.NetworkManager.DHCP4Config + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Options readable a{sv} + + + + Description + Options and configuration returned by the IPv4 DHCP server. + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.DHCP4Config::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Options" property + org.freedesktop.NetworkManager.DHCP4Config:Options + +Options readable a{sv} + +Configuration options returned by a DHCP server, if any. + + + + diff --git a/introspection/nmdbus-dhcp6-config-org.freedesktop.NetworkManager.DHCP6Config.xml b/introspection/nmdbus-dhcp6-config-org.freedesktop.NetworkManager.DHCP6Config.xml new file mode 100644 index 00000000..65c12825 --- /dev/null +++ b/introspection/nmdbus-dhcp6-config-org.freedesktop.NetworkManager.DHCP6Config.xml @@ -0,0 +1,53 @@ + + + + org.freedesktop.NetworkManager.DHCP6Config + org.freedesktop.NetworkManager.DHCP6Config + org.freedesktop.NetworkManager.DHCP6Config + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Options readable a{sv} + + + + Description + Options and configuration returned by the IPv6 DHCP server. + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.DHCP6Config::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Options" property + org.freedesktop.NetworkManager.DHCP6Config:Options + +Options readable a{sv} + +Configuration options returned by a DHCP server, if any. + + + + diff --git a/introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml b/introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml new file mode 100644 index 00000000..08ddf98a --- /dev/null +++ b/introspection/nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml @@ -0,0 +1,134 @@ + + + + org.freedesktop.NetworkManager.IP4Config + org.freedesktop.NetworkManager.IP4Config + org.freedesktop.NetworkManager.IP4Config + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Addresses readable aau +AddressData readable aa{sv} +Gateway readable s +Routes readable aau +RouteData readable aa{sv} +Nameservers readable au +Domains readable as +Searches readable as +DnsOptions readable as +WinsServers readable au + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.IP4Config::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Addresses" property + org.freedesktop.NetworkManager.IP4Config:Addresses + +Addresses readable aau + +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 + + + The "AddressData" property + org.freedesktop.NetworkManager.IP4Config:AddressData + +AddressData readable aa{sv} + +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. + + + The "Gateway" property + org.freedesktop.NetworkManager.IP4Config:Gateway + +Gateway readable s + +The gateway in use. + + + The "Routes" property + org.freedesktop.NetworkManager.IP4Config:Routes + +Routes readable aau + +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 + + + The "RouteData" property + org.freedesktop.NetworkManager.IP4Config:RouteData + +RouteData readable aa{sv} + +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. + + + The "Nameservers" property + org.freedesktop.NetworkManager.IP4Config:Nameservers + +Nameservers readable au + +The nameservers in use. + + + The "Domains" property + org.freedesktop.NetworkManager.IP4Config:Domains + +Domains readable as + +A list of domains this address belongs to. + + + The "Searches" property + org.freedesktop.NetworkManager.IP4Config:Searches + +Searches readable as + +A list of dns searches. + + + The "DnsOptions" property + org.freedesktop.NetworkManager.IP4Config:DnsOptions + +DnsOptions readable as + +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. + + + The "WinsServers" property + org.freedesktop.NetworkManager.IP4Config:WinsServers + +WinsServers readable au + +The Windows Internet Name Service servers associated with the connection. Each address is in network byte order. + + + + diff --git a/introspection/nmdbus-ip6-config-org.freedesktop.NetworkManager.IP6Config.xml b/introspection/nmdbus-ip6-config-org.freedesktop.NetworkManager.IP6Config.xml new file mode 100644 index 00000000..a0e327eb --- /dev/null +++ b/introspection/nmdbus-ip6-config-org.freedesktop.NetworkManager.IP6Config.xml @@ -0,0 +1,125 @@ + + + + org.freedesktop.NetworkManager.IP6Config + org.freedesktop.NetworkManager.IP6Config + org.freedesktop.NetworkManager.IP6Config + Signals + +PropertiesChanged (a{sv} properties); + + + + Properties + +Addresses readable a(ayuay) +AddressData readable aa{sv} +Gateway readable s +Routes readable a(ayuayu) +RouteData readable aa{sv} +Nameservers readable aay +Domains readable as +Searches readable as +DnsOptions readable as + + + + Description + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.IP6Config::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + + Property Details + + The "Addresses" property + org.freedesktop.NetworkManager.IP6Config:Addresses + +Addresses readable a(ayuay) + +Array of tuples of IPv6 address/prefix/gateway. Deprecated: use AddressData and Gateway. + + + The "AddressData" property + org.freedesktop.NetworkManager.IP6Config:AddressData + +AddressData readable aa{sv} + +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. + + + The "Gateway" property + org.freedesktop.NetworkManager.IP6Config:Gateway + +Gateway readable s + +The gateway in use. + + + The "Routes" property + org.freedesktop.NetworkManager.IP6Config:Routes + +Routes readable a(ayuayu) + +Tuples of IPv6 route/prefix/next-hop/metric. Deprecated: use RouteData + + + The "RouteData" property + org.freedesktop.NetworkManager.IP6Config:RouteData + +RouteData readable aa{sv} + +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. + + + The "Nameservers" property + org.freedesktop.NetworkManager.IP6Config:Nameservers + +Nameservers readable aay + +The nameservers in use. + + + The "Domains" property + org.freedesktop.NetworkManager.IP6Config:Domains + +Domains readable as + +A list of domains this address belongs to. + + + The "Searches" property + org.freedesktop.NetworkManager.IP6Config:Searches + +Searches readable as + +A list of dns searches. + + + The "DnsOptions" property + org.freedesktop.NetworkManager.IP6Config:DnsOptions + +DnsOptions readable as + +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. + + + + diff --git a/introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml b/introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml new file mode 100644 index 00000000..10cc472e --- /dev/null +++ b/introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml @@ -0,0 +1,532 @@ + + + + org.freedesktop.NetworkManager + org.freedesktop.NetworkManager + org.freedesktop.NetworkManager + Methods + +GetDevices (OUT ao devices); +GetAllDevices (OUT ao devices); +GetDeviceByIpIface (IN s iface, + OUT o device); +ActivateConnection (IN o connection, + IN o device, + IN o specific_object, + OUT o active_connection); +AddAndActivateConnection (IN a{sa{sv}} connection, + IN o device, + IN o specific_object, + OUT o path, + OUT o active_connection); +DeactivateConnection (IN o active_connection); +Sleep (IN b sleep); +Enable (IN b enable); +GetPermissions (OUT a{ss} permissions); +SetLogging (IN s level, + IN s domains); +GetLogging (OUT s level, + OUT s domains); +CheckConnectivity (OUT u connectivity); +state (OUT u state); + + + + Signals + +CheckPermissions (); +StateChanged (u state); +PropertiesChanged (a{sv} properties); +DeviceAdded (o device_path); +DeviceRemoved (o device_path); + + + + Properties + +Devices readable ao +AllDevices readable ao +NetworkingEnabled readable b +WirelessEnabled readwrite b +WirelessHardwareEnabled readable b +WwanEnabled readwrite b +WwanHardwareEnabled readable b +WimaxEnabled readwrite b +WimaxHardwareEnabled readable b +ActiveConnections readable ao +PrimaryConnection readable o +PrimaryConnectionType readable s +Metered readable u +ActivatingConnection readable o +Startup readable b +Version readable s +State readable u +Connectivity readable u +GlobalDnsConfiguration readwrite a{sv} + + + + Description + + + + Method Details + + The GetDevices() method + org.freedesktop.NetworkManager.GetDevices() + +GetDevices (OUT ao devices); + +Get the list of realized network devices. + + + OUT ao devices: + List of object paths of network devices known to the system. This list does not include device placeholders (see GetAllDevices()). + + + + + The GetAllDevices() method + org.freedesktop.NetworkManager.GetAllDevices() + +GetAllDevices (OUT ao devices); + +Get the list of all network devices. + + + OUT ao 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). + + + + + The GetDeviceByIpIface() method + org.freedesktop.NetworkManager.GetDeviceByIpIface() + +GetDeviceByIpIface (IN s iface, + OUT o 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. + + + IN s iface: + Interface name of the device to find. + + + OUT o device: + Object path of the network device. + + + + + The ActivateConnection() method + org.freedesktop.NetworkManager.ActivateConnection() + +ActivateConnection (IN o connection, + IN o device, + IN o specific_object, + OUT o active_connection); + +Activate a connection using the supplied device. + + + IN o 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. + + + IN o 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. + + + IN o 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. + + + OUT o active_connection: + The path of the active connection object representing this active connection. + + + + + The AddAndActivateConnection() method + org.freedesktop.NetworkManager.AddAndActivateConnection() + +AddAndActivateConnection (IN a{sa{sv}} connection, + IN o device, + IN o specific_object, + OUT o path, + OUT o 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. + + + IN a{sa{sv}} connection: + Connection settings and properties; if incomplete missing settings will be automatically completed using the given device and specific object. + + + IN o device: + The object path of device to be activated using the given connection. + + + IN o 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. + + + OUT o path: + Object path of the new connection that was just added. + + + OUT o active_connection: + The path of the active connection object representing this active connection. + + + + + The DeactivateConnection() method + org.freedesktop.NetworkManager.DeactivateConnection() + +DeactivateConnection (IN o active_connection); + +Deactivate an active connection. + + + IN o active_connection: + The currently active connection to deactivate. + + + + + The Sleep() method + org.freedesktop.NetworkManager.Sleep() + +Sleep (IN b sleep); + +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. + + + IN b sleep: + Indicates whether the NetworkManager daemon should sleep or wake. + + + + + The Enable() method + org.freedesktop.NetworkManager.Enable() + +Enable (IN b enable); + +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. + + + IN b enable: + If FALSE, indicates that all networking should be disabled. If TRUE, indicates that NetworkManager should begin managing network devices. + + + + + The GetPermissions() method + org.freedesktop.NetworkManager.GetPermissions() + +GetPermissions (OUT a{ss} permissions); + +Returns the permissions a caller has for various authenticated operations that NetworkManager provides, like Enable/Disable networking, changing WiFi, WWAN, and WiMAX state, etc. + + + OUT a{ss} 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. + + + + + The SetLogging() method + org.freedesktop.NetworkManager.SetLogging() + +SetLogging (IN s level, + IN s domains); + +Set logging verbosity and which operations are logged. + + + IN s 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. + + + IN s 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. + + + + + The GetLogging() method + org.freedesktop.NetworkManager.GetLogging() + +GetLogging (OUT s level, + OUT s domains); + +Get current logging verbosity level and operations domains. + + + OUT s level: + One of [ERR, WARN, INFO, DEBUG, TRACE]. + + + OUT s domains: + For available domains see SetLogging() call. + + + + + The CheckConnectivity() method + org.freedesktop.NetworkManager.CheckConnectivity() + +CheckConnectivity (OUT u connectivity); + +Re-check the network connectivity state. + + + OUT u connectivity: + The current connectivity state. + + + + + The state() method + org.freedesktop.NetworkManager.state() + +state (OUT u state); + +The overall networking state as determined by the NetworkManager daemon, based on the state of network devices under it's management. + + + OUT u state: + + + + + + + Signal Details + + The "CheckPermissions" signal + org.freedesktop.NetworkManager::CheckPermissions + +CheckPermissions (); + +Emitted when system authorization details change, indicating that clients may wish to recheck permissions with GetPermissions. + + + The "StateChanged" signal + org.freedesktop.NetworkManager::StateChanged + +StateChanged (u state); + +NetworkManager's state changed. + + + u state: + The new state of NetworkManager. + + + + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager::PropertiesChanged + +PropertiesChanged (a{sv} properties); + +NetworkManager's properties changed. + + + a{sv} properties: + The changed properties. + + + + + The "DeviceAdded" signal + org.freedesktop.NetworkManager::DeviceAdded + +DeviceAdded (o device_path); + +A device was added to the system + + + o device_path: + The object path of the newly added device. + + + + + The "DeviceRemoved" signal + org.freedesktop.NetworkManager::DeviceRemoved + +DeviceRemoved (o device_path); + +A device was removed from the system, and is no longer available. + + + o device_path: + The object path of the device that was just removed. + + + + + + Property Details + + The "Devices" property + org.freedesktop.NetworkManager:Devices + +Devices readable ao + +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). + + + The "AllDevices" property + org.freedesktop.NetworkManager:AllDevices + +AllDevices readable ao + +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. + + + The "NetworkingEnabled" property + org.freedesktop.NetworkManager:NetworkingEnabled + +NetworkingEnabled readable b + +Indicates if overall networking is currently enabled or not. See the Enable() method. + + + The "WirelessEnabled" property + org.freedesktop.NetworkManager:WirelessEnabled + +WirelessEnabled readwrite b + +Indicates if wireless is currently enabled or not. + + + The "WirelessHardwareEnabled" property + org.freedesktop.NetworkManager:WirelessHardwareEnabled + +WirelessHardwareEnabled readable b + +Indicates if the wireless hardware is currently enabled, i.e. the state of the RF kill switch. + + + The "WwanEnabled" property + org.freedesktop.NetworkManager:WwanEnabled + +WwanEnabled readwrite b + +Indicates if mobile broadband devices are currently enabled or not. + + + The "WwanHardwareEnabled" property + org.freedesktop.NetworkManager:WwanHardwareEnabled + +WwanHardwareEnabled readable b + +Indicates if the mobile broadband hardware is currently enabled, i.e. the state of the RF kill switch. + + + The "WimaxEnabled" property + org.freedesktop.NetworkManager:WimaxEnabled + +WimaxEnabled readwrite b + +Indicates if WiMAX devices are currently enabled or not. + + + The "WimaxHardwareEnabled" property + org.freedesktop.NetworkManager:WimaxHardwareEnabled + +WimaxHardwareEnabled readable b + +Indicates if the WiMAX hardware is currently enabled, i.e. the state of the RF kill switch. + + + The "ActiveConnections" property + org.freedesktop.NetworkManager:ActiveConnections + +ActiveConnections readable ao + +List of active connection object paths. + + + The "PrimaryConnection" property + org.freedesktop.NetworkManager:PrimaryConnection + +PrimaryConnection readable o + +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. + + + The "PrimaryConnectionType" property + org.freedesktop.NetworkManager:PrimaryConnectionType + +PrimaryConnectionType readable s + +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. + + + The "Metered" property + org.freedesktop.NetworkManager:Metered + +Metered readable u + +Indicates whether the connectivity is metered. This is equivalent to the metered property of the device associated with the primary connection. + + + The "ActivatingConnection" property + org.freedesktop.NetworkManager:ActivatingConnection + +ActivatingConnection readable o + +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. + + + The "Startup" property + org.freedesktop.NetworkManager:Startup + +Startup readable b + +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. + + + The "Version" property + org.freedesktop.NetworkManager:Version + +Version readable s + +NetworkManager version. + + + The "State" property + org.freedesktop.NetworkManager:State + +State readable u + +The overall state of the NetworkManager daemon. + + + The "Connectivity" property + org.freedesktop.NetworkManager:Connectivity + +Connectivity readable u + +The network connectivity state. + + + The "GlobalDnsConfiguration" property + org.freedesktop.NetworkManager:GlobalDnsConfiguration + +GlobalDnsConfiguration readwrite a{sv} + +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. + + + + diff --git a/introspection/nmdbus-ppp-manager-org.freedesktop.NetworkManager.PPP.xml b/introspection/nmdbus-ppp-manager-org.freedesktop.NetworkManager.PPP.xml new file mode 100644 index 00000000..79370cd3 --- /dev/null +++ b/introspection/nmdbus-ppp-manager-org.freedesktop.NetworkManager.PPP.xml @@ -0,0 +1,87 @@ + + + + org.freedesktop.NetworkManager.PPP + org.freedesktop.NetworkManager.PPP + org.freedesktop.NetworkManager.PPP + Methods + +NeedSecrets (OUT s username, + OUT s password); +SetIp4Config (IN a{sv} config); +SetIp6Config (IN a{sv} config); +SetState (IN u state); + + + + Description + + + + Method Details + + The NeedSecrets() method + org.freedesktop.NetworkManager.PPP.NeedSecrets() + +NeedSecrets (OUT s username, + OUT s password); + + + + + OUT s username: + + + + OUT s password: + + + + + + The SetIp4Config() method + org.freedesktop.NetworkManager.PPP.SetIp4Config() + +SetIp4Config (IN a{sv} config); + + + + + IN a{sv} config: + + + + + + The SetIp6Config() method + org.freedesktop.NetworkManager.PPP.SetIp6Config() + +SetIp6Config (IN a{sv} config); + + + + + IN a{sv} config: + + + + + + The SetState() method + org.freedesktop.NetworkManager.PPP.SetState() + +SetState (IN u state); + + + + + IN u state: + + + + + + + diff --git a/introspection/nmdbus-secret-agent-org.freedesktop.NetworkManager.SecretAgent.xml b/introspection/nmdbus-secret-agent-org.freedesktop.NetworkManager.SecretAgent.xml new file mode 100644 index 00000000..36a683d6 --- /dev/null +++ b/introspection/nmdbus-secret-agent-org.freedesktop.NetworkManager.SecretAgent.xml @@ -0,0 +1,129 @@ + + + + org.freedesktop.NetworkManager.SecretAgent + org.freedesktop.NetworkManager.SecretAgent + org.freedesktop.NetworkManager.SecretAgent + Methods + +GetSecrets (IN a{sa{sv}} connection, + IN o connection_path, + IN s setting_name, + IN as hints, + IN u flags, + OUT a{sa{sv}} secrets); +CancelGetSecrets (IN o connection_path, + IN s setting_name); +SaveSecrets (IN a{sa{sv}} connection, + IN o connection_path); +DeleteSecrets (IN a{sa{sv}} connection, + IN o connection_path); + + + + Description + 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. + + + Method Details + + The GetSecrets() method + org.freedesktop.NetworkManager.SecretAgent.GetSecrets() + +GetSecrets (IN a{sa{sv}} connection, + IN o connection_path, + IN s setting_name, + IN as hints, + IN u flags, + OUT a{sa{sv}} secrets); + +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). + + + IN a{sa{sv}} 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. + + + IN o connection_path: + Object path of the connection for which secrets are being requested. + + + IN s setting_name: + Setting name for which secrets are being requested. + + + IN as 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:". + + + IN u flags: + 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. + + + OUT a{sa{sv}} 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. + + + + + The CancelGetSecrets() method + org.freedesktop.NetworkManager.SecretAgent.CancelGetSecrets() + +CancelGetSecrets (IN o connection_path, + IN s setting_name); + +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. + + + IN o connection_path: + Object path of the connection for which, if secrets for the given 'setting_name' are being requested, the request should be canceled. + + + IN s setting_name: + Setting name for which secrets for this connection were originally being requested. + + + + + The SaveSecrets() method + org.freedesktop.NetworkManager.SecretAgent.SaveSecrets() + +SaveSecrets (IN a{sa{sv}} connection, + IN o connection_path); + +Save given secrets to backing storage. + + + IN a{sa{sv}} 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. + + + IN o connection_path: + Object path of the connection for which the agent should save secrets to backing storage. + + + + + The DeleteSecrets() method + org.freedesktop.NetworkManager.SecretAgent.DeleteSecrets() + +DeleteSecrets (IN a{sa{sv}} connection, + IN o connection_path); + +Delete secrets from backing storage. + + + IN a{sa{sv}} connection: + Nested settings maps containing the connection properties (sans secrets), for which the agent should delete the secrets from backing storage. + + + IN o connection_path: + Object path of the connection for which the agent should delete secrets from backing storage. + + + + + + diff --git a/introspection/nmdbus-settings-connection-org.freedesktop.NetworkManager.Settings.Connection.xml b/introspection/nmdbus-settings-connection-org.freedesktop.NetworkManager.Settings.Connection.xml new file mode 100644 index 00000000..f5dd15ff --- /dev/null +++ b/introspection/nmdbus-settings-connection-org.freedesktop.NetworkManager.Settings.Connection.xml @@ -0,0 +1,172 @@ + + + + org.freedesktop.NetworkManager.Settings.Connection + org.freedesktop.NetworkManager.Settings.Connection + org.freedesktop.NetworkManager.Settings.Connection + Methods + +Update (IN a{sa{sv}} properties); +UpdateUnsaved (IN a{sa{sv}} properties); +Delete (); +GetSettings (OUT a{sa{sv}} settings); +GetSecrets (IN s setting_name, + OUT a{sa{sv}} secrets); +ClearSecrets (); +Save (); + + + + Signals + +Updated (); +Removed (); +PropertiesChanged (a{sv} properties); + + + + Properties + +Unsaved readable b + + + + Description + Represents a single network connection configuration. + + + Method Details + + The Update() method + org.freedesktop.NetworkManager.Settings.Connection.Update() + +Update (IN a{sa{sv}} properties); + +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. + + + IN a{sa{sv}} properties: + New connection settings, properties, and (optionally) secrets. + + + + + The UpdateUnsaved() method + org.freedesktop.NetworkManager.Settings.Connection.UpdateUnsaved() + +UpdateUnsaved (IN a{sa{sv}} properties); + +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). + + + IN a{sa{sv}} properties: + New connection settings, properties, and (optionally) secrets. + + + + + The Delete() method + org.freedesktop.NetworkManager.Settings.Connection.Delete() + +Delete (); + +Delete the connection. + + + The GetSettings() method + org.freedesktop.NetworkManager.Settings.Connection.GetSettings() + +GetSettings (OUT a{sa{sv}} settings); + +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. + + + OUT a{sa{sv}} settings: + The nested settings maps describing this object. + + + + + The GetSecrets() method + org.freedesktop.NetworkManager.Settings.Connection.GetSecrets() + +GetSecrets (IN s setting_name, + OUT a{sa{sv}} secrets); + +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. + + + IN s setting_name: + Name of the setting to return secrets for. If empty, all all secrets will be returned. + + + OUT a{sa{sv}} secrets: + Nested settings maps containing secrets. + + + + + The ClearSecrets() method + org.freedesktop.NetworkManager.Settings.Connection.ClearSecrets() + +ClearSecrets (); + +Clear the secrets belonging to this network connection profile. + + + The Save() method + org.freedesktop.NetworkManager.Settings.Connection.Save() + +Save (); + +Saves a "dirty" connection (that had previously been updated with UpdateUnsaved) to persistent storage. + + + + Signal Details + + The "Updated" signal + org.freedesktop.NetworkManager.Settings.Connection::Updated + +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. + + + The "Removed" signal + org.freedesktop.NetworkManager.Settings.Connection::Removed + +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. + + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Settings.Connection::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values. + + + + + + Property Details + + The "Unsaved" property + org.freedesktop.NetworkManager.Settings.Connection:Unsaved + +Unsaved readable b + +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. + + + + diff --git a/introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml b/introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml new file mode 100644 index 00000000..0481b710 --- /dev/null +++ b/introspection/nmdbus-settings-org.freedesktop.NetworkManager.Settings.xml @@ -0,0 +1,244 @@ + + + + org.freedesktop.NetworkManager.Settings + org.freedesktop.NetworkManager.Settings + org.freedesktop.NetworkManager.Settings + Methods + +ListConnections (OUT ao connections); +GetConnectionByUuid (IN s uuid, + OUT o connection); +AddConnection (IN a{sa{sv}} connection, + OUT o path); +AddConnectionUnsaved (IN a{sa{sv}} connection, + OUT o path); +LoadConnections (IN as filenames, + OUT b status, + OUT as failures); +ReloadConnections (OUT b status); +SaveHostname (IN s hostname); + + + + Signals + +PropertiesChanged (a{sv} properties); +NewConnection (o connection); +ConnectionRemoved (o connection); + + + + Properties + +Connections readable ao +Hostname readable s +CanModify readable b + + + + Description + The Settings interface allows clients to view and administrate the connections stored and used by NetworkManager. + + + Method Details + + The ListConnections() method + org.freedesktop.NetworkManager.Settings.ListConnections() + +ListConnections (OUT ao connections); + +List the saved network connections known to NetworkManager. + + + OUT ao connections: + List of connections. + + + + + The GetConnectionByUuid() method + org.freedesktop.NetworkManager.Settings.GetConnectionByUuid() + +GetConnectionByUuid (IN s uuid, + OUT o connection); + +Retrieve the object path of a connection, given that connection's UUID. + + + IN s uuid: + The UUID to find the connection object path for. + + + OUT o connection: + The connection's object path. + + + + + The AddConnection() method + org.freedesktop.NetworkManager.Settings.AddConnection() + +AddConnection (IN a{sa{sv}} connection, + OUT o path); + +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. + + + IN a{sa{sv}} connection: + Connection settings and properties. + + + OUT o path: + Object path of the new connection that was just added. + + + + + The AddConnectionUnsaved() method + org.freedesktop.NetworkManager.Settings.AddConnectionUnsaved() + +AddConnectionUnsaved (IN a{sa{sv}} connection, + OUT o path); + +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). + + + IN a{sa{sv}} connection: + Connection settings and properties. + + + OUT o path: + Object path of the new connection that was just added. + + + + + The LoadConnections() method + org.freedesktop.NetworkManager.Settings.LoadConnections() + +LoadConnections (IN as filenames, + OUT b status, + OUT as failures); + +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. + + + IN as filenames: + Array of paths to on-disk connection profiles in directories monitored by NetworkManager. + + + OUT b 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). + + + OUT as failures: + Paths of connection files that could not be loaded. + + + + + The ReloadConnections() method + org.freedesktop.NetworkManager.Settings.ReloadConnections() + +ReloadConnections (OUT b status); + +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. + + + OUT b status: + Success or failure. + + + + + The SaveHostname() method + org.freedesktop.NetworkManager.Settings.SaveHostname() + +SaveHostname (IN s hostname); + +Save the hostname to persistent configuration. + + + IN s hostname: + The hostname to save to persistent configuration. If blank, the persistent hostname is cleared. + + + + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.Settings::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + The "NewConnection" signal + org.freedesktop.NetworkManager.Settings::NewConnection + +NewConnection (o connection); + +Emitted when a new connection has been added after NetworkManager has 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 connection list, call the ListConnections() method once, and then listen for individual Settings.NewConnection and Settings.Connection.Deleted signals for further updates. + + + o connection: + Object path of the new connection. + + + + + The "ConnectionRemoved" signal + org.freedesktop.NetworkManager.Settings::ConnectionRemoved + +ConnectionRemoved (o 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. + + + o connection: + Object path of the removed connection. + + + + + + Property Details + + The "Connections" property + org.freedesktop.NetworkManager.Settings:Connections + +Connections readable ao + +List of object paths of available network connection profiles. + + + The "Hostname" property + org.freedesktop.NetworkManager.Settings:Hostname + +Hostname readable s + +The machine hostname stored in persistent configuration. + + + The "CanModify" property + org.freedesktop.NetworkManager.Settings:CanModify + +CanModify readable b + +If true, adding and modifying connections is supported. + + + + diff --git a/introspection/nmdbus-vpn-connection-org.freedesktop.NetworkManager.VPN.Connection.xml b/introspection/nmdbus-vpn-connection-org.freedesktop.NetworkManager.VPN.Connection.xml new file mode 100644 index 00000000..b52c7409 --- /dev/null +++ b/introspection/nmdbus-vpn-connection-org.freedesktop.NetworkManager.VPN.Connection.xml @@ -0,0 +1,83 @@ + + + + org.freedesktop.NetworkManager.VPN.Connection + org.freedesktop.NetworkManager.VPN.Connection + org.freedesktop.NetworkManager.VPN.Connection + Signals + +PropertiesChanged (a{sv} properties); +VpnStateChanged (u state, + u reason); + + + + Properties + +VpnState readable u +Banner readable s + + + + Description + Represents an active connection to a Virtual Private Network. + + + Signal Details + + The "PropertiesChanged" signal + org.freedesktop.NetworkManager.VPN.Connection::PropertiesChanged + +PropertiesChanged (a{sv} properties); + + + + + a{sv} properties: + A dictionary mapping property names to variant boxed values + + + + + The "VpnStateChanged" signal + org.freedesktop.NetworkManager.VPN.Connection::VpnStateChanged + +VpnStateChanged (u state, + u reason); + +Emitted when the state of the VPN connection has changed. + + + u state: + The new state of the VPN connection. + + + u reason: + Reason code describing the change to the new state. + + + + + + Property Details + + The "VpnState" property + org.freedesktop.NetworkManager.VPN.Connection:VpnState + +VpnState readable u + +The VPN-specific state of the connection. + + + The "Banner" property + org.freedesktop.NetworkManager.VPN.Connection:Banner + +Banner readable s + +The banner string of the VPN connection. + + + + diff --git a/introspection/nmdbus-vpn-plugin-org.freedesktop.NetworkManager.VPN.Plugin.xml b/introspection/nmdbus-vpn-plugin-org.freedesktop.NetworkManager.VPN.Plugin.xml new file mode 100644 index 00000000..a3c249b0 --- /dev/null +++ b/introspection/nmdbus-vpn-plugin-org.freedesktop.NetworkManager.VPN.Plugin.xml @@ -0,0 +1,298 @@ + + + + org.freedesktop.NetworkManager.VPN.Plugin + org.freedesktop.NetworkManager.VPN.Plugin + org.freedesktop.NetworkManager.VPN.Plugin + Methods + +Connect (IN a{sa{sv}} connection); +ConnectInteractive (IN a{sa{sv}} connection, + IN a{sv} details); +NeedSecrets (IN a{sa{sv}} settings, + OUT s setting_name); +Disconnect (); +SetConfig (IN a{sv} config); +SetIp4Config (IN a{sv} config); +SetIp6Config (IN a{sv} config); +SetFailure (IN s reason); +NewSecrets (IN a{sa{sv}} connection); + + + + Signals + +StateChanged (u state); +SecretsRequired (s message, + as secrets); +Config (a{sv} config); +Ip4Config (a{sv} ip4config); +Ip6Config (a{sv} ip6config); +LoginBanner (s banner); +Failure (u reason); + + + + Properties + +State readable u + + + + Description + This interface is provided by plugins providing VPN services to the NetworkManager daemon. + + + Method Details + + The Connect() method + org.freedesktop.NetworkManager.VPN.Plugin.Connect() + +Connect (IN a{sa{sv}} connection); + +Tells the plugin to connect. Interactive secrets requests (eg, emitting the SecretsRequired signal) are not allowed. + + + IN a{sa{sv}} connection: + Describes the connection to be established. + + + + + The ConnectInteractive() method + org.freedesktop.NetworkManager.VPN.Plugin.ConnectInteractive() + +ConnectInteractive (IN a{sa{sv}} connection, + IN a{sv} details); + +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). + + + IN a{sa{sv}} connection: + Describes the connection to be established. + + + IN a{sv} details: + Additional details about the Connect process. + + + + + The NeedSecrets() method + org.freedesktop.NetworkManager.VPN.Plugin.NeedSecrets() + +NeedSecrets (IN a{sa{sv}} settings, + OUT s setting_name); + +Asks the plugin whether the provided connection will require secrets to connect successfully. + + + IN a{sa{sv}} settings: + Describes the connection that may need secrets. + + + OUT s setting_name: + The setting name within the provided connection that requires secrets, if any. + + + + + The Disconnect() method + org.freedesktop.NetworkManager.VPN.Plugin.Disconnect() + +Disconnect (); + +Disconnect the plugin. + + + The SetConfig() method + org.freedesktop.NetworkManager.VPN.Plugin.SetConfig() + +SetConfig (IN a{sv} config); + +Set generic connection details on the connection. + + + IN a{sv} config: + Generic configuration details for the connection. + + + + + The SetIp4Config() method + org.freedesktop.NetworkManager.VPN.Plugin.SetIp4Config() + +SetIp4Config (IN a{sv} config); + +Set IPv4 details on the connection. + + + IN a{sv} config: + Ip4Config details for the connection. You must call SetConfig() before calling this. + + + + + The SetIp6Config() method + org.freedesktop.NetworkManager.VPN.Plugin.SetIp6Config() + +SetIp6Config (IN a{sv} config); + +Set IPv6 details on the connection. + + + IN a{sv} config: + Ip6Config details for the connection. You must call SetConfig() before calling this. + + + + + The SetFailure() method + org.freedesktop.NetworkManager.VPN.Plugin.SetFailure() + +SetFailure (IN s reason); + +Indicate a failure to the plugin. + + + IN s reason: + The reason for the failure. + + + + + The NewSecrets() method + org.freedesktop.NetworkManager.VPN.Plugin.NewSecrets() + +NewSecrets (IN a{sa{sv}} connection); + +Called in response to a SecretsRequired signal to deliver updated secrets or other information to the plugin. + + + IN a{sa{sv}} connection: + Describes the connection including the new secrets. + + + + + + Signal Details + + The "StateChanged" signal + org.freedesktop.NetworkManager.VPN.Plugin::StateChanged + +StateChanged (u state); + +Emitted when the plugin state changes. + + + u state: + The new state of the plugin. + + + + + The "SecretsRequired" signal + org.freedesktop.NetworkManager.VPN.Plugin::SecretsRequired + +SecretsRequired (s message, + as secrets); + +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. + + + s 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. + + + as 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. + + + + + The "Config" signal + org.freedesktop.NetworkManager.VPN.Plugin::Config + +Config (a{sv} config); + +The plugin obtained generic configuration information. + + + a{sv} config: + The configuration information. + + + + + The "Ip4Config" signal + org.freedesktop.NetworkManager.VPN.Plugin::Ip4Config + +Ip4Config (a{sv} ip4config); + +The plugin obtained an IPv4 configuration. + + + a{sv} ip4config: + The IPv4 configuration. + + + + + The "Ip6Config" signal + org.freedesktop.NetworkManager.VPN.Plugin::Ip6Config + +Ip6Config (a{sv} ip6config); + +The plugin obtained an IPv6 configuration. + + + a{sv} ip6config: + The IPv6 configuration. + + + + + The "LoginBanner" signal + org.freedesktop.NetworkManager.VPN.Plugin::LoginBanner + +LoginBanner (s banner); + +Emitted when the plugin receives a login banner from the VPN service. + + + s banner: + The login banner string. + + + + + The "Failure" signal + org.freedesktop.NetworkManager.VPN.Plugin::Failure + +Failure (u reason); + +Emitted when a failure in the VPN plugin occurs. + + + u reason: + Reason code for the failure. + + + + + + Property Details + + The "State" property + org.freedesktop.NetworkManager.VPN.Plugin:State + +State readable u + +The state of the plugin. + + + + diff --git a/introspection/vpn-errors.xml b/introspection/vpn-errors.xml index 7b92d073..c1e02aac 100644 --- a/introspection/vpn-errors.xml +++ b/introspection/vpn-errors.xml @@ -2,59 +2,59 @@ - General failure without further details. + - + - + - + - + - + - + - + - + - + -- cgit 1.3.0-6-gf8a5