def METHOD_NAME(obj):
    """
    Convert snetinfo object to list
    """
    ret = {}
    for attr in __attrs:
        if hasattr(obj, attr):
            ret[attr] = getattr(obj, attr)
    return ret