HomePhabricator

Expose `devicePHIDs` on `almanac.queryservices`

Description

Expose devicePHIDs on almanac.queryservices

Summary:
This already exists on the Query, just expose it via API.

For context, I want to fix bin/remote restart so it actually identifies the services on a box rather than faking it.

To do this, I'll look up the device PHID of the box, then look up all the services which are bound to it, then look up all the instances attached to those services. This allows me to do the second step.

Test Plan: Called method from web UI, got expected result.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D11882

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Feb 25 2015, 7:16 PM
Reviewer
btrahan
Differential Revision
D11882: Expose `devicePHIDs` on `almanac.queryservices`
Parents
rP8316c9dc14d5: Fix scrolling over sidenav
Branches
Unknown
Tags
Unknown