'Disables replication for a group and volumes in the group.'

@utils.trace_method
def disable_replication(self, context, group, volumes):

    model_update = {'replication_status': fields.ReplicationStatus.DISABLED}
    volume_model_updates = []
    for volume_ref in volumes:
        volume_model_update = {'id': volume_ref.id}
        volume_model_update['replication_status'] = fields.ReplicationStatus.DISABLED
        volume_model_updates.append(volume_model_update)
    return (model_update, volume_model_updates)
