%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/iprconfig.cpython-312.pyc

�

i��dC��8�ddlZddlmZmZmZGd�dee�Zy)�N)�Plugin�IndependentPlugin�SoSPredicatec�"�eZdZdZdZdZdZd�Zy)�	IprConfigz8IBM Power RAID storage adapter configuration information�	iprconfig)�iprutils)zppc64.*c�~�|jdt|dg����}|ddk(sy|jgd��g}|drgtjd�}|dj�D]<}|j
d	�}|j|d�s�)|j|d��>|D]>}|jd
|z�|jd|z�|jd|z��@|jd
�}|ddk(sy|dsyd}|j|�}	|	ddk(sy|	dsy|dj�D]y}d|vs�tjd|�}|dj
d�\}
}|	dj�D]/}||vs�|j
d	�}|jd|dz��1�{y)N�iprconfig -c show-ioas�sg)�kmods)�pred�statusr)
�iprconfig -c show-config�iprconfig -c show-alt-configziprconfig -c show-arraysziprconfig -c show-jbod-disksrziprconfig -c show-hot-sparesziprconfig -c show-af-disksziprconfig -c show-all-af-disksziprconfig -c show-slotsziprconfig -c dump�output� ziprconfig -c show-details %sz!iprconfig -c show-battery-info %sziprconfig -c show-perf %srr�	Enclosurez\s+��/ziprconfig -c query-ses-mode %s)	�collect_cmd_outputr�add_cmd_output�re�compile�
splitlines�split�search�append)
�self�	show_ioas�devices�p�line�temp�device�show_config�show_alt_config�	altconfig�pci�scsi�alt_lines
             �>/usr/lib/python3/dist-packages/sos/report/plugins/iprconfig.py�setupzIprConfig.setups���+�+�(�!�$�t�f�5�,�
�	���"�a�'�����
�	����X���
�
�4� �A�!�(�+�6�6�8�
,���z�z�#����8�8�D��G�$��N�N�4��7�+�	
,��	F�F���� >�� G�H���� C�f� L�M���� ;�f� D�E�	F��-�-�.H�I���8�$��)���8�$��9���+�+�O�<�	��(�#�q�(����"�� ��)�4�4�6�
	K�D��d�"��x�x���-�� ��G�M�M�#�.�	��T� )�(� 3� >� >� @�K�H��x�'�'�~�~�c�2���+�+�-@�BF�q�'�-J�K�	K�
	K�N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�packages�
architecturesr-�r.r,rrs��K�J��K��H� �M�XKr.r)r�sos.report.pluginsrrrrr6r.r,�<module>r8s#��
�F�F�`K��)�`Kr.

Zerion Mini Shell 1.0