o
    *b  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚRedHatPluginc                   @   s$   e Zd ZdZdZdZdZdd„ ZdS )ÚMegaCLIzLSI MegaRAID devicesZmegacli)ÚsystemZstorageZhardware)ú/opt/MegaRAID/MegaCli/MegaCli64c                    s(   d‰ g d¢}|   ‡ fdd„|D ƒ¡ d S )Nr   )ZLDPDInfoz-AdpAllInfoz-AdpBbuCmd -GetBbuStatusz-ShowSummaryc                    s   g | ]}d ˆ |f ‘qS )z%s %s -aALL© )Ú.0Zsubcmd©Úcmdr   ú</usr/lib/python3/dist-packages/sos/report/plugins/megacli.pyÚ
<listcomp>    s    ÿz!MegaCLI.setup.<locals>.<listcomp>)Zadd_cmd_output)ÚselfZsubcmdsr   r	   r   Úsetup   s
   ÿzMegaCLI.setupN)Ú__name__Ú
__module__Ú__qualname__Z
short_descZplugin_nameZprofilesÚfilesr   r   r   r   r   r      s    r   N)Zsos.report.pluginsr   r   r   r   r   r   r   Ú<module>   s   