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__/dellrac.cpython-36.pyc
3

-�_g��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@sDeZdZdZdZdZdZeddd	d
�gZdZ	dZ
d
d�Zdd�ZdS)�DellRACz,Dell Remote Access Controller AdministrationZdellrac�system�storage�hardware�srvadmin-idracadm7�debugFzcapture support assist data)�defaultZdescz /opt/dell/srvadmin/bin/idracadm7Z	idracadm7cCsJx2dD]*}|j|j�d|��|j�d|��d�qW|jd�rF|j�dS)N�	getniccfg�
getsysinfo� �_)�suggest_filenamer
)rr
)�add_cmd_output�racadm�prefixZ
get_option�do_debug)�self�subcmd�r�/usr/lib/python3.6/dellrac.py�setups

z
DellRAC.setupcCs`y|j�}Wn tk
r,|jdd�}YnXd}|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 -frz support.zipr)ZrunatrN)Zget_cmd_output_path�FileExistsErrorrrr)rZlogpathrrrrr$szDellRAC.do_debugN)rrr)r	)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrZoption_listrrrrrrrrrs	rN)Zsos.report.pluginsrrrrrrrr�<module>	s