HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/sos/report/plugins/__pycache__/frr.cpython-38.pyc
U

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)Znetwork)z/etc/frr/zebra.conf)rcCsL|�d�|�d�rHddddddd	d
ddd
dg}|jdd�|D�dd�dS)Nz	/etc/frr/rzshow 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 '�'�)�.0Zsubcmdrr�8/usr/lib/python3/dist-packages/sos/report/plugins/frr.py�
<listcomp>3szFrr.setup.<locals>.<listcomp>)Z	container)Z
add_copy_specZcontainer_existsZadd_cmd_output)�selfZsubcmdsrrr	�setups&

��z	Frr.setupN)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofiles�filesZpackagesZ
containersrrrrr	rs	rN)Zsos.report.pluginsrrrrrrr	�<module>	s