Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 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 : |
� i��d � �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|z d |z d|z g� �9 y y )Nzudevadm info -a %(dev)s�fibre)�devicesr zhbacmd listhbaszhbacmd ServerAttributes�statusr �outputzPort WWN� zhbacmd HbaAttributes %szhbacmd PortAttributes %szhbacmd GetXcvrData %s)�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��'�'�1�C�7�2�S�8�/�#�5�)� � � #� N)�__name__� __module__�__qualname__� short_desc�plugin_name�profiles�filesr �option_listr r"