U
    -_g                     @   s&   d dl mZmZ G dd deeZdS )    )PluginIndependentPluginc                   @   s$   e Zd ZdZdZdZdZdd ZdS )MvCLIz}
    The mvCLI plugin is meant for sas adapters, and collects information for
    each adapter discovered on the system.
    z)mvCLI Integrated RAID adapter informationZmvcli)z/opt/marvell/bin/mvclic                 C   s$   ddddg}|  dd |D  d S )Nz
info -o vdz
info -o pdzinfo -o hbaz
smart -p 0c                 S   s   g | ]}d | qS )z/opt/marvell/bin/mvcli  ).0sr   r   :/usr/lib/python3/dist-packages/sos/report/plugins/mvcli.py
<listcomp>"   s     zMvCLI.setup.<locals>.<listcomp>)Zadd_cmd_output)selfZsubcmdsr   r   r   setup   s    zMvCLI.setupN)__name__
__module____qualname____doc__Z
short_descZplugin_nameZcommandsr   r   r   r   r   r      s
   r   N)Zsos.report.pluginsr   r   r   r   r   r   r   <module>
   s   