Datacenter build and management service
Conch::Route::Device
Sets up the routes for /device:
Unless otherwise noted, all routes require authentication.
POST /device/:device_idGET /device?:key=:valueSupports the following query parameters:
/device?hostname=:hostname/device?mac=:macaddr/device?ipaddr=:ipaddr/device?:setting_key=:setting_valueThe value of :setting_key and :setting_value are a device setting key and
value. For information on how to create a setting key or set its value see
below.
GET /device/:device_idGET /device/:device_id/pxeGET /device/:device_id/phasePOST /device/:device_id/graduatePOST /device/:device_id/triton_setupPOST /device/:device_id/triton_uuidPOST /device/:device_id/triton_rebootPOST /device/:device_id/asset_tagPOST /device/:device_id/validatedPOST /device/:device_id/phaseGET /device/:device_id/locationPOST /device/:device_id/locationDELETE /device/:device_id/location204 NO CONTENTGET /device/:device_id/settingsPOST /device/:device_id/settings204 NO CONTENTGET /device/:device_id/settings/:keyPOST /device/:device_id/settings/:key204 NO CONTENTDELETE /device/:device_id/settings/:key204 NO CONTENTPOST /device/:device_id/validation/:validation_idDoes not store validation results.
POST /device/:device_id/validation_plan/:validation_plan_idDoes not store validation results.
GET /device/:device_id/validation_state?status=<pass,fail,error>Accepts the query parameter status, indicating the desired status(es)
(comma-separated) to search for – one or more of: pass, fail, error.
GET /device/:device_id/interfaceGET /device/:device_id/interface/:interface_nameGET /device/:device_id/interface/:interface_name/:fieldCopyright 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/.