U
    i©¹d  ã                   @   s    d dl mZ G dd„ deƒZdS )é    )Ú
SoSPrepperc                   @   s$   e Zd ZdZdZdd„ Zdd„ ZdS )Ú	IPPrepperz—
    This prepper is for IP network addresses. The aim of this prepper is to
    provide the file path for where the output of `ip addr` is saved.
    Zipc                 C   s
   |   |¡S )N)Ú_get_ip_file_list)ÚselfÚarchive© r   ú9/usr/lib/python3/dist-packages/sos/cleaner/preppers/ip.pyÚ_get_ipv6_file_list   s    zIPPrepper._get_ipv6_file_listc                 C   s"   g }|j rdg}n|jrdg}|S )Nz"sos_commands/networking/ip_-o_addrzdata/insights_commands/ip_addr)Zis_sosZis_insights)r   r   Ú_filesr   r   r   r      s    zIPPrepper._get_ip_file_listN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Únamer	   r   r   r   r   r   r      s   r   N)Zsos.cleaner.preppersr   r   r   r   r   r   Ú<module>   s   