diff options
Diffstat (limited to 'introspection/org.freedesktop.NetworkManager.Device.xml')
| -rw-r--r-- | introspection/org.freedesktop.NetworkManager.Device.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.Device.xml b/introspection/org.freedesktop.NetworkManager.Device.xml index 085d2a1f..d770cfe6 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.xml @@ -175,6 +175,9 @@ 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. + + DEPRECATED: 1.56.1: Use the SetManaged method instead, which supports + additional features like persisting the state to disk --> <property name="Managed" type="b" access="readwrite"/> @@ -392,6 +395,20 @@ <method name="Delete"/> <!-- + SetManaged: + @managed:(<link linkend="NMDeviceManaged">NMDeviceManaged</link>) Whether the device is managed. Possible values are "no" (0), "yes" (1) and "reset" (2). + @flags: (<link linkend="NMDeviceManagedFlags">NMDeviceManagedFlags</link>) flags. + @since: 1.56.1 + + Set the managed state of the device. With the flags argument different + behaviors can be achieved, like storing the new managed state to disk. + --> + <method name="SetManaged"> + <arg name="managed" type="u" direction="in"/> + <arg name="flags" type="u" direction="in"/> + </method> + + <!-- StateChanged: @new_state: (<link linkend="NMDeviceState">NMDeviceState</link>) The new state of the device. @old_state: (<link linkend="NMDeviceState">NMDeviceState</link>) The previous state of the device. |