HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/iscsi.cpython-36.pyc
3

-�_g��@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s(eZdZdZdZd	Zdd�Zdd�ZdS)
�IscsiziSCSI initiatorZiscsi�storagecCs0d}|jdd|ddg�|jddddg�dS)	Nz,/var/lib/config-data/puppet-generated/iscsidz/etc/iscsi/iscsid.confz/etc/iscsi/initiatorname.iscsiz/var/lib/iscsiziscsiadm -m session -P 3ziscsiadm -m node -P 1ziscsiadm -m iface -P 1ziscsiadm -m node --op=show)Z
add_copy_specZadd_cmd_output)�selfZvar_puppet_gen�r	�/usr/lib/python3.6/iscsi.py�setupszIscsi.setupcCsHd}d}d}|jd||�|jd||�|jd||�|jd||�dS)Nz1(node\.session\.auth\.password(_in)?\s+=\s+)(\S+)z:(discovery\.sendtargets\.auth\.password(_in)?\s+=\s+)(\S+)z\1********\nz/etc/iscsi/iscsid.confz/var/lib/iscsi/nodes/*/*/*)Zdo_path_regex_sub)rZnodesessionpwdZdiscoverypwd�replr	r	r
�postproc$s
zIscsi.postprocN)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrr
r	r	r	r
rs
rc@seZdZdZdZdS)�RedHatIscsiz( RedHatPlugin's setup() will be invoked �iscsi-initiator-utilsN)r)rrr�__doc__�packagesr	r	r	r
r:src@seZdZdZdS)�DebianIscsi�
open-iscsiN)r)rrrrr	r	r	r
r@srN)Zsos.report.pluginsrrrrrrrr	r	r	r
�<module>s,