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
Unknown Object (File)
Fri, Dec 20, 5:09 PM
Unknown Object (File)
Fri, Dec 13, 6:54 PM
Unknown Object (File)
Mon, Dec 9, 5:21 PM
Unknown Object (File)
Sat, Dec 7, 12:44 PM
Unknown Object (File)
Tue, Dec 3, 3:35 AM
Unknown Object (File)
Sat, Nov 23, 1:38 PM
Unknown Object (File)
Sat, Nov 23, 1:37 PM
Unknown Object (File)
Sat, Nov 23, 1:37 PM
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.