'Allocate a floating IP to the project.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/compute/#create-allocate-floating-ip-address'

def create_floating_ip(self, **kwargs):

    url = 'os-floating-ips'
    post_body = json.dumps(kwargs)
    (resp, body) = self.post(url, post_body)
    body = json.loads(body)
    self.validate_response(schema.create_get_floating_ip, resp, body)
    return rest_client.ResponseBody(resp, body)
