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

def create_agent(self, **kwargs):

    post_body = json.dumps({'agent': kwargs})
    (resp, body) = self.post('os-agents', post_body)
    body = json.loads(body)
    self.validate_response(schema.create_agent, resp, body)
    return rest_client.ResponseBody(resp, body)
