U
    -_g                     @   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 ddddg}|   fdd|D  d S )Nr   ZLDPDInfoz-AdpAllInfoz-AdpBbuCmd -GetBbuStatusz-ShowSummaryc                    s   g | ]}  d | dqS ) z -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   