UMockdev.Testbed¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class UMockdev.Testbed(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- add_device(subsystem, name, parent, attributes, properties)¶
- attach_ioctl(dev, handler)¶
- Parameters:
dev (
str
) –handler (
UMockdev.IoctlBase
) –
- Raises:
- Return type:
- clear()¶
- disable()¶
- enable()¶
- load_evemu_events(dev, eventsfile)¶
- Parameters:
- Raises:
- Return type:
- load_ioctl(dev, recordfile)¶
- Parameters:
- Raises:
- Return type:
- load_pcap(sysfs, recordfile)¶
- Parameters:
- Raises:
- Return type:
- load_script(dev, recordfile)¶
- Parameters:
- Raises:
- Return type:
- load_socket_script(path, type, recordfile)¶
- Parameters:
- Raises:
- Return type:
- set_attribute_binary(devpath, name, value)¶