Datacenter build and management service
Conch::Controller::Rack
Supports rack lookups by uuid.
Stores data as a new rack row, munging ‘role’ to ‘rack_role_id’.
Get a single rack
Response uses the Rack json schema.
Get all racks
Response uses the Racks json schema.
Gets all the layouts for the specified rack.
Response uses the RackLayouts json schema.
Update an existing rack.
Delete a rack.
Gets all the rack layout assignments (including occupying devices) for the specified rack.
Response uses the RackAssignments json schema.
Assigns devices to rack layouts, also optionally updating asset_tags. Existing devices in referenced slots will be removed as needed.
Updates the phase of this rack, and optionally all devices located in this rack.
Use the rack_only
query parameter to specify whether to only update the rack’s phase, or all
located devices’ phases as well.
Copyright Joyent, Inc.
This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.