diff options
| author | Michael Biebl <biebl@debian.org> | 2016-08-26 02:18:32 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2016-08-26 02:18:32 +0200 |
| commit | 7514efc2f38c9ace4557d4e69d68e7d380389030 (patch) | |
| tree | 7fb00fda86cfcc2ca377f191633a7cfdbfea7ca3 /introspection | |
| parent | d6201f5d8daada3d64a0a3e0038e14eebec683ce (diff) | |
Imported Upstream version 1.4.0 upstream/1.4.0
Diffstat (limited to 'introspection')
| -rw-r--r-- | introspection/Makefile.am | 10 | ||||
| -rw-r--r-- | introspection/Makefile.in | 50 | ||||
| -rw-r--r-- | introspection/nm-checkpoint.xml | 42 | ||||
| -rw-r--r-- | introspection/nm-device-statistics.xml | 37 | ||||
| -rw-r--r-- | introspection/nm-device-team.xml | 7 | ||||
| -rw-r--r-- | introspection/nm-manager.xml | 41 | ||||
| -rw-r--r-- | introspection/nmdbus-device-statistics-org.freedesktop.NetworkManager.Device.Statistics.xml | 77 | ||||
| -rw-r--r-- | introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml | 10 | ||||
| -rw-r--r-- | introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml | 78 |
9 files changed, 335 insertions, 17 deletions
diff --git a/introspection/Makefile.am b/introspection/Makefile.am index 3a627930..27b54e5d 100644 --- a/introspection/Makefile.am +++ b/introspection/Makefile.am @@ -17,6 +17,8 @@ nodist_libnmdbus_la_SOURCES = \ nmdbus-active-connection.h \ nmdbus-agent-manager.c \ nmdbus-agent-manager.h \ + nmdbus-checkpoint.c \ + nmdbus-checkpoint.h \ nmdbus-device-adsl.c \ nmdbus-device-adsl.h \ nmdbus-device-bond.c \ @@ -41,6 +43,8 @@ nodist_libnmdbus_la_SOURCES = \ nmdbus-device-modem.h \ nmdbus-device-olpc-mesh.c \ nmdbus-device-olpc-mesh.h \ + nmdbus-device-statistics.c \ + nmdbus-device-statistics.h \ nmdbus-device-team.c \ nmdbus-device-team.h \ nmdbus-device-tun.c \ @@ -81,6 +85,7 @@ 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-checkpoint-org.freedesktop.NetworkManager.Checkpoint.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 \ @@ -111,7 +116,8 @@ DBUS_INTERFACE_DOCS = \ 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 + nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml \ + nmdbus-device-statistics-org.freedesktop.NetworkManager.Device.Statistics.xml define _make_nmdbus_rule $(1): $(patsubst nmdbus-%.c,nm-%.xml,$(1)) @@ -139,6 +145,7 @@ EXTRA_DIST = \ nm-access-point.xml \ nm-active-connection.xml \ nm-agent-manager.xml \ + nm-checkpoint.xml \ nm-device-adsl.xml \ nm-device-bond.xml \ nm-device-bridge.xml \ @@ -150,6 +157,7 @@ EXTRA_DIST = \ nm-device-macvlan.xml \ nm-device-modem.xml \ nm-device-olpc-mesh.xml \ + nm-device-statistics.xml \ nm-device-team.xml \ nm-device-tun.xml \ nm-device-veth.xml \ diff --git a/introspection/Makefile.in b/introspection/Makefile.in index 3f6bf9e6..63e8451d 100644 --- a/introspection/Makefile.in +++ b/introspection/Makefile.in @@ -90,8 +90,9 @@ build_triplet = @build@ host_triplet = @host@ subdir = introspection ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_lib_readline.m4 \ - $(top_srcdir)/m4/compiler_warnings.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/m4/attributes.m4 \ + $(top_srcdir)/m4/ax_lib_readline.m4 \ + $(top_srcdir)/m4/compiler_options.m4 \ $(top_srcdir)/m4/gettext.m4 \ $(top_srcdir)/m4/gnome-code-coverage.m4 \ $(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \ @@ -114,21 +115,21 @@ LTLIBRARIES = $(noinst_LTLIBRARIES) libnmdbus_la_LIBADD = nodist_libnmdbus_la_OBJECTS = nmdbus-access-point.lo \ nmdbus-active-connection.lo nmdbus-agent-manager.lo \ - nmdbus-device-adsl.lo nmdbus-device-bond.lo \ - nmdbus-device-bridge.lo nmdbus-device-bt.lo \ - nmdbus-device-ethernet.lo nmdbus-device.lo \ + nmdbus-checkpoint.lo nmdbus-device-adsl.lo \ + nmdbus-device-bond.lo nmdbus-device-bridge.lo \ + nmdbus-device-bt.lo nmdbus-device-ethernet.lo nmdbus-device.lo \ nmdbus-device-generic.lo nmdbus-device-infiniband.lo \ nmdbus-device-ip-tunnel.lo nmdbus-device-macvlan.lo \ nmdbus-device-modem.lo nmdbus-device-olpc-mesh.lo \ - nmdbus-device-team.lo nmdbus-device-tun.lo \ - nmdbus-device-veth.lo nmdbus-device-vlan.lo \ - nmdbus-device-vxlan.lo nmdbus-device-wifi.lo \ - nmdbus-device-wimax.lo nmdbus-dhcp4-config.lo \ - nmdbus-dhcp6-config.lo nmdbus-ip4-config.lo \ - nmdbus-ip6-config.lo nmdbus-manager.lo nmdbus-ppp-manager.lo \ - nmdbus-secret-agent.lo nmdbus-settings-connection.lo \ - nmdbus-settings.lo nmdbus-vpn-connection.lo \ - nmdbus-vpn-plugin.lo + nmdbus-device-statistics.lo nmdbus-device-team.lo \ + nmdbus-device-tun.lo nmdbus-device-veth.lo \ + nmdbus-device-vlan.lo nmdbus-device-vxlan.lo \ + nmdbus-device-wifi.lo nmdbus-device-wimax.lo \ + nmdbus-dhcp4-config.lo nmdbus-dhcp6-config.lo \ + nmdbus-ip4-config.lo nmdbus-ip6-config.lo nmdbus-manager.lo \ + nmdbus-ppp-manager.lo nmdbus-secret-agent.lo \ + nmdbus-settings-connection.lo nmdbus-settings.lo \ + nmdbus-vpn-connection.lo nmdbus-vpn-plugin.lo libnmdbus_la_OBJECTS = $(nodist_libnmdbus_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) @@ -231,6 +232,7 @@ DHCLIENT_PATH = @DHCLIENT_PATH@ DHCPCD_PATH = @DHCPCD_PATH@ DISTRO_NETWORK_SERVICE = @DISTRO_NETWORK_SERVICE@ DLLTOOL = @DLLTOOL@ +DL_LIBS = @DL_LIBS@ DNSMASQ_PATH = @DNSMASQ_PATH@ DNSSEC_TRIGGER_SCRIPT = @DNSSEC_TRIGGER_SCRIPT@ DSYMUTIL = @DSYMUTIL@ @@ -287,13 +289,14 @@ INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ IPTABLES_PATH = @IPTABLES_PATH@ +JANSSON_CFLAGS = @JANSSON_CFLAGS@ +JANSSON_LIBS = @JANSSON_LIBS@ KERNEL_FIRMWARE_DIR = @KERNEL_FIRMWARE_DIR@ LCOV = @LCOV@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBAUDIT_CFLAGS = @LIBAUDIT_CFLAGS@ LIBAUDIT_LIBS = @LIBAUDIT_LIBS@ -LIBDL = @LIBDL@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBM = @LIBM@ @@ -305,6 +308,8 @@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@ LIBSOUP_LIBS = @LIBSOUP_LIBS@ +LIBSYSTEMD_CFLAGS = @LIBSYSTEMD_CFLAGS@ +LIBSYSTEMD_LIBS = @LIBSYSTEMD_LIBS@ LIBTEAMDCTL_CFLAGS = @LIBTEAMDCTL_CFLAGS@ LIBTEAMDCTL_LIBS = @LIBTEAMDCTL_LIBS@ LIBTOOL = @LIBTOOL@ @@ -365,6 +370,8 @@ QT_CFLAGS = @QT_CFLAGS@ QT_LIBS = @QT_LIBS@ RANLIB = @RANLIB@ READLINE_LIBS = @READLINE_LIBS@ +SANITIZERS = @SANITIZERS@ +SANITIZER_ENV = @SANITIZER_ENV@ SED = @SED@ SELINUX_CFLAGS = @SELINUX_CFLAGS@ SELINUX_LIBS = @SELINUX_LIBS@ @@ -400,6 +407,7 @@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +ac_ct_RANLIB = @ac_ct_RANLIB@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -480,6 +488,8 @@ nodist_libnmdbus_la_SOURCES = \ nmdbus-active-connection.h \ nmdbus-agent-manager.c \ nmdbus-agent-manager.h \ + nmdbus-checkpoint.c \ + nmdbus-checkpoint.h \ nmdbus-device-adsl.c \ nmdbus-device-adsl.h \ nmdbus-device-bond.c \ @@ -504,6 +514,8 @@ nodist_libnmdbus_la_SOURCES = \ nmdbus-device-modem.h \ nmdbus-device-olpc-mesh.c \ nmdbus-device-olpc-mesh.h \ + nmdbus-device-statistics.c \ + nmdbus-device-statistics.h \ nmdbus-device-team.c \ nmdbus-device-team.h \ nmdbus-device-tun.c \ @@ -544,6 +556,7 @@ 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-checkpoint-org.freedesktop.NetworkManager.Checkpoint.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 \ @@ -574,7 +587,8 @@ DBUS_INTERFACE_DOCS = \ 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 + nmdbus-ip4-config-org.freedesktop.NetworkManager.IP4Config.xml \ + nmdbus-device-statistics-org.freedesktop.NetworkManager.Device.Statistics.xml BUILT_SOURCES = $(nodist_libnmdbus_la_SOURCES) $(DBUS_INTERFACE_DOCS) CLEANFILES = $(BUILT_SOURCES) @@ -582,6 +596,7 @@ EXTRA_DIST = \ nm-access-point.xml \ nm-active-connection.xml \ nm-agent-manager.xml \ + nm-checkpoint.xml \ nm-device-adsl.xml \ nm-device-bond.xml \ nm-device-bridge.xml \ @@ -593,6 +608,7 @@ EXTRA_DIST = \ nm-device-macvlan.xml \ nm-device-modem.xml \ nm-device-olpc-mesh.xml \ + nm-device-statistics.xml \ nm-device-team.xml \ nm-device-tun.xml \ nm-device-veth.xml \ @@ -672,6 +688,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-access-point.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-active-connection.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-agent-manager.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-checkpoint.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-adsl.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-bond.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-bridge.Plo@am__quote@ @@ -683,6 +700,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-macvlan.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-modem.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-olpc-mesh.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-statistics.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-team.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-tun.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nmdbus-device-veth.Plo@am__quote@ diff --git a/introspection/nm-checkpoint.xml b/introspection/nm-checkpoint.xml new file mode 100644 index 00000000..d0fbda8d --- /dev/null +++ b/introspection/nm-checkpoint.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?> +<node name="/"> + + <!-- + org.freedesktop.NetworkManager.Checkpoint: + + A snapshot of NetworkManager state for a given device list + --> + <interface name="org.freedesktop.NetworkManager.Checkpoint"> + <annotation name="org.gtk.GDBus.C.Name" value="Checkpoint"/> + + <!-- + Devices: + + Array of object paths for devices which are part of this + checkpoint. + --> + <property name="Devices" type="ao" access="read"/> + + <!-- + Created: + + The timestamp (in CLOCK_BOOTTIME milliseconds) of checkpoint creation. + --> + <property name="Created" type="x" access="read"/> + + <!-- + RollbackTimeout: + + Timeout in seconds for automatic rollback, or zero. + --> + <property name="RollbackTimeout" type="u" access="read"/> + + <!-- + PropertiesChanged: + @properties: A dictionary mapping property names to variant boxed values + --> + <signal name="PropertiesChanged"> + <arg name="properties" type="a{sv}"/> + </signal> + </interface> +</node> diff --git a/introspection/nm-device-statistics.xml b/introspection/nm-device-statistics.xml new file mode 100644 index 00000000..bdb19c89 --- /dev/null +++ b/introspection/nm-device-statistics.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<node name="/"> + <interface name="org.freedesktop.NetworkManager.Device.Statistics"> + + <!-- + RefreshRateMs: + + Refresh rate of the rest of properties of this interface. The properties + are guaranteed to be refreshed each RefreshRateMs milliseconds in case + the underlying counter has changed too. + If zero, there is no guaranteed refresh rate of the properties. + --> + <property name="RefreshRateMs" type="u" access="readwrite"/> + + <!-- + TxBytes: + + Number of transmitted bytes + --> + <property name="TxBytes" type="t" access="read"/> + + <!-- + RxBytes: + + Number of received bytes + --> + <property name="RxBytes" type="t" access="read"/> + + <!-- + PropertiesChanged: + @properties: A dictionary mapping property names to variant boxed values + --> + <signal name="PropertiesChanged"> + <arg name="properties" type="a{sv}"/> + </signal> + </interface> +</node> diff --git a/introspection/nm-device-team.xml b/introspection/nm-device-team.xml index 05bbbafe..64faaec4 100644 --- a/introspection/nm-device-team.xml +++ b/introspection/nm-device-team.xml @@ -26,6 +26,13 @@ <property name="Slaves" type="ao" access="read"/> <!-- + Config: + + The JSON configuration currently applied on the device. + --> + <property name="Config" type="s" access="read" /> + + <!-- PropertiesChanged: @properties: A dictionary mapping property names to variant boxed values --> diff --git a/introspection/nm-manager.xml b/introspection/nm-manager.xml index ea368ba3..95cc16ca 100644 --- a/introspection/nm-manager.xml +++ b/introspection/nm-manager.xml @@ -206,6 +206,47 @@ </method> <!-- + CheckpointCreate: + + @devices: a list of device paths for which a checkpoint should be created. An empty list means all managed devices. + @rollback_timeout: the time in seconds until NetworkManager will automatically rollback to the checkpoint. Set to zero for infinite. + @flags: optional flags that influence the creation. + @checkpoint: on success, returns the path of the checkpoint. + + Create a checkpoint of the current networking configuration + for given interfaces. If @rollback_timeout is not zero, a + rollback is automatically performed after the given timeout. + --> + <method name="CheckpointCreate"> + <arg name="devices" type="ao" direction="in"/> + <arg name="rollback_timeout" type="u" direction="in"/> + <arg name="flags" type="u" direction="in"/> + <arg name="checkpoint" type="o" direction="out"/> + </method> + + <!-- + CheckpointDestroy: + @checkpoint: the checkpoint to be destroyed. Set to empty to cancel all pending checkpoints. + + Destroy a previously created checkpoint. + --> + <method name="CheckpointDestroy"> + <arg name="checkpoint" type="o" direction="in"/> + </method> + + <!-- + CheckpointRollback: + @checkpoint: the checkpoint to be rolled back. + @result: on return, a dictionary of devices and results. Devices are represented by their original D-Bus path; each result is a <link linkend="NMRollbackResult">RollbackResult</link>. + + Rollback a checkpoint before the timeout is reached. + --> + <method name="CheckpointRollback"> + <arg name="checkpoint" type="o" direction="in"/> + <arg name="result" type="a{su}" direction="out" /> + </method> + + <!-- Devices: The list of realized network devices. Realized devices are those which diff --git a/introspection/nmdbus-device-statistics-org.freedesktop.NetworkManager.Device.Statistics.xml b/introspection/nmdbus-device-statistics-org.freedesktop.NetworkManager.Device.Statistics.xml new file mode 100644 index 00000000..1ab52fa8 --- /dev/null +++ b/introspection/nmdbus-device-statistics-org.freedesktop.NetworkManager.Device.Statistics.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ +]> +<refentry id="gdbus-org.freedesktop.NetworkManager.Device.Statistics"> + <refmeta> <refentrytitle role="top_of_page" id="gdbus-interface-org-freedesktop-NetworkManager-Device-Statistics.top_of_page">org.freedesktop.NetworkManager.Device.Statistics</refentrytitle> + <indexterm zone="gdbus-interface-org-freedesktop-NetworkManager-Device-Statistics.top_of_page"><primary sortas=".Device.Statistics">org.freedesktop.NetworkManager.Device.Statistics</primary></indexterm> + </refmeta> <refnamediv> <refname>org.freedesktop.NetworkManager.Device.Statistics</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="signal_proto"> + <title role="signal_proto.title">Signals</title> + <synopsis> +<link linkend="gdbus-signal-org-freedesktop-NetworkManager-Device-Statistics.PropertiesChanged">PropertiesChanged</link> (a{sv} properties); +</synopsis> + </refsect1> + <refsect1 role="properties"> + <title role="properties.title">Properties</title> + <synopsis> +<link linkend="gdbus-property-org-freedesktop-NetworkManager-Device-Statistics.RefreshRateMs">RefreshRateMs</link> readwrite u +<link linkend="gdbus-property-org-freedesktop-NetworkManager-Device-Statistics.TxBytes">TxBytes</link> readable t +<link linkend="gdbus-property-org-freedesktop-NetworkManager-Device-Statistics.RxBytes">RxBytes</link> readable t +</synopsis> + </refsect1> +<refsect1 role="desc" id="gdbus-interface-org-freedesktop-NetworkManager-Device-Statistics"> + <title role="desc.title">Description</title> + <para></para> +</refsect1> +<refsect1 role="details" id="gdbus-signals-org.freedesktop.NetworkManager.Device.Statistics"> + <title role="details.title">Signal Details</title> +<refsect2 role="signal" id="gdbus-signal-org-freedesktop-NetworkManager-Device-Statistics.PropertiesChanged"> + <title>The "PropertiesChanged" signal</title> + <indexterm zone="gdbus-signal-org-freedesktop-NetworkManager-Device-Statistics.PropertiesChanged"><primary sortas=".Device.Statistics::PropertiesChanged">org.freedesktop.NetworkManager.Device.Statistics::PropertiesChanged</primary></indexterm> +<programlisting> +PropertiesChanged (a{sv} properties); +</programlisting> +<para></para> +<variablelist role="params"> +<varlistentry> + <term><literal>a{sv} <parameter>properties</parameter></literal>:</term> + <listitem><para>A dictionary mapping property names to variant boxed values</para></listitem> +</varlistentry> +</variablelist> +</refsect2> +</refsect1> +<refsect1 role="details" id="gdbus-properties-org.freedesktop.NetworkManager.Device.Statistics"> + <title role="details.title">Property Details</title> +<refsect2 role="property" id="gdbus-property-org-freedesktop-NetworkManager-Device-Statistics.RefreshRateMs"> + <title>The "RefreshRateMs" property</title> + <indexterm zone="gdbus-property-org-freedesktop-NetworkManager-Device-Statistics.RefreshRateMs"><primary sortas=".Device.Statistics:RefreshRateMs">org.freedesktop.NetworkManager.Device.Statistics:RefreshRateMs</primary></indexterm> +<programlisting> +RefreshRateMs readwrite u +</programlisting> +<para> Refresh rate of the rest of properties of this interface. The properties + are guaranteed to be refreshed each RefreshRateMs milliseconds in case + the underlying counter has changed too. + If zero, there is no guaranteed refresh rate of the properties. +</para> +</refsect2> +<refsect2 role="property" id="gdbus-property-org-freedesktop-NetworkManager-Device-Statistics.TxBytes"> + <title>The "TxBytes" property</title> + <indexterm zone="gdbus-property-org-freedesktop-NetworkManager-Device-Statistics.TxBytes"><primary sortas=".Device.Statistics:TxBytes">org.freedesktop.NetworkManager.Device.Statistics:TxBytes</primary></indexterm> +<programlisting> +TxBytes readable t +</programlisting> +<para> Number of transmitted bytes +</para> +</refsect2> +<refsect2 role="property" id="gdbus-property-org-freedesktop-NetworkManager-Device-Statistics.RxBytes"> + <title>The "RxBytes" property</title> + <indexterm zone="gdbus-property-org-freedesktop-NetworkManager-Device-Statistics.RxBytes"><primary sortas=".Device.Statistics:RxBytes">org.freedesktop.NetworkManager.Device.Statistics:RxBytes</primary></indexterm> +<programlisting> +RxBytes readable t +</programlisting> +<para> Number of received bytes +</para> +</refsect2> +</refsect1> +</refentry> + diff --git a/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml b/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml index 5fc0d238..15301db0 100644 --- a/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml +++ b/introspection/nmdbus-device-team-org.freedesktop.NetworkManager.Device.Team.xml @@ -17,6 +17,7 @@ <link linkend="gdbus-property-org-freedesktop-NetworkManager-Device-Team.HwAddress">HwAddress</link> readable s <link linkend="gdbus-property-org-freedesktop-NetworkManager-Device-Team.Carrier">Carrier</link> readable b <link linkend="gdbus-property-org-freedesktop-NetworkManager-Device-Team.Slaves">Slaves</link> readable ao +<link linkend="gdbus-property-org-freedesktop-NetworkManager-Device-Team.Config">Config</link> readable s </synopsis> </refsect1> <refsect1 role="desc" id="gdbus-interface-org-freedesktop-NetworkManager-Device-Team"> @@ -71,6 +72,15 @@ Slaves readable ao this device. </para> </refsect2> +<refsect2 role="property" id="gdbus-property-org-freedesktop-NetworkManager-Device-Team.Config"> + <title>The "Config" property</title> + <indexterm zone="gdbus-property-org-freedesktop-NetworkManager-Device-Team.Config"><primary sortas=".Device.Team:Config">org.freedesktop.NetworkManager.Device.Team:Config</primary></indexterm> +<programlisting> +Config readable s +</programlisting> +<para> The JSON configuration currently applied on the device. +</para> +</refsect2> </refsect1> </refentry> diff --git a/introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml b/introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml index 993f9f10..aa6a7278 100644 --- a/introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml +++ b/introspection/nmdbus-manager-org.freedesktop.NetworkManager.xml @@ -32,6 +32,13 @@ OUT s domains); <link linkend="gdbus-method-org-freedesktop-NetworkManager.CheckConnectivity">CheckConnectivity</link> (OUT u connectivity); <link linkend="gdbus-method-org-freedesktop-NetworkManager.state">state</link> (OUT u state); +<link linkend="gdbus-method-org-freedesktop-NetworkManager.CheckpointCreate">CheckpointCreate</link> (IN ao devices, + IN u rollback_timeout, + IN u flags, + OUT o checkpoint); +<link linkend="gdbus-method-org-freedesktop-NetworkManager.CheckpointDestroy">CheckpointDestroy</link> (IN o checkpoint); +<link linkend="gdbus-method-org-freedesktop-NetworkManager.CheckpointRollback">CheckpointRollback</link> (IN o checkpoint, + OUT a{su} result); </synopsis> </refsynopsisdiv> <refsect1 role="signal_proto"> @@ -366,6 +373,77 @@ state (OUT u state); </varlistentry> </variablelist> </refsect2> +<refsect2 role="method" id="gdbus-method-org-freedesktop-NetworkManager.CheckpointCreate"> + <title>The CheckpointCreate() method</title> + <indexterm zone="gdbus-method-org-freedesktop-NetworkManager.CheckpointCreate"><primary sortas="Manager.CheckpointCreate">org.freedesktop.NetworkManager.CheckpointCreate()</primary></indexterm> +<programlisting> +CheckpointCreate (IN ao devices, + IN u rollback_timeout, + IN u flags, + OUT o checkpoint); +</programlisting> +<para> <parameter>devices</parameter>: a list of device paths for which a checkpoint should be created. An empty list means all managed devices. + <parameter>rollback_timeout</parameter>: the time in seconds until NetworkManager will automatically rollback to the checkpoint. Set to zero for infinite. + <parameter>flags</parameter>: optional flags that influence the creation. + <parameter>checkpoint</parameter>: on success, returns the path of the checkpoint. +</para><para> Create a checkpoint of the current networking configuration + for given interfaces. If <parameter>rollback_timeout</parameter> is not zero, a + rollback is automatically performed after the given timeout. +</para> +<variablelist role="params"> +<varlistentry> + <term><literal>IN ao <parameter>devices</parameter></literal>:</term> + <listitem><para></para></listitem> +</varlistentry> +<varlistentry> + <term><literal>IN u <parameter>rollback_timeout</parameter></literal>:</term> + <listitem><para></para></listitem> +</varlistentry> +<varlistentry> + <term><literal>IN u <parameter>flags</parameter></literal>:</term> + <listitem><para></para></listitem> +</varlistentry> +<varlistentry> + <term><literal>OUT o <parameter>checkpoint</parameter></literal>:</term> + <listitem><para></para></listitem> +</varlistentry> +</variablelist> +</refsect2> +<refsect2 role="method" id="gdbus-method-org-freedesktop-NetworkManager.CheckpointDestroy"> + <title>The CheckpointDestroy() method</title> + <indexterm zone="gdbus-method-org-freedesktop-NetworkManager.CheckpointDestroy"><primary sortas="Manager.CheckpointDestroy">org.freedesktop.NetworkManager.CheckpointDestroy()</primary></indexterm> +<programlisting> +CheckpointDestroy (IN o checkpoint); +</programlisting> +<para> Destroy a previously created checkpoint. +</para> +<variablelist role="params"> +<varlistentry> + <term><literal>IN o <parameter>checkpoint</parameter></literal>:</term> + <listitem><para>the checkpoint to be destroyed. Set to empty to cancel all pending checkpoints.</para></listitem> +</varlistentry> +</variablelist> +</refsect2> +<refsect2 role="method" id="gdbus-method-org-freedesktop-NetworkManager.CheckpointRollback"> + <title>The CheckpointRollback() method</title> + <indexterm zone="gdbus-method-org-freedesktop-NetworkManager.CheckpointRollback"><primary sortas="Manager.CheckpointRollback">org.freedesktop.NetworkManager.CheckpointRollback()</primary></indexterm> +<programlisting> +CheckpointRollback (IN o checkpoint, + OUT a{su} result); +</programlisting> +<para> Rollback a checkpoint before the timeout is reached. +</para> +<variablelist role="params"> +<varlistentry> + <term><literal>IN o <parameter>checkpoint</parameter></literal>:</term> + <listitem><para>the checkpoint to be rolled back.</para></listitem> +</varlistentry> +<varlistentry> + <term><literal>OUT a{su} <parameter>result</parameter></literal>:</term> + <listitem><para>on return, a dictionary of devices and results. Devices are represented by their original D-Bus path; each result is a <link linkend="NMRollbackResult">RollbackResult</link>.</para></listitem> +</varlistentry> +</variablelist> +</refsect2> </refsect1> <refsect1 role="details" id="gdbus-signals-org.freedesktop.NetworkManager"> <title role="details.title">Signal Details</title> |