Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide CLI to retrieve status of a job or reservation #289

Open
fginther opened this issue Jun 18, 2024 · 1 comment
Open

Provide CLI to retrieve status of a job or reservation #289

fginther opened this issue Jun 18, 2024 · 1 comment

Comments

@fginther
Copy link

Testflinger allows for a reservation to be created for a device. However, it is the necessary to poll the job and watch the output to know when the device is ready and how to connect to it. This request is to proved that information via a status command:

$ testflinger status <job_id>
{
  "queue": "rpi3bp",
  "device": "rpi3bp-001",
  "ip": "1.2.3.4",
  "serial": 1.2.3.5:3000",
  "status": "READY",
  "reservation_remaining": 500
}

status could be used to indicate if the device is still "WAITING", is "PROVISIONING", "READY" for use, or the reservation has "TERMINATED" (or other values). Other values might be useful, but these are the ones that come to mind currently.

Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CERTTF-343.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant