'Verifies VzStorage share is eligible to host volume with given size.
:param vz_share: vzstorage share
:param volume_size_in_gib: int size in GB'

def _is_share_eligible(self, vz_share, volume_size_in_gib):

    used_ratio = self.configuration.vzstorage_used_ratio
    volume_size = (volume_size_in_gib * units.Gi)
    (total_size, available, allocated) = self._get_capacity_info(vz_share)
    if (((allocated + volume_size) // total_size) > used_ratio):
        LOG.debug('_is_share_eligible:    %s    is    above    vzstorage_used_ratio.', vz_share)
        return False
    return True
