Project

General

Profile

Bug #9657

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

Added by Tomáš Strachota almost 7 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
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

Related to Foreman - Tracker #2409: NetworkingNew

Related to Foreman - Bug #9480: Fix multiple NICs integration with compute profilesClosed2015-02-20
Related to Foreman - Bug #11124: Interface compute attributes not merged from API request over compute profileClosed2015-07-15

Associated revisions

Revision cfd1c413 (diff)
Added by Tomáš Strachota over 6 years ago

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

Revision 5b28a835 (diff)
Added by Tomáš Strachota over 6 years ago

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)

History

#1 Updated by Tomáš Strachota almost 7 years ago

#2 Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2234 added
  • Pull request deleted ()

#3 Updated by Anonymous over 6 years ago

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

#4 Updated by Dominic Cleal over 6 years ago

  • Related to Bug #9480: Fix multiple NICs integration with compute profiles added

#5 Updated by Dominic Cleal over 6 years ago

  • Related to Bug #11124: Interface compute attributes not merged from API request over compute profile added

Also available in: Atom PDF