Page MenuHomePhabricator

Almanac: forced interface PHIDs, prefix/suffix device query, DestructibleInterface
ClosedPublic

Authored by epriestley on Dec 20 2014, 5:39 PM.
Tags
None
Referenced Files
F19024264: D11024.diff
Mon, Nov 24, 3:08 AM
F18853082: D11024.id.diff
Fri, Oct 31, 2:03 PM
F18848087: D11024.diff
Thu, Oct 30, 3:20 AM
F18831567: D11024.id26487.diff
Oct 25 2025, 1:44 PM
F18762655: D11024.id26487.diff
Oct 6 2025, 8:04 PM
F18756834: D11024.id26487.diff
Oct 5 2025, 1:51 PM
F18756030: D11024.id26471.diff
Oct 5 2025, 8:48 AM
F18750285: D11024.diff
Oct 4 2025, 7:13 AM
Subscribers

Details

Summary

Ref T5833. Ref T6238. These are general capabilities which are particularly useful for synchronizing cluster specifications to instances.

Test Plan
  • Synchronized networks, devices, interfaces, services, bindings and properties to a managed instance.
  • Used typeahead.
  • Destroyed networks, devices, and services. Saw interfaces and bindings destroyed.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Almanac: forced interface PHIDs, prefix/suffix device query, DestructibleInterface.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
src/applications/almanac/editor/AlmanacDeviceEditor.php
219

The rest of this diff is pretty straightforward, but this part is letting the caller select a PHID for a newly created interface. (Creating objects with preassigned PHIDs is uncommon, but not inherently problematic.)

This makes synchronizing service definitions from the administrative server to instance servers a lot easier. In turn, synchronizing means that we can just build the clustering code in a general-purpose way without giving it any special knowledge of Phacility or the management infrastructure.

btrahan edited edge metadata.

Cool beans. Thanks for the inline!

This revision is now accepted and ready to land.Dec 22 2014, 6:06 PM
This revision was automatically updated to reflect the committed changes.