Page MenuHomePhabricator

Add a "status" property to Almanac devices
ClosedPublic

Authored by epriestley on Tue, Mar 16, 8:41 PM.

Details

Summary

Ref T13641. Add a "status" property with most of the relevant support code.

This currently has no impact on use of the device or bindings by Diffusion or Drydock: they ignore the status of devices bound to services.

Test Plan
  • Created a new device.
  • Changed the status of a device via web and API.
  • Queried for devices via API.
  • Searched for active and disabled devices.
  • Viewed UI in list view, detail view.
  • Used typeahead to add a new binding to an interface on a disabled device, got disabled hint in typeahead UI.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Tue, Mar 16, 8:41 PM
This revision was not accepted when it landed; it landed in state Needs Review.Tue, Mar 16, 10:52 PM
This revision was automatically updated to reflect the committed changes.