'Clear the name label of a XenServer pool.'

def _clear_pool(self, aggregate_id):

    try:
        pool_ref = self._session.pool.get_all()[0]
        self._session.pool.set_name_label(pool_ref, '')
    except self._session.XenAPI.Failure as e:
        LOG.error('Pool-set_name_label    failed:    %s', e)
        raise exception.AggregateError(aggregate_id=aggregate_id, action='remove_from_aggregate', reason=six.text_type(e.details))
