U
    -_g'                     @   s*   d dl mZmZmZ G dd deeZdS )    )PluginIndependentPlugin	PluginOptc                   @   sB   e Zd ZdZdZdZdZeddddgZd	d
dddgZ	dd Z
dS )Dmraidzdmraid software RAIDdmraid)ZhardwareZstorage)r   metadataFzcollect dmraid metadata)defaultZdescVbrsZtayc                 C   sH   | j D ]}| d|  q| drD| d}| jd||  d d S )Nzdmraid -r   z
dmraid -rD)Zrunatchroot)dmraid_optionsZadd_cmd_outputZ
get_optionZget_cmd_output_pathZtmp_in_sysroot)selfZoptZmetadata_path r   ;/usr/lib/python3/dist-packages/sos/report/plugins/dmraid.pysetup!   s    


zDmraid.setupN)__name__
__module____qualname__Z
short_descZplugin_nameZprofilesZpackagesr   Zoption_listr   r   r   r   r   r   r      s   r   N)Zsos.report.pluginsr   r   r   r   r   r   r   r   <module>	   s   