https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
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

-�_g)�@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