plugins/compute/app/services/service_layer/compute_services/image.rb
# this is called from server model
this is called from server model
this is called from server model
def create_image(server_id, name, metadata = {})
        elektron_compute.post("servers/#{server_id}/action") do
          { 'createImage' => { 'name' => name, 'metadata' => metadata } }
        end
      end
def create_image ( server_id , name , metadata = { } ) elektron_compute . post ( "servers/#{server_id}/action" ) do { 'createImage' => { 'name' => name , 'metadata' => metadata } } end end
this is called from server model
this is called from server model
server_id
<not_specific>
name
<not_specific>
metadata
<not_specific>