labgrid.driver.power package

Submodules

labgrid.driver.power.apc module

labgrid.driver.power.apc.power_set(host, port, index, value)[source]
labgrid.driver.power.apc.power_get(host, port, index)[source]

labgrid.driver.power.digipower module

labgrid.driver.power.digipower.power_set(host, port, index, value)[source]
labgrid.driver.power.digipower.power_get(host, port, index)[source]

labgrid.driver.power.gude module

labgrid.driver.power.gude.power_set(host, port, index, value)[source]
labgrid.driver.power.gude.power_get(host, port, index)[source]

labgrid.driver.power.gude24 module

labgrid.driver.power.gude24.power_set(host, port, index, value)[source]
labgrid.driver.power.gude24.power_get(host, port, index)[source]

labgrid.driver.power.gude8316 module

labgrid.driver.power.gude8316.power_set(host, port, index, value)[source]
labgrid.driver.power.gude8316.power_get(host, port, index)[source]

labgrid.driver.power.netio module

labgrid.driver.power.netio.power_set(host, port, index, value)[source]
labgrid.driver.power.netio.power_get(host, port, index)[source]

labgrid.driver.power.netio_kshell module

tested with NETIO 4C, should be compatible with all NETIO 4-models

labgrid.driver.power.netio_kshell.power_set(host, port, index, value)[source]
labgrid.driver.power.netio_kshell.power_get(host, port, index)[source]

labgrid.driver.power.sentry module

This driver was tested on those models: CW-24VDD and 4805-XLS-16 but should be working on all devices implementing Sentry3-MIB

labgrid.driver.power.sentry.power_set(host, port, index, value)[source]
labgrid.driver.power.sentry.power_get(host, port, index)[source]

labgrid.driver.power.simplerest module

Simple rest interface for Power Port. Used for ex. misc Raspberry Pi configs

Author: Kjeld Flarup <kfa@deif.com>

The URL given in hosts in exporter.yaml must replace {value} with ‘0’ or ‘1’ It is optional whether to use {index} or not.

NetworkPowerPort:

model: simplerest host: ‘http://172.17.180.53:9999/relay/{index}/{value}’ index: 0

labgrid.driver.power.simplerest.power_set(host, port, index, value)[source]
labgrid.driver.power.simplerest.power_get(host, port, index)[source]