

def run(self, name):
    driver = self._get_driver()
    self.logger.info('Deleting keypair...')
    keypair = driver.delete_key_pair(name)
    self.logger.info('Keypair successfully deleted: {}'.format(keypair))
    return

dataset/ETHPy150Open StackStorm/st2contrib/packs/softlayer/actions/delete_keypair.py SoftlayerDeleteKeypair.run/original