Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/frr.cpython-310.pyc
o

i��d��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s0eZdZdZdZdZdZdZdZdZ	dd�Z
d	S)
�FrraG
    FRR is a routing project that provides numerous traditional routing
    protocols for Linux platforms. In particular, OpenStack uses FRR to provide
    BGP functionality for the overcloud nodes.

    This plugin is primarily designed the deployment of FRR within OSP
    environments, which deploy FRR in a container.
    zFrr routing service�frr)�network)z/etc/frr/zebra.conf)rcCs<|�d�|�d�rgd�}|jdd�|D�dd�dSdS)Nz	/etc/frr/r)zshow bgp detailzshow bgp neighborszshow bgp summaryzshow historyzshow ip bgp detailzshow ip bgp neighborszshow ip bgp summaryzshow ip bgpz
show ip routezshow ipv6 routezshow running-configzshow versioncSsg|]}d|�d��qS)z
vtysh -c '�'�)�.0�subcmdrr�8/usr/lib/python3/dist-packages/sos/report/plugins/frr.py�
<listcomp>3szFrr.setup.<locals>.<listcomp>)�	container)�
add_copy_spec�container_exists�add_cmd_output)�self�subcmdsrrr�setups


��z	Frr.setupN)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�files�packages�
containersrrrrrrs	rN)�sos.report.pluginsrrrrrrr�<module>s

Spamworldpro Mini