HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/skydive.cpython-310.pyc
o

i��d#	�@s2ddlmZmZmZddlZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOptNc@sZeZdZdZdZdZdZdZedde	dd	�ed
de	ded	�edde	d
d	�gZ
dd�ZdS)�Skydivez.Skydive network topology and protocol analyzer�skydive)�network)z/usr/bin/skydive�/etc/skydive/skydive.ymlz' (password visible in process listings)�username�zskydive username)�default�val_type�desc�passwordzskydive password�analyzerzskydive analyzer addresscCs�|�d�|�d�|�d�pt�dd�pt�dd�}|�d�p+t�dd�p+t�d	d�}|�d
�p6t�dd�}t|||g�sD|j�d
�|tjd<|tjd<|tjd<d}|�|�dS)Nrz/var/log/skydive.logr	�SKYDIVE_USERNAMEr
�OS_USERNAMEr�SKYDIVE_PASSWORD�OS_PASSWORDr�SKYDIVE_ANALYZERzlocalhost:8082ziSome or all of the skydive params are not set properly. Skydive status command may  not work as expected.zskydive client status)	�
add_copy_spec�
get_option�os�getenv�all�soslog�warning�environ�add_cmd_output)�selfr	rr�
status_cmd�r �</usr/lib/python3/dist-packages/sos/report/plugins/skydive.py�setup%s,



�
�

�
�

�


z
Skydive.setupN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�files�password_warn_textr�str�option_listr"r r r r!rs"����	r)�sos.report.pluginsrrrrrr r r r!�<module>s