Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o -�_g� � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin� PluginOptc @ sD e Zd ZdZdZdZdZedddd�gZd Z d Z dd� Zd d� ZdS )�DellRACz,Dell Remote Access Controller Administration�dellrac)�system�storage�hardware)zsrvadmin-idracadm7�debugFzcapture support assist data)�default�descz /opt/dell/srvadmin/bin/idracadm7� idracadm7c C sJ dD ]}| j | j� d|� �| j� d|� �d� q| �d�r#| �� d S d S )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�setup s � �z DellRAC.setupc C s^ z| � � }W n ty | j dd�}Y nw d}| 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 -fr z support.zipr )�runatr N)�get_cmd_output_path�FileExistsErrorr r r )r �logpathr r r r r $ s � �zDellRAC.do_debugN) �__name__� __module__�__qualname__� short_desc�plugin_name�profiles�packagesr �option_listr r r r r r r r r s � r N)�sos.report.pluginsr r r r r r r r �<module> s