%PDF- %PDF-
Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/seagate_ses.cpython-312.pyc |
� i��d � �, � d dl mZmZ G d� dee� Zy)� )�Plugin�IndependentPluginc �* � e Zd ZdZdZdZdZdZdZd� Z y) � SeagateSESa The 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 � � | j d� }g }|d dk( r|d j d� dd }t t |� � D �cg c] }d|| v r|�� }}d}g d �}|D ]L }| j |D �cg c] }d |||fz �� c}� | j |D �cg c] }d|||fz �� c}� �N y c c}w c c}w c c}w )Nzfwdownloader -ses�statusr �outputz SES Device� zVendor ID: SEAGATEzgetstatus -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.setup s� � ��%�%�&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+ r r s'