plugins/compute/app/services/service_layer/compute_services/os_interface.rb
######################## MODEL INTERFACE ###################
# this is a special case and called from OsInterface model
# perform_create()
MODEL INTERFACE
this is a special case and called from OsInterface model
perform_create()
MODEL INTERFACE this is a special case and called from OsInterface model perform_create ()
def create_os_interface(server_id, attributes)
        elektron_compute.post("servers/#{server_id}/os-interface") do
          { 'interfaceAttachment' => attributes }
        end.body['interfaceAttachment']
      end
def create_os_interface ( server_id , attributes ) elektron_compute . post ( "servers/#{server_id}/os-interface" ) do { 'interfaceAttachment' => attributes } end . body [ 'interfaceAttachment' ] end
MODEL INTERFACE
this is a special case and called from OsInterface model
perform_create()
MODEL INTERFACE this is a special case and called from OsInterface model perform_create ()
server_id
<not_specific>
attributes
<not_specific>