Warning
This documentation is actively being updated as the project evolves and may not be complete in all areas.
Proxy driver¶
jumpstarter-driver-proxy
provides functionality for creating “proxies” or aliases of other drivers to present a desired view of the tree of devices to the client. It’s also useful when several drivers need configured access to a common resource, like a serial port or a network connection.
Installation¶
pip install jumpstarter-driver-proxy
Configuration¶
Example configuration:
children:
proxy:
ref: "foo.bar.power"
foo:
children:
bar:
children:
power:
type: "jumpstarter_driver_power.driver.MockPower"
API Reference¶
>>> root.foo.bar.power.on() # instead of
>>> root.proxy.on() # you can do