Project

General

Custom queries

Profile

Actions

Bug #9657

closed

API for creating host can't merge NICs from compute profiles

Added by Tomáš Strachota about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

API can't merge information about interfaces into a new host. InterfaceMerge should be added to the controller's create method similar to how we did it in http://projects.theforeman.org/issues/9480 for UI.


Related issues 3 (1 open2 closed)

Related to Foreman - Tracker #2409: NetworkingNew

Actions
Related to Foreman - Bug #9480: Fix multiple NICs integration with compute profilesClosedTomáš Strachota02/20/2015Actions
Related to Foreman - Bug #11124: Interface compute attributes not merged from API request over compute profileClosedTimo Goebel07/15/2015Actions

Added by Tomáš Strachota about 10 years ago

Revision cfd1c413 (diff)

Fixes #9657 - merge NICs from compute profile in host create API

- updated api docs for hosts and interfaces
- host create/update api actions now merge interfaces from compute
profiles
- NIC type mapping extracted into a separate class
- return full host detail after host update

Added by Tomáš Strachota about 10 years ago

Revision 5b28a835 (diff)

Fixes #9657 - merge NICs from compute profile in host create API

- updated api docs for hosts and interfaces
- host create/update api actions now merge interfaces from compute
profiles
- NIC type mapping extracted into a separate class
- return full host detail after host update

(cherry picked from commit cfd1c413362813f24bffd62c633bf6473e051740)

Actions

Also available in: Atom PDF