'Creates a consistencygroup.'

@pure_driver_debug_trace
def create_consistencygroup(self, context, group):

    current_array = self._get_current_array()
    current_array.create_pgroup(self._get_pgroup_name_from_id(group.id))
    model_update = {'status': fields.ConsistencyGroupStatus.AVAILABLE}
    return model_update
