veyron/services/mgmt/device: enable profiles statically
Start using device profiles in device manager, in the absence of a remote
Profile service: the set of 'known' profiles will be hardcoded for now.
Specifically:
- implement getKnownProfiles as a hardcoded list of profiles (for now, just
linux-amd64)
- make use of the device's profile when fetching app envelopes (and verify in
test that profiles are requested correctly during Match)
- export computeDeviceProfile and add command to deviced to dump the (internal
representation of the) profile detected by the device for debugging/inspection
- add command to device tool to invoke remote Describe command on device manager
(which returns the profile labels supported by the device.
Change-Id: I3e24021354edaeb90fb6efb11cee4330f63e8f86
13 files changed