'Remove a floating IP address from a server or port.'

def handle_delete(self):

    if (self.resource_id is None):
        return
    if self.properties[self.EIP]:
        instance_id = self.properties[self.INSTANCE_ID]
        eip = self.properties[self.EIP]
        self._nova_remove_floating_ip(instance_id, eip, ignore_not_found=True)
    elif self.properties[self.ALLOCATION_ID]:
        float_id = self.properties[self.ALLOCATION_ID]
        self._neutron_update_floating_ip(float_id, port_id=None, ignore_not_found=True)
