def get_formatted_wwn(wwn_str):
    """Utility API that formats WWN to insert ':'.
    """
    if (len(wwn_str) != 16):
        return wwn_str
    else:
        return ':'.join(
            [wwn_str[i:i + 2] for i in range(0, len(wwn_str), 2)])