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

def create_aggregate(self, **kwargs):

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