Project

General

Profile

Feature #3046

API for NICs / interfaces, IPMI boot and power actions

Added by Dominic Cleal over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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" }

https://github.com/theforeman/foreman/pull/762

Associated revisions

Revision 8588f9ac (diff)
Added by Daniel Lobato Garcia over 9 years ago

fixes #3046 - add NIC CRUD, power and boot operations API

History

#1 Updated by Daniel Lobato Garcia over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF