Project

General

Profile

« Previous | Next » 

Revision ca8e438b

Added by Ohad Levy over 11 years ago

  • ID ca8e438b88260e9c1fd2847726bbb7d05d92ad18

fixes #2253 adds openstack floating ip support

View differences:

app/views/compute_resources_vms/form/_openstack.html.erb
<% new = f.object && f.object.id.blank? -%>
<%= text_f f, :name, :disabled => !new if controller_name != "hosts" %>
<%= select_f f, :flavor_ref, compute_resource.flavors, :id, :name, {}, :label => 'Flavor' %>
<div id='image_selection'><%= select_f f, :image_ref, compute_resource.images, :uuid, :name, {:include_blank =>'Please Select an Image'}, :label => "Image" %></div>
<%= select_f f, :tenant_id, compute_resource.tenants, :id, :name %>
<%= select_f f, :security_groups, compute_resource.security_groups, :name, :name, {}, :label => "Security Group" %>
<%= selectable_f f, :network, compute_resource.address_pools, { :prompt => "None" }, { :label => "Floating IP network" } %>

Also available in: Unified diff