Datacenter build and management service
Conch::Controller::DeviceReport
Controller for processing and managing device reports.
Processes the device report, turning it into the various device_ tables as well as running validations
Response uses the ValidationStateWithResults json schema.
Uses a device report to populate configuration information about the given device
Chainable action that validates the ‘device_report_id’ provided in the path. Stores the device_id and device_report resultset to the stash for later retrieval.
Permissions checks are done in the next controller action in the chain.
Get the device_report record specified by uuid. A permissions check has already been done by device#find_device.
Response uses the DeviceReportRow json schema.
Process a device report without writing anything to the database; otherwise behaves like “process”. The described device does not have to exist.
Response uses the ReportValidationResults json schema.
Find the hardware product for the device referenced by the report.
Find the validation plan that should be used to validate the the device referenced by the report.
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/.