def imei_shard_name(*, base_name, virt_imei_range_start, virt_imei_range_end):
    """
    Function to DRY out generation of IMEI shard partition names.

    Arguments:
        base_name: base name table
        virt_imei_range_start: start of the virt imei shard
        virt_imei_range_end: end of the virt imei shard
    Returns:
        name of the imei shard
    """
    return '{0}_{1}_{2}'.format(base_name, virt_imei_range_start, virt_imei_range_end - 1)