eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit cb35e9fe6549822a73e32a6d88b96dfd86c4f9e6
parent 248190b0ed42d99a4ddc05bd6fa5da455795cc2b
Author: James Prestwood <prestwoj@gmail.com>
Date:   Fri, 12 Jun 2020 12:14:13 -0700

auto-t: add 'Delay' property to hwsim python module

Diffstat:
Mautotests/util/hwsim.py | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/autotests/util/hwsim.py b/autotests/util/hwsim.py @@ -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)