'Creates volume with given label and size.'

def _schedule_and_create_volume(self, label, size_gb):

    avl_pools = self._get_sorted_available_storage_pools(size_gb)
    for pool in avl_pools:
        try:
            vol = self._client.create_volume(pool['volumeGroupRef'], label, size_gb)
            LOG.info('Created    volume    with    label    %s.', label)
            return vol
        except exception.NetAppDriverException as e:
            LOG.error('Error    creating    volume.    Msg    -    %s.', e)
    msg = _('Failure    creating    volume    %s.')
    raise exception.NetAppDriverException((msg % label))
