'Creates a generic volume group.
:param context: the context
:param group: the group object to be created
:returns: dict -- modelUpdate = {\'status\': \'available\'}
:raises: VolumeBackendAPIException, NotImplementedError'

def create_group(self, context, group):

    if (not volume_utils.is_group_a_cg_snapshot_type(group)):
        raise NotImplementedError()
    model_update = {'status': fields.GroupStatus.AVAILABLE}
    LOG.info('Create    generic    volume    group:    %(group)s.', {'group': group.id})
    vol_grp_name = self.utils.update_volume_group_name(group)
    try:
        (array, __) = self.utils.get_volume_group_utils(group, self.interval, self.retries)
        interval_retries_dict = self.utils.get_intervals_retries_dict(self.interval, self.retries)
        self.provision.create_volume_group(array, vol_grp_name, interval_retries_dict)
    except Exception:
        exception_message = (_('Failed    to    create    generic    volume    group:    %(volGrpName)s.') % {'volGrpName': vol_grp_name})
        LOG.exception(exception_message)
        raise exception.VolumeBackendAPIException(data=exception_message)
    return model_update
