https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
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

([Qh)�@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)rcCsHd}|�d|dg�|�d�r"gd�}|jdd�|D�dd�dSdS)Nz*/var/lib/config-data/ansible-generated/frrz	/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>7szFrr.setup.<locals>.<listcomp>)�	container)�
add_copy_spec�container_exists�add_cmd_output)�self�var_ansible_gen�subcmdsrrr�setups�

��z	Frr.setupN)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�files�packages�
containersrrrrrrs	rN)�sos.report.pluginsrrrrrrr�<module>s

https://t.me/RX1948 - 2025