def volume_type(req):
    """Find Volume Type based on the first distribute Group"""
    dist_grp_1 = req.distribute_groups[0]
    if dist_grp_1.replica_count == 2:
        return "Replica2"

    if dist_grp_1.replica_count == 3:
        return "Replica3"

    if dist_grp_1.disperse_count == 3:
        return "Disperse"

    if dist_grp_1.external_count > 0:
        return "External"

    return "Replica1"