mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
auto-t: add 'Delay' property to hwsim python module
This commit is contained in:
parent
248190b0ed
commit
cb35e9fe65
@ -112,6 +112,14 @@ class Rule(HwsimDBusAbstract):
|
||||
def drop(self, value):
|
||||
self._prop_proxy.Set(self._iface_name, 'Drop', dbus.Boolean(value))
|
||||
|
||||
@property
|
||||
def delay(self):
|
||||
return int(self._properties['Delay'])
|
||||
|
||||
@delay.setter
|
||||
def delay(self, value):
|
||||
self._prop_proxy.Set(self._iface_name, 'Delay', dbus.UInt32(value))
|
||||
|
||||
def remove(self):
|
||||
self._iface.Remove(reply_handler=self._success,
|
||||
error_handler=self._failure)
|
||||
|
Loading…
Reference in New Issue
Block a user