%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__/seagate_ses.cpython-312.pyc

�

i��d��,�ddlmZmZGd�dee�Zy)�)�Plugin�IndependentPluginc�*�eZdZdZdZdZdZdZdZd�Z	y)	�
SeagateSESaThe seagate_ses plugin collect information about all
    connected seagate storage shelves.
    It captures Controller status information, ID, controllers' VPD
    information, Environmental zone, Drive, PHY details, Cooling Module
    and PSU information.
    zSeagate SES status�seagate_sesiX)�system�storage�hardware)�fwdownloader_megaraidc
��|jd�}g}|ddk(r|djd�dd}tt|��D�cgc]}d||vr|��
}}d}gd	�}|D]L}|j	|D�cgc]
}d
|||fz��c}�|j	|D�cgc]
}d|||fz��c}��Nycc}wcc}wcc}w)Nzfwdownloader -ses�statusr�outputz
SES Device�zVendor ID: SEAGATEzgetstatus -d)
�ddump_canmgr�ddump_cblmgr�ddump_drvmgr�ddump_phycounters�ddump_pwrmgr�
ddump_envctrl�envctrl_fan�envctrl_zone�fwstatus�
getboardid�getvpd�
report_faults�verz
%s %d -CLI %sz
%s %d -cli %s)�collect_cmd_output�split�range�len�add_cmd_output)	�self�res�op_lst�i�devices�cmd�subcmds�devid�subcmds	         �@/usr/lib/python3/dist-packages/sos/report/plugins/seagate_ses.py�setupzSeagateSES.setups����%�%�&9�:�����x�=�A����]�(�(��6�q�r�:�F��S��[�)�
��#�v�a�y�0�
�
��
�
���� �	�E����EL�!�;A��3��v�"6�6�!�
�
���EL�!�;A��3��v�"6�6�!�
�	��-
��.!��!s�	B3�5B8
�B=
N)
�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�plugin_timeout�profiles�packagesr,��r+rrs'���&�J��K��N�1�H�)�H�%r7rN)�sos.report.pluginsrrrr6r7r+�<module>r9s��9�3��*�3r7

Zerion Mini Shell 1.0