def run(self, name):
        driver = self._get_driver()
        # go from name to Node Object
        try:
            node = [n for n in driver.list_nodes() if n.extra['hostname'] == name][0]
        except __HOLE__:
            raise Exception("Node with name {} not found in Softlayer".format(name))
        # destroy the node
        self.logger.info('Destroying node...')
        node = driver.destroy_node(node)
        self.logger.info('Node successfully destroyed: {}'.format(node))
        return
dataset/ETHPy150Open StackStorm/st2contrib/packs/softlayer/actions/destroy_instance.py/SoftlayerDeleteInstance.run