Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/skydive.cpython-36.opt-1.pyc

3

�f#	�@s2ddlZddlmZmZmZGdd�dee�ZdS)�N)�Plugin�RedHatPlugin�	PluginOptc@sZeZdZdZdZdZdZdZedde	d	d
�edde	ded
�ed
de	dd
�gZ
dd�ZdS)�Skydivez.Skydive network topology and protocol analyzerZskydive�network�/usr/bin/skydive�/etc/skydive/skydive.ymlz' (password visible in process listings)�username�zskydive username)�defaultZval_typeZdesc�passwordzskydive password�analyzerzskydive analyzer addresscCs�|jd�|jd�|jd�p4tjdd�p4tjdd�}|jd�pVtjdd�pVtjd	d�}|jd
�pltjdd�}t|||g�s�|jjd
�|tjd<|tjd<|tjd<d}|j|�dS)Nz/etc/skydive/skydive.ymlz/var/log/skydive.logr	ZSKYDIVE_USERNAMEr
ZOS_USERNAMErZSKYDIVE_PASSWORDZOS_PASSWORDr
ZSKYDIVE_ANALYZERzlocalhost:8082ziSome or all of the skydive params are not set properly. Skydive status command may  not work as expected.zskydive client status)	Z
add_copy_specZ
get_option�os�getenv�allZsoslogZwarning�environZadd_cmd_output)�selfr	rr
Z
status_cmd�r�/usr/lib/python3.6/skydive.py�setup%s"







z
Skydive.setupN)r)rr)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofiles�filesZpassword_warn_textr�strZoption_listrrrrrrs

r)rZsos.report.pluginsrrrrrrrr�<module>s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists