Skip to main content

kaiju-automator-lib

Project description

kaiju-automator-lib

This library is used as the python interface between client software and kaiju-mqtt-py, to make requests of the automator module on the RAE.

This library is used for a few purposes:

  • Get a test plan for a device
  • Run a test plan for a device
  • Cancel a test plan currently running on a device

Request data format

Most requests to the automator module require a device identifier. This is one or more of: an ESN, an IP, or an ADB serial number. Examples:

{"device_ip": "192.168.144.10"}
{"device_esn": "RKU..."}
{"device_serial": "..."}

There is a newer format that moves this into a "target" object with shorter syntax:

{"target": {"ip": "192.168.144.10"} }
{"target": {"esn": "RKU..."} }
{"target": {"serial": "..."} }

These identifiers are typically merged into larger request objects, such as test plan run or test plan cancel requests.

Test plan response data format

The test plan data format is described generally in client.py. A more general discussion of what decisions can be made from the contents of this object needs to be written.

Test plan run request data format

The test plan run request data format is also described generally in client.py. It requires only minor modifications to the response from a test plan request.

Test result data format

Test plan results are reported as a map describing the results of a test plan run. These formats should be more generally documented in a language-agnostic location, as they apply to all clients of the automator.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kaiju_automator_lib-1.7.5-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file kaiju_automator_lib-1.7.5-py3-none-any.whl.

File metadata

  • Download URL: kaiju_automator_lib-1.7.5-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

File hashes

Hashes for kaiju_automator_lib-1.7.5-py3-none-any.whl
Algorithm Hash digest
SHA256 83db642dda057f38647e8236f7df4e4225968d63a34546090b0128dabdf4ad33
MD5 d8994aa540c3a1b2d7306ff903354f05
BLAKE2b-256 84e84457483522ffaf5695506f3c284d348c281ea86129292c190fa1398a592d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page