HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/fibrechannel.cpython-36.opt-1.pyc
3

\��h�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOptc@s<eZdZdZdZdZdZedd	d
d�gZdd
gZ	dd�Z
dS)�Fibrechannelz+Collect information on fibrechannel devicesZfibrechannel�hardware�storage�system�/sys/class/fc_host�/sys/class/fc_remote_ports�debugTzcollect debugging logs)�defaultZdescz/sys/kernel/debug/qla2*/z/sys/kernel/debug/fnic/cCs�|jddd�|jd�r$|j|j�|jddg�|jd�}|ddkr�xJ|d	j�D]:}d
|krV|j�d}|jd|��d
|��d|��g�qVWdS)Nzudevadm info -a %(dev)sZfibre)Zdevicesrzhbacmd listhbaszhbacmd ServerAttributesZstatusr�outputzPort WWN�zhbacmd HbaAttributes zhbacmd PortAttributes zhbacmd GetXcvrData )Zadd_device_cmdZ
get_optionZ
add_copy_spec�debug_pathsZadd_cmd_outputZcollect_cmd_output�
splitlines�split)�selfZlisthbas�lineZdev�r�"/usr/lib/python3.6/fibrechannel.py�setups

zFibrechannel.setupN)rrr)r	r
)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofiles�filesrZoption_listrrrrrrrsrN)Zsos.report.pluginsrrrrrrrr�<module>s