Datacenter build and management service
Conch::Controller::WorkspaceRack
Get a list of racks for the current workspace (as specified by :workspace_id in the path).
Response uses the WorkspaceRackSummary json schema.
Chainable action that takes the ‘rack_id’ provided in the path and looks it up in the database, stashing a resultset to access it as ‘rack_rs’.
Get the layout of the current rack (as specified by :rack_id in the path). Supports json, csv formats.
Response uses the WorkspaceRack json schema.
Add a rack to a workspace, unless it is the GLOBAL workspace, provided the rack is assigned to the parent workspace of this one.
Remove a rack from a workspace.
Requires ‘admin’ permissions on the workspace.
Assign a full or partial layout for a rack
Response returns the list of devices that were updated.
Response uses the WorkspaceRackLayoutUpdateResponse json schema.
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/.