Contents
labgrid.protocol.bootstrapprotocol.
BootstrapProtocol
Bases: abc.ABC
abc.ABC
load
labgrid.protocol.commandprotocol.
CommandProtocol
Abstract class for the CommandProtocol
run
Run a command
run_check
Run a command, return str if succesful, ExecutionError otherwise
get_status
Get status of the Driver
wait_for
Wait for a shell command to return with the specified output
labgrid.protocol.consoleprotocol.
ConsoleProtocol
Abstract class for the ConsoleProtocol
read
Read data from underlying port
write
Write data to underlying port
sendline
sendcontrol
expect
Client
get_console_matches
notify_console_match
labgrid.protocol.digitaloutputprotocol.
DigitalOutputProtocol
Abstract class providing the OneWireProtocol interface
get
Implementations should return the status of the OneWirePort.
set
Implementations should set the status of the OneWirePort
labgrid.protocol.filesystemprotocol.
FileSystemProtocol
labgrid.protocol.filetransferprotocol.
FileTransferProtocol
put
labgrid.protocol.infoprotocol.
InfoProtocol
Abstract class providing the InfoProtocol interface
get_ip
Implementations should return the IP-adress for the supplied interface.
get_hostname
Implementations should return the hostname for the supplied interface.
get_service_status
Implementations should return the status of a service
labgrid.protocol.linuxbootprotocol.
LinuxBootProtocol
boot
await_boot
labgrid.protocol.mmioprotocol.
MMIOProtocol
labgrid.protocol.powerprotocol.
PowerProtocol
on
off
cycle