Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/perccli2.cpython-312.pyc
�

-�_gD��0�ddlmZmZmZGd�dee�Zy)�)�Plugin�IndependentPlugin�	PluginOptc�:�eZdZdZdZdZdZeddd��gZd	�Z	y
)�PercCLI2z&PowerEdge RAID Controller 2 management�perccli2)�system�storage�hardware)r�jsonFzcollect data in JSON format)�default�descc���d}gd�}|jd�rdnd}|j�}|D]"}|j|�d|�|��d|�|��|���$d	}|j|�d|�d
|��d|�|��|��y)Nz/opt/MegaRAID/perccli2/perccli2)zshow 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�� �	perccli2_)�suggest_filename�runatz/call show eventsz file=/dev/stdout)�
get_option�get_cmd_output_path�add_cmd_output)�self�cmd�subcmdsr�logpath�subcmds      �=/usr/lib/python3/dist-packages/sos/report/plugins/perccli2.py�setupzPercCLI2.setups���/��
�����v�.�t�B���*�*�,���	�F�����%�q�����'�#,�V�H�T�F�!;��
 �
�	�%������e�1�V�H�-�d�V�4�(�����7��	�	�N)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�option_listr�rrrrs1��9�J��K�1�H��H�	�&�%�.K�L��K� rrN)�sos.report.pluginsrrrrr(rr�<module>r*s��D�C�,�v�(�,r