'Delete a keypair by name.'

@wrap_exception()
def delete_key_pair(self, context, user_id, key_name):

    self._notify(context, 'delete.start', key_name)
    objects.KeyPair.destroy_by_name(context, user_id, key_name)
    self._notify(context, 'delete.end', key_name)
