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
F13132108: D11024.diff
Wed, May 1, 6:21 PM
Unknown Object (File)
Wed, May 1, 4:17 AM
Unknown Object (File)
Sun, Apr 28, 10:07 AM
Unknown Object (File)
Fri, Apr 26, 4:32 PM
Unknown Object (File)
Thu, Apr 11, 1:41 AM
Unknown Object (File)
Tue, Apr 2, 9:41 AM
Unknown Object (File)
Mar 23 2024, 3:42 PM
Unknown Object (File)
Feb 14 2024, 9:48 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.