HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/opencontrail.cpython-39.pyc
a

\��hi�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s(eZdZdZdZdZdZdZdd�ZdS)	�OpenContrailzOpenContrail SDN�opencontrail)�network)r)�opencontrail.*z	vrouter.*cCsh|�d�}|rB|jdd�}dd�|D�}|D]}|jd|d�q,n
|�d�|�d�|�d	d
g�dS)NrT)Zget_allcSs g|]}d|dvr|d�qS)r��)�.0�cr	r	�C/usr/lib/python3.9/site-packages/sos/report/plugins/opencontrail.py�
<listcomp>�z&OpenContrail.setup.<locals>.<listcomp>zcontrail-status)�	containerz
vif --listz/etc/contrail/*z/var/log/contrail/*)Zcontainer_existsZget_containersZadd_cmd_outputZ
add_copy_spec)�selfZin_containerZcnamesZcntrr	r	r�setups


�zOpenContrail.setupN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesZ
containersrr	r	r	rrsrN)Zsos.report.pluginsrrrr	r	r	r�<module>s