diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2019-10-10 09:23:22 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2019-11-22 10:18:26 +0100 |
commit | 1b90ad41bba08726136b062e61bb59303a9137fa (patch) | |
tree | 71b77eb9da3e8333766c436a713a64e120d2e44a /introspection | |
parent | 6c86f68ac44b5301f844c676e7a4f47b3a8f7422 (diff) | |
download | NetworkManager-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.xml | 11 |
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. |