File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/perccli.cpython-36.pyc
3
-�_gA � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ s4 e Zd ZdZdZd
ZdZedddd �gZd
d� Z dS )�PercCLIz$PowerEdge RAID Controller management�perccli�system�storage�hardware�jsonFzcollect data in JSON format)�defaultZdescc C s� d}dddddddd d
ddg}| j d
�r,dnd}| j� }x4|D ],}| j|� d|� |� �d|� |� �|d� q>W d}| j|� d|� d|� �d|� |� �|d� d S )Nz/opt/MegaRAID/perccli/perccli64zshow 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
perccli64_)Zsuggest_filenameZrunatz/call show eventsz file=/dev/stdout)Z
get_optionZget_cmd_output_pathZadd_cmd_output)�self�cmdZsubcmdsr
ZlogpathZsubcmd� r �/usr/lib/python3.6/perccli.py�setup s0
z
PercCLI.setupN)r r r )r )
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr Zoption_listr r r r r r s r N)Zsos.report.pluginsr r r r r r r r �<module> s