U
    -_g                     @   s8   d dl mZ d dlmZmZmZ G dd deeeZdS )    )join)PluginRedHatPluginUbuntuPluginc                   @   s$   e Zd ZdZdZdZdZdd ZdS )OmnipathClientz%OmniPath Tools and Fast Fabric ClientZomnipath_client)Zhardware)zopa-basic-toolsc                 C   sL   |  ddddddddd	g	 | d
rHt|  d}| j d| dd d S )NZopainfoZopafabricinfoZ	opahfirevZopapmaqueryZopaportinfoZ
opasaqueryZopasmaqueryZ	opashowmcZ
opareportsZallow_system_changeszopacapture.tgzzopacapture T)Zchanges)Zadd_cmd_outputZ
get_optionr   Zget_cmd_output_path)selfZopa_fullpath r   D/usr/lib/python3/dist-packages/sos/report/plugins/omnipath_client.pysetup   s     
zOmnipathClient.setupN)__name__
__module____qualname__Z
short_descZplugin_nameZprofilesZpackagesr
   r   r   r   r	   r      s
   r   N)os.pathr   Zsos.report.pluginsr   r   r   r   r   r   r   r	   <module>   s   