

def destroy_volume(self, volume):
    url = ('/storage/%s' % str(volume.id))
    resp = self.connection.request(url, method='DELETE')
    return (resp.status == httplib.NO_CONTENT)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/opennebula.py OpenNebula_3_6_NodeDriver.destroy_volume/original