HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/dellrac.cpython-310.pyc
o

-�_g��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@sDeZdZdZdZdZdZedddd�gZd	Z	d
Z
dd�Zd
d�ZdS)�DellRACz,Dell Remote Access Controller Administration�dellrac)�system�storage�hardware)zsrvadmin-idracadm7�debugFzcapture support assist data)�default�descz /opt/dell/srvadmin/bin/idracadm7�	idracadm7cCsJdD]}|j|j�d|��|j�d|��d�q|�d�r#|��dSdS)N)�	getniccfg�
getsysinfo� �_)�suggest_filenamer
)�add_cmd_output�racadm�prefix�
get_option�do_debug)�self�subcmd�r�</usr/lib/python3/dist-packages/sos/report/plugins/dellrac.py�setups�
�z
DellRAC.setupcCs^z|��}Wnty|jdd�}Ynwd}|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)�makezsupportassist collect -frz support.zipr)�runatrN)�get_cmd_output_path�FileExistsErrorrrr)r�logpathrrrrr$s�
�zDellRAC.do_debugN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�option_listrrrrrrrrrs�	rN)�sos.report.pluginsrrrrrrrr�<module>s