HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/dellrac.cpython-312.pyc
�

-�_g���0�ddlmZmZmZGd�dee�Zy)�)�Plugin�IndependentPlugin�	PluginOptc�H�eZdZdZdZdZdZeddd��gZd	Z	d
Z
d�Zd�Zy
)�DellRACz,Dell Remote Access Controller Administration�dellrac)�system�storage�hardware)zsrvadmin-idracadm7�debugFzcapture support assist data)�default�descz /opt/dell/srvadmin/bin/idracadm7�	idracadm7c��dD]3}|j|j�d|��|j�d|�����5|jd�r|j	�yy)N)�	getniccfg�
getsysinfo� �_)�suggest_filenamer)�add_cmd_output�racadm�prefix�
get_option�do_debug)�self�subcmds  �</usr/lib/python3/dist-packages/sos/report/plugins/dellrac.py�setupz
DellRAC.setupsd��1�	<�F�����;�;�-�q���)�$(�K�K�=��&��!:�
 �
<�	<�
�?�?�7�#��M�M�O�$�c���	|j�}d}|j|j�d|�d�||j�d|����y#t$r|jd��}Y�SwxYw)	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�logpathrs   rrzDellRAC.do_debug$s|��	;��.�.�0�G�,������{�{�m�1�V�H�L�1��t�{�{�m�1�V�H�,E�	�	G���	;��.�.�E�.�:�G�	;�s�A�A&�%A&N)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�option_listrrrr�rrrrsC��?�J��K�1�H�&�H�	�'�5�/L�M��K�0�F�
�F��
GrrN)�sos.report.pluginsrrrrr.rr�<module>r0s��D�C�%G�f�'�%Gr