'List all agent builds.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/compute/#list-agent-builds'

def list_agents(self, **params):

    url = 'os-agents'
    if params:
        url += ('?%s' % urllib.urlencode(params))
    (resp, body) = self.get(url)
    body = json.loads(body)
    self.validate_response(schema.list_agents, resp, body)
    return rest_client.ResponseBody(resp, body)
