Datacenter build and management service
Conch::Controller::Device
Chainable action that validates the ‘device_id’ provided in the path.
Retrieves details about a single (active) device. Response uses the DetailedDevice json schema.
Looks up one or more devices by query parameter. Supports:
/device?hostname=$hostname
/device?mac=$macaddr
/device?ipaddr=$ipaddr
/device?$setting_key=$setting_value
Response uses the Devices json schema.
Gets PXE-specific information about a device.
Response uses the DevicePXE json schema.
Marks the device as “graduated” (VLAN flipped)
Sets the latest_triton_reboot
field on a device
Sets the triton_uuid
field on a device, given a triton_uuid field that is a
valid UUID
If a device has been marked as rebooted into Triton and has a Triton UUID, sets
the triton_setup
field. Fails if the device has already been marked as such.
Sets the asset_tag
field on a device
Sets the validated
field on a device unless that field has already been set
Gets just the device’s phase. Response uses the DevicePhase 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/.