HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/dellrac.cpython-39.pyc
a

\��h��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@sDeZdZdZdZdZdZedddd�gZd	Z	d
Z
dd�Zd
d�ZdS)�DellRACz,Dell Remote Access Controller AdministrationZdellrac)�systemZstorageZhardware)zsrvadmin-idracadm7�debugFzcapture support assist data)�defaultZdescz /opt/dell/srvadmin/bin/idracadm7Z	idracadm7cCsFdD]*}|j|j�d|��|j�d|��d�q|�d�rB|��dS)N)Z	getniccfgZ
getsysinfo� �_)�suggest_filenamer)�add_cmd_output�racadm�prefixZ
get_option�do_debug)�self�subcmd�r�>/usr/lib/python3.9/site-packages/sos/report/plugins/dellrac.py�setups�
z
DellRAC.setupcCs^z|��}Wnty*|jdd�}Yn0d}|j|j�d|�d�||j�d|��d�dS)	z�
        Ensure the sos_commands/dellrac directory does exist in either case
        as we will need to run the command at that dir, and also ensure
        logpath is properly populated in either case as well.
        F)Zmakezsupportassist collect -fr	z support.zipr
)ZrunatrN)Zget_cmd_output_path�FileExistsErrorrr
r)rZlogpathrrrrr$s�zDellRAC.do_debugN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listr
rrrrrrrrs�	rN)Zsos.report.pluginsrrrrrrrr�<module>	s