HomePhabricator

Add a "status" property to Almanac devices

Description

Add a "status" property to Almanac devices

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.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13641

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

Details

Provenance
epriestleyAuthored on Mar 16 2021, 6:05 PM
epriestleyPushed on Mar 16 2021, 10:51 PM
Differential Revision
D21627: Add a "status" property to Almanac devices
Parents
rP9003a453691f: Make minor Almanac device modernization updates
Branches
Unknown
Tags
Unknown
Tasks
T13641: Support "Disabled" devices in Almanac
Build Status
Buildable 25296
Build 34922: Run Core Tests