| Server IP : 178.128.116.179 / Your IP : 216.73.216.247 Web Server : nginx/1.30.3 System : Linux glamautowash 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
�
G%@i � �0 � d dl mZmZmZ G d� dee� Zy)� )�Plugin�RedHatPlugin� PluginOptc �B � e Zd ZdZdZdZdZ eddd�� gZd d
gZ d� Z
y)
�Fibrechannelz+Collect information on fibrechannel devices�fibrechannel)�hardware�storage�system)z/sys/class/fc_hostz/sys/class/fc_remote_ports�debugTzcollect debugging logs)�default�descz/sys/kernel/debug/qla2*/z/sys/kernel/debug/fnic/c �v � | j dd�� | j d� r| j | j � | j ddg� | j d� }|d dk( rN|d j
� D ]7 }d
|v s�|j � d }| j d|� �d
|� �d|� �g� �9 y y )Nzudevadm info -a %(dev)s�fibre)�devicesr zhbacmd listhbaszhbacmd ServerAttributes�statusr �outputzPort WWN� zhbacmd HbaAttributes zhbacmd PortAttributes zhbacmd GetXcvrData )�add_device_cmd�
get_option�
add_copy_spec�debug_paths�add_cmd_output�collect_cmd_output�
splitlines�split)�self�listhbas�line�devs �A/usr/lib/python3/dist-packages/sos/report/plugins/fibrechannel.py�setupzFibrechannel.setup s� � ����5�w��G��?�?�7�#����t�/�/�0�����%�
� � �*�*�+<�=���H���"� ��*�5�5�7�
����%��*�*�,�q�/�C��'�'�/��u�5�0���6�-�c�U�3�)� �
� #� N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�filesr �option_listr r"