Actions
Feature #3046
closedAPI for NICs / interfaces, IPMI boot and power actions
Description
This is an extension to the foreman API that allows users to perform operations on their interfaces, just BMC as of now, but it's easily extensible. In addition to that, it also allows users to create/show/update/delete BMC interfaces associated to hosts, which in turn makes massive installations of physical machines in foreman with these interfaces significantly easier.
Calls should be done to /api/hosts/:host_id_or_name/interfaces as explained in app/controllers/api/v2/interfaces_controller.rb, power operations for instance go like
PUT api/hosts/:host_id_or_name/power, { "power_action" : "cycle" }
POST api/hosts/:host_id_or_name/boot, { "device" : "pxe" }
Updated by Daniel Lobato Garcia about 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 8588f9ac6a3245e1c3bcef0aaa166d43d63ca87b.
Actions