

def destroy_node(self, node):
    '\n        Destroy node by passing in the node object\n        '
    params = {
        'Action': 'TerminateInstances',
    }
    params.update(self._pathlist('InstanceId', [node.id]))
    res = self.connection.request('/', params=params).object
    return self._get_terminate_boolean(res)

dataset/ETHPy150Open infincia/AEServmon/libcloud/drivers/ec2.py EC2NodeDriver.destroy_node/original