Project

General

Profile

« Previous | Next » 

Revision 4a9439a1

Added by Petr Benas about 7 years ago

Fixes #19377 - available_flavors for OpenStack

fixes GET /api/v2/compute_resources/:id/available_flavors resulting in
"Not implemented for OpenStack".

View differences:

app/models/compute_resources/foreman/model/openstack.rb
validates :user, :password, :presence => true
validates :allow_external_network, inclusion: { in: [true, false] }
alias_method :available_flavors, :flavors
SEARCHABLE_ACTIONS = [:server_group_anti_affinity, :server_group_affinity, :raw]
def provided_attributes

Also available in: Unified diff