Project

General

Profile

« Previous | Next » 

Revision cfd1c413

Added by Tomáš Strachota about 9 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

View differences:

app/models/nic/base.rb
validates_lengths_from_database
attr_accessible :host_id, :host,
:mac, :name,
:mac, :name, :type,
:provider, :username, :password,
:identifier, :virtual, :link, :tag, :attached_to,
:managed, :bond_options, :attached_devices, :mode,

Also available in: Unified diff