

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

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/opennebula.py OpenNebula_2_0_NodeDriver.destroy_node/original