labgrid package
Subpackages
- labgrid.autoinstall package
- labgrid.driver package
- Subpackages
- labgrid.driver.power package
- Submodules
- labgrid.driver.power.apc module
- labgrid.driver.power.digipower module
- labgrid.driver.power.digitalloggers_http module
- labgrid.driver.power.digitalloggers_restapi module
- labgrid.driver.power.eaton module
- labgrid.driver.power.eg_pms2_network module
- labgrid.driver.power.eth008 module
- labgrid.driver.power.gude module
- labgrid.driver.power.gude24 module
- labgrid.driver.power.gude8031 module
- labgrid.driver.power.gude8225 module
- labgrid.driver.power.gude8316 module
- labgrid.driver.power.mfi_mpower module
- labgrid.driver.power.netio module
- labgrid.driver.power.netio_kshell module
- labgrid.driver.power.poe_mib module
- labgrid.driver.power.raritan module
- labgrid.driver.power.rest module
- labgrid.driver.power.sentry module
- labgrid.driver.power.shelly_gen1 module
- labgrid.driver.power.siglent module
- labgrid.driver.power.simplerest module
- labgrid.driver.power.tinycontrol module
- labgrid.driver.power.tplink module
- labgrid.driver.power.ubus module
- labgrid.driver.usbtmc package
- labgrid.driver.power package
- Submodules
- labgrid.driver.bareboxdriver module
BareboxDriver
BareboxDriver.bindings
BareboxDriver.__attrs_post_init__()
BareboxDriver.on_activate()
BareboxDriver.on_deactivate()
BareboxDriver.run()
BareboxDriver.reset()
BareboxDriver.get_status()
BareboxDriver.await_boot()
BareboxDriver.boot()
BareboxDriver.__abstractmethods__
BareboxDriver.__annotations__
BareboxDriver.__attrs_attrs__
BareboxDriver.__firstlineno__
BareboxDriver.__init__()
BareboxDriver.__match_args__
BareboxDriver.__module__
BareboxDriver.__replace__()
BareboxDriver.__repr__()
BareboxDriver.__static_attributes__
- labgrid.driver.commandmixin module
- labgrid.driver.common module
Driver
Driver.__attrs_post_init__()
Driver.get_priority()
Driver.get_export_name()
Driver.get_export_vars()
Driver.skip_deactivate_on_export
Driver.get_bound_resources()
Driver.__annotations__
Driver.__attrs_attrs__
Driver.__firstlineno__
Driver.__init__()
Driver.__match_args__
Driver.__module__
Driver.__replace__()
Driver.__repr__()
Driver.__static_attributes__
check_file()
- labgrid.driver.consoleexpectmixin module
ConsoleExpectMixin
ConsoleExpectMixin.__attrs_post_init__()
ConsoleExpectMixin.read()
ConsoleExpectMixin.write()
ConsoleExpectMixin.sendline()
ConsoleExpectMixin.sendcontrol()
ConsoleExpectMixin.expect()
ConsoleExpectMixin.settle()
ConsoleExpectMixin.resolve_conflicts()
ConsoleExpectMixin.__dict__
ConsoleExpectMixin.__firstlineno__
ConsoleExpectMixin.__module__
ConsoleExpectMixin.__static_attributes__
ConsoleExpectMixin.__weakref__
- labgrid.driver.dediprogflashdriver module
DediprogFlashDriver
DediprogFlashDriver.bindings
DediprogFlashDriver.__attrs_post_init__()
DediprogFlashDriver.on_activate()
DediprogFlashDriver.on_deactivate()
DediprogFlashDriver.map_vcc()
DediprogFlashDriver.__call__()
DediprogFlashDriver.flash()
DediprogFlashDriver.erase()
DediprogFlashDriver.__annotations__
DediprogFlashDriver.__attrs_attrs__
DediprogFlashDriver.__firstlineno__
DediprogFlashDriver.__init__()
DediprogFlashDriver.__match_args__
DediprogFlashDriver.__module__
DediprogFlashDriver.__replace__()
DediprogFlashDriver.__repr__()
DediprogFlashDriver.__static_attributes__
- labgrid.driver.deditecrelaisdriver module
DeditecRelaisDriver
DeditecRelaisDriver.bindings
DeditecRelaisDriver.__attrs_post_init__()
DeditecRelaisDriver.on_activate()
DeditecRelaisDriver.on_deactivate()
DeditecRelaisDriver.set()
DeditecRelaisDriver.get()
DeditecRelaisDriver.__abstractmethods__
DeditecRelaisDriver.__annotations__
DeditecRelaisDriver.__attrs_attrs__
DeditecRelaisDriver.__firstlineno__
DeditecRelaisDriver.__init__()
DeditecRelaisDriver.__match_args__
DeditecRelaisDriver.__module__
DeditecRelaisDriver.__replace__()
DeditecRelaisDriver.__repr__()
DeditecRelaisDriver.__static_attributes__
- labgrid.driver.dfudriver module
DFUDriver
DFUDriver.bindings
DFUDriver.__attrs_post_init__()
DFUDriver.on_activate()
DFUDriver.on_deactivate()
DFUDriver.download()
DFUDriver.detach()
DFUDriver.list()
DFUDriver.__annotations__
DFUDriver.__attrs_attrs__
DFUDriver.__firstlineno__
DFUDriver.__init__()
DFUDriver.__match_args__
DFUDriver.__module__
DFUDriver.__replace__()
DFUDriver.__repr__()
DFUDriver.__static_attributes__
- labgrid.driver.dockerdriver module
PullPolicy
pull_policy_converter()
DockerDriver
DockerDriver.bindings
DockerDriver.__attrs_post_init__()
DockerDriver.on_activate()
DockerDriver.on_deactivate()
DockerDriver.on()
DockerDriver.off()
DockerDriver.cycle()
DockerDriver.__abstractmethods__
DockerDriver.__annotations__
DockerDriver.__attrs_attrs__
DockerDriver.__firstlineno__
DockerDriver.__init__()
DockerDriver.__match_args__
DockerDriver.__module__
DockerDriver.__replace__()
DockerDriver.__repr__()
DockerDriver.__static_attributes__
- labgrid.driver.exception module
- labgrid.driver.externalconsoledriver module
ExternalConsoleDriver
ExternalConsoleDriver.__attrs_post_init__()
ExternalConsoleDriver.open()
ExternalConsoleDriver.close()
ExternalConsoleDriver.on_activate()
ExternalConsoleDriver.on_deactivate()
ExternalConsoleDriver.__abstractmethods__
ExternalConsoleDriver.__annotations__
ExternalConsoleDriver.__attrs_attrs__
ExternalConsoleDriver.__firstlineno__
ExternalConsoleDriver.__init__()
ExternalConsoleDriver.__match_args__
ExternalConsoleDriver.__module__
ExternalConsoleDriver.__replace__()
ExternalConsoleDriver.__repr__()
ExternalConsoleDriver.__static_attributes__
- labgrid.driver.fake module
FakeConsoleDriver
FakeConsoleDriver.__attrs_post_init__()
FakeConsoleDriver.open()
FakeConsoleDriver.close()
FakeConsoleDriver.__abstractmethods__
FakeConsoleDriver.__annotations__
FakeConsoleDriver.__attrs_attrs__
FakeConsoleDriver.__firstlineno__
FakeConsoleDriver.__init__()
FakeConsoleDriver.__match_args__
FakeConsoleDriver.__module__
FakeConsoleDriver.__replace__()
FakeConsoleDriver.__repr__()
FakeConsoleDriver.__static_attributes__
FakeCommandDriver
FakeCommandDriver.run()
FakeCommandDriver.run_check()
FakeCommandDriver.get_status()
FakeCommandDriver.__abstractmethods__
FakeCommandDriver.__annotations__
FakeCommandDriver.__attrs_attrs__
FakeCommandDriver.__firstlineno__
FakeCommandDriver.__init__()
FakeCommandDriver.__match_args__
FakeCommandDriver.__module__
FakeCommandDriver.__replace__()
FakeCommandDriver.__repr__()
FakeCommandDriver.__static_attributes__
FakeFileTransferDriver
FakeFileTransferDriver.get()
FakeFileTransferDriver.put()
FakeFileTransferDriver.__abstractmethods__
FakeFileTransferDriver.__annotations__
FakeFileTransferDriver.__attrs_attrs__
FakeFileTransferDriver.__firstlineno__
FakeFileTransferDriver.__init__()
FakeFileTransferDriver.__match_args__
FakeFileTransferDriver.__module__
FakeFileTransferDriver.__replace__()
FakeFileTransferDriver.__repr__()
FakeFileTransferDriver.__static_attributes__
FakePowerDriver
FakePowerDriver.on()
FakePowerDriver.off()
FakePowerDriver.cycle()
FakePowerDriver.__abstractmethods__
FakePowerDriver.__annotations__
FakePowerDriver.__attrs_attrs__
FakePowerDriver.__firstlineno__
FakePowerDriver.__init__()
FakePowerDriver.__match_args__
FakePowerDriver.__module__
FakePowerDriver.__replace__()
FakePowerDriver.__repr__()
FakePowerDriver.__static_attributes__
- labgrid.driver.fastbootdriver module
AndroidFastbootDriver
AndroidFastbootDriver.bindings
AndroidFastbootDriver.__attrs_post_init__()
AndroidFastbootDriver.on_activate()
AndroidFastbootDriver.on_deactivate()
AndroidFastbootDriver.__call__()
AndroidFastbootDriver.boot()
AndroidFastbootDriver.flash()
AndroidFastbootDriver.flash_all()
AndroidFastbootDriver.erase()
AndroidFastbootDriver.run()
AndroidFastbootDriver.continue_boot()
AndroidFastbootDriver.getvar()
AndroidFastbootDriver.oem_getenv()
AndroidFastbootDriver.__annotations__
AndroidFastbootDriver.__attrs_attrs__
AndroidFastbootDriver.__firstlineno__
AndroidFastbootDriver.__init__()
AndroidFastbootDriver.__match_args__
AndroidFastbootDriver.__module__
AndroidFastbootDriver.__replace__()
AndroidFastbootDriver.__repr__()
AndroidFastbootDriver.__static_attributes__
- labgrid.driver.filedigitaloutput module
FileDigitalOutputDriver
FileDigitalOutputDriver.__attrs_post_init__()
FileDigitalOutputDriver.get()
FileDigitalOutputDriver.set()
FileDigitalOutputDriver.__abstractmethods__
FileDigitalOutputDriver.__annotations__
FileDigitalOutputDriver.__attrs_attrs__
FileDigitalOutputDriver.__firstlineno__
FileDigitalOutputDriver.__init__()
FileDigitalOutputDriver.__match_args__
FileDigitalOutputDriver.__module__
FileDigitalOutputDriver.__replace__()
FileDigitalOutputDriver.__repr__()
FileDigitalOutputDriver.__static_attributes__
- labgrid.driver.flashromdriver module
FlashromDriver
FlashromDriver.bindings
FlashromDriver.__attrs_post_init__()
FlashromDriver.on_activate()
FlashromDriver.on_deactivate()
FlashromDriver.__call__()
FlashromDriver.load()
FlashromDriver.__abstractmethods__
FlashromDriver.__annotations__
FlashromDriver.__attrs_attrs__
FlashromDriver.__firstlineno__
FlashromDriver.__init__()
FlashromDriver.__match_args__
FlashromDriver.__module__
FlashromDriver.__replace__()
FlashromDriver.__repr__()
FlashromDriver.__static_attributes__
- labgrid.driver.flashscriptdriver module
FlashScriptDriver
FlashScriptDriver.bindings
FlashScriptDriver.on_activate()
FlashScriptDriver.on_deactivate()
FlashScriptDriver.flash()
FlashScriptDriver.__annotations__
FlashScriptDriver.__attrs_attrs__
FlashScriptDriver.__firstlineno__
FlashScriptDriver.__init__()
FlashScriptDriver.__match_args__
FlashScriptDriver.__module__
FlashScriptDriver.__replace__()
FlashScriptDriver.__repr__()
FlashScriptDriver.__static_attributes__
- labgrid.driver.gpiodriver module
GpioDigitalOutputDriver
GpioDigitalOutputDriver.bindings
GpioDigitalOutputDriver.__attrs_post_init__()
GpioDigitalOutputDriver.on_activate()
GpioDigitalOutputDriver.on_deactivate()
GpioDigitalOutputDriver.set()
GpioDigitalOutputDriver.get()
GpioDigitalOutputDriver.__abstractmethods__
GpioDigitalOutputDriver.__annotations__
GpioDigitalOutputDriver.__attrs_attrs__
GpioDigitalOutputDriver.__firstlineno__
GpioDigitalOutputDriver.__init__()
GpioDigitalOutputDriver.__match_args__
GpioDigitalOutputDriver.__module__
GpioDigitalOutputDriver.__replace__()
GpioDigitalOutputDriver.__repr__()
GpioDigitalOutputDriver.__static_attributes__
- labgrid.driver.httpdigitaloutput module
HttpDigitalOutputDriver
HttpDigitalOutputDriver.bindings
HttpDigitalOutputDriver.__attrs_post_init__()
HttpDigitalOutputDriver.on_activate()
HttpDigitalOutputDriver.set()
HttpDigitalOutputDriver.get()
HttpDigitalOutputDriver.__abstractmethods__
HttpDigitalOutputDriver.__annotations__
HttpDigitalOutputDriver.__attrs_attrs__
HttpDigitalOutputDriver.__firstlineno__
HttpDigitalOutputDriver.__init__()
HttpDigitalOutputDriver.__match_args__
HttpDigitalOutputDriver.__module__
HttpDigitalOutputDriver.__replace__()
HttpDigitalOutputDriver.__repr__()
HttpDigitalOutputDriver.__static_attributes__
- labgrid.driver.httpvideodriver module
HTTPVideoDriver
HTTPVideoDriver.bindings
HTTPVideoDriver.get_qualities()
HTTPVideoDriver.stream()
HTTPVideoDriver.__abstractmethods__
HTTPVideoDriver.__annotations__
HTTPVideoDriver.__attrs_attrs__
HTTPVideoDriver.__firstlineno__
HTTPVideoDriver.__init__()
HTTPVideoDriver.__match_args__
HTTPVideoDriver.__module__
HTTPVideoDriver.__replace__()
HTTPVideoDriver.__repr__()
HTTPVideoDriver.__static_attributes__
- labgrid.driver.lxaiobusdriver module
LXAIOBusPIODriver
LXAIOBusPIODriver.bindings
LXAIOBusPIODriver.__attrs_post_init__()
LXAIOBusPIODriver.on_activate()
LXAIOBusPIODriver.set()
LXAIOBusPIODriver.get()
LXAIOBusPIODriver.__abstractmethods__
LXAIOBusPIODriver.__annotations__
LXAIOBusPIODriver.__attrs_attrs__
LXAIOBusPIODriver.__firstlineno__
LXAIOBusPIODriver.__init__()
LXAIOBusPIODriver.__match_args__
LXAIOBusPIODriver.__module__
LXAIOBusPIODriver.__replace__()
LXAIOBusPIODriver.__repr__()
LXAIOBusPIODriver.__static_attributes__
- labgrid.driver.lxausbmuxdriver module
LXAUSBMuxDriver
LXAUSBMuxDriver.bindings
LXAUSBMuxDriver.__attrs_post_init__()
LXAUSBMuxDriver.set_links()
LXAUSBMuxDriver.__annotations__
LXAUSBMuxDriver.__attrs_attrs__
LXAUSBMuxDriver.__firstlineno__
LXAUSBMuxDriver.__init__()
LXAUSBMuxDriver.__match_args__
LXAUSBMuxDriver.__module__
LXAUSBMuxDriver.__replace__()
LXAUSBMuxDriver.__repr__()
LXAUSBMuxDriver.__static_attributes__
- labgrid.driver.manualswitchdriver module
ManualSwitchDriver
ManualSwitchDriver.__attrs_post_init__()
ManualSwitchDriver.set()
ManualSwitchDriver.get()
ManualSwitchDriver.__abstractmethods__
ManualSwitchDriver.__annotations__
ManualSwitchDriver.__attrs_attrs__
ManualSwitchDriver.__firstlineno__
ManualSwitchDriver.__init__()
ManualSwitchDriver.__match_args__
ManualSwitchDriver.__module__
ManualSwitchDriver.__replace__()
ManualSwitchDriver.__repr__()
ManualSwitchDriver.__static_attributes__
- labgrid.driver.modbusdriver module
ModbusCoilDriver
ModbusCoilDriver.bindings
ModbusCoilDriver.__attrs_post_init__()
ModbusCoilDriver.on_activate()
ModbusCoilDriver.on_deactivate()
ModbusCoilDriver.set()
ModbusCoilDriver.get()
ModbusCoilDriver.__abstractmethods__
ModbusCoilDriver.__annotations__
ModbusCoilDriver.__attrs_attrs__
ModbusCoilDriver.__firstlineno__
ModbusCoilDriver.__init__()
ModbusCoilDriver.__match_args__
ModbusCoilDriver.__module__
ModbusCoilDriver.__replace__()
ModbusCoilDriver.__repr__()
ModbusCoilDriver.__static_attributes__
- labgrid.driver.modbusrtudriver module
ModbusRTUDriver
ModbusRTUDriver.bindings
ModbusRTUDriver.__attrs_post_init__()
ModbusRTUDriver.on_activate()
ModbusRTUDriver.on_deactivate()
ModbusRTUDriver.read_register()
ModbusRTUDriver.write_register()
ModbusRTUDriver.read_registers()
ModbusRTUDriver.write_registers()
ModbusRTUDriver.read_bit()
ModbusRTUDriver.write_bit()
ModbusRTUDriver.read_string()
ModbusRTUDriver.write_string()
ModbusRTUDriver.__annotations__
ModbusRTUDriver.__attrs_attrs__
ModbusRTUDriver.__firstlineno__
ModbusRTUDriver.__init__()
ModbusRTUDriver.__match_args__
ModbusRTUDriver.__module__
ModbusRTUDriver.__replace__()
ModbusRTUDriver.__repr__()
ModbusRTUDriver.__static_attributes__
- labgrid.driver.mqtt module
MQTTError
TasmotaPowerDriver
TasmotaPowerDriver.bindings
TasmotaPowerDriver.__attrs_post_init__()
TasmotaPowerDriver.on_activate()
TasmotaPowerDriver.on_deactivate()
TasmotaPowerDriver.on()
TasmotaPowerDriver.off()
TasmotaPowerDriver.cycle()
TasmotaPowerDriver.get()
TasmotaPowerDriver.__abstractmethods__
TasmotaPowerDriver.__annotations__
TasmotaPowerDriver.__attrs_attrs__
TasmotaPowerDriver.__firstlineno__
TasmotaPowerDriver.__init__()
TasmotaPowerDriver.__match_args__
TasmotaPowerDriver.__module__
TasmotaPowerDriver.__replace__()
TasmotaPowerDriver.__repr__()
TasmotaPowerDriver.__static_attributes__
- labgrid.driver.networkinterfacedriver module
NetworkInterfaceDriver
NetworkInterfaceDriver.bindings
NetworkInterfaceDriver.__attrs_post_init__()
NetworkInterfaceDriver.on_activate()
NetworkInterfaceDriver.on_deactivate()
NetworkInterfaceDriver.skip_deactivate_on_export
NetworkInterfaceDriver.get_export_vars()
NetworkInterfaceDriver.configure()
NetworkInterfaceDriver.wait_state()
NetworkInterfaceDriver.disable()
NetworkInterfaceDriver.get_active_settings()
NetworkInterfaceDriver.get_settings()
NetworkInterfaceDriver.get_state()
NetworkInterfaceDriver.get_dhcpd_leases()
NetworkInterfaceDriver.request_scan()
NetworkInterfaceDriver.get_access_points()
NetworkInterfaceDriver.forward_local()
NetworkInterfaceDriver.forward_remote()
NetworkInterfaceDriver.__annotations__
NetworkInterfaceDriver.__attrs_attrs__
NetworkInterfaceDriver.__firstlineno__
NetworkInterfaceDriver.__init__()
NetworkInterfaceDriver.__match_args__
NetworkInterfaceDriver.__module__
NetworkInterfaceDriver.__replace__()
NetworkInterfaceDriver.__repr__()
NetworkInterfaceDriver.__static_attributes__
- labgrid.driver.onewiredriver module
OneWirePIODriver
OneWirePIODriver.bindings
OneWirePIODriver.__attrs_post_init__()
OneWirePIODriver.on_activate()
OneWirePIODriver.on_deactivate()
OneWirePIODriver.set()
OneWirePIODriver.get()
OneWirePIODriver.__abstractmethods__
OneWirePIODriver.__annotations__
OneWirePIODriver.__attrs_attrs__
OneWirePIODriver.__firstlineno__
OneWirePIODriver.__init__()
OneWirePIODriver.__match_args__
OneWirePIODriver.__module__
OneWirePIODriver.__replace__()
OneWirePIODriver.__repr__()
OneWirePIODriver.__static_attributes__
- labgrid.driver.openocddriver module
OpenOCDDriver
OpenOCDDriver.bindings
OpenOCDDriver.__attrs_post_init__()
OpenOCDDriver.load()
OpenOCDDriver.execute()
OpenOCDDriver.__abstractmethods__
OpenOCDDriver.__annotations__
OpenOCDDriver.__attrs_attrs__
OpenOCDDriver.__firstlineno__
OpenOCDDriver.__init__()
OpenOCDDriver.__match_args__
OpenOCDDriver.__module__
OpenOCDDriver.__replace__()
OpenOCDDriver.__repr__()
OpenOCDDriver.__static_attributes__
- labgrid.driver.powerdriver module
PowerResetMixin
PowerResetMixin.priorities
PowerResetMixin.__attrs_post_init__()
PowerResetMixin.reset()
PowerResetMixin.__abstractmethods__
PowerResetMixin.__annotations__
PowerResetMixin.__attrs_attrs__
PowerResetMixin.__firstlineno__
PowerResetMixin.__init__()
PowerResetMixin.__match_args__
PowerResetMixin.__module__
PowerResetMixin.__replace__()
PowerResetMixin.__repr__()
PowerResetMixin.__static_attributes__
ManualPowerDriver
ManualPowerDriver.on()
ManualPowerDriver.off()
ManualPowerDriver.cycle()
ManualPowerDriver.__abstractmethods__
ManualPowerDriver.__annotations__
ManualPowerDriver.__attrs_attrs__
ManualPowerDriver.__firstlineno__
ManualPowerDriver.__init__()
ManualPowerDriver.__match_args__
ManualPowerDriver.__module__
ManualPowerDriver.__replace__()
ManualPowerDriver.__repr__()
ManualPowerDriver.__static_attributes__
SiSPMPowerDriver
SiSPMPowerDriver.bindings
SiSPMPowerDriver.__attrs_post_init__()
SiSPMPowerDriver.on()
SiSPMPowerDriver.off()
SiSPMPowerDriver.cycle()
SiSPMPowerDriver.get()
SiSPMPowerDriver.__abstractmethods__
SiSPMPowerDriver.__annotations__
SiSPMPowerDriver.__attrs_attrs__
SiSPMPowerDriver.__firstlineno__
SiSPMPowerDriver.__init__()
SiSPMPowerDriver.__match_args__
SiSPMPowerDriver.__module__
SiSPMPowerDriver.__replace__()
SiSPMPowerDriver.__repr__()
SiSPMPowerDriver.__static_attributes__
ExternalPowerDriver
ExternalPowerDriver.on()
ExternalPowerDriver.off()
ExternalPowerDriver.cycle()
ExternalPowerDriver.__abstractmethods__
ExternalPowerDriver.__annotations__
ExternalPowerDriver.__attrs_attrs__
ExternalPowerDriver.__firstlineno__
ExternalPowerDriver.__init__()
ExternalPowerDriver.__match_args__
ExternalPowerDriver.__module__
ExternalPowerDriver.__replace__()
ExternalPowerDriver.__repr__()
ExternalPowerDriver.__static_attributes__
NetworkPowerDriver
NetworkPowerDriver.bindings
NetworkPowerDriver.__attrs_post_init__()
NetworkPowerDriver.on_activate()
NetworkPowerDriver.set_proxy_from_url()
NetworkPowerDriver.on()
NetworkPowerDriver.off()
NetworkPowerDriver.cycle()
NetworkPowerDriver.get()
NetworkPowerDriver.__abstractmethods__
NetworkPowerDriver.__annotations__
NetworkPowerDriver.__attrs_attrs__
NetworkPowerDriver.__firstlineno__
NetworkPowerDriver.__init__()
NetworkPowerDriver.__match_args__
NetworkPowerDriver.__module__
NetworkPowerDriver.__replace__()
NetworkPowerDriver.__repr__()
NetworkPowerDriver.__static_attributes__
DigitalOutputPowerDriver
DigitalOutputPowerDriver.bindings
DigitalOutputPowerDriver.__attrs_post_init__()
DigitalOutputPowerDriver.on()
DigitalOutputPowerDriver.off()
DigitalOutputPowerDriver.cycle()
DigitalOutputPowerDriver.get()
DigitalOutputPowerDriver.__abstractmethods__
DigitalOutputPowerDriver.__annotations__
DigitalOutputPowerDriver.__attrs_attrs__
DigitalOutputPowerDriver.__firstlineno__
DigitalOutputPowerDriver.__init__()
DigitalOutputPowerDriver.__match_args__
DigitalOutputPowerDriver.__module__
DigitalOutputPowerDriver.__replace__()
DigitalOutputPowerDriver.__repr__()
DigitalOutputPowerDriver.__static_attributes__
YKUSHPowerDriver
YKUSHPowerDriver.bindings
YKUSHPowerDriver.__attrs_post_init__()
YKUSHPowerDriver.on()
YKUSHPowerDriver.off()
YKUSHPowerDriver.cycle()
YKUSHPowerDriver.get()
YKUSHPowerDriver.__abstractmethods__
YKUSHPowerDriver.__annotations__
YKUSHPowerDriver.__attrs_attrs__
YKUSHPowerDriver.__firstlineno__
YKUSHPowerDriver.__init__()
YKUSHPowerDriver.__match_args__
YKUSHPowerDriver.__module__
YKUSHPowerDriver.__replace__()
YKUSHPowerDriver.__repr__()
YKUSHPowerDriver.__static_attributes__
USBPowerDriver
USBPowerDriver.bindings
USBPowerDriver.__attrs_post_init__()
USBPowerDriver.on()
USBPowerDriver.off()
USBPowerDriver.cycle()
USBPowerDriver.get()
USBPowerDriver.__abstractmethods__
USBPowerDriver.__annotations__
USBPowerDriver.__attrs_attrs__
USBPowerDriver.__firstlineno__
USBPowerDriver.__init__()
USBPowerDriver.__match_args__
USBPowerDriver.__module__
USBPowerDriver.__replace__()
USBPowerDriver.__repr__()
USBPowerDriver.__static_attributes__
PDUDaemonDriver
PDUDaemonDriver.bindings
PDUDaemonDriver.__attrs_post_init__()
PDUDaemonDriver.on_activate()
PDUDaemonDriver.on()
PDUDaemonDriver.off()
PDUDaemonDriver.cycle()
PDUDaemonDriver.get()
PDUDaemonDriver.__abstractmethods__
PDUDaemonDriver.__annotations__
PDUDaemonDriver.__attrs_attrs__
PDUDaemonDriver.__firstlineno__
PDUDaemonDriver.__init__()
PDUDaemonDriver.__match_args__
PDUDaemonDriver.__module__
PDUDaemonDriver.__replace__()
PDUDaemonDriver.__repr__()
PDUDaemonDriver.__static_attributes__
- labgrid.driver.provider module
BaseProviderDriver
BaseProviderDriver.get_export_vars()
BaseProviderDriver.stage()
BaseProviderDriver.__annotations__
BaseProviderDriver.__attrs_attrs__
BaseProviderDriver.__firstlineno__
BaseProviderDriver.__init__()
BaseProviderDriver.__match_args__
BaseProviderDriver.__module__
BaseProviderDriver.__replace__()
BaseProviderDriver.__repr__()
BaseProviderDriver.__static_attributes__
TFTPProviderDriver
TFTPProviderDriver.bindings
TFTPProviderDriver.__annotations__
TFTPProviderDriver.__attrs_attrs__
TFTPProviderDriver.__firstlineno__
TFTPProviderDriver.__init__()
TFTPProviderDriver.__match_args__
TFTPProviderDriver.__module__
TFTPProviderDriver.__replace__()
TFTPProviderDriver.__repr__()
TFTPProviderDriver.__static_attributes__
NFSFile
NFSFile.__attrs_attrs__
NFSFile.__dict__
NFSFile.__eq__()
NFSFile.__firstlineno__
NFSFile.__ge__()
NFSFile.__gt__()
NFSFile.__hash__
NFSFile.__init__()
NFSFile.__le__()
NFSFile.__lt__()
NFSFile.__match_args__
NFSFile.__module__
NFSFile.__ne__()
NFSFile.__replace__()
NFSFile.__repr__()
NFSFile.__static_attributes__
NFSFile.__weakref__
NFSProviderDriver
NFSProviderDriver.bindings
NFSProviderDriver.get_export_vars()
NFSProviderDriver.stage()
NFSProviderDriver.__annotations__
NFSProviderDriver.__attrs_attrs__
NFSProviderDriver.__firstlineno__
NFSProviderDriver.__init__()
NFSProviderDriver.__match_args__
NFSProviderDriver.__module__
NFSProviderDriver.__replace__()
NFSProviderDriver.__repr__()
NFSProviderDriver.__static_attributes__
HTTPProviderDriver
HTTPProviderDriver.bindings
HTTPProviderDriver.__annotations__
HTTPProviderDriver.__attrs_attrs__
HTTPProviderDriver.__firstlineno__
HTTPProviderDriver.__init__()
HTTPProviderDriver.__match_args__
HTTPProviderDriver.__module__
HTTPProviderDriver.__replace__()
HTTPProviderDriver.__repr__()
HTTPProviderDriver.__static_attributes__
- labgrid.driver.pyvisadriver module
PyVISADriver
PyVISADriver.bindings
PyVISADriver.__attrs_post_init__()
PyVISADriver.on_activate()
PyVISADriver.on_deactivate()
PyVISADriver.get_session()
PyVISADriver.__annotations__
PyVISADriver.__attrs_attrs__
PyVISADriver.__firstlineno__
PyVISADriver.__init__()
PyVISADriver.__match_args__
PyVISADriver.__module__
PyVISADriver.__replace__()
PyVISADriver.__repr__()
PyVISADriver.__static_attributes__
- labgrid.driver.qemudriver module
QEMUDriver
QEMUDriver.__attrs_post_init__()
QEMUDriver.get_qemu_version()
QEMUDriver.get_qemu_base_args()
QEMUDriver.on_activate()
QEMUDriver.on_deactivate()
QEMUDriver.on()
QEMUDriver.off()
QEMUDriver.cycle()
QEMUDriver.monitor_command()
QEMUDriver.add_port_forward()
QEMUDriver.remove_port_forward()
QEMUDriver.__str__()
QEMUDriver.__abstractmethods__
QEMUDriver.__annotations__
QEMUDriver.__attrs_attrs__
QEMUDriver.__firstlineno__
QEMUDriver.__init__()
QEMUDriver.__match_args__
QEMUDriver.__module__
QEMUDriver.__replace__()
QEMUDriver.__repr__()
QEMUDriver.__static_attributes__
- labgrid.driver.quartushpsdriver module
QuartusHPSDriver
QuartusHPSDriver.bindings
QuartusHPSDriver.__attrs_post_init__()
QuartusHPSDriver.flash()
QuartusHPSDriver.erase()
QuartusHPSDriver.__annotations__
QuartusHPSDriver.__attrs_attrs__
QuartusHPSDriver.__firstlineno__
QuartusHPSDriver.__init__()
QuartusHPSDriver.__match_args__
QuartusHPSDriver.__module__
QuartusHPSDriver.__replace__()
QuartusHPSDriver.__repr__()
QuartusHPSDriver.__static_attributes__
- labgrid.driver.rawnetworkinterfacedriver module
RawNetworkInterfaceDriver
RawNetworkInterfaceDriver.bindings
RawNetworkInterfaceDriver.__attrs_post_init__()
RawNetworkInterfaceDriver.on_activate()
RawNetworkInterfaceDriver.on_deactivate()
RawNetworkInterfaceDriver.set_interface_up()
RawNetworkInterfaceDriver.set_interface_down()
RawNetworkInterfaceDriver.get_state()
RawNetworkInterfaceDriver.wait_state()
RawNetworkInterfaceDriver.get_ethtool_settings()
RawNetworkInterfaceDriver.ethtool_configure()
RawNetworkInterfaceDriver.get_ethtool_eee_settings()
RawNetworkInterfaceDriver.ethtool_configure_eee()
RawNetworkInterfaceDriver.get_ethtool_pause_settings()
RawNetworkInterfaceDriver.ethtool_configure_pause()
RawNetworkInterfaceDriver.start_record()
RawNetworkInterfaceDriver.stop_record()
RawNetworkInterfaceDriver.record()
RawNetworkInterfaceDriver.start_replay()
RawNetworkInterfaceDriver.stop_replay()
RawNetworkInterfaceDriver.replay()
RawNetworkInterfaceDriver.get_statistics()
RawNetworkInterfaceDriver.get_address()
RawNetworkInterfaceDriver.__annotations__
RawNetworkInterfaceDriver.__attrs_attrs__
RawNetworkInterfaceDriver.__firstlineno__
RawNetworkInterfaceDriver.__init__()
RawNetworkInterfaceDriver.__match_args__
RawNetworkInterfaceDriver.__module__
RawNetworkInterfaceDriver.__replace__()
RawNetworkInterfaceDriver.__repr__()
RawNetworkInterfaceDriver.__static_attributes__
- labgrid.driver.resetdriver module
DigitalOutputResetDriver
DigitalOutputResetDriver.bindings
DigitalOutputResetDriver.__attrs_post_init__()
DigitalOutputResetDriver.reset()
DigitalOutputResetDriver.__abstractmethods__
DigitalOutputResetDriver.__annotations__
DigitalOutputResetDriver.__attrs_attrs__
DigitalOutputResetDriver.__firstlineno__
DigitalOutputResetDriver.__init__()
DigitalOutputResetDriver.__match_args__
DigitalOutputResetDriver.__module__
DigitalOutputResetDriver.__replace__()
DigitalOutputResetDriver.__repr__()
DigitalOutputResetDriver.__static_attributes__
- labgrid.driver.serialdigitaloutput module
SerialPortDigitalOutputDriver
SerialPortDigitalOutputDriver.bindings
SerialPortDigitalOutputDriver.__attrs_post_init__()
SerialPortDigitalOutputDriver.get()
SerialPortDigitalOutputDriver.set()
SerialPortDigitalOutputDriver.__abstractmethods__
SerialPortDigitalOutputDriver.__annotations__
SerialPortDigitalOutputDriver.__attrs_attrs__
SerialPortDigitalOutputDriver.__firstlineno__
SerialPortDigitalOutputDriver.__init__()
SerialPortDigitalOutputDriver.__match_args__
SerialPortDigitalOutputDriver.__module__
SerialPortDigitalOutputDriver.__replace__()
SerialPortDigitalOutputDriver.__repr__()
SerialPortDigitalOutputDriver.__static_attributes__
- labgrid.driver.serialdriver module
SerialDriver
SerialDriver.bindings
SerialDriver.__attrs_post_init__()
SerialDriver.on_activate()
SerialDriver.on_deactivate()
SerialDriver.get_export_vars()
SerialDriver.open()
SerialDriver.close()
SerialDriver.__str__()
SerialDriver.__abstractmethods__
SerialDriver.__annotations__
SerialDriver.__attrs_attrs__
SerialDriver.__firstlineno__
SerialDriver.__init__()
SerialDriver.__match_args__
SerialDriver.__module__
SerialDriver.__replace__()
SerialDriver.__repr__()
SerialDriver.__static_attributes__
- labgrid.driver.shelldriver module
ShellDriver
ShellDriver.bindings
ShellDriver.__attrs_post_init__()
ShellDriver.on_activate()
ShellDriver.on_deactivate()
ShellDriver.run()
ShellDriver.get_status()
ShellDriver.put_ssh_key()
ShellDriver.put_bytes()
ShellDriver.put()
ShellDriver.get_bytes()
ShellDriver.get()
ShellDriver.run_script()
ShellDriver.run_script_file()
ShellDriver.get_default_interface_device_name()
ShellDriver.get_ip_addresses()
ShellDriver.__abstractmethods__
ShellDriver.__annotations__
ShellDriver.__attrs_attrs__
ShellDriver.__firstlineno__
ShellDriver.__init__()
ShellDriver.__match_args__
ShellDriver.__module__
ShellDriver.__replace__()
ShellDriver.__repr__()
ShellDriver.__static_attributes__
- labgrid.driver.sigrokdriver module
SigrokCommon
SigrokCommon.__attrs_post_init__()
SigrokCommon.on_activate()
SigrokCommon.on_deactivate()
SigrokCommon.__annotations__
SigrokCommon.__attrs_attrs__
SigrokCommon.__firstlineno__
SigrokCommon.__init__()
SigrokCommon.__match_args__
SigrokCommon.__module__
SigrokCommon.__replace__()
SigrokCommon.__repr__()
SigrokCommon.__static_attributes__
SigrokDriver
SigrokDriver.bindings
SigrokDriver.capture()
SigrokDriver.stop()
SigrokDriver.analyze()
SigrokDriver.__annotations__
SigrokDriver.__attrs_attrs__
SigrokDriver.__firstlineno__
SigrokDriver.__init__()
SigrokDriver.__match_args__
SigrokDriver.__module__
SigrokDriver.__replace__()
SigrokDriver.__repr__()
SigrokDriver.__static_attributes__
SigrokPowerDriver
SigrokPowerDriver.bindings
SigrokPowerDriver.on()
SigrokPowerDriver.off()
SigrokPowerDriver.cycle()
SigrokPowerDriver.set_voltage_target()
SigrokPowerDriver.set_current_limit()
SigrokPowerDriver.get()
SigrokPowerDriver.measure()
SigrokPowerDriver.__abstractmethods__
SigrokPowerDriver.__annotations__
SigrokPowerDriver.__attrs_attrs__
SigrokPowerDriver.__firstlineno__
SigrokPowerDriver.__init__()
SigrokPowerDriver.__match_args__
SigrokPowerDriver.__module__
SigrokPowerDriver.__replace__()
SigrokPowerDriver.__repr__()
SigrokPowerDriver.__static_attributes__
SigrokDmmDriver
SigrokDmmDriver.bindings
SigrokDmmDriver.capture()
SigrokDmmDriver.stop()
SigrokDmmDriver.on_activate()
SigrokDmmDriver.on_deactivate()
SigrokDmmDriver.__annotations__
SigrokDmmDriver.__attrs_attrs__
SigrokDmmDriver.__firstlineno__
SigrokDmmDriver.__init__()
SigrokDmmDriver.__match_args__
SigrokDmmDriver.__module__
SigrokDmmDriver.__replace__()
SigrokDmmDriver.__repr__()
SigrokDmmDriver.__static_attributes__
- labgrid.driver.smallubootdriver module
SmallUBootDriver
SmallUBootDriver.boot()
SmallUBootDriver.__abstractmethods__
SmallUBootDriver.__annotations__
SmallUBootDriver.__attrs_attrs__
SmallUBootDriver.__firstlineno__
SmallUBootDriver.__init__()
SmallUBootDriver.__match_args__
SmallUBootDriver.__module__
SmallUBootDriver.__replace__()
SmallUBootDriver.__repr__()
SmallUBootDriver.__static_attributes__
- labgrid.driver.sshdriver module
SSHDriver
SSHDriver.bindings
SSHDriver.priorities
SSHDriver.__attrs_post_init__()
SSHDriver.on_activate()
SSHDriver.on_deactivate()
SSHDriver.skip_deactivate_on_export
SSHDriver.run()
SSHDriver.interact()
SSHDriver.forward_local_port()
SSHDriver.forward_remote_port()
SSHDriver.forward_unix_socket()
SSHDriver.scp()
SSHDriver.rsync()
SSHDriver.sshfs()
SSHDriver.get_status()
SSHDriver.put()
SSHDriver.get()
SSHDriver.__abstractmethods__
SSHDriver.__annotations__
SSHDriver.__attrs_attrs__
SSHDriver.__firstlineno__
SSHDriver.__init__()
SSHDriver.__match_args__
SSHDriver.__module__
SSHDriver.__replace__()
SSHDriver.__repr__()
SSHDriver.__static_attributes__
- labgrid.driver.ubootdriver module
UBootDriver
UBootDriver.bindings
UBootDriver.__attrs_post_init__()
UBootDriver.on_activate()
UBootDriver.on_deactivate()
UBootDriver.run()
UBootDriver.get_status()
UBootDriver.reset()
UBootDriver.await_boot()
UBootDriver.boot()
UBootDriver.__abstractmethods__
UBootDriver.__annotations__
UBootDriver.__attrs_attrs__
UBootDriver.__firstlineno__
UBootDriver.__init__()
UBootDriver.__match_args__
UBootDriver.__module__
UBootDriver.__replace__()
UBootDriver.__repr__()
UBootDriver.__static_attributes__
- labgrid.driver.usbaudiodriver module
USBAudioInputDriver
USBAudioInputDriver.bindings
USBAudioInputDriver.__attrs_post_init__()
USBAudioInputDriver.start_sender()
USBAudioInputDriver.create_gst_src()
USBAudioInputDriver.measure_level()
USBAudioInputDriver.play()
USBAudioInputDriver.__annotations__
USBAudioInputDriver.__attrs_attrs__
USBAudioInputDriver.__firstlineno__
USBAudioInputDriver.__init__()
USBAudioInputDriver.__match_args__
USBAudioInputDriver.__module__
USBAudioInputDriver.__replace__()
USBAudioInputDriver.__repr__()
USBAudioInputDriver.__static_attributes__
- labgrid.driver.usbhidrelay module
HIDRelayDriver
HIDRelayDriver.bindings
HIDRelayDriver.__attrs_post_init__()
HIDRelayDriver.on_activate()
HIDRelayDriver.on_deactivate()
HIDRelayDriver.set()
HIDRelayDriver.get()
HIDRelayDriver.__abstractmethods__
HIDRelayDriver.__annotations__
HIDRelayDriver.__attrs_attrs__
HIDRelayDriver.__firstlineno__
HIDRelayDriver.__init__()
HIDRelayDriver.__match_args__
HIDRelayDriver.__module__
HIDRelayDriver.__replace__()
HIDRelayDriver.__repr__()
HIDRelayDriver.__static_attributes__
- labgrid.driver.usbloader module
MXSUSBDriver
MXSUSBDriver.bindings
MXSUSBDriver.__attrs_post_init__()
MXSUSBDriver.on_activate()
MXSUSBDriver.on_deactivate()
MXSUSBDriver.load()
MXSUSBDriver.__abstractmethods__
MXSUSBDriver.__annotations__
MXSUSBDriver.__attrs_attrs__
MXSUSBDriver.__firstlineno__
MXSUSBDriver.__init__()
MXSUSBDriver.__match_args__
MXSUSBDriver.__module__
MXSUSBDriver.__replace__()
MXSUSBDriver.__repr__()
MXSUSBDriver.__static_attributes__
IMXUSBDriver
IMXUSBDriver.bindings
IMXUSBDriver.__attrs_post_init__()
IMXUSBDriver.on_activate()
IMXUSBDriver.on_deactivate()
IMXUSBDriver.load()
IMXUSBDriver.__abstractmethods__
IMXUSBDriver.__annotations__
IMXUSBDriver.__attrs_attrs__
IMXUSBDriver.__firstlineno__
IMXUSBDriver.__init__()
IMXUSBDriver.__match_args__
IMXUSBDriver.__module__
IMXUSBDriver.__replace__()
IMXUSBDriver.__repr__()
IMXUSBDriver.__static_attributes__
RKUSBDriver
RKUSBDriver.bindings
RKUSBDriver.__attrs_post_init__()
RKUSBDriver.on_activate()
RKUSBDriver.on_deactivate()
RKUSBDriver.load()
RKUSBDriver.__abstractmethods__
RKUSBDriver.__annotations__
RKUSBDriver.__attrs_attrs__
RKUSBDriver.__firstlineno__
RKUSBDriver.__init__()
RKUSBDriver.__match_args__
RKUSBDriver.__module__
RKUSBDriver.__replace__()
RKUSBDriver.__repr__()
RKUSBDriver.__static_attributes__
UUUDriver
UUUDriver.bindings
UUUDriver.__attrs_post_init__()
UUUDriver.on_activate()
UUUDriver.on_deactivate()
UUUDriver.load()
UUUDriver.__abstractmethods__
UUUDriver.__annotations__
UUUDriver.__attrs_attrs__
UUUDriver.__firstlineno__
UUUDriver.__init__()
UUUDriver.__match_args__
UUUDriver.__module__
UUUDriver.__replace__()
UUUDriver.__repr__()
UUUDriver.__static_attributes__
BDIMXUSBDriver
BDIMXUSBDriver.bindings
BDIMXUSBDriver.__attrs_post_init__()
BDIMXUSBDriver.on_activate()
BDIMXUSBDriver.on_deactivate()
BDIMXUSBDriver.load()
BDIMXUSBDriver.__abstractmethods__
BDIMXUSBDriver.__annotations__
BDIMXUSBDriver.__attrs_attrs__
BDIMXUSBDriver.__firstlineno__
BDIMXUSBDriver.__init__()
BDIMXUSBDriver.__match_args__
BDIMXUSBDriver.__module__
BDIMXUSBDriver.__replace__()
BDIMXUSBDriver.__repr__()
BDIMXUSBDriver.__static_attributes__
- labgrid.driver.usbsdmuxdriver module
USBSDMuxDriver
USBSDMuxDriver.bindings
USBSDMuxDriver.__attrs_post_init__()
USBSDMuxDriver.set_mode()
USBSDMuxDriver.get_mode()
USBSDMuxDriver.__annotations__
USBSDMuxDriver.__attrs_attrs__
USBSDMuxDriver.__firstlineno__
USBSDMuxDriver.__init__()
USBSDMuxDriver.__match_args__
USBSDMuxDriver.__module__
USBSDMuxDriver.__replace__()
USBSDMuxDriver.__repr__()
USBSDMuxDriver.__static_attributes__
- labgrid.driver.usbsdwiredriver module
USBSDWireDriver
USBSDWireDriver.bindings
USBSDWireDriver.__attrs_post_init__()
USBSDWireDriver.set_mode()
USBSDWireDriver.get_mode()
USBSDWireDriver.__annotations__
USBSDWireDriver.__attrs_attrs__
USBSDWireDriver.__firstlineno__
USBSDWireDriver.__init__()
USBSDWireDriver.__match_args__
USBSDWireDriver.__module__
USBSDWireDriver.__replace__()
USBSDWireDriver.__repr__()
USBSDWireDriver.__static_attributes__
- labgrid.driver.usbstoragedriver module
Mode
USBStorageDriver
USBStorageDriver.bindings
USBStorageDriver.WAIT_FOR_MEDIUM_TIMEOUT
USBStorageDriver.WAIT_FOR_MEDIUM_SLEEP
USBStorageDriver.MOUNT_RETRIES
USBStorageDriver.__attrs_post_init__()
USBStorageDriver.on_activate()
USBStorageDriver.on_deactivate()
USBStorageDriver.write_files()
USBStorageDriver.write_image()
USBStorageDriver.get_size()
USBStorageDriver.__annotations__
USBStorageDriver.__attrs_attrs__
USBStorageDriver.__firstlineno__
USBStorageDriver.__init__()
USBStorageDriver.__match_args__
USBStorageDriver.__module__
USBStorageDriver.__replace__()
USBStorageDriver.__repr__()
USBStorageDriver.__static_attributes__
NetworkUSBStorageDriver
NetworkUSBStorageDriver.__attrs_post_init__()
NetworkUSBStorageDriver.__annotations__
NetworkUSBStorageDriver.__attrs_attrs__
NetworkUSBStorageDriver.__firstlineno__
NetworkUSBStorageDriver.__init__()
NetworkUSBStorageDriver.__match_args__
NetworkUSBStorageDriver.__module__
NetworkUSBStorageDriver.__replace__()
NetworkUSBStorageDriver.__repr__()
NetworkUSBStorageDriver.__static_attributes__
- labgrid.driver.usbtmcdriver module
USBTMCDriver
USBTMCDriver.bindings
USBTMCDriver.__attrs_post_init__()
USBTMCDriver.on_activate()
USBTMCDriver.on_deactivate()
USBTMCDriver.command()
USBTMCDriver.query()
USBTMCDriver.identify()
USBTMCDriver.get_channel_info()
USBTMCDriver.get_channel_values()
USBTMCDriver.get_screenshot()
USBTMCDriver.get_bool()
USBTMCDriver.get_int()
USBTMCDriver.get_decimal()
USBTMCDriver.get_str()
USBTMCDriver.__annotations__
USBTMCDriver.__attrs_attrs__
USBTMCDriver.__firstlineno__
USBTMCDriver.__init__()
USBTMCDriver.__match_args__
USBTMCDriver.__module__
USBTMCDriver.__replace__()
USBTMCDriver.__repr__()
USBTMCDriver.__static_attributes__
- labgrid.driver.usbvideodriver module
USBVideoDriver
USBVideoDriver.bindings
USBVideoDriver.__attrs_post_init__()
USBVideoDriver.get_qualities()
USBVideoDriver.select_caps()
USBVideoDriver.get_pipeline()
USBVideoDriver.stream()
USBVideoDriver.__abstractmethods__
USBVideoDriver.__annotations__
USBVideoDriver.__attrs_attrs__
USBVideoDriver.__firstlineno__
USBVideoDriver.__init__()
USBVideoDriver.__match_args__
USBVideoDriver.__module__
USBVideoDriver.__replace__()
USBVideoDriver.__repr__()
USBVideoDriver.__static_attributes__
- labgrid.driver.xenadriver module
XenaDriver
XenaDriver.bindings
XenaDriver.__attrs_post_init__()
XenaDriver.on_activate()
XenaDriver.on_deactivate()
XenaDriver.get_session()
XenaDriver.__annotations__
XenaDriver.__attrs_attrs__
XenaDriver.__firstlineno__
XenaDriver.__init__()
XenaDriver.__match_args__
XenaDriver.__module__
XenaDriver.__replace__()
XenaDriver.__repr__()
XenaDriver.__static_attributes__
- Subpackages
- labgrid.protocol package
- Submodules
- labgrid.protocol.bootstrapprotocol module
- labgrid.protocol.commandprotocol module
CommandProtocol
CommandProtocol.run()
CommandProtocol.run_check()
CommandProtocol.get_status()
CommandProtocol.wait_for()
CommandProtocol.poll_until_success()
CommandProtocol.__abstractmethods__
CommandProtocol.__annotations__
CommandProtocol.__dict__
CommandProtocol.__firstlineno__
CommandProtocol.__module__
CommandProtocol.__static_attributes__
CommandProtocol.__weakref__
- labgrid.protocol.consoleprotocol module
ConsoleProtocol
ConsoleProtocol.read()
ConsoleProtocol.write()
ConsoleProtocol.sendline()
ConsoleProtocol.sendcontrol()
ConsoleProtocol.expect()
ConsoleProtocol.Client
ConsoleProtocol.__abstractmethods__
ConsoleProtocol.__annotations__
ConsoleProtocol.__dict__
ConsoleProtocol.__firstlineno__
ConsoleProtocol.__module__
ConsoleProtocol.__static_attributes__
ConsoleProtocol.__weakref__
- labgrid.protocol.digitaloutputprotocol module
DigitalOutputProtocol
DigitalOutputProtocol.get()
DigitalOutputProtocol.set()
DigitalOutputProtocol.__abstractmethods__
DigitalOutputProtocol.__annotations__
DigitalOutputProtocol.__dict__
DigitalOutputProtocol.__firstlineno__
DigitalOutputProtocol.__module__
DigitalOutputProtocol.__static_attributes__
DigitalOutputProtocol.__weakref__
- labgrid.protocol.filesystemprotocol module
- labgrid.protocol.filetransferprotocol module
FileTransferProtocol
FileTransferProtocol.put()
FileTransferProtocol.get()
FileTransferProtocol.__abstractmethods__
FileTransferProtocol.__annotations__
FileTransferProtocol.__dict__
FileTransferProtocol.__firstlineno__
FileTransferProtocol.__module__
FileTransferProtocol.__static_attributes__
FileTransferProtocol.__weakref__
- labgrid.protocol.infoprotocol module
- labgrid.protocol.linuxbootprotocol module
LinuxBootProtocol
LinuxBootProtocol.boot()
LinuxBootProtocol.await_boot()
LinuxBootProtocol.reset()
LinuxBootProtocol.__abstractmethods__
LinuxBootProtocol.__annotations__
LinuxBootProtocol.__dict__
LinuxBootProtocol.__firstlineno__
LinuxBootProtocol.__module__
LinuxBootProtocol.__static_attributes__
LinuxBootProtocol.__weakref__
- labgrid.protocol.mmioprotocol module
- labgrid.protocol.powerprotocol module
- labgrid.protocol.resetprotocol module
- labgrid.protocol.videoprotocol module
- labgrid.pytestplugin package
- labgrid.remote package
- Submodules
- labgrid.remote.client module
Error
UserError
ServerError
InteractiveCommandError
ClientSession
ClientSession.gethostname()
ClientSession.getuser()
ClientSession.__attrs_post_init__()
ClientSession.start()
ClientSession.stop()
ClientSession.close()
ClientSession.sync_with_coordinator()
ClientSession.cancel_pending_syncs()
ClientSession.message_pump()
ClientSession.on_resource_changed()
ClientSession.on_place_changed()
ClientSession.on_place_deleted()
ClientSession.do_monitor()
ClientSession.complete()
ClientSession.print_resources()
ClientSession.print_places()
ClientSession.print_who()
ClientSession.get_place()
ClientSession.get_idle_place()
ClientSession.get_acquired_place()
ClientSession.print_place()
ClientSession.add_place()
ClientSession.del_place()
ClientSession.add_alias()
ClientSession.del_alias()
ClientSession.set_comment()
ClientSession.set_tags()
ClientSession.add_match()
ClientSession.del_match()
ClientSession.add_named_match()
ClientSession.check_matches()
ClientSession.acquire()
ClientSession.release()
ClientSession.release_from()
ClientSession.allow()
ClientSession.get_target_resources()
ClientSession.get_target_config()
ClientSession.print_env()
ClientSession.power()
ClientSession.digital_io()
ClientSession.console()
ClientSession.dfu()
ClientSession.fastboot()
ClientSession.flashscript()
ClientSession.bootstrap()
ClientSession.sd_mux()
ClientSession.usb_mux()
ClientSession.ssh()
ClientSession.scp()
ClientSession.rsync()
ClientSession.sshfs()
ClientSession.forward()
ClientSession.telnet()
ClientSession.video()
ClientSession.audio()
ClientSession.tmc_command()
ClientSession.tmc_query()
ClientSession.tmc_screen()
ClientSession.tmc_channel()
ClientSession.write_files()
ClientSession.write_image()
ClientSession.create_reservation()
ClientSession.cancel_reservation()
ClientSession.wait_reservation()
ClientSession.print_reservations()
ClientSession.export()
ClientSession.print_version()
ClientSession.__attrs_attrs__
ClientSession.__dict__
ClientSession.__firstlineno__
ClientSession.__init__()
ClientSession.__match_args__
ClientSession.__module__
ClientSession.__replace__()
ClientSession.__repr__()
ClientSession.__static_attributes__
ClientSession.__weakref__
ensure_event_loop()
start_session()
find_role_by_place()
find_any_role_with_place()
LocalPort
RemotePort
ExportFormat
main()
- labgrid.remote.common module
ResourceEntry
ResourceEntry.__attrs_post_init__()
ResourceEntry.acquired
ResourceEntry.avail
ResourceEntry.cls
ResourceEntry.params
ResourceEntry.args
ResourceEntry.extra
ResourceEntry.asdict()
ResourceEntry.update()
ResourceEntry.acquire()
ResourceEntry.release()
ResourceEntry.as_pb2()
ResourceEntry.data_from_pb2()
ResourceEntry.from_pb2()
ResourceEntry.__attrs_attrs__
ResourceEntry.__dict__
ResourceEntry.__firstlineno__
ResourceEntry.__init__()
ResourceEntry.__match_args__
ResourceEntry.__module__
ResourceEntry.__replace__()
ResourceEntry.__repr__()
ResourceEntry.__static_attributes__
ResourceEntry.__weakref__
ResourceMatch
ResourceMatch.fromstr()
ResourceMatch.__repr__()
ResourceMatch.__str__()
ResourceMatch.ismatch()
ResourceMatch.as_pb2()
ResourceMatch.from_pb2()
ResourceMatch.__attrs_attrs__
ResourceMatch.__dict__
ResourceMatch.__eq__()
ResourceMatch.__firstlineno__
ResourceMatch.__ge__()
ResourceMatch.__gt__()
ResourceMatch.__hash__
ResourceMatch.__init__()
ResourceMatch.__le__()
ResourceMatch.__lt__()
ResourceMatch.__match_args__
ResourceMatch.__module__
ResourceMatch.__ne__()
ResourceMatch.__replace__()
ResourceMatch.__static_attributes__
ResourceMatch.__weakref__
Place
Place.asdict()
Place.update_from_pb2()
Place.show()
Place.getmatch()
Place.hasmatch()
Place.unmatched()
Place.touch()
Place.as_pb2()
Place.from_pb2()
Place.__attrs_attrs__
Place.__dict__
Place.__firstlineno__
Place.__init__()
Place.__match_args__
Place.__module__
Place.__replace__()
Place.__repr__()
Place.__static_attributes__
Place.__weakref__
ReservationState
Reservation
Reservation.asdict()
Reservation.refresh()
Reservation.expired
Reservation.show()
Reservation.as_pb2()
Reservation.from_pb2()
Reservation.__attrs_attrs__
Reservation.__dict__
Reservation.__firstlineno__
Reservation.__init__()
Reservation.__match_args__
Reservation.__module__
Reservation.__replace__()
Reservation.__repr__()
Reservation.__static_attributes__
Reservation.__weakref__
- labgrid.remote.config module
ResourceConfig
ResourceConfig.__attrs_post_init__()
ResourceConfig.__attrs_attrs__
ResourceConfig.__dict__
ResourceConfig.__firstlineno__
ResourceConfig.__init__()
ResourceConfig.__match_args__
ResourceConfig.__module__
ResourceConfig.__replace__()
ResourceConfig.__repr__()
ResourceConfig.__static_attributes__
ResourceConfig.__weakref__
- labgrid.remote.coordinator module
warn_if_slow()
Action
RemoteSession
ExporterSession
ExporterSession.set_resource()
ExporterSession.get_resources()
ExporterSession.__annotations__
ExporterSession.__attrs_attrs__
ExporterSession.__firstlineno__
ExporterSession.__init__()
ExporterSession.__match_args__
ExporterSession.__module__
ExporterSession.__replace__()
ExporterSession.__repr__()
ExporterSession.__static_attributes__
ClientSession
ClientSession.subscribe_places()
ClientSession.subscribe_resources()
ClientSession.__annotations__
ClientSession.__attrs_attrs__
ClientSession.__firstlineno__
ClientSession.__init__()
ClientSession.__match_args__
ClientSession.__module__
ClientSession.__replace__()
ClientSession.__repr__()
ClientSession.__static_attributes__
ResourceImport
locked()
ExporterCommand
ExporterError
Coordinator
Coordinator.__init__()
Coordinator.poll()
Coordinator.save_later()
Coordinator.save()
Coordinator.load()
Coordinator.ClientStream()
Coordinator.get_exporter_by_name()
Coordinator.ExporterStream()
Coordinator.AddPlace()
Coordinator.DeletePlace()
Coordinator.AddPlaceAlias()
Coordinator.DeletePlaceAlias()
Coordinator.SetPlaceTags()
Coordinator.SetPlaceComment()
Coordinator.AddPlaceMatch()
Coordinator.DeletePlaceMatch()
Coordinator.AcquirePlace()
Coordinator.ReleasePlace()
Coordinator.AllowPlace()
Coordinator.GetPlaces()
Coordinator.schedule_reservations()
Coordinator.CreateReservation()
Coordinator.CancelReservation()
Coordinator.PollReservation()
Coordinator.GetReservations()
Coordinator.__firstlineno__
Coordinator.__module__
Coordinator.__static_attributes__
serve()
main()
- labgrid.remote.exporter module
ExporterError
BrokenResourceError
UnknownResourceError
InvalidResourceRequestError
log_subprocess_kernel_stack()
ResourceExport
ResourceExport.__attrs_post_init__()
ResourceExport.broken
ResourceExport.start()
ResourceExport.stop()
ResourceExport.poll()
ResourceExport.acquire()
ResourceExport.release()
ResourceExport.__annotations__
ResourceExport.__attrs_attrs__
ResourceExport.__firstlineno__
ResourceExport.__init__()
ResourceExport.__match_args__
ResourceExport.__module__
ResourceExport.__replace__()
ResourceExport.__repr__()
ResourceExport.__static_attributes__
SerialPortExport
SerialPortExport.__attrs_post_init__()
SerialPortExport.__del__()
SerialPortExport.__annotations__
SerialPortExport.__attrs_attrs__
SerialPortExport.__firstlineno__
SerialPortExport.__init__()
SerialPortExport.__match_args__
SerialPortExport.__module__
SerialPortExport.__replace__()
SerialPortExport.__repr__()
SerialPortExport.__static_attributes__
NetworkInterfaceExport
NetworkInterfaceExport.__attrs_post_init__()
NetworkInterfaceExport.__annotations__
NetworkInterfaceExport.__attrs_attrs__
NetworkInterfaceExport.__firstlineno__
NetworkInterfaceExport.__init__()
NetworkInterfaceExport.__match_args__
NetworkInterfaceExport.__module__
NetworkInterfaceExport.__replace__()
NetworkInterfaceExport.__repr__()
NetworkInterfaceExport.__static_attributes__
USBGenericExport
USBGenericExport.__attrs_post_init__()
USBGenericExport.__annotations__
USBGenericExport.__attrs_attrs__
USBGenericExport.__firstlineno__
USBGenericExport.__init__()
USBGenericExport.__match_args__
USBGenericExport.__module__
USBGenericExport.__replace__()
USBGenericExport.__repr__()
USBGenericExport.__static_attributes__
USBSigrokExport
USBSigrokExport.__attrs_post_init__()
USBSigrokExport.__annotations__
USBSigrokExport.__attrs_attrs__
USBSigrokExport.__firstlineno__
USBSigrokExport.__init__()
USBSigrokExport.__match_args__
USBSigrokExport.__module__
USBSigrokExport.__replace__()
USBSigrokExport.__repr__()
USBSigrokExport.__static_attributes__
USBSDMuxExport
USBSDMuxExport.__attrs_post_init__()
USBSDMuxExport.__annotations__
USBSDMuxExport.__attrs_attrs__
USBSDMuxExport.__firstlineno__
USBSDMuxExport.__init__()
USBSDMuxExport.__match_args__
USBSDMuxExport.__module__
USBSDMuxExport.__replace__()
USBSDMuxExport.__repr__()
USBSDMuxExport.__static_attributes__
USBSDWireExport
USBSDWireExport.__attrs_post_init__()
USBSDWireExport.__annotations__
USBSDWireExport.__attrs_attrs__
USBSDWireExport.__firstlineno__
USBSDWireExport.__init__()
USBSDWireExport.__match_args__
USBSDWireExport.__module__
USBSDWireExport.__replace__()
USBSDWireExport.__repr__()
USBSDWireExport.__static_attributes__
USBAudioInputExport
USBAudioInputExport.__attrs_post_init__()
USBAudioInputExport.__annotations__
USBAudioInputExport.__attrs_attrs__
USBAudioInputExport.__firstlineno__
USBAudioInputExport.__init__()
USBAudioInputExport.__match_args__
USBAudioInputExport.__module__
USBAudioInputExport.__replace__()
USBAudioInputExport.__repr__()
USBAudioInputExport.__static_attributes__
SiSPMPowerPortExport
SiSPMPowerPortExport.__attrs_post_init__()
SiSPMPowerPortExport.__annotations__
SiSPMPowerPortExport.__attrs_attrs__
SiSPMPowerPortExport.__firstlineno__
SiSPMPowerPortExport.__init__()
SiSPMPowerPortExport.__match_args__
SiSPMPowerPortExport.__module__
SiSPMPowerPortExport.__replace__()
SiSPMPowerPortExport.__repr__()
SiSPMPowerPortExport.__static_attributes__
USBPowerPortExport
USBPowerPortExport.__attrs_post_init__()
USBPowerPortExport.__annotations__
USBPowerPortExport.__attrs_attrs__
USBPowerPortExport.__firstlineno__
USBPowerPortExport.__init__()
USBPowerPortExport.__match_args__
USBPowerPortExport.__module__
USBPowerPortExport.__replace__()
USBPowerPortExport.__repr__()
USBPowerPortExport.__static_attributes__
USBDeditecRelaisExport
USBDeditecRelaisExport.__attrs_post_init__()
USBDeditecRelaisExport.__annotations__
USBDeditecRelaisExport.__attrs_attrs__
USBDeditecRelaisExport.__firstlineno__
USBDeditecRelaisExport.__init__()
USBDeditecRelaisExport.__match_args__
USBDeditecRelaisExport.__module__
USBDeditecRelaisExport.__replace__()
USBDeditecRelaisExport.__repr__()
USBDeditecRelaisExport.__static_attributes__
USBHIDRelayExport
USBHIDRelayExport.__attrs_post_init__()
USBHIDRelayExport.__annotations__
USBHIDRelayExport.__attrs_attrs__
USBHIDRelayExport.__firstlineno__
USBHIDRelayExport.__init__()
USBHIDRelayExport.__match_args__
USBHIDRelayExport.__module__
USBHIDRelayExport.__replace__()
USBHIDRelayExport.__repr__()
USBHIDRelayExport.__static_attributes__
USBFlashableExport
USBFlashableExport.__attrs_post_init__()
USBFlashableExport.__annotations__
USBFlashableExport.__attrs_attrs__
USBFlashableExport.__firstlineno__
USBFlashableExport.__init__()
USBFlashableExport.__match_args__
USBFlashableExport.__module__
USBFlashableExport.__replace__()
USBFlashableExport.__repr__()
USBFlashableExport.__static_attributes__
USBGenericRemoteExport
USBGenericRemoteExport.__attrs_post_init__()
USBGenericRemoteExport.__annotations__
USBGenericRemoteExport.__attrs_attrs__
USBGenericRemoteExport.__firstlineno__
USBGenericRemoteExport.__init__()
USBGenericRemoteExport.__match_args__
USBGenericRemoteExport.__module__
USBGenericRemoteExport.__replace__()
USBGenericRemoteExport.__repr__()
USBGenericRemoteExport.__static_attributes__
ProviderGenericExport
ProviderGenericExport.__attrs_post_init__()
ProviderGenericExport.__annotations__
ProviderGenericExport.__attrs_attrs__
ProviderGenericExport.__firstlineno__
ProviderGenericExport.__init__()
ProviderGenericExport.__match_args__
ProviderGenericExport.__module__
ProviderGenericExport.__replace__()
ProviderGenericExport.__repr__()
ProviderGenericExport.__static_attributes__
EthernetPortExport
EthernetPortExport.__attrs_post_init__()
EthernetPortExport.__annotations__
EthernetPortExport.__attrs_attrs__
EthernetPortExport.__eq__()
EthernetPortExport.__firstlineno__
EthernetPortExport.__ge__()
EthernetPortExport.__gt__()
EthernetPortExport.__hash__
EthernetPortExport.__init__()
EthernetPortExport.__le__()
EthernetPortExport.__lt__()
EthernetPortExport.__match_args__
EthernetPortExport.__module__
EthernetPortExport.__ne__()
EthernetPortExport.__replace__()
EthernetPortExport.__repr__()
EthernetPortExport.__static_attributes__
GPIOSysFSExport
GPIOSysFSExport.__attrs_post_init__()
GPIOSysFSExport.__annotations__
GPIOSysFSExport.__attrs_attrs__
GPIOSysFSExport.__firstlineno__
GPIOSysFSExport.__init__()
GPIOSysFSExport.__match_args__
GPIOSysFSExport.__module__
GPIOSysFSExport.__replace__()
GPIOSysFSExport.__repr__()
GPIOSysFSExport.__static_attributes__
NetworkServiceExport
NetworkServiceExport.__attrs_post_init__()
NetworkServiceExport.__annotations__
NetworkServiceExport.__attrs_attrs__
NetworkServiceExport.__eq__()
NetworkServiceExport.__firstlineno__
NetworkServiceExport.__ge__()
NetworkServiceExport.__gt__()
NetworkServiceExport.__hash__
NetworkServiceExport.__init__()
NetworkServiceExport.__le__()
NetworkServiceExport.__lt__()
NetworkServiceExport.__match_args__
NetworkServiceExport.__module__
NetworkServiceExport.__ne__()
NetworkServiceExport.__replace__()
NetworkServiceExport.__repr__()
NetworkServiceExport.__static_attributes__
HTTPVideoStreamExport
HTTPVideoStreamExport.__attrs_post_init__()
HTTPVideoStreamExport.__annotations__
HTTPVideoStreamExport.__attrs_attrs__
HTTPVideoStreamExport.__eq__()
HTTPVideoStreamExport.__firstlineno__
HTTPVideoStreamExport.__ge__()
HTTPVideoStreamExport.__gt__()
HTTPVideoStreamExport.__hash__
HTTPVideoStreamExport.__init__()
HTTPVideoStreamExport.__le__()
HTTPVideoStreamExport.__lt__()
HTTPVideoStreamExport.__match_args__
HTTPVideoStreamExport.__module__
HTTPVideoStreamExport.__ne__()
HTTPVideoStreamExport.__replace__()
HTTPVideoStreamExport.__repr__()
HTTPVideoStreamExport.__static_attributes__
LXAIOBusNodeExport
LXAIOBusNodeExport.__attrs_post_init__()
LXAIOBusNodeExport.__annotations__
LXAIOBusNodeExport.__attrs_attrs__
LXAIOBusNodeExport.__firstlineno__
LXAIOBusNodeExport.__init__()
LXAIOBusNodeExport.__match_args__
LXAIOBusNodeExport.__module__
LXAIOBusNodeExport.__replace__()
LXAIOBusNodeExport.__repr__()
LXAIOBusNodeExport.__static_attributes__
AndroidNetFastbootExport
AndroidNetFastbootExport.__attrs_post_init__()
AndroidNetFastbootExport.__annotations__
AndroidNetFastbootExport.__attrs_attrs__
AndroidNetFastbootExport.__firstlineno__
AndroidNetFastbootExport.__init__()
AndroidNetFastbootExport.__match_args__
AndroidNetFastbootExport.__module__
AndroidNetFastbootExport.__replace__()
AndroidNetFastbootExport.__repr__()
AndroidNetFastbootExport.__static_attributes__
YKUSHPowerPortExport
YKUSHPowerPortExport.__attrs_post_init__()
YKUSHPowerPortExport.__annotations__
YKUSHPowerPortExport.__attrs_attrs__
YKUSHPowerPortExport.__firstlineno__
YKUSHPowerPortExport.__init__()
YKUSHPowerPortExport.__match_args__
YKUSHPowerPortExport.__module__
YKUSHPowerPortExport.__replace__()
YKUSHPowerPortExport.__repr__()
YKUSHPowerPortExport.__static_attributes__
Exporter
Exporter.__init__()
Exporter.run()
Exporter.send_started()
Exporter.message_pump()
Exporter.acquire()
Exporter.release()
Exporter.poll()
Exporter.add_resource()
Exporter.update_resource()
Exporter.__dict__
Exporter.__firstlineno__
Exporter.__module__
Exporter.__static_attributes__
Exporter.__weakref__
amain()
main()
- labgrid.remote.scheduler module
- labgrid.resource package
- Submodules
- labgrid.resource.base module
SerialPort
NetworkInterface
EthernetPort
EthernetPort.__annotations__
EthernetPort.__attrs_attrs__
EthernetPort.__eq__()
EthernetPort.__firstlineno__
EthernetPort.__ge__()
EthernetPort.__gt__()
EthernetPort.__hash__
EthernetPort.__init__()
EthernetPort.__le__()
EthernetPort.__lt__()
EthernetPort.__match_args__
EthernetPort.__module__
EthernetPort.__ne__()
EthernetPort.__replace__()
EthernetPort.__repr__()
EthernetPort.__static_attributes__
SysfsGPIO
- labgrid.resource.common module
Resource
Resource.__attrs_post_init__()
Resource.command_prefix
Resource.wrap_command()
Resource.parent
Resource.get_managed_parent()
Resource.poll()
Resource.get_bound_resources()
Resource.__annotations__
Resource.__attrs_attrs__
Resource.__firstlineno__
Resource.__init__()
Resource.__match_args__
Resource.__module__
Resource.__replace__()
Resource.__repr__()
Resource.__static_attributes__
NetworkResource
NetworkResource.command_prefix
NetworkResource.wrap_command()
NetworkResource.__annotations__
NetworkResource.__attrs_attrs__
NetworkResource.__firstlineno__
NetworkResource.__init__()
NetworkResource.__match_args__
NetworkResource.__module__
NetworkResource.__replace__()
NetworkResource.__repr__()
NetworkResource.__static_attributes__
ResourceManager
ResourceManager.instances
ResourceManager.get()
ResourceManager.__attrs_post_init__()
ResourceManager.on_resource_added()
ResourceManager.poll()
ResourceManager.__annotations__
ResourceManager.__attrs_attrs__
ResourceManager.__dict__
ResourceManager.__firstlineno__
ResourceManager.__init__()
ResourceManager.__match_args__
ResourceManager.__module__
ResourceManager.__replace__()
ResourceManager.__repr__()
ResourceManager.__static_attributes__
ResourceManager.__weakref__
ManagedResource
ManagedResource.manager_cls
ManagedResource.__attrs_post_init__()
ManagedResource.poll()
ManagedResource.__annotations__
ManagedResource.__attrs_attrs__
ManagedResource.__firstlineno__
ManagedResource.__init__()
ManagedResource.__match_args__
ManagedResource.__module__
ManagedResource.__replace__()
ManagedResource.__repr__()
ManagedResource.__static_attributes__
ManagedResource.get_managed_parent()
- labgrid.resource.dediprogflasher module
DediprogFlasher
NetworkDediprogFlasher
NetworkDediprogFlasher.__annotations__
NetworkDediprogFlasher.__attrs_attrs__
NetworkDediprogFlasher.__firstlineno__
NetworkDediprogFlasher.__init__()
NetworkDediprogFlasher.__match_args__
NetworkDediprogFlasher.__module__
NetworkDediprogFlasher.__replace__()
NetworkDediprogFlasher.__repr__()
NetworkDediprogFlasher.__static_attributes__
- labgrid.resource.docker module
DockerConstants
DockerManager
DockerManager.__attrs_post_init__()
DockerManager.on_resource_added()
DockerManager.poll()
DockerManager.__annotations__
DockerManager.__attrs_attrs__
DockerManager.__firstlineno__
DockerManager.__init__()
DockerManager.__match_args__
DockerManager.__module__
DockerManager.__replace__()
DockerManager.__repr__()
DockerManager.__static_attributes__
DockerDaemon
DockerDaemon.docker_daemon_url
DockerDaemon.manager_cls
DockerDaemon.__attrs_post_init__()
DockerDaemon.on_client_bound()
DockerDaemon.on_poll()
DockerDaemon.__annotations__
DockerDaemon.__attrs_attrs__
DockerDaemon.__firstlineno__
DockerDaemon.__init__()
DockerDaemon.__match_args__
DockerDaemon.__module__
DockerDaemon.__replace__()
DockerDaemon.__repr__()
DockerDaemon.__static_attributes__
- labgrid.resource.ethernetport module
SNMPSwitch
SNMPSwitch.__attrs_post_init__()
SNMPSwitch.update()
SNMPSwitch.__attrs_attrs__
SNMPSwitch.__dict__
SNMPSwitch.__eq__()
SNMPSwitch.__firstlineno__
SNMPSwitch.__ge__()
SNMPSwitch.__gt__()
SNMPSwitch.__hash__
SNMPSwitch.__init__()
SNMPSwitch.__le__()
SNMPSwitch.__lt__()
SNMPSwitch.__match_args__
SNMPSwitch.__module__
SNMPSwitch.__ne__()
SNMPSwitch.__replace__()
SNMPSwitch.__repr__()
SNMPSwitch.__static_attributes__
SNMPSwitch.__weakref__
EthernetPortManager
EthernetPortManager.__attrs_post_init__()
EthernetPortManager.on_resource_added()
EthernetPortManager.poll()
EthernetPortManager.__annotations__
EthernetPortManager.__attrs_attrs__
EthernetPortManager.__eq__()
EthernetPortManager.__firstlineno__
EthernetPortManager.__ge__()
EthernetPortManager.__gt__()
EthernetPortManager.__hash__
EthernetPortManager.__init__()
EthernetPortManager.__le__()
EthernetPortManager.__lt__()
EthernetPortManager.__match_args__
EthernetPortManager.__module__
EthernetPortManager.__ne__()
EthernetPortManager.__replace__()
EthernetPortManager.__repr__()
EthernetPortManager.__static_attributes__
SNMPEthernetPort
SNMPEthernetPort.manager_cls
SNMPEthernetPort.__attrs_post_init__()
SNMPEthernetPort.__annotations__
SNMPEthernetPort.__attrs_attrs__
SNMPEthernetPort.__eq__()
SNMPEthernetPort.__firstlineno__
SNMPEthernetPort.__ge__()
SNMPEthernetPort.__gt__()
SNMPEthernetPort.__hash__
SNMPEthernetPort.__init__()
SNMPEthernetPort.__le__()
SNMPEthernetPort.__lt__()
SNMPEthernetPort.__match_args__
SNMPEthernetPort.__module__
SNMPEthernetPort.__ne__()
SNMPEthernetPort.__replace__()
SNMPEthernetPort.__repr__()
SNMPEthernetPort.__static_attributes__
- labgrid.resource.fastboot module
AndroidNetFastboot
AndroidNetFastboot.__annotations__
AndroidNetFastboot.__attrs_attrs__
AndroidNetFastboot.__firstlineno__
AndroidNetFastboot.__init__()
AndroidNetFastboot.__match_args__
AndroidNetFastboot.__module__
AndroidNetFastboot.__replace__()
AndroidNetFastboot.__repr__()
AndroidNetFastboot.__static_attributes__
- labgrid.resource.flashrom module
- labgrid.resource.httpdigitalout module
- labgrid.resource.httpvideostream module
- labgrid.resource.lxaiobus module
LXAIOBusNodeManager
LXAIOBusNodeManager.__attrs_post_init__()
LXAIOBusNodeManager.poll()
LXAIOBusNodeManager.__annotations__
LXAIOBusNodeManager.__attrs_attrs__
LXAIOBusNodeManager.__firstlineno__
LXAIOBusNodeManager.__init__()
LXAIOBusNodeManager.__match_args__
LXAIOBusNodeManager.__module__
LXAIOBusNodeManager.__replace__()
LXAIOBusNodeManager.__repr__()
LXAIOBusNodeManager.__static_attributes__
LXAIOBusNode
LXAIOBusNode.manager_cls
LXAIOBusNode.__attrs_post_init__()
LXAIOBusNode.__annotations__
LXAIOBusNode.__attrs_attrs__
LXAIOBusNode.__firstlineno__
LXAIOBusNode.__init__()
LXAIOBusNode.__match_args__
LXAIOBusNode.__module__
LXAIOBusNode.__replace__()
LXAIOBusNode.__repr__()
LXAIOBusNode.__static_attributes__
LXAIOBusPIO
- labgrid.resource.modbus module
- labgrid.resource.modbusrtu module
- labgrid.resource.mqtt module
MQTTManager
MQTTResource
MQTTResource.manager_cls
MQTTResource.__attrs_post_init__()
MQTTResource.__annotations__
MQTTResource.__attrs_attrs__
MQTTResource.__firstlineno__
MQTTResource.__init__()
MQTTResource.__match_args__
MQTTResource.__module__
MQTTResource.__replace__()
MQTTResource.__repr__()
MQTTResource.__static_attributes__
TasmotaPowerPort
- labgrid.resource.networkservice module
- labgrid.resource.onewireport module
- labgrid.resource.power module
- labgrid.resource.provider module
- labgrid.resource.pyvisa module
- labgrid.resource.remote module
RemotePlaceManager
RemotePlaceManager.__attrs_post_init__()
RemotePlaceManager.on_resource_added()
RemotePlaceManager.poll()
RemotePlaceManager.__annotations__
RemotePlaceManager.__attrs_attrs__
RemotePlaceManager.__firstlineno__
RemotePlaceManager.__init__()
RemotePlaceManager.__match_args__
RemotePlaceManager.__module__
RemotePlaceManager.__replace__()
RemotePlaceManager.__repr__()
RemotePlaceManager.__static_attributes__
RemotePlace
RemoteUSBResource
RemoteUSBResource.manager_cls
RemoteUSBResource.__annotations__
RemoteUSBResource.__attrs_attrs__
RemoteUSBResource.__firstlineno__
RemoteUSBResource.__init__()
RemoteUSBResource.__match_args__
RemoteUSBResource.__module__
RemoteUSBResource.__replace__()
RemoteUSBResource.__repr__()
RemoteUSBResource.__static_attributes__
RemoteAndroidUSBFastboot
RemoteAndroidUSBFastboot.__attrs_post_init__()
RemoteAndroidUSBFastboot.__annotations__
RemoteAndroidUSBFastboot.__attrs_attrs__
RemoteAndroidUSBFastboot.__firstlineno__
RemoteAndroidUSBFastboot.__init__()
RemoteAndroidUSBFastboot.__match_args__
RemoteAndroidUSBFastboot.__module__
RemoteAndroidUSBFastboot.__replace__()
RemoteAndroidUSBFastboot.__repr__()
RemoteAndroidUSBFastboot.__static_attributes__
NetworkAndroidFastboot
NetworkAndroidFastboot.__attrs_post_init__()
NetworkAndroidFastboot.__annotations__
NetworkAndroidFastboot.__attrs_attrs__
NetworkAndroidFastboot.__firstlineno__
NetworkAndroidFastboot.__init__()
NetworkAndroidFastboot.__match_args__
NetworkAndroidFastboot.__module__
NetworkAndroidFastboot.__replace__()
NetworkAndroidFastboot.__repr__()
NetworkAndroidFastboot.__static_attributes__
RemoteAndroidNetFastboot
RemoteAndroidNetFastboot.__annotations__
RemoteAndroidNetFastboot.__attrs_attrs__
RemoteAndroidNetFastboot.__firstlineno__
RemoteAndroidNetFastboot.__init__()
RemoteAndroidNetFastboot.__match_args__
RemoteAndroidNetFastboot.__module__
RemoteAndroidNetFastboot.__replace__()
RemoteAndroidNetFastboot.__repr__()
RemoteAndroidNetFastboot.__static_attributes__
NetworkDFUDevice
NetworkDFUDevice.__attrs_post_init__()
NetworkDFUDevice.__annotations__
NetworkDFUDevice.__attrs_attrs__
NetworkDFUDevice.__firstlineno__
NetworkDFUDevice.__init__()
NetworkDFUDevice.__match_args__
NetworkDFUDevice.__module__
NetworkDFUDevice.__replace__()
NetworkDFUDevice.__repr__()
NetworkDFUDevice.__static_attributes__
NetworkIMXUSBLoader
NetworkIMXUSBLoader.__attrs_post_init__()
NetworkIMXUSBLoader.__annotations__
NetworkIMXUSBLoader.__attrs_attrs__
NetworkIMXUSBLoader.__firstlineno__
NetworkIMXUSBLoader.__init__()
NetworkIMXUSBLoader.__match_args__
NetworkIMXUSBLoader.__module__
NetworkIMXUSBLoader.__replace__()
NetworkIMXUSBLoader.__repr__()
NetworkIMXUSBLoader.__static_attributes__
NetworkMXSUSBLoader
NetworkMXSUSBLoader.__attrs_post_init__()
NetworkMXSUSBLoader.__annotations__
NetworkMXSUSBLoader.__attrs_attrs__
NetworkMXSUSBLoader.__firstlineno__
NetworkMXSUSBLoader.__init__()
NetworkMXSUSBLoader.__match_args__
NetworkMXSUSBLoader.__module__
NetworkMXSUSBLoader.__replace__()
NetworkMXSUSBLoader.__repr__()
NetworkMXSUSBLoader.__static_attributes__
NetworkRKUSBLoader
NetworkRKUSBLoader.__attrs_post_init__()
NetworkRKUSBLoader.__annotations__
NetworkRKUSBLoader.__attrs_attrs__
NetworkRKUSBLoader.__firstlineno__
NetworkRKUSBLoader.__init__()
NetworkRKUSBLoader.__match_args__
NetworkRKUSBLoader.__module__
NetworkRKUSBLoader.__replace__()
NetworkRKUSBLoader.__repr__()
NetworkRKUSBLoader.__static_attributes__
NetworkAlteraUSBBlaster
NetworkAlteraUSBBlaster.__attrs_post_init__()
NetworkAlteraUSBBlaster.__annotations__
NetworkAlteraUSBBlaster.__attrs_attrs__
NetworkAlteraUSBBlaster.__firstlineno__
NetworkAlteraUSBBlaster.__init__()
NetworkAlteraUSBBlaster.__match_args__
NetworkAlteraUSBBlaster.__module__
NetworkAlteraUSBBlaster.__replace__()
NetworkAlteraUSBBlaster.__repr__()
NetworkAlteraUSBBlaster.__static_attributes__
NetworkSigrokUSBDevice
NetworkSigrokUSBDevice.__attrs_post_init__()
NetworkSigrokUSBDevice.__annotations__
NetworkSigrokUSBDevice.__attrs_attrs__
NetworkSigrokUSBDevice.__firstlineno__
NetworkSigrokUSBDevice.__init__()
NetworkSigrokUSBDevice.__match_args__
NetworkSigrokUSBDevice.__module__
NetworkSigrokUSBDevice.__replace__()
NetworkSigrokUSBDevice.__repr__()
NetworkSigrokUSBDevice.__static_attributes__
NetworkSigrokUSBSerialDevice
NetworkSigrokUSBSerialDevice.__attrs_post_init__()
NetworkSigrokUSBSerialDevice.__annotations__
NetworkSigrokUSBSerialDevice.__attrs_attrs__
NetworkSigrokUSBSerialDevice.__firstlineno__
NetworkSigrokUSBSerialDevice.__init__()
NetworkSigrokUSBSerialDevice.__match_args__
NetworkSigrokUSBSerialDevice.__module__
NetworkSigrokUSBSerialDevice.__replace__()
NetworkSigrokUSBSerialDevice.__repr__()
NetworkSigrokUSBSerialDevice.__static_attributes__
NetworkUSBMassStorage
NetworkUSBMassStorage.__attrs_post_init__()
NetworkUSBMassStorage.__annotations__
NetworkUSBMassStorage.__attrs_attrs__
NetworkUSBMassStorage.__firstlineno__
NetworkUSBMassStorage.__init__()
NetworkUSBMassStorage.__match_args__
NetworkUSBMassStorage.__module__
NetworkUSBMassStorage.__replace__()
NetworkUSBMassStorage.__repr__()
NetworkUSBMassStorage.__static_attributes__
NetworkUSBSDMuxDevice
NetworkUSBSDMuxDevice.__attrs_post_init__()
NetworkUSBSDMuxDevice.__annotations__
NetworkUSBSDMuxDevice.__attrs_attrs__
NetworkUSBSDMuxDevice.__firstlineno__
NetworkUSBSDMuxDevice.__init__()
NetworkUSBSDMuxDevice.__match_args__
NetworkUSBSDMuxDevice.__module__
NetworkUSBSDMuxDevice.__replace__()
NetworkUSBSDMuxDevice.__repr__()
NetworkUSBSDMuxDevice.__static_attributes__
NetworkUSBSDWireDevice
NetworkUSBSDWireDevice.__attrs_post_init__()
NetworkUSBSDWireDevice.__annotations__
NetworkUSBSDWireDevice.__attrs_attrs__
NetworkUSBSDWireDevice.__firstlineno__
NetworkUSBSDWireDevice.__init__()
NetworkUSBSDWireDevice.__match_args__
NetworkUSBSDWireDevice.__module__
NetworkUSBSDWireDevice.__replace__()
NetworkUSBSDWireDevice.__repr__()
NetworkUSBSDWireDevice.__static_attributes__
NetworkSiSPMPowerPort
NetworkSiSPMPowerPort.__attrs_post_init__()
NetworkSiSPMPowerPort.__annotations__
NetworkSiSPMPowerPort.__attrs_attrs__
NetworkSiSPMPowerPort.__firstlineno__
NetworkSiSPMPowerPort.__init__()
NetworkSiSPMPowerPort.__match_args__
NetworkSiSPMPowerPort.__module__
NetworkSiSPMPowerPort.__replace__()
NetworkSiSPMPowerPort.__repr__()
NetworkSiSPMPowerPort.__static_attributes__
NetworkUSBPowerPort
NetworkUSBPowerPort.__attrs_post_init__()
NetworkUSBPowerPort.__annotations__
NetworkUSBPowerPort.__attrs_attrs__
NetworkUSBPowerPort.__firstlineno__
NetworkUSBPowerPort.__init__()
NetworkUSBPowerPort.__match_args__
NetworkUSBPowerPort.__module__
NetworkUSBPowerPort.__replace__()
NetworkUSBPowerPort.__repr__()
NetworkUSBPowerPort.__static_attributes__
NetworkUSBVideo
NetworkUSBVideo.__attrs_post_init__()
NetworkUSBVideo.__annotations__
NetworkUSBVideo.__attrs_attrs__
NetworkUSBVideo.__firstlineno__
NetworkUSBVideo.__init__()
NetworkUSBVideo.__match_args__
NetworkUSBVideo.__module__
NetworkUSBVideo.__replace__()
NetworkUSBVideo.__repr__()
NetworkUSBVideo.__static_attributes__
NetworkUSBAudioInput
NetworkUSBAudioInput.__attrs_post_init__()
NetworkUSBAudioInput.__annotations__
NetworkUSBAudioInput.__attrs_attrs__
NetworkUSBAudioInput.__firstlineno__
NetworkUSBAudioInput.__init__()
NetworkUSBAudioInput.__match_args__
NetworkUSBAudioInput.__module__
NetworkUSBAudioInput.__replace__()
NetworkUSBAudioInput.__repr__()
NetworkUSBAudioInput.__static_attributes__
NetworkUSBTMC
NetworkUSBDebugger
NetworkUSBDebugger.__attrs_post_init__()
NetworkUSBDebugger.__annotations__
NetworkUSBDebugger.__attrs_attrs__
NetworkUSBDebugger.__firstlineno__
NetworkUSBDebugger.__init__()
NetworkUSBDebugger.__match_args__
NetworkUSBDebugger.__module__
NetworkUSBDebugger.__replace__()
NetworkUSBDebugger.__repr__()
NetworkUSBDebugger.__static_attributes__
NetworkDeditecRelais8
NetworkDeditecRelais8.__attrs_post_init__()
NetworkDeditecRelais8.__annotations__
NetworkDeditecRelais8.__attrs_attrs__
NetworkDeditecRelais8.__firstlineno__
NetworkDeditecRelais8.__init__()
NetworkDeditecRelais8.__match_args__
NetworkDeditecRelais8.__module__
NetworkDeditecRelais8.__replace__()
NetworkDeditecRelais8.__repr__()
NetworkDeditecRelais8.__static_attributes__
NetworkHIDRelay
NetworkHIDRelay.__attrs_post_init__()
NetworkHIDRelay.__annotations__
NetworkHIDRelay.__attrs_attrs__
NetworkHIDRelay.__firstlineno__
NetworkHIDRelay.__init__()
NetworkHIDRelay.__match_args__
NetworkHIDRelay.__module__
NetworkHIDRelay.__replace__()
NetworkHIDRelay.__repr__()
NetworkHIDRelay.__static_attributes__
NetworkSysfsGPIO
NetworkSysfsGPIO.manager_cls
NetworkSysfsGPIO.__attrs_post_init__()
NetworkSysfsGPIO.__annotations__
NetworkSysfsGPIO.__attrs_attrs__
NetworkSysfsGPIO.__firstlineno__
NetworkSysfsGPIO.__init__()
NetworkSysfsGPIO.__match_args__
NetworkSysfsGPIO.__module__
NetworkSysfsGPIO.__replace__()
NetworkSysfsGPIO.__repr__()
NetworkSysfsGPIO.__static_attributes__
NetworkLXAIOBusNode
NetworkLXAIOBusNode.manager_cls
NetworkLXAIOBusNode.__attrs_post_init__()
NetworkLXAIOBusNode.__annotations__
NetworkLXAIOBusNode.__attrs_attrs__
NetworkLXAIOBusNode.__firstlineno__
NetworkLXAIOBusNode.__init__()
NetworkLXAIOBusNode.__match_args__
NetworkLXAIOBusNode.__module__
NetworkLXAIOBusNode.__replace__()
NetworkLXAIOBusNode.__repr__()
NetworkLXAIOBusNode.__static_attributes__
NetworkLXAIOBusPIO
NetworkLXAIOBusPIO.__annotations__
NetworkLXAIOBusPIO.__attrs_attrs__
NetworkLXAIOBusPIO.__firstlineno__
NetworkLXAIOBusPIO.__init__()
NetworkLXAIOBusPIO.__match_args__
NetworkLXAIOBusPIO.__module__
NetworkLXAIOBusPIO.__replace__()
NetworkLXAIOBusPIO.__repr__()
NetworkLXAIOBusPIO.__static_attributes__
NetworkLXAUSBMux
NetworkLXAUSBMux.__attrs_post_init__()
NetworkLXAUSBMux.__annotations__
NetworkLXAUSBMux.__attrs_attrs__
NetworkLXAUSBMux.__firstlineno__
NetworkLXAUSBMux.__init__()
NetworkLXAUSBMux.__match_args__
NetworkLXAUSBMux.__module__
NetworkLXAUSBMux.__replace__()
NetworkLXAUSBMux.__repr__()
NetworkLXAUSBMux.__static_attributes__
NetworkUSBFlashableDevice
NetworkUSBFlashableDevice.__annotations__
NetworkUSBFlashableDevice.__attrs_attrs__
NetworkUSBFlashableDevice.__firstlineno__
NetworkUSBFlashableDevice.__init__()
NetworkUSBFlashableDevice.__match_args__
NetworkUSBFlashableDevice.__module__
NetworkUSBFlashableDevice.__replace__()
NetworkUSBFlashableDevice.__repr__()
NetworkUSBFlashableDevice.__static_attributes__
NetworkMQTTResource
NetworkMQTTResource.manager_cls
NetworkMQTTResource.__attrs_post_init__()
NetworkMQTTResource.__annotations__
NetworkMQTTResource.__attrs_attrs__
NetworkMQTTResource.__firstlineno__
NetworkMQTTResource.__init__()
NetworkMQTTResource.__match_args__
NetworkMQTTResource.__module__
NetworkMQTTResource.__replace__()
NetworkMQTTResource.__repr__()
NetworkMQTTResource.__static_attributes__
RemoteNetworkInterface
RemoteNetworkInterface.manager_cls
RemoteNetworkInterface.__annotations__
RemoteNetworkInterface.__attrs_attrs__
RemoteNetworkInterface.__firstlineno__
RemoteNetworkInterface.__init__()
RemoteNetworkInterface.__match_args__
RemoteNetworkInterface.__module__
RemoteNetworkInterface.__replace__()
RemoteNetworkInterface.__repr__()
RemoteNetworkInterface.__static_attributes__
RemoteBaseProvider
RemoteBaseProvider.__annotations__
RemoteBaseProvider.__attrs_attrs__
RemoteBaseProvider.__firstlineno__
RemoteBaseProvider.__init__()
RemoteBaseProvider.__match_args__
RemoteBaseProvider.__module__
RemoteBaseProvider.__replace__()
RemoteBaseProvider.__repr__()
RemoteBaseProvider.__static_attributes__
RemoteTFTPProvider
RemoteTFTPProvider.__annotations__
RemoteTFTPProvider.__attrs_attrs__
RemoteTFTPProvider.__firstlineno__
RemoteTFTPProvider.__init__()
RemoteTFTPProvider.__match_args__
RemoteTFTPProvider.__module__
RemoteTFTPProvider.__replace__()
RemoteTFTPProvider.__repr__()
RemoteTFTPProvider.__static_attributes__
RemoteNFSProvider
RemoteHTTPProvider
RemoteHTTPProvider.__annotations__
RemoteHTTPProvider.__attrs_attrs__
RemoteHTTPProvider.__firstlineno__
RemoteHTTPProvider.__init__()
RemoteHTTPProvider.__match_args__
RemoteHTTPProvider.__module__
RemoteHTTPProvider.__replace__()
RemoteHTTPProvider.__repr__()
RemoteHTTPProvider.__static_attributes__
- labgrid.resource.serialport module
- labgrid.resource.sigrok module
- labgrid.resource.suggest module
- labgrid.resource.udev module
UdevManager
UdevManager.__attrs_post_init__()
UdevManager.on_resource_added()
UdevManager.poll()
UdevManager.__annotations__
UdevManager.__attrs_attrs__
UdevManager.__firstlineno__
UdevManager.__init__()
UdevManager.__match_args__
UdevManager.__module__
UdevManager.__replace__()
UdevManager.__repr__()
UdevManager.__static_attributes__
USBResource
USBResource.manager_cls
USBResource.__attrs_post_init__()
USBResource.filter_match()
USBResource.suggest_match()
USBResource.try_match()
USBResource.update()
USBResource.busnum
USBResource.devnum
USBResource.path
USBResource.vendor_id
USBResource.model_id
USBResource.read_attr()
USBResource.__annotations__
USBResource.__attrs_attrs__
USBResource.__firstlineno__
USBResource.__init__()
USBResource.__match_args__
USBResource.__module__
USBResource.__replace__()
USBResource.__repr__()
USBResource.__static_attributes__
USBSerialPort
USBSerialPort.__attrs_post_init__()
USBSerialPort.update()
USBSerialPort.__annotations__
USBSerialPort.__attrs_attrs__
USBSerialPort.__firstlineno__
USBSerialPort.__init__()
USBSerialPort.__match_args__
USBSerialPort.__module__
USBSerialPort.__replace__()
USBSerialPort.__repr__()
USBSerialPort.__static_attributes__
USBMassStorage
USBMassStorage.__attrs_post_init__()
USBMassStorage.avail
USBMassStorage.path
USBMassStorage.__annotations__
USBMassStorage.__attrs_attrs__
USBMassStorage.__firstlineno__
USBMassStorage.__init__()
USBMassStorage.__match_args__
USBMassStorage.__module__
USBMassStorage.__replace__()
USBMassStorage.__repr__()
USBMassStorage.__static_attributes__
IMXUSBLoader
RKUSBLoader
MXSUSBLoader
AndroidUSBFastboot
AndroidUSBFastboot.filter_match()
AndroidUSBFastboot.__annotations__
AndroidUSBFastboot.__attrs_attrs__
AndroidUSBFastboot.__firstlineno__
AndroidUSBFastboot.__init__()
AndroidUSBFastboot.__match_args__
AndroidUSBFastboot.__module__
AndroidUSBFastboot.__replace__()
AndroidUSBFastboot.__repr__()
AndroidUSBFastboot.__static_attributes__
AndroidFastboot
AndroidFastboot.__attrs_post_init__()
AndroidFastboot.__annotations__
AndroidFastboot.__attrs_attrs__
AndroidFastboot.__firstlineno__
AndroidFastboot.__init__()
AndroidFastboot.__match_args__
AndroidFastboot.__module__
AndroidFastboot.__replace__()
AndroidFastboot.__repr__()
AndroidFastboot.__static_attributes__
DFUDevice
USBNetworkInterface
USBNetworkInterface.__attrs_post_init__()
USBNetworkInterface.update()
USBNetworkInterface.if_state
USBNetworkInterface.__annotations__
USBNetworkInterface.__attrs_attrs__
USBNetworkInterface.__firstlineno__
USBNetworkInterface.__init__()
USBNetworkInterface.__match_args__
USBNetworkInterface.__module__
USBNetworkInterface.__replace__()
USBNetworkInterface.__repr__()
USBNetworkInterface.__static_attributes__
AlteraUSBBlaster
AlteraUSBBlaster.filter_match()
AlteraUSBBlaster.__annotations__
AlteraUSBBlaster.__attrs_attrs__
AlteraUSBBlaster.__firstlineno__
AlteraUSBBlaster.__init__()
AlteraUSBBlaster.__match_args__
AlteraUSBBlaster.__module__
AlteraUSBBlaster.__replace__()
AlteraUSBBlaster.__repr__()
AlteraUSBBlaster.__static_attributes__
SigrokUSBDevice
SigrokUSBDevice.__attrs_post_init__()
SigrokUSBDevice.__annotations__
SigrokUSBDevice.__attrs_attrs__
SigrokUSBDevice.__firstlineno__
SigrokUSBDevice.__init__()
SigrokUSBDevice.__match_args__
SigrokUSBDevice.__module__
SigrokUSBDevice.__replace__()
SigrokUSBDevice.__repr__()
SigrokUSBDevice.__static_attributes__
SigrokUSBSerialDevice
SigrokUSBSerialDevice.__attrs_post_init__()
SigrokUSBSerialDevice.path
SigrokUSBSerialDevice.__annotations__
SigrokUSBSerialDevice.__attrs_attrs__
SigrokUSBSerialDevice.__firstlineno__
SigrokUSBSerialDevice.__init__()
SigrokUSBSerialDevice.__match_args__
SigrokUSBSerialDevice.__module__
SigrokUSBSerialDevice.__replace__()
SigrokUSBSerialDevice.__repr__()
SigrokUSBSerialDevice.__static_attributes__
USBSDWireDevice
USBSDWireDevice.__attrs_post_init__()
USBSDWireDevice.avail
USBSDWireDevice.poll()
USBSDWireDevice.update()
USBSDWireDevice.path
USBSDWireDevice.__annotations__
USBSDWireDevice.__attrs_attrs__
USBSDWireDevice.__firstlineno__
USBSDWireDevice.__init__()
USBSDWireDevice.__match_args__
USBSDWireDevice.__module__
USBSDWireDevice.__replace__()
USBSDWireDevice.__repr__()
USBSDWireDevice.__static_attributes__
USBSDMuxDevice
USBSDMuxDevice.__attrs_post_init__()
USBSDMuxDevice.avail
USBSDMuxDevice.poll()
USBSDMuxDevice.update()
USBSDMuxDevice.path
USBSDMuxDevice.__annotations__
USBSDMuxDevice.__attrs_attrs__
USBSDMuxDevice.__firstlineno__
USBSDMuxDevice.__init__()
USBSDMuxDevice.__match_args__
USBSDMuxDevice.__module__
USBSDMuxDevice.__replace__()
USBSDMuxDevice.__repr__()
USBSDMuxDevice.__static_attributes__
USBHub
USBPowerPort
SiSPMPowerPort
USBVideo
USBAudioInput
USBAudioInput.filter_match()
USBAudioInput.__attrs_post_init__()
USBAudioInput.path
USBAudioInput.alsa_name
USBAudioInput.__annotations__
USBAudioInput.__attrs_attrs__
USBAudioInput.__firstlineno__
USBAudioInput.__init__()
USBAudioInput.__match_args__
USBAudioInput.__module__
USBAudioInput.__replace__()
USBAudioInput.__repr__()
USBAudioInput.__static_attributes__
USBTMC
DeditecRelais8
DeditecRelais8.__attrs_post_init__()
DeditecRelais8.__annotations__
DeditecRelais8.__attrs_attrs__
DeditecRelais8.__firstlineno__
DeditecRelais8.__init__()
DeditecRelais8.__match_args__
DeditecRelais8.__module__
DeditecRelais8.__replace__()
DeditecRelais8.__repr__()
DeditecRelais8.__static_attributes__
HIDRelay
USBFlashableDevice
USBFlashableDevice.devnode
USBFlashableDevice.__annotations__
USBFlashableDevice.__attrs_attrs__
USBFlashableDevice.__firstlineno__
USBFlashableDevice.__init__()
USBFlashableDevice.__match_args__
USBFlashableDevice.__module__
USBFlashableDevice.__replace__()
USBFlashableDevice.__repr__()
USBFlashableDevice.__static_attributes__
LXAUSBMux
USBDebugger
MatchedSysfsGPIO
MatchedSysfsGPIO.index
MatchedSysfsGPIO.__annotations__
MatchedSysfsGPIO.__attrs_attrs__
MatchedSysfsGPIO.__attrs_post_init__()
MatchedSysfsGPIO.__firstlineno__
MatchedSysfsGPIO.__init__()
MatchedSysfsGPIO.__match_args__
MatchedSysfsGPIO.__module__
MatchedSysfsGPIO.__replace__()
MatchedSysfsGPIO.__repr__()
MatchedSysfsGPIO.__static_attributes__
MatchedSysfsGPIO.filter_match()
MatchedSysfsGPIO.update()
- labgrid.resource.xenamanager module
- labgrid.resource.ykushpowerport module
YKUSHPowerPort
NetworkYKUSHPowerPort
NetworkYKUSHPowerPort.__annotations__
NetworkYKUSHPowerPort.__attrs_attrs__
NetworkYKUSHPowerPort.__firstlineno__
NetworkYKUSHPowerPort.__init__()
NetworkYKUSHPowerPort.__match_args__
NetworkYKUSHPowerPort.__module__
NetworkYKUSHPowerPort.__replace__()
NetworkYKUSHPowerPort.__repr__()
NetworkYKUSHPowerPort.__static_attributes__
- labgrid.strategy package
- Submodules
- labgrid.strategy.bareboxstrategy module
Status
BareboxStrategy
BareboxStrategy.bindings
BareboxStrategy.__attrs_post_init__()
BareboxStrategy.transition()
BareboxStrategy.force()
BareboxStrategy.__annotations__
BareboxStrategy.__attrs_attrs__
BareboxStrategy.__firstlineno__
BareboxStrategy.__init__()
BareboxStrategy.__match_args__
BareboxStrategy.__module__
BareboxStrategy.__replace__()
BareboxStrategy.__repr__()
BareboxStrategy.__static_attributes__
- labgrid.strategy.common module
StrategyError
Strategy
Strategy.__attrs_post_init__()
Strategy.on_client_bound()
Strategy.on_activate()
Strategy.on_deactivate()
Strategy.resolve_conflicts()
Strategy.transition()
Strategy.force()
Strategy.prepare_export()
Strategy.__annotations__
Strategy.__attrs_attrs__
Strategy.__firstlineno__
Strategy.__init__()
Strategy.__match_args__
Strategy.__module__
Strategy.__replace__()
Strategy.__repr__()
Strategy.__static_attributes__
- labgrid.strategy.dockerstrategy module
Status
DockerStrategy
DockerStrategy.bindings
DockerStrategy.__attrs_post_init__()
DockerStrategy.transition()
DockerStrategy.__annotations__
DockerStrategy.__attrs_attrs__
DockerStrategy.__firstlineno__
DockerStrategy.__init__()
DockerStrategy.__match_args__
DockerStrategy.__module__
DockerStrategy.__replace__()
DockerStrategy.__repr__()
DockerStrategy.__static_attributes__
- labgrid.strategy.graphstrategy module
InvalidGraphStrategyError
GraphStrategyRuntimeError
GraphStrategyError
GraphStrategy
GraphStrategy.__attrs_post_init__()
GraphStrategy.invalidate()
GraphStrategy.transition()
GraphStrategy.find_abs_path()
GraphStrategy.find_rel_path()
GraphStrategy.graph
GraphStrategy.depends()
GraphStrategy.__annotations__
GraphStrategy.__firstlineno__
GraphStrategy.__module__
GraphStrategy.__static_attributes__
- labgrid.strategy.shellstrategy module
Status
ShellStrategy
ShellStrategy.bindings
ShellStrategy.__attrs_post_init__()
ShellStrategy.transition()
ShellStrategy.force()
ShellStrategy.__annotations__
ShellStrategy.__attrs_attrs__
ShellStrategy.__firstlineno__
ShellStrategy.__init__()
ShellStrategy.__match_args__
ShellStrategy.__module__
ShellStrategy.__replace__()
ShellStrategy.__repr__()
ShellStrategy.__static_attributes__
- labgrid.strategy.ubootstrategy module
Status
UBootStrategy
UBootStrategy.bindings
UBootStrategy.__attrs_post_init__()
UBootStrategy.transition()
UBootStrategy.force()
UBootStrategy.__annotations__
UBootStrategy.__attrs_attrs__
UBootStrategy.__firstlineno__
UBootStrategy.__init__()
UBootStrategy.__match_args__
UBootStrategy.__module__
UBootStrategy.__replace__()
UBootStrategy.__repr__()
UBootStrategy.__static_attributes__
- labgrid.util package
- Subpackages
- Submodules
- labgrid.util.agent module
- labgrid.util.agentwrapper module
- labgrid.util.atomic module
- labgrid.util.dict module
- labgrid.util.exceptions module
- labgrid.util.expect module
- labgrid.util.helper module
get_free_port()
get_user()
set_nonblocking()
ProcessWrapper
ProcessWrapper.loglevel
ProcessWrapper.check_output()
ProcessWrapper.register()
ProcessWrapper.unregister()
ProcessWrapper.log_callback()
ProcessWrapper.print_callback()
ProcessWrapper.enable_logging()
ProcessWrapper.disable_logging()
ProcessWrapper.enable_print()
ProcessWrapper.disable_print()
ProcessWrapper.__attrs_attrs__
ProcessWrapper.__dict__
ProcessWrapper.__eq__()
ProcessWrapper.__firstlineno__
ProcessWrapper.__ge__()
ProcessWrapper.__gt__()
ProcessWrapper.__hash__
ProcessWrapper.__init__()
ProcessWrapper.__le__()
ProcessWrapper.__lt__()
ProcessWrapper.__match_args__
ProcessWrapper.__module__
ProcessWrapper.__ne__()
ProcessWrapper.__replace__()
ProcessWrapper.__repr__()
ProcessWrapper.__static_attributes__
ProcessWrapper.__weakref__
- labgrid.util.managedfile module
ManagedFileError
ManagedFile
ManagedFile.__attrs_post_init__()
ManagedFile.sync_to_resource()
ManagedFile.get_remote_path()
ManagedFile.get_hash()
ManagedFile.get_user_cache_path()
ManagedFile.__attrs_attrs__
ManagedFile.__dict__
ManagedFile.__eq__()
ManagedFile.__firstlineno__
ManagedFile.__ge__()
ManagedFile.__gt__()
ManagedFile.__hash__
ManagedFile.__init__()
ManagedFile.__le__()
ManagedFile.__lt__()
ManagedFile.__match_args__
ManagedFile.__module__
ManagedFile.__ne__()
ManagedFile.__replace__()
ManagedFile.__repr__()
ManagedFile.__static_attributes__
ManagedFile.__weakref__
- labgrid.util.marker module
- labgrid.util.proxy module
- labgrid.util.qmp module
QMPMonitor
QMPMonitor.__attrs_post_init__()
QMPMonitor.execute()
QMPMonitor.__attrs_attrs__
QMPMonitor.__dict__
QMPMonitor.__firstlineno__
QMPMonitor.__init__()
QMPMonitor.__match_args__
QMPMonitor.__module__
QMPMonitor.__replace__()
QMPMonitor.__repr__()
QMPMonitor.__static_attributes__
QMPMonitor.__weakref__
QMPError
- labgrid.util.snmp module
- labgrid.util.ssh module
SSHConnection
SSHConnection.__attrs_post_init__()
SSHConnection.get_prefix()
SSHConnection.run()
SSHConnection.run_check()
SSHConnection.get_file()
SSHConnection.put_file()
SSHConnection.add_port_forward()
SSHConnection.remove_port_forward()
SSHConnection.add_remote_port_forward()
SSHConnection.remove_remote_port_forward()
SSHConnection.connect()
SSHConnection.isconnected()
SSHConnection.disconnect()
SSHConnection.cleanup()
SSHConnection.__attrs_attrs__
SSHConnection.__dict__
SSHConnection.__eq__()
SSHConnection.__firstlineno__
SSHConnection.__ge__()
SSHConnection.__gt__()
SSHConnection.__hash__
SSHConnection.__init__()
SSHConnection.__le__()
SSHConnection.__lt__()
SSHConnection.__match_args__
SSHConnection.__module__
SSHConnection.__ne__()
SSHConnection.__replace__()
SSHConnection.__repr__()
SSHConnection.__static_attributes__
SSHConnection.__weakref__
ForwardError
ForwardError.__attrs_attrs__
ForwardError.__eq__()
ForwardError.__firstlineno__
ForwardError.__ge__()
ForwardError.__gt__()
ForwardError.__hash__
ForwardError.__init__()
ForwardError.__le__()
ForwardError.__lt__()
ForwardError.__match_args__
ForwardError.__module__
ForwardError.__ne__()
ForwardError.__replace__()
ForwardError.__repr__()
ForwardError.__static_attributes__
ForwardError.__weakref__
- labgrid.util.timeout module
- labgrid.util.version module
- labgrid.util.yaml module
Submodules
labgrid.binding module
- exception labgrid.binding.StateError(msg)[source]
Bases:
Exception
- __attrs_attrs__ = (Attribute(name='msg', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='msg'),)
- __firstlineno__ = 8
- __init__(msg) None
Method generated by attrs for class StateError.
- __match_args__ = ('msg',)
- __module__ = 'labgrid.binding'
- __replace__(**changes)
Method generated by attrs for class StateError.
- __repr__()
Method generated by attrs for class StateError.
- __static_attributes__ = ()
- __weakref__
list of weak references to the object
- exception labgrid.binding.BindingError(msg)[source]
Bases:
Exception
- __attrs_attrs__ = (Attribute(name='msg', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='msg'),)
- __firstlineno__ = 13
- __init__(msg) None
Method generated by attrs for class BindingError.
- __match_args__ = ('msg',)
- __module__ = 'labgrid.binding'
- __replace__(**changes)
Method generated by attrs for class BindingError.
- __repr__()
Method generated by attrs for class BindingError.
- __static_attributes__ = ()
- __weakref__
list of weak references to the object
- class labgrid.binding.BindingState(*values)[source]
Bases:
Enum
- error = -1
- idle = 0
- bound = 1
- active = 2
- __module__ = 'labgrid.binding'
- class labgrid.binding.BindingMixin(target, name)[source]
Bases:
object
Handles the binding and activation of drivers and their supplying resources and drivers.
One client can be bound to many suppliers, and one supplier can be bound by many clients.
Conflicting access to one supplier can be avoided by deactivating conflicting clients before activation (using the resolve_conflicts callback).
- bindings: Dict[str, Any] = {}
- property display_name
- resolve_conflicts(client)[source]
Called by the Target to allow this object to deactivate conflicting clients.
- get_bound_resources()[source]
Called by the Target to find the correct driver corresponding to a resource
- class NamedBinding(value)[source]
Bases:
object
Marks a binding (or binding set) as requiring an explicit name.
- __dict__ = mappingproxy({'__module__': 'labgrid.binding', '__firstlineno__': 122, '__doc__': '\nMarks a binding (or binding set) as requiring an explicit name.\n', '__init__': <function BindingMixin.NamedBinding.__init__>, '__repr__': <function BindingMixin.NamedBinding.__repr__>, '__static_attributes__': ('value',), '__dict__': <attribute '__dict__' of 'NamedBinding' objects>, '__weakref__': <attribute '__weakref__' of 'NamedBinding' objects>, '__annotations__': {}})
- __firstlineno__ = 122
- __module__ = 'labgrid.binding'
- __static_attributes__ = ('value',)
- __weakref__
list of weak references to the object
- __annotations__ = {'bindings': typing.Dict[str, typing.Any]}
- __attrs_attrs__ = (Attribute(name='target', default=NOTHING, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='target'), Attribute(name='name', default=NOTHING, validator=<optional validator for <instance_of validator for type <class 'str'>> or None>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='name'), Attribute(name='state', default=<BindingState.idle: 0>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='state'))
- __dict__ = mappingproxy({'__module__': 'labgrid.binding', '__firstlineno__': 26, '__annotations__': {'bindings': typing.Dict[str, typing.Any]}, '__doc__': '\nHandles the binding and activation of drivers and their supplying resources\nand drivers.\n\nOne client can be bound to many suppliers, and one supplier can be bound by\nmany clients.\n\nConflicting access to one supplier can be avoided by deactivating\nconflicting clients before activation (using the resolve_conflicts\ncallback).\n', 'bindings': {}, '__attrs_post_init__': <function BindingMixin.__attrs_post_init__>, 'display_name': <property object>, 'on_supplier_bound': <function BindingMixin.on_supplier_bound>, 'on_client_bound': <function BindingMixin.on_client_bound>, 'on_activate': <function BindingMixin.on_activate>, 'on_deactivate': <function BindingMixin.on_deactivate>, 'resolve_conflicts': <function BindingMixin.resolve_conflicts>, 'get_bound_resources': <function BindingMixin.get_bound_resources>, 'check_active': <classmethod(<function BindingMixin.check_active>)>, 'check_bound': <classmethod(<function BindingMixin.check_bound>)>, 'NamedBinding': <class 'labgrid.binding.BindingMixin.NamedBinding'>, '__static_attributes__': ('clients', 'suppliers', 'target'), '__dict__': <attribute '__dict__' of 'BindingMixin' objects>, '__weakref__': <attribute '__weakref__' of 'BindingMixin' objects>, '__attrs_attrs__': (Attribute(name='target', default=NOTHING, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='target'), Attribute(name='name', default=NOTHING, validator=<optional validator for <instance_of validator for type <class 'str'>> or None>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='name'), Attribute(name='state', default=<BindingState.idle: 0>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='state')), '__replace__': <function BindingMixin.<lambda>>, '__match_args__': ('target', 'name'), '__repr__': <function BindingMixin.__repr__>, '__init__': <function BindingMixin.__init__>})
- __firstlineno__ = 26
- __init__(target, name) None
Method generated by attrs for class BindingMixin.
- __match_args__ = ('target', 'name')
- __module__ = 'labgrid.binding'
- __replace__(**changes)
Method generated by attrs for class BindingMixin.
- __repr__()
Method generated by attrs for class BindingMixin.
- __static_attributes__ = ('clients', 'suppliers', 'target')
- __weakref__
list of weak references to the object
labgrid.config module
Config convenience class
This class encapsulates access functions to the environment configuration
- class labgrid.config.Config(filename)[source]
Bases:
object
- resolve_path(path)[source]
Resolve an absolute path
- Parameters:
path (str) – path to resolve
- Returns:
the absolute path
- Return type:
str
- resolve_path_str_or_list(path)[source]
Resolves a single path or multiple paths. Always returns a list (containing a single or multiple resolved paths).
- Parameters:
path (str, list) – path(s) to resolve
- Returns:
absolute path(s
- Return type:
list
- Raises:
TypeError – if input is neither str nor list
- get_tool(tool)[source]
Retrieve an entry from the tools subkey
- Parameters:
tool (str) – the tool to retrieve the path for
- Returns:
path to the requested tools
- Return type:
str
- get_image_path(kind)[source]
Retrieve an entry from the images subkey
- Parameters:
kind (str) – the kind of the image to retrieve the path for
- Returns:
path to the image
- Return type:
str
- Raises:
KeyError – if the requested image can not be found in the configuration
- get_path(kind)[source]
Retrieve an entry from the paths subkey
- Parameters:
kind (str) – the type of path to retrieve the path for
- Returns:
path to the path
- Return type:
str
- Raises:
KeyError – if the requested image can not be found in the configuration
- get_option(name, default=None)[source]
Retrieve an entry from the options subkey
- Parameters:
name (str) – name of the option
default (any) – A default parameter in case the option can not be found
- Returns:
value of the option or default parameter
- Return type:
any
- Raises:
KeyError – if the requested image can not be found in the configuration
- set_option(name, value)[source]
Set an entry in the options subkey
- Parameters:
name (str) – name of the option
value (any) – the new value
- get_target_option(target, name, default=None)[source]
- Retrieve an entry from the options subkey under the specified target
subkey
- Parameters:
target (str) – name of the target
name (str) – name of the option
default (any) – A default parameter in case the option can not be found
- Returns:
value of the option or default parameter
- Return type:
any
- Raises:
KeyError – if the requested key can not be found in the configuration, or if the target can not be found in the configuration.
- set_target_option(target, name, value)[source]
Set an entry in the options subkey under the specified target subkey
- Parameters:
target (str) – name of the target
name (str) – name of the option
value (any) – the new value
- Raises:
KeyError – if the requested target can not be found in the configuration
- get_imports()[source]
Helper function that returns the list of all imports
- Returns:
List of files which should be imported
- Return type:
List
- get_paths()[source]
Helper function that returns the subdict of all paths
- Returns:
Dictionary containing all path definitions
- Return type:
Dict
- get_images()[source]
Helper function that returns the subdict of all images
- Returns:
Dictionary containing all image definitions
- Return type:
Dict
- __attrs_attrs__ = (Attribute(name='filename', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='filename'),)
- __dict__ = mappingproxy({'__module__': 'labgrid.config', '__firstlineno__': 14, '__attrs_post_init__': <function Config.__attrs_post_init__>, 'resolve_path': <function Config.resolve_path>, 'resolve_path_str_or_list': <function Config.resolve_path_str_or_list>, 'get_tool': <function Config.get_tool>, 'get_image_path': <function Config.get_image_path>, 'get_path': <function Config.get_path>, 'get_option': <function Config.get_option>, 'set_option': <function Config.set_option>, 'get_target_option': <function Config.get_target_option>, 'set_target_option': <function Config.set_target_option>, 'get_targets': <function Config.get_targets>, 'get_imports': <function Config.get_imports>, 'get_paths': <function Config.get_paths>, 'get_images': <function Config.get_images>, 'get_features': <function Config.get_features>, '__static_attributes__': ('base', 'data'), '__dict__': <attribute '__dict__' of 'Config' objects>, '__weakref__': <attribute '__weakref__' of 'Config' objects>, '__doc__': None, '__attrs_attrs__': (Attribute(name='filename', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='filename'),), '__replace__': <function Config.<lambda>>, '__match_args__': ('filename',), '__repr__': <function Config.__repr__>, '__init__': <function Config.__init__>, '__annotations__': {}})
- __firstlineno__ = 14
- __init__(filename) None
Method generated by attrs for class Config.
- __match_args__ = ('filename',)
- __module__ = 'labgrid.config'
- __replace__(**changes)
Method generated by attrs for class Config.
- __repr__()
Method generated by attrs for class Config.
- __static_attributes__ = ('base', 'data')
- __weakref__
list of weak references to the object
labgrid.consoleloggingreporter module
- class labgrid.consoleloggingreporter.ConsoleLoggingReporter(logpath)[source]
Bases:
object
ConsoleLoggingReporter - Reporter that writes console log files
- Parameters:
logpath (str) – path to store the logfiles in
- instance = None
- __dict__ = mappingproxy({'__module__': 'labgrid.consoleloggingreporter', '__firstlineno__': 8, '__doc__': 'ConsoleLoggingReporter - Reporter that writes console log files\n\nArgs:\n logpath (str): path to store the logfiles in\n', 'instance': None, 'start': <classmethod(<function ConsoleLoggingReporter.start>)>, 'stop': <classmethod(<function ConsoleLoggingReporter.stop>)>, '__init__': <function ConsoleLoggingReporter.__init__>, '_stop': <function ConsoleLoggingReporter._stop>, 'get_logfile': <function ConsoleLoggingReporter.get_logfile>, 'notify': <function ConsoleLoggingReporter.notify>, '__static_attributes__': ('_logcache', 'logpath'), '__dict__': <attribute '__dict__' of 'ConsoleLoggingReporter' objects>, '__weakref__': <attribute '__weakref__' of 'ConsoleLoggingReporter' objects>, '__annotations__': {}})
- __firstlineno__ = 8
- __module__ = 'labgrid.consoleloggingreporter'
- __static_attributes__ = ('_logcache', 'logpath')
- __weakref__
list of weak references to the object
labgrid.environment module
- class labgrid.environment.Environment(config_file='config.yaml', interact=<built-in function input>)[source]
Bases:
object
An environment encapsulates targets.
- get_target(role: str = 'main') Target | None [source]
Returns the specified target or None if not found.
Each target is initialized as needed.
- __attrs_attrs__ = (Attribute(name='config_file', default='config.yaml', validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='config_file'), Attribute(name='interact', default=<built-in function input>, validator=None, repr=False, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='interact'))
- __dict__ = mappingproxy({'__module__': 'labgrid.environment', '__firstlineno__': 9, '__doc__': 'An environment encapsulates targets.', '__attrs_post_init__': <function Environment.__attrs_post_init__>, 'get_target': <function Environment.get_target>, 'get_features': <function Environment.get_features>, 'get_target_features': <function Environment.get_target_features>, 'cleanup': <function Environment.cleanup>, '__static_attributes__': ('config', 'targets'), '__dict__': <attribute '__dict__' of 'Environment' objects>, '__weakref__': <attribute '__weakref__' of 'Environment' objects>, '__attrs_attrs__': (Attribute(name='config_file', default='config.yaml', validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='config_file'), Attribute(name='interact', default=<built-in function input>, validator=None, repr=False, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='interact')), '__replace__': <function Environment.<lambda>>, '__match_args__': ('config_file', 'interact'), '__repr__': <function Environment.__repr__>, '__init__': <function Environment.__init__>, '__annotations__': {}})
- __firstlineno__ = 9
- __init__(config_file='config.yaml', interact=<built-in function input>) None
Method generated by attrs for class Environment.
- __match_args__ = ('config_file', 'interact')
- __module__ = 'labgrid.environment'
- __replace__(**changes)
Method generated by attrs for class Environment.
- __repr__()
Method generated by attrs for class Environment.
- __static_attributes__ = ('config', 'targets')
- __weakref__
list of weak references to the object
labgrid.exceptions module
- exception labgrid.exceptions.NoConfigFoundError(msg)[source]
Bases:
Exception
- __attrs_attrs__ = (Attribute(name='msg', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='msg'),)
- __firstlineno__ = 4
- __init__(msg) None
Method generated by attrs for class NoConfigFoundError.
- __match_args__ = ('msg',)
- __module__ = 'labgrid.exceptions'
- __replace__(**changes)
Method generated by attrs for class NoConfigFoundError.
- __repr__()
Method generated by attrs for class NoConfigFoundError.
- __static_attributes__ = ()
- __weakref__
list of weak references to the object
- exception labgrid.exceptions.NoSupplierFoundError(msg, filter=None)[source]
Bases:
Exception
- __attrs_attrs__ = (Attribute(name='msg', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='msg'), Attribute(name='filter', default=None, validator=<optional validator for <instance_of validator for type <class 'set'>> or None>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='filter'))
- __firstlineno__ = 9
- __init__(msg, filter=None) None
Method generated by attrs for class NoSupplierFoundError.
- __match_args__ = ('msg', 'filter')
- __module__ = 'labgrid.exceptions'
- __replace__(**changes)
Method generated by attrs for class NoSupplierFoundError.
- __repr__()
Method generated by attrs for class NoSupplierFoundError.
- __static_attributes__ = ()
- __weakref__
list of weak references to the object
- exception labgrid.exceptions.InvalidConfigError(msg)[source]
Bases:
Exception
- __attrs_attrs__ = (Attribute(name='msg', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='msg'),)
- __firstlineno__ = 18
- __init__(msg) None
Method generated by attrs for class InvalidConfigError.
- __match_args__ = ('msg',)
- __module__ = 'labgrid.exceptions'
- __replace__(**changes)
Method generated by attrs for class InvalidConfigError.
- __repr__()
Method generated by attrs for class InvalidConfigError.
- __static_attributes__ = ()
- __weakref__
list of weak references to the object
- exception labgrid.exceptions.NoDriverFoundError(msg, filter=None)[source]
Bases:
NoSupplierFoundError
- __annotations__ = {}
- __attrs_attrs__ = (Attribute(name='msg', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=True, on_setattr=None, alias='msg'), Attribute(name='filter', default=None, validator=<optional validator for <instance_of validator for type <class 'set'>> or None>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=True, on_setattr=None, alias='filter'))
- __firstlineno__ = 23
- __init__(msg, filter=None) None
Method generated by attrs for class NoDriverFoundError.
- __match_args__ = ('msg', 'filter')
- __module__ = 'labgrid.exceptions'
- __replace__(**changes)
Method generated by attrs for class NoDriverFoundError.
- __repr__()
Method generated by attrs for class NoDriverFoundError.
- __static_attributes__ = ()
- exception labgrid.exceptions.NoResourceFoundError(msg, filter=None, found=None)[source]
Bases:
NoSupplierFoundError
- __annotations__ = {}
- __attrs_attrs__ = (Attribute(name='msg', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=True, on_setattr=None, alias='msg'), Attribute(name='filter', default=None, validator=<optional validator for <instance_of validator for type <class 'set'>> or None>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=True, on_setattr=None, alias='filter'), Attribute(name='found', default=None, validator=<optional validator for <instance_of validator for type <class 'list'>> or None>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='found'))
- __firstlineno__ = 28
- __init__(msg, filter=None, found=None) None
Method generated by attrs for class NoResourceFoundError.
- __match_args__ = ('msg', 'filter', 'found')
- __module__ = 'labgrid.exceptions'
- __replace__(**changes)
Method generated by attrs for class NoResourceFoundError.
- __repr__()
Method generated by attrs for class NoResourceFoundError.
- __static_attributes__ = ()
- exception labgrid.exceptions.NoStrategyFoundError(msg, filter=None)[source]
Bases:
NoSupplierFoundError
- __annotations__ = {}
- __attrs_attrs__ = (Attribute(name='msg', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=True, on_setattr=None, alias='msg'), Attribute(name='filter', default=None, validator=<optional validator for <instance_of validator for type <class 'set'>> or None>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=True, on_setattr=None, alias='filter'))
- __firstlineno__ = 36
- __init__(msg, filter=None) None
Method generated by attrs for class NoStrategyFoundError.
- __match_args__ = ('msg', 'filter')
- __module__ = 'labgrid.exceptions'
- __replace__(**changes)
Method generated by attrs for class NoStrategyFoundError.
- __repr__()
Method generated by attrs for class NoStrategyFoundError.
- __static_attributes__ = ()
- exception labgrid.exceptions.RegistrationError(msg)[source]
Bases:
Exception
- __attrs_attrs__ = (Attribute(name='msg', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='msg'),)
- __firstlineno__ = 41
- __init__(msg) None
Method generated by attrs for class RegistrationError.
- __match_args__ = ('msg',)
- __module__ = 'labgrid.exceptions'
- __replace__(**changes)
Method generated by attrs for class RegistrationError.
- __repr__()
Method generated by attrs for class RegistrationError.
- __static_attributes__ = ()
- __weakref__
list of weak references to the object
labgrid.factory module
- class labgrid.factory.TargetFactory[source]
Bases:
object
- reg_resource(cls)[source]
Register a resource with the factory.
Returns the class to allow using it as a decorator.
- reg_driver(cls)[source]
Register a driver with the factory.
Returns the class to allow using it as a decorator.
- __dict__ = mappingproxy({'__module__': 'labgrid.factory', '__firstlineno__': 7, '__init__': <function TargetFactory.__init__>, 'reg_resource': <function TargetFactory.reg_resource>, 'reg_driver': <function TargetFactory.reg_driver>, '_convert_to_named_list': <staticmethod(<function TargetFactory._convert_to_named_list>)>, 'normalize_config': <staticmethod(<function TargetFactory.normalize_config>)>, 'make_resource': <function TargetFactory.make_resource>, 'make_driver': <function TargetFactory.make_driver>, 'make_target': <function TargetFactory.make_target>, 'class_from_string': <function TargetFactory.class_from_string>, '_insert_into_all': <function TargetFactory._insert_into_all>, '__static_attributes__': ('all_classes', 'drivers', 'resources'), '__dict__': <attribute '__dict__' of 'TargetFactory' objects>, '__weakref__': <attribute '__weakref__' of 'TargetFactory' objects>, '__doc__': None, '__annotations__': {}})
- __firstlineno__ = 7
- __module__ = 'labgrid.factory'
- __static_attributes__ = ('all_classes', 'drivers', 'resources')
- __weakref__
list of weak references to the object
- labgrid.factory.target_factory = <labgrid.factory.TargetFactory object>
Global TargetFactory instance
This instance is used to register Resource and Driver classes so that Targets can be created automatically from YAML files.
labgrid.logging module
- class labgrid.logging.StepFormatter(*args, indent=True, color=None, parent=None, **kwargs)[source]
Bases:
object
- __dict__ = mappingproxy({'__module__': 'labgrid.logging', '__firstlineno__': 25, '__init__': <function StepFormatter.__init__>, 'format': <function StepFormatter.format>, '__static_attributes__': ('bufs', 'color', 'formatter', 'indent', 'indent_level'), '__dict__': <attribute '__dict__' of 'StepFormatter' objects>, '__weakref__': <attribute '__weakref__' of 'StepFormatter' objects>, '__doc__': None, '__annotations__': {}})
- __firstlineno__ = 25
- __module__ = 'labgrid.logging'
- __static_attributes__ = ('bufs', 'color', 'formatter', 'indent', 'indent_level')
- __weakref__
list of weak references to the object
- class labgrid.logging.SerialLoggingReporter(bufs=NOTHING, loggers=NOTHING, lastevent=None)[source]
Bases:
object
- __attrs_attrs__ = (Attribute(name='bufs', default=Factory(factory=<class 'dict'>, takes_self=False), validator=<instance_of validator for type <class 'dict'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='bufs'), Attribute(name='loggers', default=Factory(factory=<class 'dict'>, takes_self=False), validator=<instance_of validator for type <class 'dict'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='loggers'), Attribute(name='lastevent', default=None, validator=<optional validator for <instance_of validator for type <class 'labgrid.step.StepEvent'>> or None>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='lastevent'))
- __dict__ = mappingproxy({'__module__': 'labgrid.logging', '__firstlineno__': 54, '__attrs_post_init__': <function SerialLoggingReporter.__attrs_post_init__>, 'vt100_replace_cr_nl': <function SerialLoggingReporter.vt100_replace_cr_nl>, '_create_message': <function SerialLoggingReporter._create_message>, 'notify': <function SerialLoggingReporter.notify>, 'flush': <function SerialLoggingReporter.flush>, '__static_attributes__': ('lastevent',), '__dict__': <attribute '__dict__' of 'SerialLoggingReporter' objects>, '__weakref__': <attribute '__weakref__' of 'SerialLoggingReporter' objects>, '__doc__': None, '__attrs_attrs__': (Attribute(name='bufs', default=Factory(factory=<class 'dict'>, takes_self=False), validator=<instance_of validator for type <class 'dict'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='bufs'), Attribute(name='loggers', default=Factory(factory=<class 'dict'>, takes_self=False), validator=<instance_of validator for type <class 'dict'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='loggers'), Attribute(name='lastevent', default=None, validator=<optional validator for <instance_of validator for type <class 'labgrid.step.StepEvent'>> or None>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='lastevent')), '__ne__': <function __ne__>, '__lt__': <function SerialLoggingReporter.__lt__>, '__le__': <function SerialLoggingReporter.__le__>, '__gt__': <function SerialLoggingReporter.__gt__>, '__ge__': <function SerialLoggingReporter.__ge__>, '__hash__': None, '__replace__': <function SerialLoggingReporter.<lambda>>, '__match_args__': ('bufs', 'loggers', 'lastevent'), '__repr__': <function SerialLoggingReporter.__repr__>, '__eq__': <function SerialLoggingReporter.__eq__>, '__init__': <function SerialLoggingReporter.__init__>, '__annotations__': {}})
- __eq__(other)
Method generated by attrs for class SerialLoggingReporter.
- __firstlineno__ = 54
- __ge__(other)
Method generated by attrs for class SerialLoggingReporter.
- __gt__(other)
Method generated by attrs for class SerialLoggingReporter.
- __hash__ = None
- __init__(bufs=NOTHING, loggers=NOTHING, lastevent=None) None
Method generated by attrs for class SerialLoggingReporter.
- __le__(other)
Method generated by attrs for class SerialLoggingReporter.
- __lt__(other)
Method generated by attrs for class SerialLoggingReporter.
- __match_args__ = ('bufs', 'loggers', 'lastevent')
- __module__ = 'labgrid.logging'
- __ne__(other)
Check equality and either forward a NotImplemented or return the result negated.
- __replace__(**changes)
Method generated by attrs for class SerialLoggingReporter.
- __repr__()
Method generated by attrs for class SerialLoggingReporter.
- __static_attributes__ = ('lastevent',)
- __weakref__
list of weak references to the object
- class labgrid.logging.StepLogger[source]
Bases:
object
- __dict__ = mappingproxy({'__module__': 'labgrid.logging', '__firstlineno__': 129, '_started': False, '_logger': None, '_serial_logger': None, '_length_limit': 100, '__attrs_post_init__': <function StepLogger.__attrs_post_init__>, 'start': <classmethod(<function StepLogger.start>)>, 'stop': <classmethod(<function StepLogger.stop>)>, 'get_prefix': <classmethod(<function StepLogger.get_prefix>)>, 'format_arguments': <staticmethod(<function StepLogger.format_arguments>)>, 'format_duration': <staticmethod(<function StepLogger.format_duration>)>, 'format_result': <classmethod(<function StepLogger.format_result>)>, '_StepLogger__get_message': <classmethod(<function StepLogger.__get_message>)>, 'get_next_indent': <classmethod(<function StepLogger.get_next_indent>)>, 'notify': <classmethod(<function StepLogger.notify>)>, '__static_attributes__': (), '__dict__': <attribute '__dict__' of 'StepLogger' objects>, '__weakref__': <attribute '__weakref__' of 'StepLogger' objects>, '__doc__': None, '__annotations__': {}})
- __firstlineno__ = 129
- __module__ = 'labgrid.logging'
- __static_attributes__ = ()
- __weakref__
list of weak references to the object
labgrid.step module
- class labgrid.step.Steps[source]
Bases:
object
- __dict__ = mappingproxy({'__module__': 'labgrid.step', '__firstlineno__': 10, '__init__': <function Steps.__init__>, 'get_current': <function Steps.get_current>, 'get_new': <function Steps.get_new>, 'push': <function Steps.push>, 'pop': <function Steps.pop>, 'subscribe': <function Steps.subscribe>, 'unsubscribe': <function Steps.unsubscribe>, 'notify': <function Steps.notify>, '__static_attributes__': ('_stack', '_subscribers'), '__dict__': <attribute '__dict__' of 'Steps' objects>, '__weakref__': <attribute '__weakref__' of 'Steps' objects>, '__doc__': None, '__annotations__': {}})
- __firstlineno__ = 10
- __module__ = 'labgrid.step'
- __static_attributes__ = ('_stack', '_subscribers')
- __weakref__
list of weak references to the object
- class labgrid.step.StepEvent(step, data, *, resource=None, stream=False)[source]
Bases:
object
- property age
- __dict__ = mappingproxy({'__module__': 'labgrid.step', '__firstlineno__': 50, '__init__': <function StepEvent.__init__>, '__str__': <function StepEvent.__str__>, '__setitem__': <function StepEvent.__setitem__>, '_invalidate': <function StepEvent._invalidate>, 'merge': <function StepEvent.merge>, 'age': <property object>, '__static_attributes__': ('data', 'resource', 'step', 'stream', 'ts'), '__dict__': <attribute '__dict__' of 'StepEvent' objects>, '__weakref__': <attribute '__weakref__' of 'StepEvent' objects>, '__doc__': None, '__annotations__': {}})
- __firstlineno__ = 50
- __module__ = 'labgrid.step'
- __static_attributes__ = ('data', 'resource', 'step', 'stream', 'ts')
- __weakref__
list of weak references to the object
- class labgrid.step.Step(title, level, tag, source, sourceinfo)[source]
Bases:
object
- property duration
- property status
- property is_active
- property is_done
- __dict__ = mappingproxy({'__module__': 'labgrid.step', '__firstlineno__': 100, '__init__': <function Step.__init__>, '__repr__': <function Step.__repr__>, 'duration': <property object>, 'status': <property object>, 'is_active': <property object>, 'is_done': <property object>, '_notify': <function Step._notify>, 'start': <function Step.start>, 'skip': <function Step.skip>, 'stop': <function Step.stop>, '__del__': <function Step.__del__>, '__static_attributes__': ('_skipped', '_start_ts', '_stop_ts', 'args', 'exception', 'level', 'result', 'source', 'sourceinfo', 'tag', 'title'), '__dict__': <attribute '__dict__' of 'Step' objects>, '__weakref__': <attribute '__weakref__' of 'Step' objects>, '__doc__': None, '__annotations__': {}})
- __firstlineno__ = 100
- __module__ = 'labgrid.step'
- __static_attributes__ = ('_skipped', '_start_ts', '_stop_ts', 'args', 'exception', 'level', 'result', 'source', 'sourceinfo', 'tag', 'title')
- __weakref__
list of weak references to the object
labgrid.stepreporter module
- class labgrid.stepreporter.StepReporter[source]
Bases:
object
- __dict__ = mappingproxy({'__module__': 'labgrid.stepreporter', '__firstlineno__': 4, '_started': False, '__init__': <function StepReporter.__init__>, 'start': <classmethod(<function StepReporter.start>)>, 'stop': <classmethod(<function StepReporter.stop>)>, 'notify': <staticmethod(<function StepReporter.notify>)>, '__static_attributes__': (), '__dict__': <attribute '__dict__' of 'StepReporter' objects>, '__weakref__': <attribute '__weakref__' of 'StepReporter' objects>, '__doc__': None, '__annotations__': {}})
- __firstlineno__ = 4
- __module__ = 'labgrid.stepreporter'
- __static_attributes__ = ()
- __weakref__
list of weak references to the object
labgrid.target module
- class labgrid.target.Target(name, env=None)[source]
Bases:
object
- update_resources()[source]
Iterate over this target’s resources, deactivate any active but unavailable resources and also deactivate any drivers using them. This ensures a consistent binding states for this target.
- await_resources(resources, timeout=None, avail=True)[source]
Poll the given resources and wait until they are (un-)available.
- Parameters:
resources (List) – the resources to poll
timeout (float) – optional timeout
avail (bool) – optionally wait until the resources are unavailable with avail=False
- get_resource(cls, *, name=None, wait_avail=True)[source]
Helper function to get a resource of the target. Returns the first valid resource found, otherwise a NoResourceFoundError is raised.
Arguments: cls – resource-class to return as a resource name – optional name to use as a filter wait_avail – wait for the resource to become available (default True)
- get_active_driver(cls, *, name=None, resource=None)[source]
Helper function to get the active driver of the target. Returns the active driver found, otherwise None.
Arguments: cls – driver-class to return as a resource name – optional name to use as a filter resource – optional resource to use as a filter
- get_driver(cls, *, name=None, resource=None, activate=True)[source]
Helper function to get a driver of the target. Returns the first valid driver found, otherwise None.
Arguments: cls – driver-class to return as a resource name – optional name to use as a filter resource – optional resource to use as a filter activate – activate the driver (default True)
- get_strategy()[source]
Helper function to get the strategy of the target.
Returns the Strategy, if exactly one exists and raises a NoStrategyFoundError otherwise.
- __getitem__(key)[source]
Syntactic sugar to access drivers by class (optionally filtered by name).
>>> from labgrid import Target >>> from labgrid.driver.fake import FakeConsoleDriver >>> >>> target = Target('main') >>> console = FakeConsoleDriver(target, 'console') >>> target.activate(console) >>> target[FakeConsoleDriver] FakeConsoleDriver(target=Target(name='main', env=None), name='console', state=<BindingState.active: 2>, txdelay=0.0) >>> target[FakeConsoleDriver, 'console'] FakeConsoleDriver(target=Target(name='main', env=None), name='console', state=<BindingState.active: 2>, txdelay=0.0)
- bind_driver(client)[source]
Bind the driver to all suppliers (resources and other drivers).
Currently, we only support binding all suppliers at once.
- activate(client, name=None)[source]
Activate the client by activating all bound suppliers. This may require deactivating other clients.
- deactivate(client, name=None)[source]
Recursively deactivate the client’s clients and itself.
This is needed to ensure that no client has an inactive supplier.
Returns the list of all objects that were deactivated
- export()[source]
Export information from drivers.
All drivers are deactivated before being exported, unless their skip_deactivate_on_export property is true.
The Strategy can decide for which driver the export method is called and with which name. Otherwise, all drivers are exported.
- __attrs_attrs__ = (Attribute(name='name', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='name'), Attribute(name='env', default=None, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='env'))
- __dict__ = mappingproxy({'__module__': 'labgrid.target', '__firstlineno__': 18, '__attrs_post_init__': <function Target.__attrs_post_init__>, 'interact': <function Target.interact>, 'update_resources': <function Target.update_resources>, 'await_resources': <function Target.await_resources>, 'get_resource': <function Target.get_resource>, '_get_driver': <function Target._get_driver>, 'get_active_driver': <function Target.get_active_driver>, 'get_driver': <function Target.get_driver>, 'get_strategy': <function Target.get_strategy>, '__getitem__': <function Target.__getitem__>, 'set_binding_map': <function Target.set_binding_map>, 'bind_resource': <function Target.bind_resource>, 'bind_driver': <function Target.bind_driver>, 'bind': <function Target.bind>, 'activate': <function Target.activate>, 'deactivate': <function Target.deactivate>, 'deactivate_all_drivers': <function Target.deactivate_all_drivers>, '_atexit_cleanup': <function Target._atexit_cleanup>, 'export': <function Target.export>, 'cleanup': <function Target.cleanup>, '__static_attributes__': ('_binding_map', '_lookup_table', 'drivers', 'last_update', 'log', 'resources'), '__dict__': <attribute '__dict__' of 'Target' objects>, '__weakref__': <attribute '__weakref__' of 'Target' objects>, '__doc__': None, '__attrs_attrs__': (Attribute(name='name', default=NOTHING, validator=<instance_of validator for type <class 'str'>>, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='name'), Attribute(name='env', default=None, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=None, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='env')), '__replace__': <function Target.<lambda>>, '__match_args__': ('name', 'env'), '__repr__': <function Target.__repr__>, '__init__': <function Target.__init__>, '__annotations__': {}})
- __firstlineno__ = 18
- __init__(name, env=None) None
Method generated by attrs for class Target.
- __match_args__ = ('name', 'env')
- __module__ = 'labgrid.target'
- __replace__(**changes)
Method generated by attrs for class Target.
- __repr__()
Method generated by attrs for class Target.
- __static_attributes__ = ('_binding_map', '_lookup_table', 'drivers', 'last_update', 'log', 'resources')
- __weakref__
list of weak references to the object