summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2019-10-10 09:23:22 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2019-11-22 10:18:26 +0100
commit1b90ad41bba08726136b062e61bb59303a9137fa (patch)
tree71b77eb9da3e8333766c436a713a64e120d2e44a /introspection
parent6c86f68ac44b5301f844c676e7a4f47b3a8f7422 (diff)
downloadNetworkManager-1b90ad41bba08726136b062e61bb59303a9137fa.tar.gz
core: export interface flags of devices
Add a new read-only "InterfaceFlags" property to the Device interface to export via D-Bus kernel flags and possibly other NM specific flags. At the moment IFF_UP and IFF_LOWERUP are implemented.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.Device.xml b/introspection/org.freedesktop.NetworkManager.Device.xml
index 65c2a2c097..ca9dd8d758 100644
--- a/introspection/org.freedesktop.NetworkManager.Device.xml
+++ b/introspection/org.freedesktop.NetworkManager.Device.xml
@@ -279,6 +279,17 @@
<property name="Ip6Connectivity" type="u" access="read"/>
<!--
+ InterfaceFlags:
+
+ The flags of the network interface. See
+ <link linkend="NMDeviceInterfaceFlags">NMDeviceInterfaceFlags</link> for
+ the currently defined flags.
+
+ Since: 1.22
+ -->
+ <property name="InterfaceFlags" type="u" access="read"/>
+
+ <!--
Reapply:
@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.
@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.