o
    id]                     @   s*   d dl mZmZmZ G dd deeZdS )    )PluginIndependentPlugin	PluginOptc                   @   s4   e Zd ZdZdZdZdZeddddgZd	d
 Z	dS )PercCLIz$PowerEdge RAID Controller managementperccli)systemstoragehardware)r   jsonFzcollect data in JSON format)defaultdescc                 C   s|   d}g d}|  drdnd}|  }|D ]}| jd|||f d||f |d qd	}| jd
|||f d||f |d d S )Nz/opt/MegaRAID/perccli/perccli64)zshow ctrlcountz/call show AliLogz/call show allz/call show termlogz/call/bbu show allz/call/cv show allz/call/dall showz/call/eall show allz/call/eall/sall show allz/call/sall show allz/call/vall show allr
   z J z%s %s%szperccli64_%s%s)suggest_filenamerunatz/call show eventsz%s %s file=/dev/stdout%s)
get_optionget_cmd_output_pathadd_cmd_output)selfcmdsubcmdsr
   logpathsubcmd r   </usr/lib/python3/dist-packages/sos/report/plugins/perccli.pysetup   s    


zPercCLI.setupN)
__name__
__module____qualname__
short_descplugin_nameprofilespackagesr   option_listr   r   r   r   r   r      s    r   N)sos.report.pluginsr   r   r   r   r   r   r   r   <module>   s   