# File lib/openstack/compute/connection.rb, line 177
    def list_flavors(options = {})
      path = options.empty? ? "#{@connection.service_path}/flavors/detail" : "#{@connection.service_path}/flavors/detail?#{options.to_query}"
      response = @connection.csreq("GET",@connection.service_host,path,@connection.service_port,@connection.service_scheme)
      OpenStack::Exception.raise_exception(response) unless response.code.match(/^20.$/)
      OpenStack.symbolize_keys(JSON.parse(response.body)['flavors'])
    end