'Updates a floating IP and its association with an internal port.
For a full list of available parameters, please refer to the official
API reference:
http://developer.openstack.org/api-ref/networking/v2/index.html#update-floating-ip'

def update_floatingip(self, floatingip_id, **kwargs):

    uri = ('/floatingips/%s' % floatingip_id)
    post_data = {'floatingip': kwargs}
    return self.update_resource(uri, post_data)
