Page MenuHomePhabricator

Removing devices from Almanac services
Closed, ResolvedPublic

Description

I was creating some documentation on how to create Almanac devices and bind them to an Almanac service. Once I was finished, I realized that I can't remove the device bindings (unless I am missing something)

Revisions and Commits

Restricted Differential Revision
Restricted Differential Revision

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Almanac.
joshuaspence added a subscriber: joshuaspence.
joshuaspence added a revision: Restricted Differential Revision.Nov 14 2015, 10:46 AM
joshuaspence added a commit: Restricted Diffusion Commit.Nov 15 2015, 8:15 PM

I also found this to be an issue. I am guessing that it wasn't initially added because it needs some locking mechanics in place to make sure you are not removing a device that may currently be in use.

This will likely be a two part thing.

  • "Abandon" service so that it does not take any new connections
  • Remove the service one it has completed all tasks.

I think devices suffer from a similar issue in that I don't see any way currently to remove an interface after you add it. I would assume it would be very similar to the process above.

epriestley edited projects, added Almanac (v2); removed Almanac.
epriestley added a revision: Restricted Differential Revision.Feb 25 2016, 12:56 PM

D15345 adds these capabilities:

  • Bindings can be disabled in the UI, and Drydock will respect this. This status is reported in the API (almanac.search).
  • Interfaces with no bindings can be deleted.

There's no top-level "disabled" status on Services yet, although I'll probably add this at some point. I'm not sure there's a use case for it quite yet.

Er, almanac.service.search, rather.

epriestley closed this task as Resolved by committing Restricted Diffusion Commit.Feb 26 2016, 2:21 PM
epriestley added a commit: Restricted Diffusion Commit.