403Webshell
Server IP : 65.1.209.187  /  Your IP : 216.73.216.144
Web Server : nginx/1.24.0
System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64
User :  ( 1001)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/sos/report/plugins/__pycache__/microovn.cpython-312.pyc
�

([Qh���4�ddlZddlmZmZGd�dee�Zy)�N)�Plugin�UbuntuPluginc�*�eZdZdZdZdZdZdZdZd�Z	y)�MicroOVNz�The MicroOVN plugin collects the current status of the microovn
    snap.

    It will collect journald logs as well as output from various microovn
    commands.
    z
MicroOVN Snap�microovn)�network�virt)rc���|jd��gd�}|j|D�cgc]}d|����	c}�d}|jd|�d��d}|j|d	�
�|j|�d�|�d�|�d
�g�ddd�ddd�ddd�ddd�ddd�g}|D]P}t	j
|j
d��}|j
d�}|jd|��d|���
��Rycc}w)Nzsnap.microovn.*)�units)zcluster list�statuszcertificates listz	--versionz	microovn z+/var/snap/microovn/common/state/cluster.crtzopenssl x509 -in z -noout -datesz(/var/snap/microovn/common/state/database�ls_microovn_dqlite_dir)�suggest_filenamez
/info.yamlz
/cluster.yamlz/../daemon.yamlz/SELECT * FROM sqlite_master WHERE type="table";�schema)�query�suggested_file_suffixzgSELECT * FROM config WHERE NOT ( key LIKE "%keyring%" OR key LIKE "%ca_cert%" OR key LIKE "%ca_key%" );�configzSELECT * FROM services;�servicesz5SELECT id, name, expiry_date FROM core_token_records;�
token_recordszvSELECT id, name, address, schema_internal, schema_external, heartbeat, role, api_extensions FROM core_cluster_members;�core_cluster_membersrrzmicroovn cluster sql �microovn_cluster_sql_)�add_journal�add_cmd_output�add_dir_listing�
add_copy_spec�json�dumps�get)	�self�microovn_subcmds�subcmd�
dqlite_crt�db_path�queries�query_entryr�file_suffixs	         �=/usr/lib/python3/dist-packages/sos/report/plugins/microovn.py�setupzMicroOVN.setupsr�����0��1�
��	
���/?�
�%+�i��x� �
�	�C�
�����
�|�>�:�	
�=��	
����5�	�	
�
	
����)�:�&��)�=�)��)�?�+�
�	�M�)1�
�/�
*2�
�3�)3�
�/�*9�
�1�*@�

�3!
��F#�	�K��J�J�{���w�7�8�E�%�/�/�*A�B�K����'��w�/�#8��
�!F�
 �
�	��u
s�C.N)
�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�packages�commandsr'��r&rrs(���!�J��K�"�H��H��H�Ir2r)r�sos.report.pluginsrrrr1r2r&�<module>r4s���3�X�v�|�Xr2

Youez - 2016 - github.com/yon3zu
LinuXploit