Auto-tools/Projects/Lifeguard: Difference between revisions

Line 23: Line 23:
## an API to request a device for testing.  This API should accept some parameters: processor (armv6 vs armv7), hardware type (panda, ...), pool (b2g vs mobile), and potentially android version.  It should return an identifier of a device that it has a valid recent ping, and then mark the status of the device accordingly (e.g., 'checked_out').
## an API to request a device for testing.  This API should accept some parameters: processor (armv6 vs armv7), hardware type (panda, ...), pool (b2g vs mobile), and potentially android version.  It should return an identifier of a device that it has a valid recent ping, and then mark the status of the device accordingly (e.g., 'checked_out').
## an API to return a checked_out device to the pool.  This API should accept a device identifier.  After being returned to the pool, Lifeguard should reboot the device (?) and verify it is alive, after which the status should be updated to online.
## an API to return a checked_out device to the pool.  This API should accept a device identifier.  After being returned to the pool, Lifeguard should reboot the device (?) and verify it is alive, after which the status should be updated to online.
## an API to flash a given B2G build on a device (do we need to be able to flash fennec boards as well?).
## an API to reboot a device, given its identifier.
## an API to reboot a device, given its identifier.
## an API to reset the power on a device, given its identifier.
## an API to reset the power on a device, given its identifier.
Confirmed users
1,905

edits