def format_device(region=None, zone=None, ip=None, device=None, **kwargs):
    """
    Convert device dict or tier attributes to a representative string.

    :returns: a string, the normalized format of a device tier
    """
    return 'r%sz%s-%s/%s' % (region, zone, ip, device)
