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

kaiju_automator_lib-1.10.2-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kaiju_automator_lib-1.10.2-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for kaiju_automator_lib-1.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 90efa8fccd0d1c4476589e6f9ed7980bf1e54ff4d810f7491288a326500e7361
MD5 684de50cff257f38875aa2e0f1866c13
BLAKE2b-256 9d6134ab6ed5a2b8ca5045a3acc3776a39c951696c4515a9dbd5d914b9728525

See more details on using hashes here.

Supported by

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