U
    -_g                     @   s.   d dl Z d dlmZmZ G dd deeZdS )    N)PluginIndependentPluginc                   @   s,   e Zd ZdZdZdZdZdd Zdd Zd	S )
Systemzcore system informationsystem)r   Zkernel)ZglibcZinitscriptszlibc                 C   sf   |  ddddg | ddddd	g | d
ddg ttj }|  | jd	|ddd d S )Nz	/proc/sys/etc/sysconfig/etc/default/etc/environmentz/proc/sys/net/ipv4/route/flushz/proc/sys/net/ipv6/route/flushz'/proc/sys/net/ipv6/neigh/*/retrans_timez./proc/sys/net/ipv6/neigh/*/base_reachable_timez*/etc/default/grub.d/50-curtin-settings.cfgzld.so --helpzld.so --list-diagnosticszld.so --list-tunables
Zenvironment_varnamesT)Zplug_dir)
Zadd_copy_specZadd_forbidden_pathZadd_cmd_outputlistosenvironkeyssortZadd_string_as_filejoin)selfZ	var_names r   ;/usr/lib/python3/dist-packages/sos/report/plugins/system.pysetup   s0    	zSystem.setupc                 C   s   |  dddg d S )Nr   r   r	   )Zdo_paths_http_sub)r   r   r   r   postproc2   s
    zSystem.postprocN)	__name__
__module____qualname__Z
short_descZplugin_nameZprofilesZverify_packagesr   r   r   r   r   r   r      s   r   )r   Zsos.report.pluginsr   r   r   r   r   r   r   <module>	   s   