# File lib/openstack/compute/connection.rb, line 494 def list_attachments(server_id) raise OpenStack::Exception::NotImplemented.new("os-volumes not implemented by #{@connection.http.keys.first}", 501, "NOT IMPLEMENTED") unless api_extensions["os-volumes""os-volumes"] response = @connection.req("GET", "/servers/#{server_id}/os-volume_attachments") OpenStack.symbolize_keys(JSON.parse(response.body)) end