buildgrid.bot.hardware.device module

class buildgrid.bot.hardware.device.Device(properties=None)

Bases: object

Describes a device.

A device available to the Worker. The first device is known as the Primary Device which is running a bot and responsible for actually executing commands. All other devices are known as Attatched Devices and must be controlled by the Primary Device.

property name

Returns the name of the device which is in the form of a uuid4.

property properties

Returns the device properties.

get_pb2()

Returns the protobuffer representation of the Device.