HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/frr.cpython-36.opt-1.pyc
3

\��h)�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s0eZdZdZdZdZd	Zd
ZdZdZ	dd�Z
dS)
�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�/etc/frr/zebra.confcCsXd}|jd|dg�|jd�rTdddddd	d
ddd
ddg}|jdd�|D�dd�dS)Nz*/var/lib/config-data/ansible-generated/frrz	/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 '�'�)�.0Zsubcmdr	r	�/usr/lib/python3.6/frr.py�
<listcomp>7szFrr.setup.<locals>.<listcomp>)Z	container)Z
add_copy_specZcontainer_existsZadd_cmd_output)�selfZvar_ansible_genZsubcmdsr	r	r�setups(
z	Frr.setupN)r)r)r)r)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofiles�filesZpackagesZ
containersrr	r	r	rrsrN)Zsos.report.pluginsrrrr	r	r	r�<module>	s